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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov eax, dword [0x10058040]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push edi
push 0
push 7
mov eax, dword [ecx]
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
call dword [eax + 0xe4]
mov ecx, dword [0x383b7e0c]
test ecx, ecx
je 0x1000ae51
mov eax, 0x371bc9b0
mov dword [0x100ce8e8], 0x371bb9c0
mov dword [0x100ce8dc], eax
call eax
mov ecx, dword [0x384034f8]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
call dword [edx + 0xec]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x18c], ecx
jle 0x1000ae51
mov eax, dword [eax + 0x184]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
call fcn.10009d2c
test eax, eax
je 0x1000ae38
mov ecx, dword [ebx + 0x10]
call fcn.10009d2c
test eax, eax
je 0x1000ae38
cmp dword [ebx + 0x40], 0
jne 0x1000ae38
mov eax, dword [ebx + 0x10]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x30]
movss xmm0, dword [eax + 0x14]
movss xmm2, dword [eax + 0xc8]
movss xmm1, dword [eax + 0xd0]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.1000a102
test al, al
je 0x1000ae38
lea edx, [esp + 0x24]
lea ecx, [esp + 0x3c]
call fcn.1000a102
test al, al
je 0x1000ae38
mov eax, dword [0x100cea64]
lea edi, [esp + 0x54]
push 0x24adec1e
lea ecx, [esp + 0x64]
mov esi, dword [eax + 0x13c]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10019442
movss xmm1, dword [esp + 0x58]
mov esi, eax
movss xmm2, dword [esp + 0x54]
subss xmm2, dword [esp + 0x78]
subss xmm1, dword [esp + 0x7c]
movss xmm0, dword [esp + 0x5c]
subss xmm0, dword [esp + 0x80]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
push ecx
push ecx
lea eax, [esp + 0x80]
divss xmm0, dword [0x10053650]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push esi
push eax
call fcn.10008642
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp byte [eax + 8], 0
jne 0x1000ae38
cmp dword [esp + 0x14], 0
je 0x1000ad9f
sub esp, 0xc
mov edx, dword [esp + 0x24]
mov edi, esp
lea esi, [esp + 0x30]
sub esp, 0xc
mov ecx, 0xff00ff00
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000a148
add esp, 0x18
cmp dword [esp + 0x1c], 0
je 0x1000adf0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si esi, xmm0
call edi
push 0xc80082ff
mov edx, esi
movd xmm0, eax
cvttss2si eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10053520]
cvttss2si ecx, xmm0
push ecx
push eax
cvttss2si eax, dword [esp + 0x30]
push eax
call fcn.10009c9e
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x1000ae05
push ecx
mov ecx, dword [ebx + 0x10]
mov edx, 0xff00ff00
call fcn.1000a1f5
pop ecx
cmp dword [ebp + 0xc], 0
je 0x1000ae38
lea eax, [esp + 0x78]
push eax
cvttss2si eax, dword [esp + 0x2c]
push 0x101
push 0xff00ff00
push eax
cvttss2si eax, dword [esp + 0x58]
push eax
push dword [0x100cea5c]
push 1
call fcn.10009ba7
add esp, 0x1c
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, dword [eax + 0x18c]
jl 0x1000ac34
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10046e52
mov esp, ebp
pop ebp
ret