Function at 0x461e90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
cmp eax, 0xffffffff
jne 0x461ead
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebx
call fcn.00461df0
test al, al
jne 0x461ecd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
mov ecx, dword [esp + 0x3c]
call fcn.00422070
push 0x4e20
xor esi, esi
call fcn.0046fd5a
mov ebp, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
add esp, 4
mov dword [esp + 0x24], eax
xor eax, eax
lea edx, [esp + 0x10]
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
push edx
push 0x4e20
xor edi, edi
push ebp
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x461f34
push ebp
call fcn.0046f89f
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x461f51
push ebp
call fcn.0046f89f
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
cmp eax, 4
jge 0x461f6b
push ebp
call fcn.0046f89f
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
add edx, eax
mov dword [ebx + 0x10], edx
mov ecx, dword [ebx + 0x14]
adc ecx, 0
mov dword [ebx + 0x14], ecx
mov edx, dword [ebp]
cmp edx, dword [esp + 0x34]
mov ecx, ebp
je 0x462045
mov edx, dword [ecx]
cmp edx, dword [esp + 0x38]
je 0x462045
cmp eax, 4
jl 0x461fbd
mov edx, dword [esp + 0x20]
dec eax
inc esi
add edi, 1
adc edx, 0
mov dword [esp + 0x14], eax
lea ecx, [esi + ebp]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
jmp 0x462039
test eax, eax
je 0x461fef
mov ecx, eax
add esi, ebp
mov edx, ecx
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x18]
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov edx, 0x4e20
lea ecx, [esp + 0x10]
push 0
sub edx, eax
push ecx
mov ecx, dword [ebx + 8]
add eax, ebp
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x462055
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
je 0x462055
mov ecx, dword [ebx + 0x10]
add ecx, eax
mov dword [ebx + 0x10], ecx
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
adc edx, esi
add ecx, eax
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, dword [esp + 0x34]
cmp dword [ecx], edx
jne 0x461f8f
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
cmp eax, edx
je 0x46206a
cmp eax, dword [esp + 0x38]
je 0x46206a
push ebp
call fcn.0046f89f
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x20]
push 4
adc eax, ebx
push ecx
mov ecx, dword [esp + 0x44]
mov dword [edx], edi
mov dword [edx + 4], eax
call fcn.00422fd0
push ebp
call fcn.0046f89f
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x10