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

Disassembly:
push 0xffffffffffffffff
push 0x6a0950
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 0x521e46
mov esi, dword [eax]
jmp 0x521e48
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 [0x6b0c5c]
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 [0x6b0c5c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x30]
fmul dword [0x6b0c5c]
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 0x522104
lea esp, [esp]
mov eax, dword [esi + 0x228]
test eax, eax
jne 0x522060
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 [0x6b0c5c]
fnstsw ax
test ah, 5
jp 0x5220de
mov dword [esp + 0x14], 0x497423f0
mov edi, 0x6f8a2a
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.00590180
add esp, 0x14
test al, al
je 0x522054
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x522054
fld dword [esp + 0x14]
fcomp dword [0x6a867c]
fnstsw ax
test ah, 0x41
jne 0x522054
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 0x521f30
jmp 0x5220de
cmp eax, 2
jne 0x5220de
mov eax, dword [0x8494ac]
test eax, eax
je 0x5220de
add eax, 0x10
push eax
lea ecx, [esi + 0xc]
call fcn.004386c0
test al, al
je 0x5220de
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 0x94]
cmp edx, dword [esi + 0x22c]
je 0x5220d6
fld dword [0x6a867c]
fld dword [0x21e98e4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5220ca
lea eax, [esi + 0x28]
mov edx, 0x21e98e8
mov dword [0x21e98e4], 0x40a00000
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x5220c0
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 0x5220fc
mov esi, dword [eax]
test esi, esi
jne 0x521ed0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x52210f
or esi, 0xffffffff
mov dword [edx + 0x94], esi
jmp 0x522112
or esi, 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x522267
fld dword [esp + 0xb0]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x522267
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], 0x497423f0
call fcn.0059e710
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.00697fa0
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x84621c
call fcn.00592ce0
test al, al
jne 0x522256
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x84660c
call fcn.005951e0
test al, al
jne 0x522256
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x846698
call fcn.005951e0
test al, al
jne 0x522256
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, 0x846954
call fcn.005951e0
test al, al
jne 0x522256
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], al
call fcn.00697fa0
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], esi
call fcn.00697fa0
mov eax, dword [esp + 0x24]
jmp 0x522279
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 0
call fcn.00697fa0
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], esi
call fcn.00697fa0
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