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 0x100e5e1d
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1a48
call fcn.100e2f60
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 edi, dword [ebx + 8]
mov dword [ebp - 0x1a44], edi
lea esi, [eax + eax*4]
mov eax, dword [0x101178c0]
shl esi, 2
mov eax, dword [esi + eax + 0x30]
test eax, eax
je 0x10043c77
cmp eax, 2
jb 0x10043c77
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.100e1c3f
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 [0x10100bf8]
add esp, 0xc
lea eax, [ebp - 0x174]
mov ecx, 7
nop dword [eax]
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 0x10043970
mov dword [ebp - 0x40], ecx
xor eax, eax
mov ecx, dword [0x101178c0]
vmovups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1a48], eax
cmp dword [esi + ecx + 0x30], eax
jbe 0x10043b67
nop word [eax + eax]
mov edx, dword [esi + ecx + 0x2c]
add edx, eax
mov eax, dword [esi + ecx + 0x28]
dec eax
and edx, eax
mov eax, dword [esi + ecx + 0x24]
mov edx, dword [eax + edx*4]
mov eax, 0x1a14
call fcn.100e2f60
mov ecx, esp
push edx
call fcn.10043380
call fcn.10041570
test al, al
je 0x10043b4a
mov edx, dword [ebp - 0x1a48]
test edx, edx
je 0x10043a72
cmp byte [ebp - 0x1ec], 0
je 0x10043a72
mov eax, dword [0x101178c0]
lea ecx, [eax + 0x20]
add ecx, esi
mov dword [ebp - 0x1a44], ecx
mov ecx, dword [esi + eax + 0x2c]
mov eax, dword [esi + eax + 0x28]
add ecx, edx
dec eax
and ecx, eax
mov eax, dword [0x101178c0]
mov eax, dword [esi + 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 [0x10100e58]
ja 0x10043c10
mov eax, dword [0x101178c0]
mov ecx, dword [esi + eax + 0x2c]
mov eax, dword [esi + eax + 0x28]
add ecx, edx
dec eax
and ecx, eax
mov eax, dword [0x101178c0]
mov eax, dword [esi + eax + 0x24]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x1a40]
call fcn.100203d0
mov edx, dword [0x101178c0]
mov ecx, dword [esi + edx + 0x2c]
mov eax, dword [esi + edx + 0x28]
add ecx, dword [ebp - 0x1a48]
dec eax
and ecx, eax
mov eax, dword [esi + edx + 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1a50], eax
mov eax, dword [ebp - 0x18]
inc eax
cmp edx, eax
ja 0x10043ad6
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046810
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
lea eax, [edx - 1]
and ecx, eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [edx - 1]
mov dword [ebp - 0x1a44], eax
and ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1a4c], ecx
cmp dword [eax + ecx*4], 0
jne 0x10043b30
push 0x1a37
call fcn.100e1c3f
add esp, 4
test eax, eax
je 0x10043c71
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 edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1a50]
lea ecx, [edx - 1]
and ecx, dword [ebp - 0x1a44]
mov ecx, dword [eax + ecx*4]
call fcn.10043380
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x1a48]
mov ecx, dword [0x101178c0]
inc eax
mov dword [ebp - 0x1a48], eax
cmp eax, dword [esi + ecx + 0x30]
jb 0x100439d0
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.100e1c3f
add esp, 4
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov ecx, dword [ebp - 0x28]
mov eax, dword [edi]
mov dword [edi], ecx
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x10043bb1
mov dword [ecx], edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10043bba
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.100232e0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100e20a3
add esp, 8
jmp 0x10043cae
mov ecx, dword [ebp - 0x1a44]
call fcn.100232e0
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.100e1c3f
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
call fcn.100232e0
mov ecx, dword [ebp - 0x28]
push 8
push ecx
mov dword [ebp - 0x28], 0
call fcn.100e20a3
add esp, 8
jmp 0x10043cae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.100e1c3f
add esp, 4
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov eax, edi
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.100e1c31
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8