Function at 0x445480
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x496240]
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_e3663d744c63f94258968b56f2daea68___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.0044d0b0
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push str.LUNA_VNR_SECTION_
push eax
call fcn.00443ec0
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x4454fe
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 0x44554c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445542
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445739
push ecx
push edx
call fcn.0046745f
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 0x44559e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445594
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445739
push ecx
push edx
call fcn.0046745f
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.0044d0b0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push str.EMBED_SHARED_MEM
push eax
call fcn.00443ec0
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x4455da
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 0x445622
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x445618
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44573e
push ecx
push edx
call fcn.0046745f
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 0x445674
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44566a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44573e
push ecx
push edx
call fcn.0046745f
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor eax, eax
push 0x694920
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.0044d0b0
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.00443ec0
add esp, 0xc
lea ecx, [edi + 0x3c]
call fcn.00445750
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x445706
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4456fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445743
push ecx
push edx
call fcn.0046745f
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.0046746d
mov esp, ebp
pop ebp
ret 8
call fcn.00468cd0
call fcn.00468cd0
call fcn.00468cd0
int3