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

Disassembly:
push 0xffffffffffffffff
push 0x6b35e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
mov edx, ecx
mov eax, dword [edx + 0x64]
lea ecx, [edx + 0x5c]
cmp eax, ecx
push ebp
push esi
push edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], 0x43480000
mov dword [esp + 0x24], 0
mov dword [ecx + 0xc], eax
je 0x5380a6
mov esi, dword [eax]
jmp 0x5380a8
xor esi, esi
mov ebp, dword [esp + 0xac]
fld dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
fld dword [ebp + 0x10]
mov ecx, dword [ebp]
fxch st(1)
mov dword [esp + 0x30], eax
fmul dword [0x6c4be4]
mov eax, dword [ebp + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 8]
fstp dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
fmul dword [0x6c4be4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x30]
fmul dword [0x6c4be4]
fadd dword [ebp + 8]
fld dword [esp + 0x1c]
fadd dword [ebp + 4]
fld dword [esp + 0x18]
fadd dword [ebp]
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
fstp dword [esp + 0x68]
test esi, esi
mov dword [esp + 0xa4], 0
mov dword [esp + 0x38], 0
je 0x538364
lea esp, [esp]
mov eax, dword [esi + 0x228]
test eax, eax
jne 0x5382c0
fld dword [ebp + 8]
fsub dword [esi + 8]
fld dword [ebp + 4]
fsub dword [esi + 4]
fld dword [ebp]
fsub 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 st(3)
fstp st(0)
fstp st(0)
fsqrt
fabs
fcomp dword [0x6c4be4]
fnstsw ax
test ah, 5
jp 0x53833e
mov dword [esp + 0x14], 0x497423f0
mov edi, 0x70c3f2
mov ebx, 0xc
lea esp, [esp]
movzx eax, word [edi - 2]
lea edx, [eax + eax*2]
mov ecx, dword [esi + edx*4 + 0x230]
lea eax, [esi + edx*4 + 0x230]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x74], eax
movzx eax, word [edi]
lea ecx, [eax + eax*2]
mov edx, dword [esi + ecx*4 + 0x230]
lea eax, [esi + ecx*4 + 0x230]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 8]
movzx eax, word [edi + 2]
lea eax, [eax + eax*2]
mov dword [esp + 0x8c], edx
mov ecx, dword [esi + eax*4 + 0x230]
lea eax, [esi + eax*4 + 0x230]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.005a2310
add esp, 0x14
test al, al
je 0x5382b4
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x5382b4
fld dword [esp + 0x14]
fcomp dword [0x6bb5fc]
fnstsw ax
test ah, 0x41
jne 0x5382b4
fld dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
fld dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
fxch st(1)
mov dword [esp + 0x44], eax
fmul dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], esi
fstp dword [esp + 0x28]
fmul dword [esp + 0x14]
fstp dword [esp + 0x2c]
fld dword [esp + 0x44]
fmul dword [esp + 0x14]
fadd dword [esp + 0x5c]
fld dword [esp + 0x2c]
fadd dword [esp + 0x58]
fld dword [esp + 0x28]
fadd dword [esp + 0x54]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x20]
add edi, 6
dec ebx
jne 0x538190
jmp 0x53833e
cmp eax, 2
jne 0x53833e
mov eax, dword [0x85cfbc]
test eax, eax
je 0x53833e
add eax, 0x10
push eax
lea ecx, [esi + 0xc]
call fcn.00439720
test al, al
je 0x53833e
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 0x94]
cmp edx, dword [esi + 0x22c]
je 0x538336
fld dword [0x6bb5fc]
fld dword [0x21fe630]
fucompp
fnstsw ax
test ah, 0x44
jp 0x53832a
lea eax, [esi + 0x28]
mov edx, 0x21fe634
mov dword [0x21fe630], 0x40a00000
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x538320
mov eax, dword [esi + 0x22c]
mov dword [edi + 0x94], eax
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x68]
mov eax, dword [eax + 8]
lea ecx, [edx + 0x5c]
cmp eax, ecx
mov dword [ecx + 0xc], eax
je 0x53835c
mov esi, dword [eax]
test esi, esi
jne 0x538130
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x53836f
or esi, 0xffffffff
mov dword [edx + 0x94], esi
jmp 0x538372
or esi, 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5384c7
fld dword [esp + 0xb0]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x5384c7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], 0x497423f0
call fcn.004441b0
fld dword [ebp]
mov ecx, dword [ebp + 8]
fst dword [esp + 0x6c]
fld dword [ebp + 4]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
fst dword [esp + 0x70]
mov dword [esp + 0x74], ecx
fxch st(1)
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x3c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x74]
fstp dword [esp + 0x40]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
call fcn.005bfb50
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x859d2c
call fcn.005a4f00
test al, al
jne 0x5384b6
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x85a11c
call fcn.005a7450
test al, al
jne 0x5384b6
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x85a1a8
call fcn.005a7450
test al, al
jne 0x5384b6
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x85a464
call fcn.005a7450
test al, al
jne 0x5384b6
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], al
call fcn.005bfb50
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], esi
call fcn.005bfb50
mov eax, dword [esp + 0x24]
jmp 0x5384d9
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 0
call fcn.005bfb50
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], esi
call fcn.005bfb50
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 8