Function at 0x413440
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x7c], edi
mov dword [edi + 0x24], 0
mov dword [ebp - 0x74], ebx
mov dword [edi], vtable.std::_Func_impl_no_alloc_class__lambda_f7c6bd3ab04ebe1d1086af57dc35c4aa___void__struct_HookParam__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [edi + 0x24], edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.0041b7b0
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push str.LUNA_VNR_SECTION_
push eax
call fcn.00411d10
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x4134be
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push eax
push 0
push 4
call esi
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x41350c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413502
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136f9
push ecx
push edx
call fcn.004202ef
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x41355e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413554
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136f9
push ecx
push edx
call fcn.004202ef
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x14], 7
call fcn.0041b7b0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push str.EMBED_SHARED_MEM
push eax
call fcn.00411d10
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x41359a
mov eax, dword [eax]
push eax
push 0
push 6
call esi
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x4135e2
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4135d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136fe
push ecx
push edx
call fcn.004202ef
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
cmp ecx, 7
jbe 0x413634
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41362a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136fe
push ecx
push edx
call fcn.004202ef
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor eax, eax
push 0x423920
push eax
push eax
push 4
push dword [edi + 0x30]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call ebx
push dword [ebp - 0x74]
mov dword [edi + 0x38], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041b7b0
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 7
mov edx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push edx
call fcn.00411d10
add esp, 0xc
lea ecx, [edi + 0x3c]
call fcn.00413710
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4136c6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4136bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413703
push ecx
push edx
call fcn.004202ef
add esp, 8
push 0xa00
push 0
push 0
push 6
push dword [edi + 0x34]
call ebx
mov dword [edi + 0x28], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004204fa
mov esp, ebp
pop ebp
ret 8
call fcn.004215f0
call fcn.004215f0
call fcn.004215f0
int3