Function at 0x40f8d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416968
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push esi
push edi
mov eax, dword [0x41c140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp + 0x6c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0x28]
mov dword [edx + 0x68], eax
lea eax, [ebp - 0x8c]
push ecx
mov dword [edx + 0x30], ecx
mov ecx, edx
push eax
mov dword [ebp - 4], 1
call fcn.0040fcb0
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 0x48], 8
lea edi, [ebp + 0x34]
mov eax, dword [ecx + 0x14]
cmovae edi, dword [ebp + 0x34]
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp + 0x44]
mov dword [ebp - 0x10], eax
sub eax, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
cmp esi, eax
ja 0x40fa16
cmp dword [ebp - 0x10], 8
lea eax, [edx + esi]
mov dword [ecx + 0x10], eax
mov edx, ecx
mov dword [ebp - 0x14], ecx
jb 0x40f9a5
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
lea ecx, [esi + esi]
lea eax, [ecx + edi]
cmp eax, edx
jbe 0x40f9c7
mov eax, dword [ebp - 0x18]
lea eax, [edx + eax*2]
cmp edi, eax
ja 0x40f9c7
cmp edx, edi
ja 0x40f9c1
xor esi, esi
jmp 0x40f9c7
mov esi, edx
sub esi, edi
sar esi, 1
mov eax, dword [ebp - 0x18]
add ecx, edx
mov dword [ebp - 0x10], esi
lea eax, [eax*2 + 2]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
lea edi, [esi + esi]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
sub esi, eax
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*2]
mov ecx, dword [ebp - 0x14]
lea eax, [esi + esi]
add ecx, edi
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x24]
add esp, 0x24
jmp 0x40fa23
push esi
push edi
push 0
push dword [ebp - 0x20]
push esi
call fcn.0040a0e0
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405770
mov esi, dword [ebp - 0x30]
xor ecx, ecx
movups xmm0, xmmword [eax]
lea edi, [esi + 0x48]
movups xmmword [ebp - 0x74], xmm0
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x64]
cmp edi, eax
je 0x40facb
mov ecx, edi
call fcn.00401c30
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x64], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [edi + 0x10], xmm0
jmp 0x40face
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x40fb05
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fafb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb86
push ecx
push edx
call fcn.004149eb
add esp, 8
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x40fb3f
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fb35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb86
push ecx
push edx
call fcn.004149eb
add esp, 8
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 1
cmp ecx, 8
jb 0x40fb96
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fb8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fb8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004149eb
add esp, 8
push dword [ebp - 0x34]
mov eax, dword [ebp + 0x2c]
mov ecx, esi
push dword [ebp - 0x20]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x44], eax
call fcn.0040fe40
mov ecx, dword [ebp + 0x48]
cmp ecx, 8
jb 0x40fbe5
mov edx, dword [ebp + 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fbdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc25
push ecx
push edx
call fcn.004149eb
add esp, 8
mov ecx, dword [ebp + 0x60]
xor eax, eax
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 7
mov word [ebp + 0x34], ax
cmp ecx, 8
jb 0x40fc35
mov edx, dword [ebp + 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fc2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fc2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004149eb
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x68