Function at 0x598529
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6c6e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x200]
mov ecx, dword [esi + 0x208]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x1f4]
mov eax, dword [esi + 0x1fc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 2
push ecx
lea ecx, [esp + 0x50]
call fcn.00420920
lea edi, [esi + 0x20c]
lea ecx, [esp + 0x58]
push edi
call fcn.00420920
mov edx, dword [esi + 0x234]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x68], edx
call fcn.004f1280
test al, al
je 0x598622
fld dword [esp + 0x64]
fmul dword [esp + 0x78]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 3
fstp dword [esp + 0x80]
call fcn.0045f290
lea ecx, [esp + 0x1c]
call fcn.0049c8f0
fst dword [esp + 0xc]
fld dword [esp + 0x78]
fmul dword [esp + 0x78]
fxch st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x598603
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x58]
push eax
call fcn.00420920
jmp 0x598622
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00404030
fmul dword [esp + 0x7c]
lea edx, [esp + 0x20]
lea ecx, [esp + 0x5c]
fstp dword [esp]
push edx
call fcn.0046ed80
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
fld dword [esp + 0x40]
fsub dword [esp + 0x34]
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fchs
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x18]
fld dword [esp + 0x40]
fsub dword [esp + 0x28]
push ecx
mov byte [esp + 0x74], 6
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fchs
fstp dword [esp + 0x24]
fld dword [esp + 0x4c]
fsub dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fstp dword [esp + 0x7c]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fdiv dword [esp + 0x7c]
mov ebx, dword [esi + 0x16c]
add esp, 4
mov ecx, ebx
test ecx, ecx
fstp dword [esp + 0x78]
fld dword [esi + 0x204]
fsub dword [esi + 0x1f8]
fmul dword [esp + 0x78]
fchs
je 0x598753
mov edx, dword [esi + 0x170]
lea edi, [edx + ecx*8]
fld dword [edi - 8]
fcomp dword [esp + 0x78]
sub edi, 8
dec ecx
fnstsw ax
test ah, 0x41
jnp 0x598722
test ecx, ecx
jne 0x59870a
jmp 0x598753
fld dword [edx + ecx*8 + 4]
lea eax, [ecx + 1]
cmp eax, ebx
jae 0x598751
fstp st(0)
fld dword [edx + ecx*8]
fld dword [edx + ecx*8 + 4]
fld dword [edx + ecx*8 + 0xc]
fsub st(1)
fld dword [edx + eax*8]
fsub st(3)
fdivp st(1)
fld dword [esp + 0x78]
fsub st(3)
fmulp st(1)
fadd st(1)
fstp st(2)
fstp st(0)
faddp st(1)
fadd dword [esi + 0x204]
mov eax, dword [esi + 0x190]
lea ecx, [esp + 0x28]
push ecx
fstp dword [esp + 0x30]
mov edi, dword [eax + 0x1c]
mov esi, dword [edi + 4]
add esi, 0x10
lea ecx, [esi + 0x30]
call fcn.00420920
mov edx, dword [esi + 0xc]
and edx, 0xfffdffff
mov dword [esi + 0xc], edx
mov edx, dword [edi + 4]
push edx
call fcn.00404040
fld dword [esp + 0x7c]
mov ecx, dword [esp + 0x6c]
add esp, 4
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4