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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x5d9155
mov eax, dword [esi + 0xb8]
test eax, eax
jne 0x5d9129
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x98], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x9c], edx
mov edx, dword [ebp + 0x18]
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], edx
fld qword [ebp + 0xc]
fadd qword [ebp + 0x1c]
mov ecx, dword [ebp + 0x30]
add eax, ecx
mov dword [esi + 0xb8], eax
fstp qword [esi + 0xa8]
fld qword [ebp + 0x14]
fadd qword [ebp + 0x24]
fstp qword [esi + 0xb0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5d916a
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x5d9740
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x2c]
cmp eax, 0x20
fld qword [edi + 0x228]
jne 0x5d9181
fadd qword [edi + 0x230]
fld qword [edi + 0x238]
fmul st(1)
fstp qword [esp + 0x78]
fstp st(0)
fld qword [esp + 0x78]
fmul qword [edi + 0x1f8]
fsubr qword [ebp + 0x1c]
fld qword [esp + 0x78]
fmul qword [edi + 0x200]
fsubr qword [ebp + 0x24]
fld st(1)
fmul qword [edi + 0x10]
fld st(1)
fmul qword [edi + 0x20]
faddp st(1)
fstp qword [esp + 0x28]
fxch st(1)
fmul qword [edi + 0x18]
fxch st(1)
fmul qword [edi + 0x28]
faddp st(1)
fstp qword [esp + 0x30]
fld qword [ebp + 0xc]
fmul qword [edi + 0x10]
fld qword [ebp + 0x14]
fmul qword [edi + 0x20]
faddp st(1)
fadd qword [edi + 0x30]
fstp qword [esp + 0x70]
fld qword [ebp + 0xc]
fmul qword [edi + 0x18]
fld qword [ebp + 0x14]
fmul qword [edi + 0x28]
faddp st(1)
fadd qword [edi + 0x38]
fstp qword [esp + 0x78]
fld qword [esp + 0x70]
fadd qword [esp + 0x28]
fcomp qword [esi + 0x30]
fnstsw ax
test ah, 1
jne 0x5d9740
fld qword [esi + 0x60]
fsub qword [esi + 0x38]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5d9740
fld qword [esp + 0x78]
fadd qword [esp + 0x30]
fcomp qword [esi + 0x40]
fnstsw ax
test ah, 1
jne 0x5d9740
fld qword [esi + 0x68]
fsub qword [esi + 0x48]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 1
jne 0x5d9740
fld qword [esp + 0x28]
fcomp qword [esi + 0x60]
fnstsw ax
test ah, 0x41
je 0x5d9740
fld qword [esp + 0x30]
fcomp qword [esi + 0x68]
fnstsw ax
test ah, 0x41
je 0x5d9740
mov ecx, dword [0x7dcc30]
call fcn.005d6ef0
test eax, eax
jne 0x5d92cc
fld qword [esp + 0x28]
fabs
fcomp qword [0x729da8]
fnstsw ax
test ah, 1
je 0x5d92cc
fld qword [esp + 0x30]
fabs
fcomp qword [0x729da8]
fnstsw ax
test ah, 1
je 0x5d92cc
mov ecx, dword [esi + 0x88]
inc ecx
mov eax, ecx
mov dword [esi + 0x88], ecx
cmp eax, 0xc350
jle 0x5d92cc
mov eax, dword [ebp + 0x30]
mov ecx, dword [esi + 0x70]
add ecx, eax
mov dword [esi + 0x70], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
cmp eax, 1
jne 0x5d931a
mov ecx, dword [edx]
cmp ecx, 0x20
je 0x5d92eb
cmp ecx, 9
je 0x5d92eb
cmp ecx, 0xa0
jne 0x5d931a
mov ecx, dword [ebp + 0x30]
mov edx, dword [esi + 0x70]
add edx, ecx
mov dword [esi + 0x70], edx
mov esi, dword [esi + 0xbc]
mov eax, dword [esi + 8]
test eax, eax
jle 0x5d974b
mov edx, dword [esi]
mov eax, dword [edx + eax*4 - 4]
mov byte [eax + 0x33], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
xor ebx, ebx
test eax, eax
jle 0x5d972c
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x58]
mov ecx, eax
sub ecx, ebx
cmp ecx, 8
jge 0x5d9356
cmp eax, 0x4e20
jge 0x5d9356
mov edx, dword [esi + 0x54]
add eax, eax
push 4
push eax
push edx
mov dword [esi + 0x58], eax
call fcn.005f6f70
add esp, 0xc
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
sub eax, ebx
push eax
mov eax, dword [esp + 0x14]
lea edx, [ecx + ebx*4]
mov ecx, dword [eax]
push edx
push ecx
mov ecx, dword [esi + 0x50]
call fcn.005e4830
mov ecx, dword [esp + 0x10]
add ebx, eax
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x5d932c
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x5d972c
cmp ebx, 1
jle 0x5d947d
xor edi, edi
mov dword [esp + 0x14], 1
test ebx, ebx
jle 0x5d93c9
mov edx, dword [esi + 0x54]
mov eax, dword [edx + edi*4]
push eax
call fcn.00602fd0
add esp, 4
test eax, eax
je 0x5d9470
inc edi
cmp edi, ebx
jl 0x5d93ad
mov edi, dword [ebp + 8]
fild dword [esp + 0x20]
fld qword [esp + 0x28]
mov eax, dword [esi + 0x74]
mov dword [esp + 0x10], 0
fdiv st(1)
test ebx, ebx
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fdiv st(1)
fstp qword [esp + 0x30]
fstp st(0)
fld qword [eax + 0x18]
fmul qword [esi + 0x78]
fstp qword [esp + 0x60]
fld qword [eax + 0x20]
fmul qword [esi + 0x78]
fstp qword [esp + 0x58]
jle 0x5d972c
lea ecx, [ebx*4 - 4]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x10]
mov eax, dword [esi + 0x80]
dec eax
fst qword [esp + 0x50]
fmul qword [esp + 0x28]
fadd qword [esp + 0x70]
fld qword [esp + 0x50]
fmul qword [esp + 0x30]
fadd qword [esp + 0x78]
fstp qword [esp + 0x20]
je 0x5d94de
dec eax
je 0x5d94ba
dec eax
je 0x5d948a
fst qword [esp + 0x50]
fadd qword [esp + 0x28]
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fsub qword [esp + 0x60]
fstp qword [esp + 0x40]
fld qword [esp + 0x20]
fsub qword [esp + 0x58]
jmp 0x5d9508
mov dword [esp + 0x14], 0
jmp 0x5d93c9
mov dword [esp + 0x14], 0
jmp 0x5d93cc
fld st(0)
fsub qword [esp + 0x60]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x50]
fsub qword [esp + 0x58]
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fadd qword [esp + 0x30]
fstp qword [esp + 0x40]
jmp 0x5d950c
fld st(0)
fadd qword [esp + 0x28]
fstp qword [esp + 0x50]
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fadd qword [esp + 0x58]
fstp qword [esp + 0x40]
fld qword [esp + 0x20]
fadd qword [esp + 0x60]
jmp 0x5d9508
fld st(0)
fadd qword [esp + 0x58]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
fstp qword [esp + 0x50]
fadd qword [esp + 0x60]
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fadd qword [esp + 0x30]
fstp qword [esp + 0x38]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x5d9522
mov eax, dword [esi + 0x28]
test eax, eax
je 0x5d9592
fld qword [esp + 0x48]
fadd qword [esp + 0x50]
fmul qword [0x71a428]
fld qword [esp + 0x38]
fadd qword [esp + 0x40]
fmul qword [0x71a428]
fstp qword [esp + 0x20]
fld qword [edi + 0x278]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x5d9588
fld qword [edi + 0x288]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x5d958a
fld qword [edi + 0x280]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x5d958a
fld qword [edi + 0x290]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x5d9592
jmp 0x5d958a
fstp st(0)
mov dword [esp + 0x1c], 1
mov eax, dword [edi + 0x250]
and eax, 3
cmp al, 1
jne 0x5d95d3
mov eax, dword [edi + 0x1a4]
mov ecx, dword [edi + 0x78]
push eax
lea eax, [esp + 0x88]
mov edx, dword [ecx]
push eax
lea eax, [edi + 0xfc]
push eax
call dword [edx + 0x10]
mov ecx, dword [edi + 0x190]
mov edx, dword [edi + 0x194]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
jmp 0x5d9602
mov edx, dword [edi + 0x1a4]
mov ecx, dword [edi + 0x74]
push edx
lea edx, [esp + 0x88]
mov eax, dword [ecx]
push edx
lea edx, [edi + 0x7c]
push edx
call dword [eax + 0x10]
mov eax, dword [edi + 0x188]
mov ecx, dword [edi + 0x18c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5d9614
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
jmp 0x5d9623
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
mov dword [esp + 0x20], ecx
push 0x58
call fcn.0044f661
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x5d9702
cmp dword [edi + 0x250], 3
je 0x5d9655
fld qword [esp + 0x68]
fcomp qword [0x71a438]
fnstsw ax
test ah, 1
jne 0x5d9655
xor eax, eax
jmp 0x5d965a
mov eax, 1
fild dword [esp + 0x8c]
sub esp, 8
mov edx, dword [esi + 0x7c]
sub esp, 8
fmul qword [0x72a5f8]
sub esp, 8
fstp qword [esp + 0x10]
fild dword [esp + 0xa0]
fmul qword [0x72a5f8]
fstp qword [esp + 8]
fild dword [esp + 0x9c]
fmul qword [0x72a5f8]
fstp qword [esp]
push edx
mov edx, dword [esi + 0x78]
push edx
mov edx, dword [esi + 0x74]
push edx
mov edx, dword [esi + 0x80]
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [ebp + 0x30]
push edx
mov edx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x54]
push edx
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax]
push eax
call fcn.005d7810
jmp 0x5d9704
xor eax, eax
mov ecx, dword [esi + 0xbc]
push eax
call fcn.005e0cd0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
inc eax
sub edx, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jl 0x5d9418
mov ecx, dword [ebp + 0x30]
mov eax, dword [esi + 0x70]
add eax, ecx
mov dword [esi + 0x70], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
mov edx, dword [ebp + 0x30]
mov eax, dword [esi + 0x70]
add eax, edx
mov dword [esi + 0x70], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34