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

Disassembly:
sub esp, 0x4b8
mov eax, dword [esp + 0x4bc]
push ebx
mov ebx, ecx
push ebp
lea eax, [eax + eax*4]
push esi
mov ecx, dword [ebx + 4]
push edi
mov edx, dword [ecx + eax*4 + 4]
lea edi, [ecx + eax*4]
push edx
mov dword [esp + 0x50], edi
call fcn.005c22bd
mov ecx, dword [esp + 0x4d8]
mov ebp, eax
add esp, 4
xor eax, eax
mov edx, dword [esp + 0x4d0]
test ecx, ecx
mov ecx, dword [esp + 0x4e4]
sete al
push eax
push ecx
push 0
push 0
push 1
push edx
call fcn.005d0045
mov eax, dword [0x73f078]
mov ecx, dword [0x73f07c]
fld dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov edx, dword [0x73f080]
fadd dword [esp + 0x34]
fld dword [ebx + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fadd dword [esp + 0x38]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x4f0]
mov esi, dword [edi + 8]
add esp, 0x18
mov dword [esp + 0x30], esi
fstp dword [esp + 0x20]
fld dword [ebx + 0x1c]
fadd dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x10c]
fstp dword [esp + 0x2c]
fld dword [ebp + 0x21]
fadd st(1)
fstp dword [esp + 0x24]
fstp st(0)
fld dword [ebp + 0x25]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [ebp + 0x29]
fadd dword [esp + 0x2c]
mov dword [esp + 0x10c], 0
fstp dword [esp + 0x2c]
call fcn.005c1844
xor eax, eax
mov al, byte [edi + 0x10]
test eax, eax
jbe 0x5c1770
mov dword [esp + 0x34], eax
jmp 0x5c1379
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov ebp, dword [edi + 0xc]
xor ebx, ebx
mov bl, byte [esi]
xor eax, eax
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, byte [esi + 2]
lea edx, [ebx + ebx*4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
lea esi, [ebp + edx*8]
lea edx, [eax + eax*4]
lea edi, [ebp + edx*8]
lea edx, [ecx + ecx*4]
lea ebp, [ebp + edx*8]
mov edx, dword [esp + 0x30]
add edx, 3
mov dword [esp + 0x30], edx
xor edx, edx
mov dl, byte [eax + 0x75dad8]
mov dword [esp + 0x38], edx
xor edx, edx
mov dl, byte [ecx + 0x75dad8]
mov dword [esp + 0x58], edx
mov dl, byte [ebx + 0x75dad8]
test dl, dl
jne 0x5c13e7
push esi
push ebx
call dword [0x757978]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x5c1402
push edi
push eax
call dword [0x757978]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, dword [esp + 0x58]
test edx, edx
jne 0x5c141d
push ebp
push ecx
call dword [0x757978]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 8
push ecx
push eax
push ebx
call dword [0x75dac4]
mov al, byte [ebx + 0x75dad8]
add esp, 0xc
test al, 2
je 0x5c1541
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fld dword [esi + 0x1c]
fadd dword [esp + 0x1c]
lea eax, [esi + 0x10]
lea ecx, [esp + 0x10]
push eax
push esi
push ecx
lea ecx, [esp + 0x110]
fstp dword [esp + 0x1c]
fld dword [esi + 0x20]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esi + 0x24]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.005c1a82
mov eax, dword [esi + 0xc]
xor esi, esi
mov edx, eax
mov dword [esp + 0x88], esi
and edx, 0xffff
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x14]
fild qword [esp + 0x84]
shr eax, 0x10
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
fmul dword [0x7dc79c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc4], edx
fstp dword [esp + 0x44]
fild qword [esp + 0x74]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
fmul dword [0x7dc79c]
lea eax, [esp + 0x8c]
push eax
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xc0]
push ecx
push ebx
call dword [0x757938]
add esp, 0xc
jmp 0x5c1543
xor esi, esi
mov ebx, dword [esp + 0x2c]
test byte [ebx + 0x75dad8], 2
je 0x5c1651
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
fld dword [edi + 0x1c]
fadd dword [esp + 0x1c]
lea edx, [edi + 0x10]
lea eax, [esp + 0x10]
push edx
push edi
push eax
lea ecx, [esp + 0x110]
fstp dword [esp + 0x1c]
fld dword [edi + 0x20]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [edi + 0x24]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.005c1a82
mov edi, dword [edi + 0xc]
mov dword [esp + 0x60], esi
mov ecx, edi
mov eax, dword [esp + 0x10]
and ecx, 0xffff
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x70], esi
fild qword [esp + 0x5c]
shr edi, 0x10
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x14]
fmul dword [0x7dc79c]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], edx
mov dword [esp + 0x100], edx
lea edx, [esp + 0x9c]
mov dword [esp + 0xf0], ecx
fstp dword [esp + 0x50]
fild qword [esp + 0x6c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
fmul dword [0x7dc79c]
lea eax, [esp + 0xec]
push edx
push eax
push ebx
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], ecx
call dword [0x757938]
add esp, 0xc
mov edi, dword [esp + 0x28]
test byte [edi + 0x75dad8], 2
je 0x5c1761
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
fld dword [ebp + 0x1c]
fadd dword [esp + 0x1c]
lea ecx, [ebp + 0x10]
lea edx, [esp + 0x10]
push ecx
push ebp
push edx
lea ecx, [esp + 0x110]
fstp dword [esp + 0x1c]
fld dword [ebp + 0x20]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [ebp + 0x24]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.005c1a82
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x80], esi
mov eax, ebp
mov dword [esp + 0x68], esi
and eax, 0xffff
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x18]
fild qword [esp + 0x7c]
shr ebp, 0x10
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x10]
fmul dword [0x7dc79c]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe8], edx
lea edx, [esp + 0xd4]
mov dword [esp + 0xd4], eax
fstp dword [esp + 0x3c]
fild qword [esp + 0x64]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
fmul dword [0x7dc79c]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0xac]
push ecx
push edx
push edi
call dword [0x757938]
add esp, 0xc
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x5c1371
call fcn.005d02ea
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4b8
ret 0x1c