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

Disassembly:
push 0xffffffffffffffff
push 0x629880
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa4]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.00519cc0
mov ecx, dword [eax]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov dword [esp + 0x94], edx
call fcn.00519cc0
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], edx
call fcn.005eb290
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x50]
call fcn.005eb290
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], edx
call fcn.005165c0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
xor esi, esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x2c], edx
call fcn.005165c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0xa4], 1
mov dword [esp + 0x48], edx
call fcn.00521130
add esp, 8
test eax, eax
je 0x5e13d1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call fcn.00521090
add esp, 8
test eax, eax
je 0x5e13a5
lea esi, [ebp + 4]
push esi
mov ecx, edi
call fcn.0051cf50
mov ecx, edi
test eax, eax
je 0x5e133b
mov edx, dword [esi]
mov ebx, dword [esp + 0xac]
mov dword [ebx], edx
mov eax, dword [esi + 4]
lea esi, [ebp + 0xc]
push esi
mov dword [ebx + 4], eax
call fcn.0051cf50
test eax, eax
je 0x5e131a
mov ecx, dword [esi]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 0xc], edx
jmp 0x5e1376
lea esi, [edi + 4]
push esi
mov ecx, ebp
call fcn.0051cf50
test eax, eax
mov eax, esi
jne 0x5e132e
lea eax, [edi + 0xc]
mov ecx, dword [eax]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0xc], edx
jmp 0x5e1376
lea esi, [ebp + 0xc]
push esi
call fcn.0051cf50
test eax, eax
je 0x5e13a5
mov eax, dword [esi]
mov ebx, dword [esp + 0xac]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
lea esi, [edi + 4]
push esi
mov ecx, ebp
call fcn.0051cf50
test eax, eax
jne 0x5e136b
lea esi, [edi + 0xc]
mov edx, dword [esi]
mov dword [ebx + 8], edx
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0
call fcn.005166b0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.005166b0
mov eax, 3
jmp 0x5e1482
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0
call fcn.005166b0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.005166b0
xor eax, eax
jmp 0x5e1482
fild dword [esp + 0x60]
lea ecx, [esp + 0x44]
push ecx
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x80]
fild dword [esp + 0x7c]
push edx
sub esp, 8
lea eax, [esp + 0x9c]
fstp qword [esp]
push eax
call fcn.005e0fb0
add esp, 0x1c
cmp eax, esi
je 0x5e13a5
sub eax, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
js 0x5e1459
mov ebx, dword [esp + 0xac]
lea esi, [esp + eax*8 + 0x44]
mov edi, edi
push esi
mov ecx, edi
call fcn.0051cf50
test eax, eax
je 0x5e1449
push esi
mov ecx, ebp
call fcn.0051cf50
test eax, eax
je 0x5e1449
mov ecx, dword [esi]
mov edx, dword [esi + 4]
inc dword [esp + 0x14]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
add ebx, 8
mov eax, dword [esp + 0x18]
dec eax
sub esi, 8
mov dword [esp + 0x18], eax
test eax, eax
jge 0x5e1420
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 0
call fcn.005166b0
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.005166b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret