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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6924b8]
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
test al, 1
jne 0x4ea2e2
or eax, 1
mov dword [0x6924b0], 0x25c5e09b
mov dword [0x6924b8], eax
mov dword [0x6924b4], 0x8fafd21e
mov dword [0x6924a8], 0x614814
mov ebx, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x24]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0x6924a8
cmp dword [edi + 0x1c], 0
jne 0x4ea323
mov eax, dword [0x6925a8]
test eax, eax
jne 0x4ea320
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x6c]
mov ecx, 0x1000
test eax, eax
cmovle eax, ecx
mov dword [0x6925a8], eax
mov dword [edi + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, edx
mov ecx, dword [ebp + 0xc]
and eax, ecx
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
cmp eax, 0xffffffff
jne 0x4ea3d3
push 1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 0
push dword [edi]
mov dword [ebp - 0x1c], 0
call esi
test eax, eax
jne 0x4ea3c7
mov eax, dword [0x6924b8]
test al, 1
jne 0x4ea391
or eax, 1
mov dword [0x6924b0], 0x25c5e09b
mov dword [0x6924b8], eax
mov dword [0x6924b4], 0x8fafd21e
mov dword [0x6924a8], 0x614814
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov ecx, 0x6924a8
push eax
mov eax, dword [0x6924a8]
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 0x14], al
or eax, 0xffffffff
movq xmm0, qword [ebp - 0x18]
or edx, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0x6924a8
jmp 0x4ea647
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
test byte [edi + 0x20], 4
mov dword [ebp - 8], 0
jne 0x4ea4db
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edx
push eax
push ecx
push edx
push dword [edi]
mov dword [ebp - 0x1c], ecx
call esi
test eax, eax
jne 0x4ea42d
call fcn.00489560
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov ecx, esi
push eax
mov dword [ebp - 0x18], eax
mov edx, dword [edx + 0x18]
call edx
mov byte [ebp - 0x14], al
or eax, 0xffffffff
movq xmm0, qword [ebp - 0x18]
or edx, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], esi
jmp 0x4ea647
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
lea ebx, [esi + eax*8]
cmp esi, ebx
jae 0x4ea642
mov edi, edi
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [esi + 4]
push dword [esi]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ea473
mov eax, dword [ebp - 8]
add esi, 8
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp esi, ebx
jb 0x4ea440
jmp 0x4ea645
mov eax, dword [0x6924b8]
test al, 1
jne 0x4ea4a2
or eax, 1
mov dword [0x6924b0], 0x25c5e09b
mov dword [0x6924b8], eax
mov dword [0x6924b4], 0x8fafd21e
mov dword [0x6924a8], 0x614814
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov ecx, 0x6924a8
push eax
mov eax, dword [0x6924a8]
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 0x14], al
mov eax, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x18]
movq qword [eax], xmm0
mov dword [eax + 8], 0x6924a8
or eax, 0xffffffff
or edx, eax
jmp 0x4ea647
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push ebx
call fcn.004d40f0
mov dword [ebp - 0x30], eax
add esp, 8
dec eax
add eax, dword [edi + 0x1c]
cdq
idiv dword [edi + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [eax*8 + 8]
call fcn.005bca40
mov eax, esp
mov dword [ebp - 0x1c], eax
mov edi, eax
lea eax, [ebx + esi*8]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
cmp ebx, eax
jae 0x4ea546
lea esp, [esp]
xor ecx, ecx
cmp dword [ebx + 4], ecx
jbe 0x4ea53f
mov eax, dword [ebx]
add eax, ecx
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
add edi, 8
add ecx, dword [esi + 0x1c]
cmp ecx, dword [ebx + 4]
jb 0x4ea527
mov eax, dword [ebp - 0x4c]
add ebx, 8
cmp ebx, eax
jb 0x4ea520
mov ecx, dword [ebp - 0x28]
mov eax, ecx
push 0
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
sar eax, 0x1f
mov eax, dword [ebp - 0x2c]
push 1
push 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x30]
add dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
imul eax, dword [ebp - 0x34]
push ecx
push 0
push eax
push dword [ebp - 0x1c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
test eax, eax
jne 0x4ea639
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
je 0x4ea623
mov eax, dword [0x6924b8]
test al, 1
jne 0x4ea5e8
or eax, 1
mov dword [0x6924b0], 0x25c5e09b
mov dword [0x6924b8], eax
mov dword [0x6924b4], 0x8fafd21e
mov dword [0x6924a8], 0x614814
call edi
mov dword [ebp - 0x18], eax
mov ecx, 0x6924a8
push eax
mov eax, dword [0x6924a8]
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0x38]
mov byte [ebp - 0x14], al
mov eax, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x18]
movq qword [eax], xmm0
mov dword [eax + 8], 0x6924a8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
or edx, eax
jmp 0x4ea647
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4ea5b9
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
xor edx, edx
lea esp, [ebp - 0x7c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret 0x14