Function at 0x41ec80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c16
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4faee4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xac], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0xd0]
mov dword [ebp - 0xb0], ecx
mov esi, dword [eax]
call fcn.0042e730
push eax
push str.ComputeFileHash__s__n
push 3
push dword [ebx + 0xd0]
call dword [esi + 0x14]
mov ecx, dword [ebp - 0xb4]
add esp, 0x10
mov byte [ebp - 0xa1], 1
push 0x4e2a60
call fcn.0042e480
mov ecx, dword [ebp - 0xb0]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042e730
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41ef2f
lea ecx, [ebp - 0xa0]
call fcn.00436fb0
push 0x100000
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0
call fcn.00436270
push 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa8]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push dword [ebp - 0xc4]
mov dword [ebp - 0xa8], 0
push dword [ebp - 0xc0]
push ebx
call esi
mov ecx, eax
test ecx, ecx
je 0x41edea
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x41ee92
push eax
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xa0]
call fcn.00436fd0
mov eax, dword [ebp - 0xa8]
add dword [edi], eax
lea eax, [ebp - 0xa8]
push 0
adc dword [edi + 4], 0
push eax
push dword [ebp - 0xc4]
push dword [ebp - 0xc0]
push ebx
call esi
mov ecx, eax
test ecx, ecx
jne 0x41eda0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00430cb0
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0xd0]
mov esi, dword [eax]
call fcn.0042e730
mov ecx, dword [ebp - 0xb0]
push eax
call fcn.0042e730
push eax
mov eax, dword [ebp - 0xac]
push str.error:_unable_to_read_data_from_file__s_____s
push dword [eax + 0xd0]
call dword [esi + 0x18]
mov eax, dword [ebp - 0x2c]
add esp, 0x10
cmp eax, 0x10
jb 0x41ee4f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046a0
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov byte [ebp - 0xa1], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc8]
call fcn.00436370
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.00436fc0
mov ebx, dword [ebp - 0xac]
jmp 0x41efbe
test ecx, ecx
je 0x41edea
mov eax, dword [edi]
and eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x41ee63
cmp dword [ebp + 0x14], 0xffffffff
je 0x41eebb
push 4
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00436fd0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00437090
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0042e3d0
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.0042e460
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41eeff
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x41ee63
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004046a0
jmp 0x41ee63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00430cb0
add esp, 8
mov ecx, eax
mov ebx, dword [ebp - 0xac]
mov dword [ebp - 4], 5
mov eax, dword [ebx + 0xd0]
mov esi, dword [eax]
call fcn.0042e730
mov ecx, dword [ebp - 0xb0]
push eax
call fcn.0042e730
push eax
push str.error:_unable_to_open_file__s_____s
push dword [ebx + 0xd0]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41ef98
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046a0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov byte [ebp - 0xa1], 0
mov eax, dword [ebx + 0xd0]
push dword [edi + 4]
mov ecx, dword [ebp - 0xb4]
push dword [edi]
mov esi, dword [eax]
call fcn.0042e730
mov ecx, dword [ebp - 0xb0]
push eax
call fcn.0042e730
push eax
push str._s_hash:___s___size:__d_n
push dword [ebx + 0xd0]
call dword [esi + 0x18]
mov al, byte [ebp - 0xa1]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464228
mov esp, ebp
pop ebp
ret 0x10