Function at 0x10043810
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 0x100e5c2d
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1a40
call fcn.100e2d80
mov eax, dword [0x10112040]
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 [0x101178c0]
shl ecx, 2
mov dword [ebp - 0x1a44], ecx
mov eax, dword [ecx + eax + 0x30]
test eax, eax
je 0x10043c6f
cmp eax, 2
jb 0x10043c6f
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.100e1a59
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 [0x10100c20]
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 0x10043973
mov edx, dword [ebp - 0x1a44]
xor edi, edi
mov eax, dword [0x101178c0]
mov dword [ebp - 0x40], ecx
vmovups xmmword [ebp - 0x3c], xmm0
cmp dword [edx + eax + 0x30], edi
jbe 0x10043b5f
nop dword [eax]
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [0x101178c0]
add ecx, edi
mov eax, dword [edx + eax + 0x28]
dec eax
and ecx, eax
mov eax, dword [0x101178c0]
mov eax, dword [edx + eax + 0x24]
mov edx, dword [eax + ecx*4]
mov eax, 0x1a14
call fcn.100e2d80
mov ecx, esp
push edx
call fcn.10043380
call fcn.10041570
test al, al
je 0x10043b49
mov edx, dword [ebp - 0x1a44]
test edi, edi
je 0x10043a7c
cmp byte [ebp - 0x1ec], 0
je 0x10043a7c
mov eax, dword [0x101178c0]
lea ecx, [eax + 0x20]
add ecx, edx
mov dword [ebp - 0x1a48], ecx
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [edx + eax + 0x28]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [0x101178c0]
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 [0x10100e90]
ja 0x10043c08
mov eax, dword [0x101178c0]
mov ecx, dword [edx + eax + 0x2c]
mov eax, dword [edx + eax + 0x28]
add ecx, edi
dec eax
and ecx, eax
mov eax, dword [0x101178c0]
mov eax, dword [edx + eax + 0x24]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x1a40]
call fcn.100203a0
mov edx, dword [0x101178c0]
mov eax, dword [ebp - 0x1a44]
mov ecx, dword [eax + edx + 0x2c]
mov eax, dword [eax + edx + 0x28]
add ecx, edi
dec eax
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 0x10043aed
push ecx
lea ecx, [ebp - 0x28]
call fcn.100465e0
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 0x10043b38
push 0x1a37
call fcn.100e1a59
add esp, 4
test eax, eax
je 0x10043c69
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.10043380
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x1a44]
inc edi
mov eax, dword [0x101178c0]
cmp edi, dword [edx + eax + 0x30]
jb 0x100439d0
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.100e1a59
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 0x10043ba9
mov dword [ecx], esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10043bb2
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.10023400
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e1ebd
add esp, 8
jmp 0x10043ca6
mov ecx, dword [ebp - 0x1a48]
call fcn.10023400
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.100e1a59
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
call fcn.10023400
mov ecx, dword [ebp - 0x28]
push 8
push ecx
mov dword [ebp - 0x28], 0
call fcn.100e1ebd
add esp, 8
jmp 0x10043ca6
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.100e1a59
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.100e1a4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8