Function at 0x484af0
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510400
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x567680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x198], esi
push 0x525688
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x19c]
push edi
push eax
call fcn.00402b60
add esp, 0xc
push 1
push 0x40
push 0x27
push dword [eax]
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0
call fcn.00474610
mov edx, dword [ebp - 0x19c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x484b81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._file:__
lea eax, [esi + 0xac]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00402b60
lea ecx, [esi + 0xbc]
push ecx
push eax
lea eax, [ebp - 0x1b4]
push eax
mov byte [ebp - 4], 3
call fcn.00402aa0
add esp, 0x18
mov edx, dword [ebp - 0x1ac]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484bd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0
push 0
lea ecx, [ebp - 0x274]
call fcn.0048cec0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x274]
call fcn.0048d730
mov esi, dword [eax + 8]
add esi, dword [eax]
mov dword [ebp - 0x190], esi
cmp esi, 0xffffffff
je 0x484c88
test esi, esi
je 0x484c88
cmp esi, 0x1000000
jbe 0x484e09
lea ecx, [ebp - 0x274]
call fcn.0048c240
push str.registry_pol_too_large_
lea ecx, [ebp - 0x18c]
call fcn.00401c30
push esi
push eax
lea eax, [ebp - 0x190]
push eax
mov byte [ebp - 4], 0xa
call fcn.00467fa0
add esp, 0xc
mov ecx, dword [ebp - 0x198]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040b2e0
mov edx, dword [ebp - 0x190]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484c7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18c]
jmp 0x484ed6
push 0x5c
push dword [edi]
call fcn.004eb6b9
add esp, 8
test eax, eax
jne 0x484c9d
or eax, 0xffffffff
jmp 0x484ca1
sub eax, dword [edi]
sar eax, 1
push eax
lea eax, [ebp - 0x18c]
push eax
mov ecx, edi
call fcn.00407f10
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [eax]
call esi
mov edx, dword [ebp - 0x18c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484cdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [edi]
call esi
push 0x525688
lea eax, [ebp - 0x18c]
push edi
push eax
call fcn.00402b60
add esp, 0xc
push 1
push 0x40
push 0x2a
push dword [eax]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 6
call fcn.00474610
mov edx, dword [ebp - 0x18c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484d30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x354]
push str.PReg
push eax
call fcn.00418ff0
add esp, 8
lea ecx, [ebp - 0x364]
push 0
push 0
push 4
call fcn.0048cec0
push 1
lea ecx, [ebp - 0x354]
call fcn.0048ca10
push 0
lea ecx, [ebp - 0x354]
call fcn.0048ca10
push 0
lea ecx, [ebp - 0x354]
call fcn.0048ca10
push 0
lea ecx, [ebp - 0x354]
call fcn.0048ca10
lea ecx, [ebp - 0x364]
call fcn.0048c240
push 0x525688
lea eax, [ebp - 0x194]
push edi
push eax
call fcn.00402b60
add esp, 0xc
push 0x40
push 0x23
push dword [eax]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 9
call fcn.0048c660
mov edx, dword [ebp - 0x194]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484de1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 5
call fcn.00474c40
lea eax, [ebp - 0x2ec]
push eax
mov dword [ebp - 0x2ec], 0x51b084
call fcn.004e8a31
add esp, 4
push 0
push 0
push 8
lea ecx, [ebp - 0x274]
call fcn.0048cec0
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push eax
call fcn.004eaaf0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push 0x80
push eax
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
call dword [eax + 0x30]
xor eax, eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x274]
xor edx, edx
mov eax, dword [eax + 4]
xor edi, edi
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x18c], edx
cmp dword [ebp + eax - 0x268], edx
je 0x484f00
mov ecx, dword [0x568ad4]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x17
idiv ecx
cmp edx, 4
jne 0x484eaa
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push str.cant_open_pol_file
lea ecx, [ebp - 0x1a4]
call fcn.00401c30
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0x1a4]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040b2e0
mov edx, dword [ebp - 0x1a4]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
mov byte [ebp - 4], 5
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x484ef3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x485d7b
xor eax, eax
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xd
call fcn.0048d730
mov ecx, dword [eax + 8]
add ecx, dword [eax]
push 0
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - 0x194], ecx
call fcn.00419c30
mov eax, dword [ebp - 0x274]
add esp, 0xc
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x268], 1
jne 0x48553e
push 1
push 0xffffffffffffffff
push 0x51a434
lea ecx, [ebp - 0x140]
call fcn.0048c380
cmp eax, 0xffffffff
je 0x485299
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x140]
call fcn.0041f270
mov esi, eax
lea eax, [ebp - 0x140]
cmp eax, esi
je 0x485038
cmp dword [ebp - 0x12c], 8
jb 0x484fc7
push dword [ebp - 0x140]
call fcn.004e8c3e
add esp, 4
xor eax, eax
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
cmp dword [esi + 0x14], 8
jae 0x485005
mov eax, dword [esi + 0x10]
inc eax
je 0x485013
add eax, eax
push eax
lea eax, [ebp - 0x140]
push esi
push eax
call fcn.004e8ed0
add esp, 0xc
jmp 0x485013
mov eax, dword [esi]
mov dword [ebp - 0x140], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x12c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x114], 8
jb 0x48504f
push dword [ebp - 0x128]
call fcn.004e8c3e
add esp, 4
push 0x19
push str.ExtensionInstallForcelist
push dword [ebp - 0x130]
lea ecx, [ebp - 0x140]
push 0
call fcn.0048c2f0
test eax, eax
jne 0x48529c
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], eax
mov word [ebp - 0x128], ax
push 1
push eax
push 2
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xe
call fcn.0048cec0
push 0x3b
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00419c30
xor eax, eax
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x148], 0
mov word [ebp - 0x158], ax
push 0x3b
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 0xf
call fcn.00419c30
push 0x3b
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00419c30
push 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00419c30
add esp, 0x30
lea eax, [ebp - 0x188]
push 5
push 0
push eax
lea ecx, [ebp - 0x128]
call fcn.0041f270
push 5
push str.del
push dword [eax + 0x10]
mov ecx, eax
push 0
mov byte [ebp - 4], 0x10
call fcn.0048c2f0
test eax, eax
setne bl
cmp dword [ebp - 0x174], 8
mov byte [ebp - 4], 0xf
jb 0x485161
push dword [ebp - 0x188]
call fcn.004e8c3e
add esp, 4
test bl, bl
je 0x485265
mov eax, dword [ebp - 0x1b4]
cmp word [eax], 0
jne 0x485179
xor edx, edx
jmp 0x48518f
mov edx, eax
lea esi, [edx + 2]
mov edi, edi
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x485180
sub edx, esi
sar edx, 1
push edx
push eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x158]
push 0
call fcn.0048c2f0
test eax, eax
jne 0x485204
lea ecx, [ebp - 0x274]
cmp byte [ebp + 8], al
je 0x4852eb
lea eax, [ebp - 0x170]
push eax
call fcn.0048d730
mov ecx, dword [eax + 8]
mov eax, dword [eax]
add eax, 2
add eax, ecx
cmp dword [ebp - 0x114], 8
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.004ea0e3
mov ebx, dword [ebp - 0x194]
add esp, 4
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1a8], ebx
jmp 0x48520a
mov ebx, dword [ebp - 0x194]
cmp dword [ebp - 0x114], 8
lea ecx, [ebp - 0x128]
cmovae ecx, dword [ebp - 0x128]
push ecx
call fcn.004ea0e3
mov esi, eax
mov eax, dword [0x568ad4]
imul eax, eax
cdq
mov ecx, 0xf
idiv ecx
mov ecx, dword [0x5694f0]
add esp, 4
mov eax, 0x401f617c
cmp edx, 0xc
cmove ecx, eax
mov dword [0x5694f0], ecx
cmp esi, edi
jle 0x48525c
mov edi, esi
mov dword [ebp - 0x18c], ebx
cmp edi, 0xa
jge 0x4852fa
cmp dword [ebp - 0x144], 8
jb 0x48527c
push dword [ebp - 0x158]
call fcn.004e8c3e
add esp, 4
cmp dword [ebp - 0x114], 8
mov byte [ebp - 4], 0xd
jb 0x48529c
push dword [ebp - 0x128]
call fcn.004e8c3e
add esp, 4
jmp 0x48529c
or edi, 0xffffffff
push 0x5d
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00419c30
mov eax, dword [ebp - 0x274]
add esp, 0xc
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x268], 1
jne 0x4853c1
cmp dword [ebp - 0x12c], 8
jb 0x484f00
push dword [ebp - 0x140]
call fcn.004e8c3e
add esp, 4
jmp 0x484f00
call fcn.0048c240
mov bl, 1
or esi, 0xffffffff
jmp 0x48538a
lea ecx, [ebp - 0x274]
call fcn.0048c240
push str.too_many_forced_extensions_
lea ecx, [ebp - 0x18c]
call fcn.00401c30
push dword [ebp - 0x190]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00467fa0
add esp, 0xc
mov ecx, dword [ebp - 0x198]
push eax
mov byte [ebp - 4], 0x12
call fcn.0040b2e0
mov edx, dword [ebp - 0x1ac]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x485365
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x485388
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
cmp dword [ebp - 0x144], 8
jb 0x4853a1
push dword [ebp - 0x158]
call fcn.004e8c3e
add esp, 4
cmp dword [ebp - 0x114], 8
jb 0x48551e
push dword [ebp - 0x128]
call fcn.004e8c3e
add esp, 4
jmp 0x48551e
cmp edi, 0xffffffff
jne 0x4853dc
lea ecx, [ebp - 0x140]
xor edi, edi
mov byte [ebp - 4], 5
call fcn.0041aa10
jmp 0x485559
lea ecx, [ebp - 0x274]
call fcn.0048c240
mov eax, dword [0x568ad4]
imul eax, eax
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 0xd
jne 0x485402
inc dword [0x569480]
push 0x52577c
lea ecx, [ebp - 0x194]
call fcn.00401c30
mov ebx, dword [ebp - 0x198]
lea eax, [ebp - 0x194]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.0040b2e0
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0xd
call fcn.004020a0
push str.InstEnd
lea ecx, [ebp - 0x1a4]
call fcn.00401ba0
push str.registry_pol_bad_format
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x14
call fcn.00401ba0
push str.SOFTWARE_
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x15
call fcn.00401ba0
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 0x16
call fcn.00402aa0
lea ecx, [ebp - 0x1a4]
push ecx
push eax
lea eax, [ebp - 0x190]
push eax
mov byte [ebp - 4], 0x17
call fcn.00402aa0
mov esi, eax
push 0x525688
lea eax, [ebx + 0xb8]
push eax
lea eax, [ebp - 0x1ac]
push eax
mov byte [ebp - 4], 0x18
call fcn.00402b60
push dword [0x5621d8]
mov byte [ebp - 4], 0x19
push esi
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.00424050
add esp, 0x34
lea ecx, [ebp - 0x1ac]
call fcn.004020a0
lea ecx, [ebp - 0x190]
call fcn.004020a0
lea ecx, [ebp - 0x18c]
call fcn.004020a0
lea ecx, [ebp - 0x1b0]
call fcn.004020a0
lea ecx, [ebp - 0x194]
call fcn.004020a0
lea ecx, [ebp - 0x1a4]
call fcn.004020a0
xor bl, bl
or esi, 0xffffffff
cmp dword [ebp - 0x12c], 8
jb 0x485d7e
push dword [ebp - 0x140]
call fcn.004e8c3e
add esp, 4
jmp 0x485d7e
cmp dword [ebp - 0x12c], 8
mov byte [ebp - 4], 5
jb 0x485559
push dword [ebp - 0x140]
call fcn.004e8c3e
add esp, 4
cmp byte [ebp + 8], 0
je 0x485a6b
mov edx, dword [ebp - 0x18c]
test edx, edx
je 0x485a0d
cmp dword [ebp - 0x1b0], 0
je 0x485a0d
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x485a0d
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x274]
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
mov esi, 4
cmove eax, esi
and eax, 0x17
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx + 0x10]
and ecx, eax
jne 0x485970
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edx, dword [ebp - 0x1a8]
je 0x4857bd
mov eax, edx
sub esp, 0x18
cdq
mov ecx, esp
push edx
push eax
call fcn.0041a500
lea ecx, [ebp - 0x264]
call fcn.0048d2b0
xor eax, eax
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
push 0x3b
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00419c30
add esp, 0xc
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x264]
call fcn.0048d800
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [ebp - 0x194], ecx
lea ecx, [ebp - 0x274]
call fcn.0048c240
mov eax, dword [ebp - 0x198]
add eax, 0xb8
push 0x525688
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00402b60
add esp, 0xc
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [eax]
call esi
lea ecx, [ebp - 0x18c]
mov esi, eax
call fcn.004020a0
cmp esi, 0xffffffff
jne 0x4856f2
push str.trancate_registry_pol_
lea ecx, [ebp - 0x194]
call fcn.00401c30
mov esi, eax
mov byte [ebp - 4], 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18c]
push esi
push eax
call fcn.00467fa0
add esp, 0xc
mov ecx, dword [ebp - 0x198]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040b2e0
lea ecx, [ebp - 0x18c]
call fcn.004020a0
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x1a
call fcn.004020a0
jmp 0x485747
push 0
push 0
push dword [ebp - 0x194]
push esi
call ebx
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x170]
push eax
mov dword [ebp - 0x194], 0
call fcn.0048d980
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x485726
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x194]
push ecx
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x170]
call fcn.0041aa10
push esi
call edi
mov eax, dword [ebp - 0x198]
add eax, 0xb8
push 0x525688
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00402b60
add esp, 0xc
push 0x40
push 0x27
push dword [eax]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x1d
call fcn.0048c660
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x1a
call fcn.004020a0
push 0
push 0x80
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
call dword [eax + 0x30]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 5
call fcn.0041aa10
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [ebp - 0x190]
jae 0x485868
sub esp, 0x18
cdq
mov ecx, esp
push edx
push eax
call fcn.0041a500
lea ecx, [ebp - 0x274]
call fcn.0048ccb0
push 1
push 3
lea ecx, [ebp - 0x414]
call fcn.004747c0
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x404]
mov byte [ebp - 4], 0x1e
call fcn.00474ff0
mov eax, dword [ebp - 0x1a8]
sub esp, 0x18
cdq
mov ecx, esp
push edx
push eax
call fcn.0041a500
lea ecx, [ebp - 0x264]
call fcn.0048d2b0
lea eax, [ebp - 0x3fc]
push eax
lea ecx, [ebp - 0x264]
call fcn.00474ff0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x264]
call fcn.0048d800
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1a8], ecx
lea ecx, [ebp - 0x414]
call fcn.00475730
lea ecx, [ebp - 0x274]
call fcn.0048c240
mov eax, dword [ebp - 0x198]
add eax, 0xb8
push 0x525688
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00402b60
add esp, 0xc
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push dword [eax]
call esi
lea ecx, [ebp - 0x190]
mov esi, eax
call fcn.004020a0
cmp esi, 0xffffffff
jne 0x485913
push str.trancate_registry_pol_
lea ecx, [ebp - 0x18c]
call fcn.00401c30
mov esi, eax
mov byte [ebp - 4], 0x1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x190]
push esi
push eax
call fcn.00467fa0
add esp, 0xc
mov ebx, dword [ebp - 0x198]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x20
call fcn.0040b2e0
lea ecx, [ebp - 0x190]
call fcn.004020a0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 5
call fcn.004020a0
jmp 0x485930
push 0
push 0
push dword [ebp - 0x1a8]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call edi
mov ebx, dword [ebp - 0x198]
cmp dword [ebp - 0x1a8], 8
jg 0x485d79
push 0x525688
lea eax, [ebx + 0xb8]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00402b60
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x190]
call fcn.004020a0
jmp 0x485d79
test cl, 4
je 0x4859b1
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], 0x562014
push str.ios_base::badbit_set
lea ecx, [ebp - 0x124]
call fcn.0041a720
push 0x55a0e4
lea eax, [ebp - 0x124]
push eax
call fcn.004e9523
lea eax, [ebp - 0x1a0]
test cl, 2
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], 0x562014
push eax
lea ecx, [ebp - 0x124]
je 0x4859f2
push str.ios_base::failbit_set
call fcn.0041a720
push 0x55a0e4
lea eax, [ebp - 0x124]
push eax
call fcn.004e9523
push str.ios_base::eofbit_set
call fcn.0041a720
push 0x55a0e4
lea eax, [ebp - 0x124]
push eax
call fcn.004e9523
lea ecx, [ebp - 0x274]
call fcn.0048c240
push 0x52584c
lea ecx, [ebp - 0x190]
call fcn.00401c30
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0x190]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040b2e0
mov edx, dword [ebp - 0x190]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x485a64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x485d7e
inc edi
call fcn.0048c4e0
mov ebx, 4
test al, al
jne 0x485ab6
mov esi, dword [0x568ad4]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e8060
push eax
call fcn.004e8ec3
add esp, 8
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x274]
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, ebx
and eax, 0x17
mov dword [ecx + 0xc], eax
mov ecx, dword [ecx + 0x10]
and ecx, eax
jne 0x485dea
push 2
push ecx
push ecx
lea ecx, [ebp - 0x264]
call fcn.0048d450
lea eax, [ebp - 0x170]
push edi
push eax
call fcn.0048d980
mov ebx, eax
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov ecx, dword [ecx + 4]
push eax
mov word [ebp + ecx - 0x224], ax
lea eax, [ebp - 0x284]
push 2
push eax
mov byte [ebp - 4], 0x22
call fcn.004e8b78
mov edi, eax
lea eax, [ebp - 0x264]
push str._SoftwarePoliciesGoogleChromeExtensionInstallForcelist
push eax
call fcn.00474240
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x485b44
xor ecx, ecx
jmp 0x485b4b
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.004e8b78
push 0x525884
push esi
mov edi, eax
call fcn.00474240
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x485b80
xor ecx, ecx
jmp 0x485b87
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0
lea eax, [ebp - 0x294]
push 2
push eax
call fcn.004e8b78
push ebx
push esi
mov edi, eax
call fcn.004193d0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x485bb8
xor ecx, ecx
jmp 0x485bbf
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0
lea eax, [ebp - 0x180]
push 0
push eax
call fcn.004e8b78
push 0x525884
push esi
mov edi, eax
call fcn.00474240
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x485bf4
xor ecx, ecx
jmp 0x485bfb
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0
lea eax, [ebp - 0x150]
push 2
push eax
call fcn.004e8b78
push 0x525888
push esi
mov edi, eax
call fcn.00418ff0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x485c30
xor ecx, ecx
jmp 0x485c37
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e8b78
push 0x525884
push esi
mov edi, eax
call fcn.00474240
mov edx, eax
add esp, 0x20
test edx, edx
jne 0x485c6c
xor ecx, ecx
jmp 0x485c73
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
add esp, 0xc
cmp dword [ebp - 0x15c], 8
mov byte [ebp - 4], 5
jb 0x485c9c
push dword [ebp - 0x170]
call fcn.004e8c3e
add esp, 4
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x264]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
push eax
call fcn.0048ca10
mov ebx, dword [ebp - 0x1b4]
push 0
lea eax, [ebp - 0x120]
push 2
push eax
call fcn.004e8b78
push dword [eax + 0xc]
mov ecx, dword [ebp - 0x264]
push dword [eax + 8]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
lea esi, [ebp - 0x264]
add ecx, esi
push ecx
call eax
push 0
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.004e8b78
mov edi, eax
mov eax, esi
push 0x525884
push eax
call fcn.00474240
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x485d16
xor ecx, ecx
jmp 0x485d1d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0
lea eax, [ebp - 0x180]
push 2
push eax
call fcn.004e8b78
push ebx
push esi
mov edi, eax
call fcn.00474240
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x485d4e
xor ecx, ecx
jmp 0x485d55
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 0xc]
mov eax, dword [edi]
push dword [edi + 8]
push ecx
call eax
push 0x51b17c
push esi
call fcn.00474240
add esp, 0x14
lea ecx, [ebp - 0x274]
call fcn.0048c240
mov bl, 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x1b4]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x485d9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 4], 0xffffffff
call fcn.00474c40
lea eax, [ebp - 0x1fc]
push eax
mov dword [ebp - 0x1fc], 0x51b084
call fcn.004e8a31
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9514
mov esp, ebp
pop ebp
ret 4
test bl, cl
jne 0x485975
lea eax, [ebp - 0x1a0]
test cl, 2
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], 0x562014
push eax
lea ecx, [ebp - 0x124]
je 0x485e22
push str.ios_base::failbit_set
jmp 0x48599b
push str.ios_base::eofbit_set
jmp 0x48599b