Function at 0x425dd0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4577
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x519100]
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 esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
mov eax, dword [0x4ff6d8]
movq xmm0, qword [str.pkgreader]
mov dword [ebp - 0x30], 0x38353946
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x60]
push 0x2a
mov dword [ebp - 0x34], 0x42344344
mov eax, dword [ebp - 0x34]
push str.FileMapping:_loading_mapping_from__...
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0x67
call fcn.00429410
mov eax, dword [edi + 0x24]
add esp, 8
mov dword [edi + 0x24], 0
test eax, eax
je 0x425e79
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x425e87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x20], 0
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x425e9d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
mov ecx, edi
mov dword [edi + 8], 0xffffffff
push esi
call fcn.00425990
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
push dword [edi + 0x14]
mov dword [ebp - 0x44], 1
push dword [edi + 0x10]
call fcn.0042bd20
mov esi, eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
call fcn.0047af70
add esp, 0xc
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xa8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
call fcn.004254a0
push 1
push 0x4fee8c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ba30
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, 1
or eax, 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x78]
call fcn.00429b50
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
or eax, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x425f98
mov ecx, esi
call fcn.00423780
movups xmm0, xmmword [ebp - 0x78]
xor eax, eax
mov word [ebp - 0x78], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
lea ecx, [ebp - 0x78]
call fcn.00423780
lea ecx, [ebp - 0x90]
call fcn.00423780
lea ecx, [ebp - 0xa8]
call fcn.00423780
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.00423780
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 6
jb 0x42613b
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x425fe2
mov eax, dword [esi]
push ecx
push eax
push 6
push str.Local_
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.0040cb50
mov eax, dword [ebp - 0x2c]
or eax, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
push 0
push 0
push 2
push 0
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x426038
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x20], eax
test eax, eax
je 0x426140
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x24], eax
test ecx, ecx
je 0x426063
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [edi + 0x24], 0
je 0x426174
mov eax, dword [0x4ff6d8]
mov edx, esi
movq xmm0, qword [str.pkgreader]
mov dword [ebp - 0x30], 0x38353946
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x60]
push 0x23
mov dword [ebp - 0x34], 0x42344344
mov eax, dword [ebp - 0x34]
push str.FileMapping:_mapping_loaded_as_
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0x7a
call fcn.004296b0
mov eax, dword [edi + 0x24]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x30]
lea eax, [edi + 0x10]
push eax
call fcn.004296d0
add esp, 0xc
lea ecx, [edi + 0x18]
push eax
call fcn.004290b0
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x426114
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x426114
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x426111
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00423780
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.0048471b
mov esp, ebp
pop ebp
ret 8
call fcn.004237f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push 0x3c
push str.FileMapping:_unable_to_create_file_mapping_to___code__
push eax
call fcn.00429430
push 0x516930
lea eax, [ebp - 0x38]
push eax
call fcn.00486900
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3c]
push ecx
push 0x29
push str.FileMapping:_unable_to_map_file__code__
push eax
lea ecx, [ebp - 0x38]
call fcn.00429240
push 0x516930
lea eax, [ebp - 0x38]
push eax
call fcn.00486900
int3