Function at 0x426a84
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x426d2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.0040b458
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize
mov ebx, eax
test ebx, ebx
jne 0x426bbe
cmp dword [ebp - 0x14], 0
jne 0x426bbe
xor edx, edx
mov eax, 6
call fcn.00430d3c
test al, al
je 0x426bbe
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
mov esi, eax
test esi, esi
jbe 0x426bbe
cmp esi, 0x104
jae 0x426b75
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
push es
add dword [eax], eax
add al, ch
push eax
push ebp
invalid
dec dword [ebx - 0x22b7b]
dec dword [ebp - 0x2276b]
invalid
call fcn.00426858
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.0040b848
jmp 0x426bb5
mov edx, esi
dec edx
mov eax, dword [ebp - 8]
call fcn.0040c17c
push 2
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040bff0
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00426858
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.0040b848
mov byte [ebp - 9], 1
jmp 0x426d0a
test ebx, ebx
jne 0x426bcc
cmp dword [ebp - 0x14], 0
je 0x426cbe
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x426cbe
xor eax, eax
push ebp
push 0x426cb7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x426c9e
xor eax, eax
push ebp
push 0x426c97
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00418bfc
test eax, eax
jbe 0x426c7e
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040c0a4
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00426858
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.0040b848
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426c9e
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426cbe
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
cmp byte [ebp - 9], 0
jne 0x426d0a
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.00426998
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.0040b848
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x426d0a
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00426858
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.0040b848
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426d31
lea eax, [ebp - 0x240]
mov edx, 7
call fcn.0040b4b8
pop eax
jmp eax