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

Disassembly:
push 0xffffffffffffffff
push 0x412e0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], esi
mov dword [esi + 0x10], edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], edi
lea ebx, [esi + 0x14]
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], ebx
mov dword [ebx + 0x10], edi
mov dword [esp + 0x44], edi
mov dword [ebx + 8], edi
lea ebp, [esi + 0x28]
mov dword [ebp + 4], edi
mov dword [ebp], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebp
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], edi
lea eax, [esi + 0x3c]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], eax
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
lea eax, [esi + 0x50]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], eax
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
lea eax, [esi + 0x64]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], eax
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
mov eax, dword [esp + 0x4c]
push eax
mov ecx, ebp
mov byte [esp + 0x48], 5
mov dword [ebp + 0xc], ebp
call fcn.00407870
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x14]
mov dword [ebp + 0x10], edx
push 1
mov ecx, eax
mov dword [esi + 0x78], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call fcn.00407350
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], 1
mov dword [esi + 0xc], esi
push edx
mov ecx, esi
call fcn.00407870
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x408d6a
mov ecx, dword [esp + 0x14]
dec eax
mov dword [ecx + eax*4], edi
jne 0x408d60
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x408d80
push eax
call fcn.00409615
add esp, 4
jmp 0x408d80
cmp dword [esi + 0x10], edi
je 0x408d94
mov edx, dword [esi + 0xc]
cmp dword [edx + 8], edi
je 0x408d94
mov ecx, 1
jmp 0x408d96
xor ecx, ecx
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x10], edi
je 0x408dae
mov eax, dword [edx + 0xc]
cmp dword [eax + 8], edi
je 0x408dae
mov eax, 1
jmp 0x408db0
xor eax, eax
cmp ecx, eax
jne 0x408dd1
mov ecx, dword [edx + 0xc]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407680
cmp eax, edi
jge 0x408dd5
push esi
mov ecx, esi
call fcn.00407bd0
inc dword [esi + 0x78]
jmp 0x408d80
cmp ecx, edi
jne 0x408dc4
push ebp
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00407e00
push ebp
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x5c], 6
call fcn.00408600
add esp, 0x18
push eax
mov ecx, ebx
mov dword [esp + 0x50], eax
mov dword [ebx + 0xc], ebx
call fcn.00407870
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov edx, dword [ecx + 0x10]
mov dword [ebx + 0x10], edx
je 0x408e20
mov ecx, dword [esp + 0x14]
dec eax
mov dword [ecx + eax*4], edi
jne 0x408e16
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x408e35
push eax
call fcn.00409615
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
mov byte [esp + 0x44], 5
je 0x408e4c
mov edx, dword [esp + 0x28]
dec eax
mov dword [edx + eax*4], edi
jne 0x408e42
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x408e5d
push eax
call fcn.00409615
add esp, 4
push esi
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00408600
push eax
lea ecx, [esp + 0x24]
push esi
push ecx
mov byte [esp + 0x5c], 7
call fcn.00407e00
add esp, 0x18
mov ebp, eax
lea ebx, [esi + 0x3c]
push ebp
mov ecx, ebx
mov dword [ebx + 0xc], ebx
call fcn.00407870
mov eax, dword [esp + 0x18]
cmp eax, edi
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x10], edx
je 0x408eaa
jmp 0x408ea0
mov ecx, dword [esp + 0x14]
dec eax
mov dword [ecx + eax*4], edi
jne 0x408ea0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x408ebf
push eax
call fcn.00409615
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x408ed1
mov edx, dword [esp + 0x28]
dec eax
mov dword [edx + eax*4], edi
jne 0x408ec7
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x408ee2
push eax
call fcn.00409615
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4