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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x310
mov eax, dword [0x10068040]
xor eax, esp
mov dword [esp + 0x30c], eax
push esi
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x1c]
push edi
push 0
push 7
mov eax, dword [ecx]
push ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
call dword [eax + 0xe4]
mov ecx, dword [0x100de8b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, eax
push 4
push edi
mov dword [esp + 0x48], edi
call esi
test eax, eax
jne 0x100066e7
test edi, edi
je 0x100066e7
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x18c], ecx
jbe 0x100066e7
nop dword [eax + eax]
mov eax, dword [edi + 0x184]
push 4
mov edi, dword [eax + ecx*4]
push edi
mov dword [esp + 0x44], edi
call esi
test eax, eax
jne 0x100066ce
test edi, edi
je 0x100066ce
mov esi, dword [edi + 0x10]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100066c8
test esi, esi
je 0x100066c8
movzx eax, byte [edi + 0x78]
mov esi, dword [0x3840baec]
mov ecx, esi
push eax
mov eax, 0x371b92e0
mov dword [0x100de8fc], 0x371b92e0
mov dword [0x100de8e8], 0x371ba2d0
call eax
mov edx, dword [0x100de8e8]
mov ecx, esi
mov dword [esp + 0xc], eax
call edx
mov esi, dword [esp + 0xc]
push 4
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100066c8
test esi, esi
je 0x100066c8
cmp byte [esi + 0x7c], al
jne 0x100066c8
mov ecx, dword [0x100de8a0]
lea edx, [esp + 0x7c]
push 1
push edx
push 8
mov eax, dword [ecx]
push dword [edi + 0x10]
call dword [eax + 0x40]
mov ecx, dword [0x100de8a0]
lea edx, [esp + 0xd8]
push 1
push edx
push 4
mov eax, dword [ecx]
push dword [edi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [esp + 0x80]
lea edx, [esp + 0x70]
addss xmm0, dword [0x10063c84]
mov eax, dword [0x100de8f4]
lea ecx, [esp + 0xd8]
movss dword [esp + 0x80], xmm0
mov eax, dword [eax + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], eax
call fcn.10005660
test al, al
je 0x100066c8
movss xmm0, dword [esp + 0x7c]
lea edx, [esp + 0x18]
movss dword [esp + 0x44], xmm0
lea ecx, [esp + 0x7c]
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [0x10063ce4]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x4c], xmm0
call fcn.10005660
test al, al
je 0x100066c8
lea edx, [esp + 0x30]
lea ecx, [esp + 0x44]
call fcn.10005660
test al, al
je 0x100066c8
mov eax, dword [0x100de8f4]
xorps xmm0, xmm0
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], 0
movlpd qword [esp + 0xb4], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xd4], 0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x9c], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [esp + 0x7c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xa0]
movq qword [esp + 0xac], xmm0
push eax
mov eax, dword [0x100de8f8]
mov eax, dword [eax + 0x64]
call eax
add esp, 8
mov dword [0x100de8bc], 0xff00d5ff
test al, al
mov ecx, 0xff00ff80
mov eax, 0xffff0048
cmovne ecx, eax
mov eax, dword [0x100de8f4]
mov dword [0x100680a0], ecx
mov eax, dword [eax + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0x90], xmm0
movss xmm1, dword [esp + 0x94]
movss xmm2, dword [esp + 0x90]
subss xmm2, dword [esp + 0x7c]
subss xmm1, dword [esp + 0x80]
mov dword [esp + 0x98], eax
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0x84]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10006208
sqrtsd xmm0, xmm0
jmp 0x1000620d
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
mov ecx, 0x69
xor edx, edx
divss xmm0, dword [0x10063cec]
cvtss2sd xmm0, xmm0
mov al, byte [edx + 0x1005d64c]
xor al, cl
inc ecx
mov byte [esp + edx + 0xe4], al
and ecx, 0x800000ff
jns 0x10006244
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x16
jl 0x10006224
sub esp, 8
mov byte [esp + 0x102], 0
lea eax, [esp + 0xec]
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.10004390
lea eax, [esi + 0x14]
mov dword [esp + 0x98], 0x7325205b
push eax
lea eax, [esp + 0x9c]
mov word [esp + 0xa0], 0x5d20
push eax
lea eax, [esp + 0x128]
mov byte [esp + 0xa6], 0
push eax
call fcn.10004390
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xa4], eax
add esp, 0x1c
mov word [esp + 0x8c], ax
mov byte [esp + 0x8e], al
mov eax, dword [esi + 0x74]
cmp eax, dword [ecx + 0x74]
je 0x100064c0
cmp dword [esp + 0x24], 0
cvttss2si esi, dword [esp + 0x18]
je 0x1000630b
lea eax, [esp + 0x110]
push eax
cvttss2si eax, dword [esp + 0x20]
push 0x101
push dword [0x100680a0]
add eax, 0xfffffff0
push eax
push esi
push dword [0x100de8f0]
push 1
call fcn.10005440
add esp, 0x1c
cmp dword [ebp + 8], 0
je 0x1000634f
movq xmm0, qword [esp + 0x30]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov ecx, esp
mov edx, dword [esp + 0x20]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x30]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esp + 0x38]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x100680a0]
call fcn.10005890
add esp, 0x18
cmp dword [ebp + 0x10], 0
je 0x10006376
push dword [esp + 0x14]
movzx eax, word [edi + 0x5bc]
lea edx, [esi - 0xd]
push eax
cvttss2si eax, dword [esp + 0x24]
add eax, 0xffffffeb
push eax
call fcn.10005dd0
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x1000638e
mov edx, dword [0x100680a0]
push ecx
mov ecx, dword [edi + 0x10]
call fcn.100059e0
add esp, 4
cmp dword [ebp + 0xc], 0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0xc], xmm0
je 0x100063c9
lea eax, [esp + 0x210]
push eax
cvttss2si eax, xmm0
push 0x101
push dword [0x100680a0]
push eax
push esi
push dword [0x100de8f0]
push 1
call fcn.10005440
add esp, 0x1c
mov eax, dword [esp + 8]
cmp byte [eax + 0x7c], 0
jne 0x100066c8
cmp dword [esp + 0x28], 0
je 0x100066c8
mov eax, dword [0x100680a0]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x14], eax
call esi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
call esi
cvttss2si esi, dword [esp + 0x30]
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10063bd8]
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x10063c64]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
mov eax, dword [0x100de8a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x100de8a8]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x100de8a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movd xmm0, edi
lea edx, [esp + 0x50]
cvtdq2ps xmm0, xmm0
mov eax, dword [0x100de8a8]
push dword [esp + 0x10]
movss dword [esp + 0x54], xmm0
movd xmm0, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
push 2
push edx
push eax
movss dword [esp + 0x64], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x68], xmm0
movd xmm0, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [0x100de8a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x100066c8
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 4]
je 0x100066c8
cmp byte [0x100693e4], 0
je 0x100066c8
cmp dword [esp + 0x24], 0
cvttss2si esi, dword [esp + 0x18]
je 0x10006514
lea eax, [esp + 0x110]
push eax
cvttss2si eax, dword [esp + 0x20]
push 0x101
push dword [0x100de8bc]
add eax, 0xfffffff0
push eax
push esi
push dword [0x100de8f0]
push 1
call fcn.10005440
add esp, 0x1c
cmp dword [ebp + 8], 0
je 0x10006558
movq xmm0, qword [esp + 0x30]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov ecx, esp
mov edx, dword [esp + 0x20]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x30]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esp + 0x38]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x100de8bc]
call fcn.10005890
add esp, 0x18
cmp dword [ebp + 0x10], 0
je 0x1000657f
push dword [esp + 0x14]
movzx eax, word [edi + 0x5bc]
lea edx, [esi - 0xd]
push eax
cvttss2si eax, dword [esp + 0x24]
add eax, 0xffffffeb
push eax
call fcn.10005dd0
add esp, 0xc
cmp dword [ebp + 0xc], 0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x10], xmm0
je 0x100065ba
lea eax, [esp + 0x210]
push eax
cvttss2si eax, xmm0
push 0x101
push dword [0x100de8bc]
push eax
push esi
push dword [0x100de8f0]
push 1
call fcn.10005440
add esp, 0x1c
mov eax, dword [esp + 8]
cmp byte [eax + 0x7c], 0
jne 0x100066b0
cmp dword [esp + 0x28], 0
je 0x100066b0
mov eax, dword [0x100de8bc]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0xc], eax
call esi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
call esi
cvttss2si esi, dword [esp + 0x30]
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10063bd8]
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x10063c64]
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
mov eax, dword [0x100de8a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x100de8a8]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x100de8a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movd xmm0, edi
lea edx, [esp + 0x60]
cvtdq2ps xmm0, xmm0
mov eax, dword [0x100de8a8]
push dword [esp + 8]
movss dword [esp + 0x64], xmm0
movd xmm0, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
push 2
push edx
push eax
movss dword [esp + 0x74], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x78], xmm0
movd xmm0, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x7c], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [0x100de8a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, dword [esp + 0x3c]
cmp dword [ebp + 0x14], 0
je 0x100066c8
mov edx, dword [0x100de8bc]
push ecx
mov ecx, dword [edi + 0x10]
call fcn.100059e0
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [edi + 0x18c]
jb 0x10005f50
mov ecx, dword [esp + 0x314]
pop edi
pop esi
xor ecx, esp
call fcn.1004db16
mov esp, ebp
pop ebp
ret