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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax + 0x24]
mov eax, 0x7e967699
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
test esi, esi
je 0x591f51
mov eax, dword [esi + 0x38]
test al, 1
je 0x591e22
test al, 8
jne 0x591e22
cmp dword [esi + 0x3c], 0
je 0x591e22
cmp dword [esp + 0x44], 0
fld dword [esi + 4]
fsub dword [edi + 4]
fstp dword [esp + 0x48]
fld dword [esi + 8]
fsub dword [edi + 8]
fstp dword [esp + 0x58]
fld dword [esi + 0xc]
fsub dword [edi + 0xc]
fstp dword [esp + 0x60]
fld dword [esp + 0x58]
fstp qword [esp + 0x78]
fld dword [esp + 0x48]
fstp qword [esp + 0x58]
fld dword [esp + 0x60]
fstp qword [esp + 0x60]
fld qword [esp + 0x58]
fmul st(0), st(0)
fld qword [esp + 0x78]
fmul st(0), st(0)
faddp st(1)
fld qword [esp + 0x60]
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x48]
je 0x591dac
fld dword [esp + 0x48]
fld dword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x591e20
sub esp, 8
fstp qword [esp]
call fcn.00611904
mov ecx, dword [edi + 0x10]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
mov edx, dword [esi + 0x10]
fstp dword [esp + 0x68]
mov dword [esp + 0x70], ecx
fld dword [esp + 0x70]
mov dword [esp + 0x74], edx
fadd dword [esp + 0x68]
add esp, 8
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fld dword [esp + 0x6c]
fcompp
fnstsw ax
test ah, 1
jne 0x591e22
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], esi
jmp 0x591e22
fld dword [esp + 0x48]
sub esp, 8
fstp qword [esp]
call fcn.00611904
mov ecx, dword [edi + 0x10]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
mov edx, dword [esi + 0x10]
fstp dword [esp + 0x68]
mov dword [esp + 0x78], ecx
fld dword [esp + 0x78]
mov dword [esp + 0x7c], edx
fadd dword [esp + 0x68]
add esp, 8
fsub dword [esp + 0x74]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fld dword [esp + 0x50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x591e20
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x591e12
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], esi
jmp 0x591e22
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
jmp 0x591e22
fstp st(0)
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x591ccc
cmp dword [esp + 0x44], esi
je 0x591e9b
mov ecx, edi
call fcn.00553730
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x24], edi
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], esi
test eax, eax
je 0x591e58
mov dword [eax + 0x2c], edi
inc dword [esi + 0x3c]
push esi
mov ecx, edi
call fcn.005537c0
mov edx, dword [ebx + 0x3c]
push ecx
mov ecx, esi
mov dword [esp], edx
call fcn.00591250
test byte [esi + 0x38], 4
je 0x592047
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x44]
mov dword [esp], eax
lea eax, [esi + 4]
push eax
call fcn.00553860
and dword [edi + 0x38], 0xffffffdf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x591f51
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x74], ecx
fld dword [esp + 0x74]
fadd dword [esp + 0x50]
fadd dword [ebx + 0x3c]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fld dword [ebp + 0x10]
fcompp
fnstsw ax
test ah, 1
jne 0x591f51
mov ecx, edi
call fcn.00553730
fld dword [esp + 0x50]
mov esi, dword [esp + 0x54]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x50]
fmul st(0), st(0)
mov dword [esi + 0x10], edx
mov dword [esi + 0x24], edi
fstp dword [esi + 0x14]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], esi
test eax, eax
je 0x591f0e
mov dword [eax + 0x2c], edi
inc dword [esi + 0x3c]
mov eax, dword [ebx + 0x3c]
push ecx
mov ecx, esi
mov dword [esp], eax
call fcn.00591250
push esi
mov ecx, edi
call fcn.005537c0
test byte [esi + 0x38], 4
je 0x592047
mov eax, dword [esi + 0x10]
push ecx
lea ecx, [esi + 4]
mov dword [esp], eax
push ecx
mov ecx, dword [esi + 0x44]
call fcn.00553860
and dword [edi + 0x38], 0xffffffdf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, edi
call fcn.00553730
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x591f88
mov eax, dword [ebx + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x1c], esi
test eax, eax
je 0x591f72
mov dword [eax + 0x1c], esi
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + 0x18], eax
mov edx, dword [ebx + 0x1c]
mov dword [edx + 0x1c], 0
inc dword [ebx + 0x24]
dec dword [ebx + 0x28]
mov eax, dword [edi + 0x10]
fld dword [ebx + 0x3c]
mov dword [esp + 0x74], eax
fadd dword [esp + 0x74]
push 0
push 0
push ecx
fstp dword [esp + 0x80]
lea ecx, [edi + 4]
fld dword [esp + 0x80]
fstp dword [esp]
push ecx
push ebx
mov ecx, esi
call fcn.00590d20
mov eax, dword [ebp + 0xc]
test byte [eax + 0x38], 2
je 0x591fc7
or dword [esi + 0x38], 2
jmp 0x591fcb
or dword [esi + 0x38], 4
mov ecx, dword [esi + 0x24]
mov edx, 1
or dword [esi + 0x38], edx
mov dword [esi + 0x24], edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], esi
test ecx, ecx
je 0x591fed
mov dword [ecx + 0x2c], edi
add dword [esi + 0x3c], edx
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x24], esi
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x20], eax
test ecx, ecx
je 0x59200a
mov dword [ecx + 0x2c], esi
add dword [eax + 0x3c], edx
mov edx, dword [ebx + 0x3c]
push ecx
mov ecx, esi
mov dword [esp], edx
call fcn.00591250
push esi
mov ecx, edi
call fcn.005537c0
test byte [esi + 0x38], 4
je 0x592047
mov eax, dword [esi + 0x10]
push 2
push 1
push esi
push ecx
mov dword [esp], eax
lea eax, [esi + 4]
push eax
mov ecx, ebx
call fcn.00591a60
mov dword [esi + 0x44], eax
mov byte [esi + 0x4c], 1
and dword [edi + 0x38], 0xffffffdf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc