Function at 0x59bf60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x65d4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x702ca8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
fld qword [ebp + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 8]
fstp qword [esp]
call fcn.00433300
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x304]
mov ecx, dword [eax + 0x94]
fld dword [ecx + 0x798]
push ecx
fstp dword [esp + 0x20]
mov ecx, esi
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.0050ebe0
fld dword [esi + 0x2b4]
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov ecx, esi
fstp dword [esi + 0x1c4]
call eax
cmp dword [esi + 0x2d0], 0
jne 0x59c372
fld qword [ebp + 0x10]
mov ecx, dword [esi + 0x1b0]
fstp dword [esp + 0x1c]
mov edx, dword [esi + 0x1b4]
fld dword [esi + 0x450]
mov eax, dword [esi + 0x1b8]
fld dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
fld st(0)
mov dword [esp + 0x2c], edx
fmulp st(2)
mov edx, dword [esi]
fxch st(1)
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x7c]
fstp dword [esp + 0x1c]
fld dword [esi + 0x454]
fmul st(1)
fstp dword [esp + 0x20]
fmul dword [esi + 0x458]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
mov edi, dword [esp + 0x28]
fld dword [esp + 0x20]
mov dword [esi + 0x1b0], edi
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
fld dword [esp + 0x30]
mov dword [esi + 0x1b4], ebx
fadd dword [esp + 0x24]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1b8], ecx
mov ecx, esi
call eax
mov edx, dword [0x717c9c]
mov ecx, dword [edx + 0x24]
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x1d0], 0
mov cl, byte [eax + 0x301]
mov byte [esp + 0x1c], cl
mov cl, 1
mov byte [esp + 0x1d], cl
je 0x59c0ce
mov edx, dword [edx + 0x24]
mov eax, dword [edx + 0xc]
xor cl, cl
mov byte [esp + 0x1d], cl
mov byte [eax + 0x301], cl
test cl, cl
mov dword [esp + 0x80], 0
jne 0x59c2cf
mov edx, dword [0x717c9c]
fld dword [esp + 0x28]
mov eax, dword [edx + 0x24]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x304]
mov edx, dword [eax + 0x94]
fld dword [edx + 0x258]
fcomp st(1)
fnstsw ax
fldz
test ah, 0x41
jne 0x59c13b
fcom dword [esi + 0x450]
fnstsw ax
test ah, 0x41
jne 0x59c13b
fld dword [esi + 0x450]
mov cl, 1
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esi + 0x450]
mov eax, dword [0x717c9c]
mov edx, dword [eax + 0x24]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x304]
mov eax, dword [edx + 0x94]
fld dword [eax + 0x260]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x59c192
fcom dword [esi + 0x450]
fnstsw ax
test ah, 5
jp 0x59c192
fld dword [esi + 0x450]
mov cl, 1
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fchs
fstp dword [esi + 0x450]
mov edx, dword [0x717c9c]
fld dword [esp + 0x2c]
mov eax, dword [edx + 0x24]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x304]
mov edx, dword [eax + 0x94]
fld dword [edx + 0x25c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x59c1f0
fxch st(1)
fcom dword [esi + 0x454]
fnstsw ax
test ah, 5
jp 0x59c1ee
fld dword [esi + 0x454]
mov cl, 1
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fchs
fstp dword [esi + 0x454]
fxch st(1)
mov eax, dword [0x717c9c]
mov edx, dword [eax + 0x24]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x304]
mov eax, dword [edx + 0x94]
fld dword [eax + 0x264]
fcompp
fnstsw ax
test ah, 0x41
jne 0x59c243
fcomp dword [esi + 0x454]
fnstsw ax
test ah, 0x41
jne 0x59c245
fld dword [esi + 0x454]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esi + 0x454]
jmp 0x59c249
fstp st(0)
test cl, cl
je 0x59c288
mov ecx, dword [esi + 0x450]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esi + 0x454]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x458]
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [esp + 0x30], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, esi
mov dword [esp + 0x3c], esp
mov dword [eax + 8], edx
call fcn.0059beb0
fld qword [esi + 0x460]
fsub qword [ebp + 0x10]
fst qword [esi + 0x460]
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x59c2cf
push 3
lea ecx, [esp + 0x38]
call fcn.0043b9a0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x6a3320
mov dword [esp + 0x3c], esi
call fcn.0043bbe0
lea ecx, [esp + 0x34]
call fcn.0043bc10
mov byte [esi + 0x18], 1
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0xc]
mov al, byte [esp + 0x1c]
mov byte [edx + 0x301], al
mov edx, dword [0x717c9c]
mov ecx, dword [edx + 0x24]
mov eax, dword [ecx + 0xc]
cmp byte [eax + 0x1d0], 0
mov bl, byte [eax + 0x300]
mov cl, 1
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], cl
jne 0x59c31b
mov edx, dword [edx + 0x24]
mov eax, dword [edx + 0xc]
xor cl, cl
mov byte [esp + 0x1d], cl
mov byte [eax + 0x300], cl
test cl, cl
mov dword [esp + 0x80], 1
jne 0x59c34b
fld qword [ebp + 0x10]
mov edx, dword [esi + 0x468]
mov eax, dword [edx + 0xc]
sub esp, 0x10
lea ecx, [esi + 0x468]
fstp qword [esp + 8]
fld qword [ebp + 8]
fstp qword [esp]
call eax
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + 0xc]
mov byte [eax + 0x300], bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fld qword [ebp + 0x10]
mov edx, dword [esi + 0x3a0]
mov eax, dword [edx + 0xc]
sub esp, 0x10
lea ecx, [esi + 0x3a0]
fstp qword [esp + 8]
fld qword [ebp + 8]
fstp qword [esp]
call eax
mov ecx, dword [esi + 0x2d0]
add ecx, 0x1b0
lea edi, [esi + 0x2d8]
push ecx
mov ecx, edi
call fcn.0042bd30
fld qword [ebp + 0x10]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [ebp + 8]
fstp qword [esp]
call eax
mov ecx, dword [esi + 0x368]
mov edx, dword [esi + 0x36c]
mov eax, dword [esi + 0x370]
mov dword [esp + 0x28], ecx
mov ecx, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00577630
fld dword [esi + 0x430]
fstp dword [esp + 0x24]
add eax, 0x94
mov eax, dword [eax + 0x1c]
fld dword [eax + 0x2b8]
add eax, 0x2b8
fld dword [esp + 0x24]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [eax + 4]
fmul st(1)
fstp dword [esp + 0x38]
fmul dword [eax + 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fadd dword [esp + 0x34]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x2c]
mov dword [esi + 0x1b0], ecx
fadd dword [esp + 0x38]
mov ecx, esi
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x30]
mov dword [esi + 0x1b4], edx
fadd dword [esp + 0x3c]
mov edx, dword [esi]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1b8], eax
mov eax, dword [edx + 0x7c]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10