Function at 0x4261b0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c45c5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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 esi, ecx
mov eax, dword [0x4ff6d8]
movq xmm0, qword [str.pkgreader]
mov edi, dword [ebp + 8]
mov edx, edi
mov dword [ebp - 0x4c], 0x41363346
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x74]
push 0x32
mov dword [ebp - 0x50], 0x41453944
mov eax, dword [ebp - 0x50]
push str.FileMapping:_loading_mapping_from_context__...
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], 0x83
call fcn.00429410
mov eax, dword [esi + 0x24]
add esp, 8
mov dword [esi + 0x24], 0
test eax, eax
je 0x42623e
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42624c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], 0
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x426262
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0xffffffff
mov eax, 0x7ffffffe
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 6
jb 0x4263f9
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x426286
mov eax, dword [edi]
push ecx
push eax
push 6
push str.Local_
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.0040cb50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova eax, dword [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x4262cc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4263fe
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x24], eax
test ecx, ecx
je 0x4262f7
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [esi + 0x24], 0
je 0x426433
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x426333
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp + eax*2 - 0x28], cx
jmp 0x42633e
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b1e0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov ecx, edi
cmova eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 7
jbe 0x426353
mov ecx, dword [edi]
lea edx, [esi + 0x10]
push edx
push eax
push str.__:_:_llu
push ecx
call fcn.0042bc60
add esp, 0x10
cmp eax, 2
jne 0x426464
mov eax, dword [esi + 0x24]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x5c]
lea eax, [esi + 0x10]
push eax
call fcn.004296d0
add esp, 4
lea ecx, [esi + 0x18]
push eax
call fcn.004290b0
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x4263cc
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4263cc
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 0x4263cc
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4cc2f8]
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
call fcn.00423780
lea ecx, [ebp - 0x40]
call fcn.00423780
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 4
call fcn.004237f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push 0x37
push str.FileMapping:_unable_to_open_file_mapping___code__
push eax
lea ecx, [ebp - 0x54]
call fcn.00429430
push 0x516930
lea eax, [ebp - 0x54]
push eax
call fcn.00486900
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x44]
push ecx
push 0x29
push str.FileMapping:_unable_to_map_file__code__
push eax
lea ecx, [ebp - 0x54]
call fcn.00429240
push 0x516930
lea eax, [ebp - 0x54]
push eax
call fcn.00486900
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x57
push eax
push edi
push 0x44
push str.FileMapping:_unable_to_read_mapping_size_from_context___code__
push ecx
lea ecx, [ebp - 0x54]
call fcn.004295b0
push 0x516930
lea eax, [ebp - 0x54]
push eax
call fcn.00486900
int3