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

Disassembly:
push 0xffffffffffffffff
push 0x43c716
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.00427635
mov eax, dword [0x52dc98]
xor ebx, ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xfc]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 1
call fcn.00427747
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0x110]
lea edi, [esi + 0x98]
push 1
mov eax, dword [ecx + 0xc]
lea ecx, [esi + 0xec]
mov dword [edi], eax
mov eax, dword [esi + 0x10c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.0042789e
push 4
push edi
lea ecx, [esp + 0x20]
call fcn.0042789e
lea edx, [esp + 0x50]
push 8
push edx
lea ecx, [esp + 0x20]
call fcn.0042789e
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x2c], ebx
mov ebp, dword [eax + 4]
mov eax, dword [edi]
cmp eax, ebx
jle 0x4060b1
jmp 0x405ebe
mov ebp, dword [esp + 0x4c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp]
lea esi, [ebp + 0x3c]
mov dword [esp + 0x38], edx
lea ebx, [ebp + 0x40]
mov dword [esp + 0x4c], ecx
mov eax, dword [esi]
push 0x10
mov eax, dword [eax - 8]
mov dword [esp + 0x40], eax
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
mov dword [esp + 0x44], eax
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x68], edx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x70], ecx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x78], edx
call fcn.0042789e
lea ecx, [esp + 0x38]
push 0xc
push ecx
lea ecx, [esp + 0x20]
call fcn.0042789e
mov eax, dword [esp + 0x3c]
mov ecx, esi
push eax
push eax
call fcn.004274c6
push eax
lea ecx, [esp + 0x20]
call fcn.0042789e
mov eax, dword [esp + 0x40]
mov ecx, ebx
push eax
push eax
call fcn.004274c6
push eax
lea ecx, [esp + 0x20]
call fcn.0042789e
push 0xffffffffffffffff
mov ecx, esi
call fcn.00427515
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00427515
mov edx, dword [ebp + 0x48]
push 4
lea ecx, [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.0042789e
mov edx, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x30], 0
mov esi, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ecx + 4]
test esi, esi
jle 0x40609e
jmp 0x405fa3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax]
mov esi, dword [eax + 8]
mov eax, ecx
mov ecx, dword [ecx]
add eax, 8
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], edx
call fcn.004271cf
mov edx, dword [esp + 0x14]
mov ebx, dword [esi + 4]
push 4
lea ecx, [esp + 0x1c]
mov eax, dword [edx - 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.0042789e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push eax
call fcn.004274c6
push eax
lea ecx, [esp + 0x20]
call fcn.0042789e
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.0042789e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x406087
mov eax, ebx
mov ebx, dword [ebx]
mov ecx, 8
lea edi, [esp + 0x74]
lea esi, [eax + 8]
push 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x64], ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], eax
call fcn.0042789e
lea eax, [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.0042789e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x40601f
mov edi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x48]
mov eax, dword [esp + 0x30]
inc eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
cmp eax, edx
jl 0x405f9b
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x405eba
lea ecx, [esp + 0x18]
call fcn.00427962
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 0
call fcn.00427096
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0042768a
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret