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

Disassembly:
push 0xffffffffffffffff
push 0x618598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
push 0x8c509c
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
call fcn.005be1c0
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], 0
test esi, esi
je 0x5c9c03
cmp byte [esi], 0
je 0x5c9c03
cmp byte [esi + 0x104], 0
je 0x5c9c03
cmp byte [esi + 0x105], 0xff
je 0x5c9c03
or ebx, 0xffffffff
cmp dword [esi + 0x106], ebx
je 0x5c9c06
cmp dword [esi + 0x10a], ebx
je 0x5c9c06
cmp dword [esi + 0x10e], ebx
jne 0x5c9c1f
jmp 0x5c9c06
or ebx, 0xffffffff
push 0
push 0x207
push str..SourceFileSystem_r3dFileSystem.cpp
push str.fe__fe__IsValid__
call fcn.005bb6e0
add esp, 0x10
cmp dword [esi + 0x10a], 0
jne 0x5c9c67
mov eax, dword [esp + 0x50]
push 1
push 1
mov dword [eax], 0
call fcn.005bd340
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], ebx
call fcn.005bd1e0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
movzx edx, byte [esi + 0x105]
mov edi, dword [edi + edx*4 + 0x340]
cmp edi, ebx
jne 0x5c9c92
push 0
push 0x213
push str..SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005bb6e0
add esp, 0x10
push ebp
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, eax
test ebp, ebp
jne 0x5c9ce2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetFileData___failed._CreateFileMapping_error__d_n
call fcn.005bb5a0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], ebx
call fcn.005bd1e0
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x106]
mov edi, dword [esp + 0x34]
mov eax, ecx
xor edx, edx
div edi
imul eax, edi
sub ecx, eax
mov ebx, ecx
mov ecx, dword [esi + 0x10e]
lea ecx, [ebx + ecx + 4]
push ecx
push eax
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x5c9d86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x5c9d4e
push edi
push 0x6bed70
push str.Error:_access_denied_trying_to_open_data_file._nPlease_turn_off_your_anti_virus_and_restart_your_machine_n
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x83cb04]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x5c9daa
cmp eax, 0x718
jne 0x5c9d79
push 0
push 0x6bed70
push str.Error:_out_of_system_memory_when_opening_data_file_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x83cb04]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x5c9daa
push eax
push str.GetFileData___failed._MapViewOfFile_Error:__d_n
call fcn.005bb5a0
jmp 0x5c9da7
cmp dword [edi + ebx], 0x64667261
je 0x5c9dd2
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x134], 0
push esi
push str.GetFileData___failed.__s__bad_header_n
jne 0x5c9d7f
call fcn.005bb3d0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.005bd1e0
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x10e]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [edi + ebx + 4]
push edx
push esi
call fcn.005c99f0
push edi
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 + 0x44], 0xffffffff
call fcn.005bd1e0
mov ecx, dword [esp + 0x3c]
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc