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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d7f87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ebx, ecx
fld qword [esi]
fsub qword [esi + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ecx
fst qword [esp + 0x10]
fld qword [esi + 0x18]
fsub qword [esi + 8]
push edi
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
fstp qword [esp + 0x94]
mov eax, edx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov dword [esp + 0xac], ecx
call dword [sym.imp.msvcrt.dll__hypot]
fstp qword [esp + 0x9c]
fld qword [esi + 0x10]
fsub qword [esi]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x6c], eax
fst qword [esp + 0x24]
fld qword [esi + 0x18]
fsub qword [esi + 8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], edx
xor edi, edi
mov dword [esp + 0x1d0], edi
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
fstp qword [esp + 0x7c]
mov ecx, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov dword [esp + 0x94], edx
call dword [sym.imp.msvcrt.dll__hypot]
fstp qword [esp + 0x84]
fld qword [esi]
fsub qword [esi + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x48], eax
fst qword [esp + 0x34]
fld qword [esi + 8]
fsub qword [esi + 0x18]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
fstp qword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov edx, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.msvcrt.dll__hypot]
fstp qword [esp + 0x64]
fld qword [esi + 0x10]
fsub qword [esi]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xf0], edx
fst qword [esp + 0x44]
fld qword [esi + 8]
fsub qword [esi + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xec], ecx
fstp qword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
fstp qword [esp + 0x100]
mov eax, edx
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
mov dword [esp + 0x118], ecx
call dword [sym.imp.msvcrt.dll__hypot]
fstp qword [esp + 0x108]
add esp, 0x40
mov dword [esp + 0xe0], 0x5e7a90
mov dword [esp + 0x178], edi
mov ecx, ebx
mov byte [esp + 0x1c0], 4
mov dword [esp + 0x188], edi
mov dword [esp + 0x18c], edi
mov dword [esp + 0x198], edi
mov dword [esp + 0x19c], edi
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], 0x3ff00000
mov dword [esp + 0x190], edi
mov dword [esp + 0x194], 0x3ff00000
mov dword [esp + 0x1a8], 0x47ae147b
mov dword [esp + 0x1ac], 0x3f847ae1
mov dword [esp + 0x1b0], 0xeb1c432d
mov dword [esp + 0x1b4], 0x3f1a36e2
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x3ff00000
call fcn.0056c0e0
mov esi, eax
jmp 0x526133
xor edi, edi
fld qword [esp + 0x9c]
fmul qword [esi + 0x18]
fld qword [esp + 0x94]
fmul qword [esi + 0x20]
fsubp st(1)
fst qword [esp + 0x180]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
je 0x5261a0
mov dword [esp + 0x178], edi
mov edi, 1
fld qword [esp + 0xd8]
fmul qword [esi + 0x18]
fld qword [esp + 0xd0]
fmul qword [esi + 0x20]
fsubp st(1)
fst qword [esp + 0x180]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
je 0x5261d6
mov dword [esp + 0x178], 0
jmp 0x52621c
lea ecx, [esp + 0x7c]
push esi
push ecx
lea ecx, [esp + 0xe8]
call fcn.00456950
mov eax, dword [esp + 0x178]
mov edi, 1
cmp eax, edi
jne 0x526169
fld qword [esp + 0xc]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
jne 0x52621c
jmp 0x526206
lea ecx, [esp + 0xb8]
push esi
push ecx
lea ecx, [esp + 0xe8]
call fcn.00456950
cmp dword [esp + 0x178], edi
jne 0x52621c
fld qword [esp + 0xc]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
jne 0x52621c
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x54]
push esi
push ecx
lea ecx, [esp + 0xe8]
call fcn.0045d840
fld qword [esp + 0x180]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
je 0x526283
mov dword [esp + 0x178], 0
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0xe8]
call fcn.0045d840
fld qword [esp + 0x180]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
je 0x5262c8
mov dword [esp + 0x178], 0
jmp 0x52630b
lea edx, [esp + 0x54]
push esi
push edx
lea ecx, [esp + 0xe8]
call fcn.00456950
cmp dword [esp + 0x178], edi
jne 0x52624d
fld qword [esp + 0xc]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
jne 0x52630b
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jmp 0x52630b
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0xe8]
call fcn.00456950
cmp dword [esp + 0x178], edi
jne 0x52630b
fld qword [esp + 0xc]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 1
jne 0x52630b
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov esi, dword [esi + 0x5c]
mov ecx, ebx
call fcn.0056c0e0
cmp esi, eax
jne 0x526131
fld qword [esp + 0x3c]
fmul qword [esp + 0xc]
mov edi, dword [ebp + 0x1c]
mov ecx, edi
fadd qword [esp + 0x24]
fld qword [esp + 0x44]
fmul qword [esp + 0xc]
fadd qword [esp + 0x2c]
fst qword [esp + 0x1c]
fld st(1)
fstp qword [edi]
fstp qword [edi + 8]
fld qword [ebp + 0xc]
fadd st(0), st(0)
fst qword [esp + 0xa4]
fsub st(1)
fstp qword [edi + 0x10]
fstp st(0)
fld qword [ebp + 0x14]
fadd st(0), st(0)
fst qword [esp + 0xac]
fsub qword [esp + 0x1c]
fstp qword [edi + 0x18]
call fcn.004b6d50
mov ecx, ebx
call fcn.0056c0e0
mov esi, eax
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x5264d4
fld qword [esi]
fcom qword [edi + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
fnstsw ax
test ah, 0x41
je 0x5264d2
fcomp qword [edi]
fnstsw ax
test ah, 1
jne 0x5264d4
fld qword [esp + 0x4c]
fcomp qword [edi + 0x18]
fnstsw ax
test ah, 0x41
je 0x5264d4
fld qword [esp + 0x4c]
fcomp qword [edi + 8]
fnstsw ax
test ah, 1
jne 0x5264d4
fld qword [esi + 8]
fsub qword [esp + 0x84]
fmul qword [esp + 0x94]
fld qword [esi]
fsub qword [esp + 0x7c]
fmul qword [esp + 0x9c]
fsubp st(1)
fcomp qword [0x5e2798]
fld qword [esi + 8]
fnstsw ax
test ah, 0x41
jne 0x526446
fsub qword [esp + 0x2c]
fmul qword [esp + 0x3c]
fld qword [esi]
fsub qword [esp + 0x24]
fmul qword [esp + 0x44]
fsubp st(1)
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x52643b
fld qword [esi + 8]
fsub qword [ebp + 0x14]
fdiv qword [esp + 0x44]
fcom qword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x526489
jmp 0x52647c
fld qword [esi]
fsub qword [ebp + 0xc]
fdiv qword [esp + 0x3c]
jmp 0x52647c
fsub qword [esp + 0x5c]
fmul qword [esp + 0x6c]
fld qword [esi]
fsub qword [esp + 0x54]
fmul qword [esp + 0x74]
fsubp st(1)
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x41
jne 0x526473
fld qword [esi + 8]
fsub qword [ebp + 0x14]
fdiv qword [esp + 0x74]
jmp 0x52647c
fld qword [esi]
fsub qword [ebp + 0xc]
fdiv qword [esp + 0x6c]
fld qword [esp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x52648f
fstp qword [esp + 0xc]
jmp 0x526491
fstp st(0)
fld qword [esp + 0x3c]
fmul qword [esp + 0xc]
fadd qword [esp + 0x24]
fld qword [esp + 0x44]
fmul qword [esp + 0xc]
fadd qword [esp + 0x2c]
fst qword [esp + 0x1c]
fld st(1)
fstp qword [edi]
fstp qword [edi + 8]
fld qword [esp + 0xa4]
fsub st(1)
fstp qword [edi + 0x10]
fstp st(0)
fld qword [esp + 0xac]
fsub qword [esp + 0x1c]
fstp qword [edi + 0x18]
jmp 0x5264d4
fstp st(0)
mov esi, dword [esi + 0x5c]
mov ecx, ebx
call fcn.0056c0e0
cmp esi, eax
jne 0x526379
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1c0], 3
call fcn.004b90a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1c0], 2
call fcn.0042bd50
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c0], 1
call fcn.0042bd50
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c0], 0
call fcn.0042bd50
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18