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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov eax, dword [0x1005a040]
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 eax, dword [0x1005b2ec]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000aeee
mov eax, dword [0x1005b538]
mov dword [0x100d0b04], eax
mov eax, dword [0x100d0ae4]
mov dword [0x100d0af8], eax
call eax
mov ecx, dword [0x100d0af0]
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 0x1000aeee
mov eax, dword [eax + 0x184]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
call fcn.10009dbe
test eax, eax
je 0x1000aed5
mov ecx, dword [ebx + 0x10]
call fcn.10009dbe
test eax, eax
je 0x1000aed5
cmp dword [ebx + 0x40], 0
jne 0x1000aed5
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.1000a194
test al, al
je 0x1000aed5
lea edx, [esp + 0x24]
lea ecx, [esp + 0x3c]
call fcn.1000a194
test al, al
je 0x1000aed5
mov eax, dword [0x100d0c84]
lea edi, [esp + 0x54]
push 0x24ae0c2e
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.1001b11b
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 [0x100556b8]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push esi
push eax
call fcn.10008696
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp byte [eax + 8], 0
jne 0x1000aed5
cmp dword [esp + 0x14], 0
je 0x1000ae3c
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.1000a1da
add esp, 0x18
cmp dword [esp + 0x1c], 0
je 0x1000ae8d
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 [0x10055588]
cvttss2si ecx, xmm0
push ecx
push eax
cvttss2si eax, dword [esp + 0x30]
push eax
call fcn.10009d30
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x1000aea2
push ecx
mov ecx, dword [ebx + 0x10]
mov edx, 0xff00ff00
call fcn.1000a287
pop ecx
cmp dword [ebp + 0xc], 0
je 0x1000aed5
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 [0x100d0c7c]
push 1
call fcn.10009c39
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 0x1000acd1
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10048bd7
mov esp, ebp
pop ebp
ret