Function at 0x1ab4c
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
mov dword [ebp - 0x2c], 0xffffffff
mov eax, dword [ebp - 4]
mov edi, eax
mov esi, 0x1b30e4
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x1adbd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x1adac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.00014090
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1ad8f
lea eax, [ebp - 0xb4]
xor ecx, ecx
mov edx, 0x24
call fcn.00012b94
lea eax, [ebp - 0xb4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jbe 0x1ad8f
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 0x18], eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x1ad8f
lea eax, [ebp - 0x90]
call fcn.0001a9b8
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x1ad7a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1ad5d
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp edx, dword [ebp - 0x34]
jne 0x1ac8f
cmp eax, dword [ebp - 0x38]
jae 0x1ac9c
jmp 0x1ac91
jge 0x1ac9c
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x14]
jne 0x1acb4
cmp eax, dword [ebp - 0x18]
jbe 0x1acc8
jmp 0x1acb6
jle 0x1acc8
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x1ad28
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0x38]
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1ad0b
lea eax, [ebp - 0x90]
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
call fcn.0001a9f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ad2f
cmp dword [ebp - 0x1c], 0
je 0x1ad27
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ad81
cmp dword [ebp - 0x20], 0
je 0x1ad79
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1adb3
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1adab
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret