Function at 0x10042e40
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 0x100e46ad
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1a40
call fcn.100e1800
mov eax, dword [0x1011100c]
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 - 0x1a48], esi
lea ecx, [eax + eax*4]
mov eax, dword [0x1011685c]
shl ecx, 2
mov dword [ebp - 0x1a44], ecx
mov eax, dword [ecx + eax + 0x30]
test eax, eax
je 0x1004329c
cmp eax, 2
jb 0x1004329c
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.100e03af
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 - 0x1a40], ymm0
vmovups ymmword [ebp - 0x1a20], ymm0
vmovss dword [ebp - 0x1a00], xmm0
vmovss dword [ebp - 0x19fc], xmm0
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 xmm1, dword [0x100ffc90]
add esp, 0xc
lea eax, [ebp - 0x174]
mov ecx, 7
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], xmm0
vmovss dword [eax - 0x24], xmm0
mov dword [eax - 0x20], 0
vmovss dword [eax - 0x1c], xmm1
vmovss dword [eax - 0x18], xmm0
sub ecx, 1
jne 0x10042fa3
mov edx, dword [ebp - 0x1a44]
xor edi, edi
mov dword [ebp - 0x40], ecx
mov ecx, dword [0x1011685c]
vmovups xmmword [ebp - 0x3c], xmm0
cmp dword [edx + ecx + 0x30], edi
jbe 0x1004318c
nop dword [eax]
mov eax, dword [edx + ecx + 0x2c]
mov ecx, dword [edx + ecx + 0x28]
add eax, edi
dec ecx
and ecx, eax
mov eax, dword [0x1011685c]
mov eax, dword [edx + eax + 0x24]
mov edx, dword [eax + ecx*4]
mov eax, 0x1a14
call fcn.100e1800
mov ecx, esp
push edx
call fcn.100429b0
call fcn.10040b90
test al, al
je 0x10043175
mov edx, dword [ebp - 0x1a44]
test edi, edi
je 0x100430a8
cmp byte [ebp - 0x1ec], 0
je 0x100430a8
mov ecx, dword [0x1011685c]
lea eax, [ecx + 0x20]
add eax, edx
mov dword [ebp - 0x1a48], eax
mov eax, dword [edx + ecx + 0x2c]
mov ecx, dword [edx + ecx + 0x28]
add eax, edi
dec ecx
and ecx, eax
mov eax, dword [0x1011685c]
mov eax, dword [edx + eax + 0x24]
mov eax, dword [eax + ecx*4]
vmovss xmm0, dword [eax]
vsubss xmm2, xmm0, dword [ebp - 0x1a40]
vmovss xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [ebp - 0x1a3c]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcomiss xmm0, dword [0x100fff00]
ja 0x10043235
mov eax, dword [0x1011685c]
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [edx + eax + 0x28]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [0x1011685c]
mov eax, dword [edx + eax + 0x24]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x1a40]
call fcn.100201b0
mov edx, dword [0x1011685c]
mov ecx, dword [ebp - 0x1a44]
mov eax, dword [ecx + edx + 0x2c]
mov ecx, dword [ecx + edx + 0x28]
add eax, edi
dec ecx
and ecx, eax
mov eax, dword [ebp - 0x1a44]
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 - 0x1a48], eax
lea eax, [edx + 1]
cmp ecx, eax
ja 0x10043119
push ecx
lea ecx, [ebp - 0x28]
call fcn.10045b30
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 - 0x1a4c], eax
cmp dword [ecx + eax*4], 0
jne 0x10043164
push 0x1a37
call fcn.100e03af
add esp, 4
test eax, eax
je 0x10043296
mov edx, dword [ebp - 0x1a4c]
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 - 0x1a48]
mov ecx, dword [ecx + eax*4]
call fcn.100429b0
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x1a44]
inc edi
mov ecx, dword [0x1011685c]
cmp edi, dword [edx + ecx + 0x30]
jb 0x10043000
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.100e03af
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 0x100431d6
mov dword [ecx], esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100431df
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.100232d0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e0813
add esp, 8
jmp 0x100432d3
mov ecx, dword [ebp - 0x1a48]
call fcn.100232d0
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.100e03af
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
call fcn.100232d0
mov ecx, dword [ebp - 0x28]
push 8
push ecx
mov dword [ebp - 0x28], 0
call fcn.100e0813
add esp, 8
jmp 0x100432d3
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.100e03af
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.100e03a1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8