Function at 0x10043880
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e54dd
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1a58
call fcn.100e2620
mov eax, dword [0x10111040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x1a60], esi
lea ecx, [eax + eax*4]
mov eax, dword [0x101168dc]
shl ecx, 2
mov dword [ebp - 0x1a5c], ecx
mov eax, dword [ecx + eax + 0x30]
test eax, eax
je 0x10043cdf
cmp eax, 2
jb 0x10043cdf
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.100e12f9
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1e4]
vxorps xmm0, xmm0, xmm0
push 0x70
push 0
vmovups ymmword [ebp - 0x1a58], ymm0
vmovups ymmword [ebp - 0x1a38], ymm0
vmovups ymmword [ebp - 0x1a18], ymm0
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov byte [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
push eax
vzeroupper
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x168], 0
lea eax, [ebp - 0x15c]
push 0x11c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
vmovss xmm2, dword [0x101003e8]
add esp, 0xc
lea eax, [ebp - 0x174]
mov ecx, 7
vxorps xmm1, xmm1, xmm1
nop
lea eax, [eax + 0x2c]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [eax - 0x14], xmm0
mov dword [eax - 4], 0
mov dword [eax - 0x2c], 0
vmovss dword [eax - 0x28], xmm1
vmovss dword [eax - 0x24], xmm1
mov dword [eax - 0x20], 0
vmovss dword [eax - 0x1c], xmm2
vmovss dword [eax - 0x18], xmm1
sub ecx, 1
jne 0x100439e0
mov edx, dword [ebp - 0x1a5c]
xor edi, edi
mov eax, dword [0x101168dc]
mov dword [ebp - 0x40], ecx
vmovups xmmword [ebp - 0x3c], xmm0
cmp dword [edx + eax + 0x30], edi
jbe 0x10043bcf
nop dword [eax]
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [0x101168dc]
add ecx, edi
mov eax, dword [edx + eax + 0x28]
dec eax
and ecx, eax
mov eax, dword [0x101168dc]
mov eax, dword [edx + eax + 0x24]
mov edx, dword [eax + ecx*4]
mov eax, 0x1a2c
call fcn.100e2620
mov ecx, esp
push edx
call fcn.100433d0
call fcn.100415d0
test al, al
je 0x10043bb9
mov edx, dword [ebp - 0x1a5c]
test edi, edi
je 0x10043aec
cmp byte [ebp - 0x1ec], 0
je 0x10043aec
mov eax, dword [0x101168dc]
lea ecx, [eax + 0x20]
add ecx, edx
mov dword [ebp - 0x1a60], ecx
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [edx + eax + 0x28]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [0x101168dc]
mov eax, dword [edx + eax + 0x24]
mov eax, dword [eax + ecx*4]
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [ebp - 0x1a58]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [ebp - 0x1a54]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcomiss xmm0, dword [0x10100658]
ja 0x10043c78
mov eax, dword [0x101168dc]
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [edx + eax + 0x28]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [0x101168dc]
mov eax, dword [edx + eax + 0x24]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x1a58]
call fcn.10020400
mov edx, dword [0x101168dc]
mov eax, dword [ebp - 0x1a5c]
mov ecx, dword [eax + edx + 0x2c]
mov eax, dword [eax + edx + 0x28]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [ebp - 0x1a5c]
mov eax, dword [eax + edx + 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1a60], eax
lea eax, [edx + 1]
cmp ecx, eax
ja 0x10043b5d
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046670
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
dec ecx
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1a64], eax
cmp dword [ecx + eax*4], 0
jne 0x10043ba8
push 0x1a4f
call fcn.100e12f9
add esp, 4
test eax, eax
je 0x10043cd9
mov edx, dword [ebp - 0x1a64]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + edx*4], ecx
mov eax, edx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x1a60]
mov ecx, dword [ecx + eax*4]
call fcn.100433d0
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x1a5c]
inc edi
mov eax, dword [0x101168dc]
cmp edi, dword [edx + eax + 0x30]
jb 0x10043a40
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100e12f9
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x10043c19
mov dword [ecx], esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10043c22
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10023470
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e175d
add esp, 8
jmp 0x10043d16
mov ecx, dword [ebp - 0x1a60]
call fcn.10023470
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100e12f9
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
call fcn.10023470
mov ecx, dword [ebp - 0x28]
push 8
push ecx
mov dword [ebp - 0x28], 0
call fcn.100e175d
add esp, 8
jmp 0x10043d16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100e12f9
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e12eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8