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

Disassembly:
sub esp, 0x570
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x88], esi
mov eax, dword [esi + 0x54]
push eax
call fcn.005c475e
mov ecx, dword [esp + 0x588]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x20]
add esp, 4
lea edx, [ecx + ecx*2]
lea ebx, [esi + 8]
shl edx, 3
sub edx, ecx
mov ecx, dword [esi + 0x4c]
and ecx, 0x10000
mov dword [esp + 0x80], ebx
lea edi, [eax + edx*4]
mov edx, dword [esi + 0x3c]
push ecx
lea eax, [esi + 0x14]
push edx
push ebx
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esp + 0x598]
push 1
push eax
mov dword [esp + 0x50], edi
call fcn.005d0045
mov ecx, dword [esi + 0x7c]
xor edx, edx
mov dx, word [edi + 0x58]
add esp, 0x18
mov ebp, dword [edi + ecx*4 + 0x14]
push edx
mov dword [esp + 0x7c], ebp
call fcn.005c22bd
mov eax, dword [eax + 0x1d]
add esp, 4
mov dword [esp + 0x24], eax
lea edi, [esp + 0x1c0]
mov dword [esp + 0x20], 0x18
mov ecx, edi
call fcn.0045d2af
mov eax, dword [esp + 0x20]
add edi, 0x28
dec eax
mov dword [esp + 0x20], eax
jne 0x5c9787
lea ecx, [esi + 0x40]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1bc], 0
mov edx, dword [ecx]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + 4]
add edx, 0x10
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
mov ecx, dword [ecx + 8]
push edx
mov dword [esp + 0x78], ecx
push eax
mov ecx, edi
call fcn.005da066
test byte [esi + 0x4c], 4
jne 0x5c982d
fld dword [ebx + 4]
fadd dword [esp + 0x64]
fld dword [ebx + 8]
fadd dword [esp + 0x68]
sub esp, 0xc
mov eax, esp
sub esp, 0x24
fstp dword [esp + 0xec]
fld dword [ebx]
fadd dword [esp + 0x90]
mov ecx, dword [esp + 0xec]
mov dword [eax + 8], ecx
mov ecx, esp
fstp dword [eax]
push edi
fstp dword [eax + 4]
call fcn.005c7ab2
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x5c]
push edx
push eax
lea ecx, [esp + 0x1f4]
call fcn.005c18f9
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x64]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], edx
fild dword [esi + 0x68]
mov dl, byte [eax + ecx + 4]
mov dword [esp + 0x8c], 0
test dl, dl
fstp dword [esp + 0x34]
jbe 0x5ca1b7
jmp 0x5c985f
mov ebp, dword [esp + 0x78]
xor edx, edx
xor ecx, ecx
mov dl, byte [ebp + 1]
mov cl, byte [ebp]
mov edi, edx
mov edx, dword [esp + 0x78]
xor eax, eax
add edx, 3
mov al, byte [ebp + 2]
mov esi, ecx
mov ebp, eax
mov dword [esp + 0x78], edx
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x75dad8]
mov cl, byte [edi + 0x75dad8]
xor edx, edx
mov dword [esp + 0x2c], eax
mov dl, byte [ebp + 0x75dad8]
mov dword [esp + 0x7c], ecx
test eax, eax
mov dword [esp + 0x84], edx
jne 0x5c98e9
fld dword [esp + 0x34]
lea eax, [esi + esi*2]
lea eax, [eax*4 + 0x745058]
push eax
mov dword [esp + 0x14], eax
push esi
call fcn.00674a84
mov ecx, dword [esp + 0x58c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.005c4026
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [0x757978]
add esp, 8
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x5c9930
fld dword [esp + 0x34]
lea eax, [edi + edi*2]
lea eax, [eax*4 + 0x745058]
push eax
mov dword [esp + 0x14], eax
push edi
call fcn.00674a84
mov ecx, dword [esp + 0x58c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.005c4026
mov edx, dword [esp + 0x10]
push edx
push edi
call dword [0x757978]
add esp, 8
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x5c997b
fld dword [esp + 0x34]
lea eax, [ebp + ebp*2]
lea eax, [eax*4 + 0x745058]
push eax
mov dword [esp + 0x14], eax
push ebp
call fcn.00674a84
mov ecx, dword [esp + 0x58c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.005c4026
mov edx, dword [esp + 0x10]
push edx
push ebp
call dword [0x757978]
add esp, 8
push ebp
push edi
push esi
call dword [0x75dac4]
mov al, byte [esi + 0x75dad8]
add esp, 0xc
test al, 2
je 0x5c9c30
mov ecx, dword [esp + 0x38]
lea eax, [esi + esi*8]
mov edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x18], edx
je 0x5c99f2
fld dword [esp + 0x34]
lea ecx, [esi + esi*2]
lea edx, [ecx*4 + 0x745058]
push edx
push esi
call fcn.00674a84
mov ecx, dword [esp + 0x58c]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.005c4026
mov ecx, dword [esp + 0x30]
lea eax, [esi + esi*2]
lea edx, [esp + 0x1b0]
lea ebx, [eax*4 + 0x745058]
push ebx
push edx
call fcn.005da066
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x48]
push edx
push 0x73f098
fld dword [ecx + 4]
fld dword [eax + 8]
fxch st(1)
fadd dword [eax + 4]
fxch st(1)
fadd dword [ecx + 8]
fld dword [eax]
fadd dword [ecx]
fxch st(1)
fst dword [esp + 0x160]
fxch st(1)
fstp dword [esp + 0x110]
fxch st(1)
fstp dword [esp + 0x114]
lea eax, [esp + 0x188]
lea ecx, [esp + 0x110]
fstp dword [esp + 0x118]
push eax
call fcn.0046bdce
push eax
mov ecx, 0x73f0a4
call fcn.005da0bf
fld dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x48]
fxch st(2)
fmul dword [esp + 0x50]
fxch st(2)
fmul dword [esp + 0x48]
fxch st(2)
faddp st(1)
fxch st(1)
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x168]
push edx
push ecx
faddp st(1)
mov ecx, dword [esp + 0x38]
fsqrt
fdivr dword [0x7dc86c]
fld st(0)
fld st(1)
fxch st(1)
fmul dword [esp + 0x50]
fxch st(1)
fmul dword [esp + 0x54]
fxch st(2)
fmul dword [esp + 0x58]
fxch st(1)
fxch st(2)
fxch st(1)
fxch st(1)
fstp dword [esp + 0x144]
mov eax, dword [esp + 0x144]
fstp dword [esp + 0x148]
mov edx, dword [esp + 0x148]
mov dword [esp + 0x54], eax
fstp dword [esp + 0x50]
mov dword [esp + 0x58], edx
call fcn.005da066
fld dword [eax + 4]
fld dword [eax]
fmul dword [0x7dc864]
fxch st(1)
fmul dword [0x7dc864]
fxch st(1)
fstp dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
fstp dword [esp + 0x94]
fld dword [eax + 8]
fmul dword [0x7dc864]
fld dword [ebx]
fld dword [ebx + 4]
fld dword [ebx + 8]
fxch st(2)
fsub dword [esp + 0x60]
fxch st(1)
fsub dword [esp + 0x64]
fxch st(2)
fsub dword [esp + 0x68]
fxch st(3)
fstp dword [esp + 0x98]
lea eax, [esp + 0xfc]
push ecx
fstp dword [esp + 0x100]
push eax
push edx
fstp dword [esp + 0x10c]
fstp dword [esp + 0x110]
lea ecx, [esp + 0x1c8]
call fcn.005c1d09
fld dword [esp + 0x98]
fld dword [esp + 0x90]
fld dword [esp + 0x98]
fld dword [esp + 0x94]
fxch st(3)
fmul dword [esp + 0x48]
fld dword [esp + 0x14]
fxch st(3)
fmul dword [esp + 0x50]
fld dword [esp + 0x18]
fxch st(4)
fmul dword [esp + 0x24]
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x14]
push eax
push ecx
fstp dword [esp + 0x1c]
fxch st(2)
fmul dword [esp + 0x54]
fxch st(2)
fsubp st(1)
fxch st(3)
fmul dword [esp + 0x58]
fld dword [esp + 0x24]
fxch st(4)
fsub qword [0x7dc8bc]
fxch st(1)
fsubp st(2)
fxch st(2)
fmul dword [esp + 0x2c]
fxch st(1)
fsub qword [0x7dc8bc]
fxch st(3)
fmul dword [esp + 0x2c]
fld st(2)
fxch st(4)
fst dword [esp + 0x34]
fxch st(2)
fstp dword [esp + 0x20]
fstp dword [esp + 0x24]
fxch st(2)
fstp dword [esp + 0xd4]
fxch st(1)
fstp dword [esp + 0xd8]
push esi
fstp st(0)
call dword [0x757938]
mov ebx, dword [esp + 0x8c]
add esp, 0xc
test byte [edi + 0x75dad8], 2
je 0x5c9ef3
mov eax, dword [esp + 0x38]
lea edx, [edi + edi*8]
mov ecx, dword [eax + 0x54]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
je 0x5c9c9a
fld dword [esp + 0x34]
lea eax, [edi + edi*2]
lea ecx, [eax*4 + 0x745058]
push ecx
push edi
call fcn.00674a84
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x590]
push edx
push eax
call fcn.005c4026
mov ecx, dword [esp + 0x30]
lea eax, [edi + edi*2]
lea edx, [esp + 0x198]
lea esi, [eax*4 + 0x745058]
push esi
push edx
call fcn.005da066
fld dword [ebx + 4]
fld dword [eax + 8]
fld dword [eax]
fadd dword [ebx]
fxch st(2)
fadd dword [eax + 4]
fxch st(1)
fadd dword [ebx + 8]
fxch st(2)
fsub dword [0x73f098]
fxch st(1)
fst dword [esp + 0x130]
fsub dword [0x73f09c]
fxch st(2)
fst dword [esp + 0x134]
fsub dword [0x73f0a0]
fxch st(1)
fstp dword [esp + 0x114]
fxch st(1)
fstp dword [esp + 0x118]
lea ecx, [esp + 0x114]
fstp dword [esp + 0x11c]
push ecx
lea ecx, [esp + 0x148]
call fcn.0046bd69
lea edx, [esp + 0x54]
lea eax, [esp + 0x144]
push edx
push eax
mov ecx, 0x73f0a4
call fcn.005da0bf
fld dword [esp + 0x5c]
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
fld dword [esp + 0x54]
fxch st(2)
fmul dword [esp + 0x5c]
fxch st(2)
fmul dword [esp + 0x54]
fxch st(2)
faddp st(1)
fxch st(1)
faddp st(1)
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x174]
push edx
push ecx
fsqrt
mov ecx, dword [esp + 0x38]
fdivr dword [0x7dc86c]
fld st(0)
fld st(1)
fxch st(1)
fmul dword [esp + 0x5c]
fxch st(1)
fmul dword [esp + 0x60]
fxch st(2)
fmul dword [esp + 0x64]
fxch st(1)
fxch st(2)
fxch st(1)
fxch st(1)
fstp dword [esp + 0xfc]
mov eax, dword [esp + 0xfc]
fstp dword [esp + 0x100]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x60], eax
fstp dword [esp + 0x5c]
mov dword [esp + 0x64], edx
call fcn.005da066
fld dword [eax]
fld dword [eax + 4]
fld dword [eax + 8]
fxch st(2)
fmul dword [0x7dc864]
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fxch st(3)
fstp dword [esp + 0x9c]
fxch st(3)
fmul dword [0x7dc864]
fxch st(1)
fsub dword [esp + 0x60]
fxch st(4)
fmul dword [0x7dc864]
fxch st(3)
fsub dword [esp + 0x64]
fxch st(2)
fsub dword [esp + 0x68]
fxch st(1)
fstp dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xe4]
fxch st(2)
fstp dword [esp + 0xa4]
fxch st(2)
fstp dword [esp + 0xe4]
fxch st(1)
fstp dword [esp + 0xe8]
push ecx
lea edx, [esp + 0x18]
push eax
push edx
fstp dword [esp + 0xf8]
lea ecx, [esp + 0x1c8]
call fcn.005c1d09
fld dword [esp + 0xa4]
fld dword [esp + 0x9c]
fld dword [esp + 0xa4]
fld dword [esp + 0xa0]
fxch st(3)
fmul dword [esp + 0x54]
fld dword [esp + 0x14]
fxch st(3)
fmul dword [esp + 0x5c]
fld dword [esp + 0x18]
fxch st(4)
fmul dword [esp + 0x24]
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x14]
fstp dword [esp + 0x14]
fxch st(2)
fmul dword [esp + 0x58]
fxch st(2)
fsubp st(1)
fxch st(3)
fmul dword [esp + 0x5c]
fld dword [esp + 0x1c]
fxch st(4)
fsub qword [0x7dc8bc]
fxch st(1)
fsubp st(2)
fxch st(2)
fmul dword [esp + 0x24]
fxch st(1)
fsub qword [0x7dc8bc]
fxch st(3)
fmul dword [esp + 0x24]
fld st(2)
fxch st(4)
fst dword [esp + 0x2c]
fxch st(2)
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
fxch st(2)
fstp dword [esp + 0xdc]
fxch st(1)
fstp dword [esp + 0xe0]
push eax
push ecx
push edi
fstp st(0)
call dword [0x757938]
add esp, 0xc
test byte [ebp + 0x75dad8], 2
je 0x5ca185
mov eax, dword [esp + 0x38]
lea edx, [ebp + ebp*8]
mov ecx, dword [eax + 0x54]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
lea edi, [ecx + edx*2]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x5c9f5e
fld dword [esp + 0x34]
lea edx, [ebp + ebp*2]
lea eax, [edx*4 + 0x745058]
push eax
push ebp
call fcn.00674a84
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
call fcn.005c4026
mov ecx, dword [esp + 0x30]
lea eax, [ebp + ebp*2]
lea edx, [esp + 0x18c]
lea esi, [eax*4 + 0x745058]
push esi
push edx
call fcn.005da066
fld dword [ebx]
fld dword [eax + 4]
fld dword [eax + 8]
fxch st(2)
fadd dword [eax]
fxch st(1)
fadd dword [ebx + 4]
fxch st(2)
fadd dword [ebx + 8]
fld st(1)
fsub dword [esp + 0x60]
fxch st(3)
fst dword [esp + 0x124]
fsub dword [esp + 0x64]
fxch st(1)
fst dword [esp + 0x128]
fsub dword [esp + 0x68]
fxch st(3)
fst dword [esp + 0xc0]
fsub dword [0x73f098]
fxch st(1)
fst dword [esp + 0xc4]
fsub dword [0x73f09c]
fxch st(3)
fst dword [esp + 0xc8]
fsub dword [0x73f0a0]
fxch st(1)
fstp dword [esp + 0xb4]
fxch st(2)
fstp dword [esp + 0xb8]
fxch st(1)
fstp dword [esp + 0xbc]
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x160]
fstp st(0)
call fcn.0046bd69
lea edx, [esp + 0x3c]
lea eax, [esp + 0x15c]
push edx
push eax
mov ecx, 0x73f0a4
call fcn.005da0bf
fld dword [esp + 0x44]
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
fld dword [esp + 0x3c]
fxch st(2)
fmul dword [esp + 0x44]
fxch st(2)
fmul dword [esp + 0x3c]
fxch st(2)
faddp st(1)
fxch st(1)
faddp st(1)
fsqrt
fdivr dword [0x7dc86c]
fld st(0)
fld st(1)
fxch st(1)
fmul dword [esp + 0x3c]
fxch st(1)
fmul dword [esp + 0x40]
fxch st(2)
fmul dword [esp + 0x44]
fxch st(1)
fxch st(2)
fxch st(1)
fxch st(2)
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x1a4]
push edi
fstp dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x4c]
call fcn.005da066
fld dword [eax]
fld dword [eax + 4]
fld dword [eax + 8]
fxch st(2)
fmul dword [0x7dc864]
fxch st(1)
fmul dword [0x7dc864]
fxch st(2)
fmul dword [0x7dc864]
fxch st(1)
fstp dword [esp + 0xa8]
fxch st(1)
fstp dword [esp + 0xac]
push edi
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x1c8]
fstp dword [esp + 0xbc]
call fcn.005c1d09
fld dword [esp + 0xb0]
fld dword [esp + 0xa8]
fld dword [esp + 0xb0]
fld dword [esp + 0xac]
fxch st(3)
fmul dword [esp + 0x3c]
fld dword [esp + 0x14]
fxch st(3)
fmul dword [esp + 0x44]
fld dword [esp + 0x18]
fxch st(4)
fmul dword [esp + 0x24]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x14]
push eax
push ecx
fstp dword [esp + 0x1c]
fxch st(2)
fmul dword [esp + 0x48]
fxch st(2)
fsubp st(1)
fxch st(3)
fmul dword [esp + 0x4c]
fld dword [esp + 0x24]
fxch st(4)
fsub qword [0x7dc8bc]
fxch st(1)
fsubp st(2)
fxch st(2)
fmul dword [esp + 0x2c]
fxch st(1)
fsub qword [0x7dc8bc]
fxch st(3)
fmul dword [esp + 0x2c]
fld st(2)
fxch st(4)
fst dword [esp + 0x34]
fxch st(2)
fstp dword [esp + 0x20]
fstp dword [esp + 0x24]
fxch st(2)
fstp dword [esp + 0xdc]
push ebp
fxch st(1)
fstp dword [esp + 0xe4]
fstp st(0)
call dword [0x757938]
add esp, 0xc
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x8c]
mov ecx, dword [edx + 0x7c]
xor edx, edx
inc eax
mov dl, byte [esi + ecx + 4]
mov dword [esp + 0x8c], eax
cmp eax, edx
jl 0x5c985b
mov esi, dword [esp + 0x88]
call fcn.005d02ea
mov ecx, dword [esi + 0x54]
call fcn.005c471f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x570
ret 8