Function at 0x5a99d0
Capabilities:
Get system information on windows
Read file via mapping
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5f5a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
push 0x871e84
call fcn.0059c250
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], 0
test esi, esi
je 0x5a9a3e
cmp byte [esi], 0
je 0x5a9a3e
cmp byte [esi + 0x104], 0
je 0x5a9a3e
cmp byte [esi + 0x105], 0xff
je 0x5a9a3e
cmp dword [esi + 0x10a], 0xffffffff
je 0x5a9a3e
cmp dword [esi + 0x106], 0xffffffff
je 0x5a9a3e
cmp dword [esi + 0x112], 0xffffffff
jne 0x5a9a57
push 0
push 0x207
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe__fe__IsValid__
call fcn.0059a430
add esp, 0x10
cmp dword [esi + 0x106], 0
jne 0x5a9a83
mov eax, dword [esp + 0x50]
push 1
push 1
mov dword [eax], 0
call fcn.0059c0b0
mov ecx, dword [esp + 0x54]
add esp, 8
mov bl, 1
mov dword [ecx], eax
jmp 0x5a9bd8
movzx eax, byte [esi + 0x105]
mov ebx, dword [edi + eax*4 + 0x338]
cmp ebx, 0xffffffff
jne 0x5a9aaf
push 0
push 0x213
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.0059a430
add esp, 0x10
push 0
push 0
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, eax
test ebp, ebp
jne 0x5a9ae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileData___failed._CreateFileMapping_error__d_n
call fcn.00599b80
add esp, 8
xor bl, bl
jmp 0x5a9bd8
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [esi + 0x10a]
xor edx, edx
mov eax, ebx
mov ecx, dword [esi + 0x112]
div dword [esp + 0x30]
add ecx, 4
imul eax, dword [esp + 0x30]
sub ebx, eax
add ecx, ebx
push ecx
push eax
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x48], eax
test eax, eax
jne 0x5a9b79
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x5a9b3a
push 0
push str.Error
push str.Error:_access_denied_trying_to_open_data_file._nPlease_turn_off_your_anti_virus_and_restart_your_machine_n
jmp 0x5a9b4d
cmp eax, 0x718
jne 0x5a9b67
push 0
push str.Error
push str.Error:_out_of_system_memory_when_opening_data_file_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push dword [0x7e925c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor bl, bl
jmp 0x5a9bd8
push eax
push str.GetFileData___failed._MapViewOfFile_Error:__d_n
call fcn.00599b80
add esp, 8
xor bl, bl
jmp 0x5a9bd8
cmp dword [eax + ebx], 0x69737573
je 0x5a9ba9
cmp byte [edi + 0x128], 0
push esi
push str.GetFileData___failed.__s__bad_header_n
je 0x5a9b9d
call fcn.00599b80
add esp, 8
xor bl, bl
jmp 0x5a9bd8
call fcn.00599f60
add esp, 8
xor bl, bl
jmp 0x5a9bd8
push dword [esp + 0x50]
add eax, 4
mov ecx, edi
push dword [esp + 0x50]
add eax, ebx
push dword [esi + 0x112]
push eax
push esi
call fcn.005aab70
push dword [esp + 0x48]
mov bl, al
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.00580bf0
mov ecx, dword [esp + 0x38]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc