Function at 0x6097f4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5c
push 0
push 0
dec ecx
jne 0x6097fc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0060458c
xor eax, eax
push ebp
push 0x609cc2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80000000
push 0x80000000
push 0x182
push 0xfa
push 0
push 0
mov eax, dword [0x60c660]
push eax
push 0
mov edx, 0x609cd4
mov eax, 0x609ce0
mov ecx, 0xcf0000
call fcn.00605048
push 0
call sub.user32.dll_IsWindowVisible
lea ecx, [ebp - 0x2b8]
mov edx, 0x121
mov eax, 0x609cf4
call fcn.00608e8c
mov eax, dword [ebp - 0x2b8]
call fcn.00603e60
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
lea ecx, [ebp - 0x2bc]
mov edx, 0x121
mov eax, 0x609d08
call fcn.00608e8c
mov eax, dword [ebp - 0x2bc]
call fcn.00603e60
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
lea ecx, [ebp - 0x2c0]
mov edx, 0x121
mov eax, 0x609d18
call fcn.00608e8c
mov eax, dword [ebp - 0x2c0]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c4]
mov edx, 0x121
mov eax, 0x609d30
call fcn.00608e8c
mov eax, dword [ebp - 0x2c4]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c8]
mov edx, 0x121
mov eax, 0x609d4c
call fcn.00608e8c
mov eax, dword [ebp - 0x2c8]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2cc]
mov edx, 0x121
mov eax, 0x609d68
call fcn.00608e8c
mov eax, dword [ebp - 0x2cc]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2d0]
mov edx, 0x121
mov eax, 0x609d80
call fcn.00608e8c
mov eax, dword [ebp - 0x2d0]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov edi, eax
lea ecx, [ebp - 0x2d4]
mov edx, 0x121
mov eax, 0x609d9c
call fcn.00608e8c
mov eax, dword [ebp - 0x2d4]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2d8]
mov edx, 0x121
mov eax, 0x609db8
call fcn.00608e8c
mov eax, dword [ebp - 0x2d8]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2dc]
mov edx, 0x121
mov eax, 0x609dd4
call fcn.00608e8c
mov eax, dword [ebp - 0x2dc]
call fcn.00603e60
mov edx, eax
mov eax, ebx
call fcn.00608f14
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x2e0]
mov edx, 0x121
mov eax, 0x609dec
call fcn.00608e8c
mov eax, dword [ebp - 0x2e0]
call fcn.00603e60
mov edx, eax
mov eax, esi
call fcn.00608f14
mov ebx, eax
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x609c74
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
mov edx, esi
lea eax, [ebp - 0x74]
mov ecx, 0x40
call fcn.00609104
cmp word [ebp - 0x74], 0x5a4d
jne 0x609c6a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
lea edx, [eax + edx]
lea eax, [ebp - 0x16c]
mov ecx, 0xf8
call fcn.00609104
cmp dword [ebp - 0x16c], 0x4550
jne 0x609c6a
lea eax, [ebp - 0x1e8]
xor ecx, ecx
mov edx, 0x44
call fcn.00602ad8
lea eax, [ebp - 0x1a4]
xor ecx, ecx
mov edx, 0x10
call fcn.00602ad8
mov dword [ebp - 0x1e8], 0x44
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1e8]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x2e4]
call fcn.00609180
mov eax, dword [ebp - 0x2e4]
call fcn.00603e60
push eax
push 0
call dword [ebp - 0x1c]
test eax, eax
je 0x609c6a
mov dword [ebp - 0x2b4], 0x10007
lea eax, [ebp - 0x2b4]
push eax
mov eax, dword [ebp - 0x1a0]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x609c6a
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x210]
add eax, 8
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call ebx
push 4
push 0x3000
mov eax, dword [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x118]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call edi
mov eax, dword [ebp - 0x38]
add eax, 0xf8
mov dword [ebp - 0x18], eax
movzx ebx, word [ebp - 0x166]
dec ebx
test ebx, ebx
jl 0x609c1f
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
mov eax, esi
shl eax, 3
lea eax, [eax + eax*4]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 4]
add edx, eax
lea eax, [ebp - 0x194]
mov ecx, 0x28
call fcn.00609104
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x184]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x180]
add eax, edx
push eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
mov eax, dword [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call dword [ebp - 0x2c]
inc esi
dec ebx
jne 0x609ba1
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x210]
add eax, 8
push eax
mov eax, dword [ebp - 0x1a4]
push eax
call edi
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x144]
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x2b4]
push eax
mov eax, dword [ebp - 0x1a0]
push eax
call dword [ebp - 0x30]
mov eax, dword [ebp - 0x1a0]
push eax
call dword [ebp - 0x34]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x609c96
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x609cc9
lea eax, [ebp - 0x2e4]
mov edx, 0xc
call fcn.00603a10
lea eax, [ebp - 4]
mov edx, dword [0x608954]
call fcn.00604528
ret