Function at 0x402560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], vtable.VFSHelper.0
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c7f0
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [edi + 0xc]
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c7d0
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x14]
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c7d0
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
add edi, 0x3c
mov dword [ebp - 0x2c], edi
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0xc]
mov dword [ebp - 0x30], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00411de0
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x14]
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411dc0
mov dword [esi], eax
mov edi, dword [ebp - 0x34]
add edi, 0x58
mov dword [ebp - 0x30], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 8
lea esi, [edi + 0xc]
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411de0
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x14]
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411dc0
mov dword [esi], eax
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x34]
lea esi, [edi + 0x78]
mov dword [ebp - 0x30], esi
push 0x1000
mov dword [esi + 4], 0x400
call fcn.0046e546
mov ecx, eax
mov eax, dword [esi + 4]
shl eax, 2
push eax
push 0
push ecx
mov dword [esi], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0x3200000
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x90]
push 0
mov dword [ebp - 0x30], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00418540
mov dword [esi], eax
mov dword [esi + 8], 1
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x9c]
push 0
mov dword [ebp - 0x30], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00418540
mov dword [esi], eax
mov dword [esi + 8], 1
lea eax, [edi + 0xa8]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call edi
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x34]
add esi, 0xc0
push 0
mov dword [ebp - 0x30], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004143f0
mov dword [esi], eax
add esi, 8
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004143d0
mov dword [esi], eax
mov esi, dword [ebp - 0x34]
lea eax, [esi + 0xd4]
mov dword [esi + 0xd0], 0
push eax
call edi
push 0
push 0
push 1
push 0
mov byte [esi + 0xec], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], 0
mov word [esi + 0xf8], 0
mov byte [ebp - 4], 0x10
mov byte [esi + 0x38], 1
mov dword [esi + 0x74], 0xffffffff
mov byte [esi + 0x1c], 0
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.0040ed60
test al, al
je 0x4028a3
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0040e7f0
mov esi, eax
cmp edi, esi
je 0x402847
mov ecx, edi
call fcn.0040bbd0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402883
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402879
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
mov esi, dword [ebp - 0x34]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret
push 0x484a14
push str.VFSHelper::VFSHelper__
call fcn.004136e0
add esp, 8
mov ecx, edi
push 3
push 0x484a14
call fcn.0040bf70
jmp 0x402886