Function at 0x42b230
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x61b8a0]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
push ebx
mov ebx, ecx
push esi
push edi
test al, 1
jne 0x42b26b
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
mov esi, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x2c]
movq qword [esi], xmm0
mov dword [esi + 8], 0x61b890
cmp dword [ebx + 0x1c], 0
jne 0x42b2ac
mov eax, dword [0x61b91c]
test eax, eax
jne 0x42b2a9
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x70]
mov ecx, 0x1000
test eax, eax
cmovle eax, ecx
mov dword [0x61b91c], eax
mov dword [ebx + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, edx
mov ecx, dword [ebp + 0xc]
and eax, ecx
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], ecx
cmp eax, 0xffffffff
jne 0x42b344
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
push dword [ebx]
mov dword [ebp - 0x28], 0
call edi
test eax, eax
jne 0x42b338
mov eax, dword [0x61b8a0]
test al, 1
jne 0x42b302
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov ecx, 0x61b890
push eax
mov eax, dword [0x61b890]
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 0x18], al
or eax, 0xffffffff
movq xmm0, qword [ebp - 0x1c]
or edx, eax
movq qword [esi], xmm0
mov dword [esi + 8], 0x61b890
jmp 0x42b5a9
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], ecx
test byte [ebx + 0x20], 4
mov dword [ebp - 0xc], 0
jne 0x42b407
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
push eax
push ecx
push edx
push dword [ebx]
mov dword [ebp - 0x28], ecx
call edi
test eax, eax
je 0x42b2e7
mov esi, dword [ebp + 0x10]
lea edi, [esi + 8]
cmp esi, edi
jae 0x42b5a4
lea ecx, [ecx]
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 4]
push dword [esi]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42b3b3
mov eax, dword [ebp - 0xc]
add esi, 8
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x42b380
jmp 0x42b5a7
mov eax, dword [0x61b8a0]
test al, 1
jne 0x42b3ce
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov ecx, 0x61b890
push eax
mov eax, dword [0x61b890]
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x61b890
or eax, 0xffffffff
or edx, eax
jmp 0x42b5a9
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.0042b1e0
mov dword [ebp - 0x34], eax
dec eax
add eax, dword [ebx + 0x1c]
cdq
idiv dword [ebx + 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [eax*8 + 8]
call fcn.00559a70
mov eax, esp
mov dword [ebp - 0x24], eax
mov esi, eax
lea eax, [edi + 8]
mov dword [ebp - 0x50], eax
cmp edi, eax
jae 0x42b466
lea esp, [esp]
xor ecx, ecx
cmp dword [edi + 4], ecx
jbe 0x42b45f
mov eax, dword [edi]
add eax, ecx
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
add ecx, dword [ebx + 0x1c]
cmp ecx, dword [edi + 4]
jb 0x42b447
mov eax, dword [ebp - 0x50]
add edi, 8
cmp edi, eax
jb 0x42b440
mov ecx, dword [ebp - 0x10]
mov eax, ecx
push 0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
sar eax, 0x1f
mov eax, dword [ebp - 0x30]
push 1
push 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x1c]
imul eax, dword [ebp - 0x38]
push ecx
push 0
push eax
push dword [ebp - 0x24]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
test eax, eax
jne 0x42b59b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
je 0x42b52f
mov eax, dword [0x61b8a0]
test al, 1
jne 0x42b4f4
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
call esi
mov dword [ebp - 0x1c], eax
mov ecx, 0x61b890
push eax
mov eax, dword [0x61b890]
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0x3c]
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x61b890
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
or edx, eax
jmp 0x42b5a9
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x42b59b
mov eax, dword [0x61b8a0]
test al, 1
jne 0x42b560
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
call esi
mov dword [ebp - 0x1c], eax
mov ecx, 0x61b890
push eax
mov eax, dword [0x61b890]
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0x3c]
mov byte [ebp - 0x18], al
mov eax, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0x61b890
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
or edx, eax
jmp 0x42b5a9
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
xor edx, edx
lea esp, [ebp - 0x84]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret 0x14