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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0xe4]
test al, al
jne 0x6041fc
mov eax, dword [edi + 0xb8]
test eax, eax
jne 0x6041fc
lea eax, [edi + 0x88]
mov esi, dword [edi + 0xc8]
mov edx, eax
mov ebp, dword [edi + 0xc4]
mov ebx, dword [edi + 0xc0]
sub esp, 8
mov eax, dword [edx]
sub ebx, eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x44], ebx
sub ebp, ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x48], ebp
sub esi, edx
mov dword [esp + 0x4c], esi
fild dword [esp + 0x4c]
fild dword [esp + 0x48]
fstp qword [esp + 0x28]
fild dword [esp + 0x44]
fst qword [esp + 0x50]
fmul qword [esp + 0x50]
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fstp qword [esp]
fstp st(0)
call fcn.004b9f30
call fcn.0076a6b0
fld qword [esp + 0x28]
fld qword [esp + 0x50]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
mov dword [esp + 0x1c], eax
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004b9f30
add esp, 8
call fcn.0076a6b0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
cmp esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
jl 0x603bc0
mov esi, ecx
mov dword [esp + 0x1c], esi
neg ecx
cmp esi, ecx
jg 0x603bca
mov dword [esp + 0x1c], ecx
cmp ebx, eax
jl 0x603bd4
mov ebx, eax
mov dword [esp + 0x18], ebx
neg eax
cmp ebx, eax
jg 0x603bde
mov dword [esp + 0x18], eax
fild dword [esp + 0x14]
mov eax, dword [edi + 0x98]
fmul qword [eax + 0x298]
call fcn.0076a6b0
fild dword [esp + 0x14]
sub esp, 8
mov esi, eax
mov dword [esp + 0x60], esi
fstp dword [esp + 0x5c]
fild dword [esp + 0x24]
fdiv dword [esp + 0x5c]
fstp qword [esp]
call fcn.004ba070
fstp dword [esp + 0x1c]
fild dword [esp + 0x20]
fidiv dword [esp + 0x34]
fstp qword [esp]
call fcn.004ba0a0
fstp dword [esp + 0x20]
add esp, 8
test ebp, ebp
jge 0x603c3d
fld dword [esp + 0x18]
fchs
fstp dword [esp + 0x18]
lea ecx, [esp + 0xc0]
call fcn.0058cd10
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0xc4]
call fcn.0058d650
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc0]
push edx
call fcn.0058d410
test esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
jle 0x60412c
fild dword [esp + 0x58]
fstp dword [esp + 0x74]
fild dword [esp + 0x1c]
mov eax, dword [edi + 0x98]
fdiv dword [esp + 0x74]
fstp dword [esp + 0x2c]
fld dword [esp + 0x54]
fmul dword [esp + 0x2c]
fmul qword [eax + 0x2a0]
fstp qword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push esi
push ebp
call fcn.004b9fa0
fstp qword [esp + 0x28]
push esi
push ebp
call fcn.004b9ff0
fstp dword [esp + 0x44]
fld qword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 0x30]
fstp dword [esp + 0x38]
push ecx
lea edx, [esp + 0xc4]
lea ecx, [esp + 0xac]
mov dword [esp + 0x34], 0
call fcn.0058e030
mov edx, dword [eax]
push SysReAllocString
mov dword [esp + 0x34], edx
push 0
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 8]
mov eax, dword [edi + 0x98]
mov dword [esp + 0x40], edx
fld qword [eax + 0x2a8]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fmul st(1)
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [0xa255a0]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
mov edx, dword [esp + 0x48]
add ecx, 0x218
fmul st(1)
mov dword [esp + 0x68], edx
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
fstp st(0)
mov dword [esp + 0x6c], eax
call fcn.0062fcf0
mov edx, dword [0xa255a0]
push SysReAllocString
push 0
mov dword [esp + 0x28], eax
lea ecx, [edx + 0x218]
call fcn.0062fcf0
mov dword [esp + 0x48], eax
mov eax, dword [0xa255a0]
push SysReAllocString
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x98]
fild dword [esp + 0x50]
fmul qword [0x787280]
fsub qword [0x785728]
fmul qword [eax + 0x2b0]
fild dword [esp + 0x48]
fmul qword [0x787280]
fsub qword [0x785728]
fmul qword [eax + 0x2b0]
fstp dword [esp + 0x94]
fild dword [esp + 0x20]
fmul qword [0x787280]
fsub qword [0x785728]
fmul qword [eax + 0x2b0]
lea eax, [edi + 0x88]
fstp dword [esp + 0x98]
mov ecx, dword [eax]
fadd dword [esp + 0x3c]
fld dword [esp + 0x94]
fadd dword [esp + 0x60]
mov edx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x60]
fld dword [esp + 0x98]
fadd dword [esp + 0x64]
mov dword [esp + 0x8c], eax
fstp dword [esp + 0x64]
call fcn.0076a6b0
fld dword [esp + 0x60]
mov esi, eax
call fcn.0076a6b0
fld dword [esp + 0x64]
mov ebp, eax
call fcn.0076a6b0
mov ecx, dword [esp + 0x2c]
mov ebx, eax
lea eax, [edi + 0xc0]
push ecx
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xbc]
call fcn.00716b20
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add edx, ebp
mov dword [esp + 0x7c], edx
mov edx, dword [edi + 0x98]
add ecx, esi
add eax, ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], eax
cmp dword [edx + 0x264], 0xffffffff
jne 0x603eaa
xor ebx, ebx
jmp 0x603f08
push 0x128
call fcn.0076d5a7
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x60404a
lea ecx, [esp + 0x78]
push edi
push ecx
mov ecx, dword [edi + 0x98]
lea edx, [esp + 0x80]
push edx
mov edx, dword [ecx + 0x264]
mov ecx, dword [0xa1e114]
mov edx, dword [ecx + edx*4]
mov ecx, eax
push edx
call fcn.005ffed0
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x603f08
lea eax, [esp + 0x18]
lea ecx, [edi + 0xa8]
push eax
call fcn.00604ae0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
lea esi, [ebx + 0xfc]
mov ecx, esi
push SysReAllocString
push 0
mov dword [ecx], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov eax, dword [0xa255a0]
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov ecx, dword [0xa255a0]
push SysReAllocString
push 0
add ecx, 0x218
mov dword [esp + 0x58], eax
call fcn.0062fcf0
mov edx, dword [0xa255a0]
push SysReAllocString
push 0
mov dword [esp + 0x50], eax
lea ecx, [edx + 0x218]
call fcn.0062fcf0
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x98]
fild dword [esp + 0x20]
sub esp, 8
fmul qword [0x787280]
fsub qword [0x785728]
fmul qword [eax + 0x2b8]
fild dword [esp + 0x50]
fmul qword [0x787280]
fsub qword [0x785728]
fmul qword [eax + 0x2b8]
fstp dword [esp + 0xa8]
fild dword [esp + 0x58]
fmul qword [0x787280]
fsub qword [0x785728]
fmul qword [eax + 0x2b8]
fstp dword [esp + 0xac]
fadd dword [esi]
fstp dword [esi]
fld dword [esp + 0xa8]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [esp + 0xac]
fadd dword [esi + 8]
fstp dword [esi + 8]
fld dword [esi + 8]
fld dword [esi + 4]
fld dword [esi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.004b9f30
fcom qword [0x786610]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x604053
fld dword [esi]
fdiv st(1)
fstp dword [esp + 0x68]
fld dword [esi + 4]
fdiv st(1)
mov eax, dword [esp + 0x68]
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
fdivr dword [esi + 8]
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x70]
jmp 0x60405f
mov dword [esp + 0x18], ebx
jmp 0x603f08
mov edx, esi
fstp st(0)
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov eax, dword [0xa255a0]
push SysReAllocString
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x98]
fild dword [esp + 0x20]
fmul qword [0x787280]
fadd dword [esp + 0x14]
fsub qword [0x785728]
fld qword [ecx + 0x2c0]
fmul qword [0x785728]
fmulp st(1)
fld st(0)
fld qword [ecx + 0x2c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x6040bf
fld st(0)
jmp 0x6040c5
fld qword [ecx + 0x2c0]
fld qword [ecx + 0x2b8]
fchs
fstp qword [esp + 0x20]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x6040f7
fld st(0)
fld qword [ecx + 0x2c0]
fcompp
fnstsw ax
test ah, 0x41
je 0x6040fd
fstp st(0)
fld qword [ecx + 0x2c0]
jmp 0x6040fd
fstp st(0)
fld qword [esp + 0x20]
fstp dword [esp + 0x14]
mov ecx, dword [ebx + 0x98]
mov eax, dword [esp + 0x1c]
fld dword [esp + 0x14]
fadd dword [ecx + 0x2cc]
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
fstp dword [ebx + 0xd4]
jl 0x603c8b
mov edx, dword [edi + 0x98]
mov al, byte [edx + 0x2db]
test al, al
je 0x6041f5
push 0x58
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x6041f5
push 0
push 0x3f000000
push 1
push 0
push 0xa
push ecx
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov si, word [esp + 0x34]
mov ecx, esp
xor dl, dl
xor bl, bl
mov word [ecx], si
mov byte [esp + 0x2c], dl
push ecx
mov byte [esp + 0x31], dl
mov byte [ecx + 2], dl
mov cx, word [esp + 0x30]
mov edx, esp
push ecx
mov word [edx], cx
mov ecx, esp
push 1
push 0
mov byte [edx + 2], bl
mov edx, dword [edi + 0x98]
add edx, 0x2d8
sub esp, 0xc
mov si, word [edx]
mov word [ecx], si
mov dl, byte [edx + 2]
mov byte [ecx + 2], dl
mov edx, dword [edi + 0xc0]
mov ecx, esp
sub esp, 0xc
mov dword [ecx], edx
mov edx, dword [edi + 0xc4]
mov dword [ecx + 4], edx
mov edx, dword [edi + 0xc8]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x88]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [edi + 0x8c]
mov dword [ecx + 4], edx
mov edx, dword [edi + 0x90]
mov dword [ecx + 8], edx
mov ecx, eax
call fcn.00531220
mov byte [edi + 0xe4], 1
mov eax, dword [edi + 0xb8]
xor esi, esi
test eax, eax
jle 0x604221
mov eax, dword [edi + 0xac]
mov ecx, dword [eax + esi*4]
call fcn.00601720
mov eax, dword [edi + 0xb8]
inc esi
cmp esi, eax
jl 0x604208
mov esi, dword [edi + 0xb8]
dec esi
js 0x604248
mov ecx, dword [edi + 0xac]
mov ecx, dword [ecx + esi*4]
mov al, byte [ecx + 0x121]
test al, al
je 0x604245
mov edx, dword [ecx]
call dword [edx + 0xf0]
dec esi
jns 0x60422a
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret