Function at 0x408cf2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x43ef96
call fcn.0043e95c
sub esp, 0x24
mov eax, dword [0x460970]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], eax
mov eax, dword [0x460974]
mov dword [edi + 4], eax
xor eax, eax
mov byte [edi + 0x18], al
and dword [edi + 0x18], 0xfffffeff
mov dword [edi + 0x1c], eax
push 0xf
mov dword [esp + 0x40], 1
pop ebp
mov dword [edi + 0x34], ebp
mov dword [edi + 0x30], eax
mov byte [edi + 0x20], al
mov dword [edi + 0x4c], ebp
mov dword [edi + 0x48], eax
mov byte [edi + 0x38], al
mov dword [edi + 0x64], ebp
mov dword [edi + 0x60], eax
mov byte [edi + 0x50], al
mov dword [edi + 0x7c], ebp
mov dword [edi + 0x78], eax
mov byte [edi + 0x68], al
mov dword [edi + 0x94], ebp
mov dword [edi + 0x90], eax
mov byte [edi + 0x80], al
push 0xa0f715f0
push 0x48fdd404
lea eax, [esp + 0x20]
push 0x45ee74
push eax
mov byte [esp + 0x4c], 6
call fcn.0041e7a9
add esp, 0x10
push 5
pop esi
push esi
mov ebx, 0x80000002
push ebx
lea ecx, [edi + 0x98]
push eax
mov byte [esp + 0x48], 7
call fcn.0041d784
lea ecx, [esp + 0x18]
call fcn.00402440
and dword [edi + 0xc4], 0
and dword [edi + 0xc8], 0
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xc0], esi
xor ebx, ebx
mov dword [edi + 0xe4], ebp
mov dword [edi + 0xe0], ebx
mov byte [edi + 0xd0], bl
or dword [edi + 0xc0], 0x20000
mov dword [edi + 0xe8], ebx
mov dword [edi + 0x108], ebp
mov dword [edi + 0x104], ebx
mov byte [edi + 0xf4], bl
mov dword [edi + 0x120], ebp
mov dword [edi + 0x11c], ebx
mov byte [edi + 0x10c], bl
mov dword [edi + 0x138], ebp
mov dword [edi + 0x134], ebx
mov byte [edi + 0x124], bl
mov dword [edi + 0x150], ebp
mov dword [edi + 0x14c], ebx
mov byte [edi + 0x13c], bl
mov dword [edi + 0x1a4], ebx
mov dword [edi + 0x1a8], ebx
mov dword [edi + 0x1ac], ebx
mov dword [edi + 0x1b0], ebx
mov dword [edi + 0x1b4], ebx
mov dword [edi + 0x1b8], ebx
mov dword [edi + 0x1bc], ebx
mov dword [edi + 0x1c0], ebx
mov dword [edi + 0x1c4], ebx
mov dword [edi + 0x1c8], ebx
mov dword [edi + 0x1cc], ebx
mov dword [edi + 0x1d0], ebx
mov dword [edi + 0x1d4], ebx
mov dword [edi + 0x1d8], ebx
mov dword [edi + 0x1dc], ebx
mov dword [edi + 0x1e0], ebx
mov dword [edi + 0x1e4], ebx
mov dword [edi + 0x1e8], ebx
push ebx
mov byte [esp + 0x40], 0x14
push ebx
mov dword [edi + 0x1ec], ebx
mov dword [edi + 0x1f0], ebx
call fcn.0040ae76
mov dword [edi + 0x1ec], eax
mov dword [edi + 0x208], ebp
mov dword [edi + 0x204], ebx
mov byte [edi + 0x1f4], bl
mov dword [edi + 0x220], ebp
mov dword [edi + 0x21c], ebx
mov byte [edi + 0x20c], bl
mov dword [edi + 0x238], ebp
mov dword [edi + 0x234], ebx
mov byte [edi + 0x224], bl
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x40], 0x19
call fcn.00409458
push ebx
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0x18
call fcn.00402b12
cmp dword [0x45ef98], ebx
je 0x408faa
mov esi, 0x45efa8
push dword [esi - 8]
lea ecx, [esp + 0x1c]
call fcn.004023bd
mov ecx, eax
call fcn.004082e2
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.00402440
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x408fa1
cmp ecx, 2
jbe 0x408f94
cmp ecx, 4
ja 0x408fa1
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x408fa1
push dword [esi]
lea ecx, [esp + 0x1c]
call fcn.004023bd
push eax
push ebx
mov ecx, edi
mov byte [esp + 0x44], 0x1a
call fcn.004096bf
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0x18
call fcn.00402440
jmp 0x408fa1
push dword [esi + 4]
mov ecx, edi
push dword [esi]
push ebx
call fcn.00409672
add esi, 0x30
cmp dword [esi - 0x10], 0
jne 0x408f35
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret