Function at 0x10010d80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e202
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10052198]
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 esi, ecx
mov dword [ebp - 0xb8], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xbc], esi
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_6cf682fe110beb344468c963e82a1aa2___void__struct_HookParam__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 0xb4], ebx
mov dword [esi + 0x24], esi
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x12]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.10004d10
mov ecx, eax
mov dword [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
add esp, 8
lea eax, [ebp - 0x12]
cmp ecx, eax
je 0x10010e13
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.10002c00
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb0]
push str.LUNA_VNR_SECTION_
push eax
call fcn.1000f4f0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10010e37
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push eax
push 0
push 4
call edi
mov dword [esi + 0x30], eax
mov edx, dword [ebp - 0x9c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10010e8b
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011101
push edx
push ecx
call fcn.1003363f
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x10010ee6
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010edc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011106
push edx
push ecx
call fcn.1003363f
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
mov dword [ebp - 0x6c], 7
call fcn.10004d10
mov ecx, eax
mov dword [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
add esp, 8
lea eax, [ebp - 0x3e]
cmp ecx, eax
je 0x10010f3e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.10002c00
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
push str.EMBED_SHARED_MEM
push eax
call fcn.1000f4f0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10010f62
mov eax, dword [eax]
push eax
push 0
push 6
call edi
mov dword [esi + 0x34], eax
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x10010faa
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010fa0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001110b
push edx
push ecx
call fcn.1003363f
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov edx, dword [ebp - 0x84]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x10011002
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010ff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011110
push edx
push ecx
call fcn.1003363f
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor eax, eax
push 0x423920
push eax
push eax
push 4
push dword [esi + 0x30]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call edi
push dword [ebp - 0xb4]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x3e]
push eax
call fcn.10004d10
mov ecx, eax
mov dword [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
add esp, 8
lea eax, [ebp - 0x3e]
cmp ecx, eax
je 0x10011073
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.10002c00
push 0
sub esp, 0x18
mov byte [ebp - 4], 7
mov eax, esp
lea ecx, [ebp - 0x80]
push ecx
push str.LUNA_VNR_HOOKMAN_
push eax
call fcn.1000f4f0
add esp, 0xc
lea ecx, [esi + 0x3c]
call fcn.10011120
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x100110ce
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100110c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011115
push edx
push ecx
call fcn.1003363f
add esp, 8
push 0xa00
push 0
push 0
push 6
push dword [esi + 0x34]
call edi
mov dword [esi + 0x28], eax
mov eax, esi
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.10033656
mov esp, ebp
pop ebp
ret 8
call fcn.10034d50
call fcn.10034d50
call fcn.10034d50
call fcn.10034d50
call fcn.10034d50
int3