Function at 0x461ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 8]
push edi
call edx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
xor eax, eax
mov ecx, ebx
or ecx, edi
mov dword [esp + 0xc], eax
jne 0x461d16
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x18]
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
call eax
test edx, edx
jb 0x461dd3
ja 0x461d49
test eax, eax
jbe 0x461dd3
test edi, edi
ja 0x461d52
cmp ebx, 2
jb 0x461d0b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
add eax, 1
adc edx, 0
cmp edi, edx
ja 0x461d0b
jb 0x461d6b
cmp ebx, eax
ja 0x461d0b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push eax
push ecx
mov ecx, esi
call edx
add dword [esp + 0x28], 1
mov ebx, eax
mov edi, edx
adc dword [esp + 0x2c], 0
cmp ebx, dword [esp + 0x18]
jne 0x461d98
cmp edi, dword [esp + 0x1c]
je 0x461dd3
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
call edx
test eax, eax
jne 0x461dd3
add dword [esp + 0x20], 1
mov ecx, esi
adc dword [esp + 0x24], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
call edx
cmp dword [esp + 0x24], edx
jb 0x461d49
ja 0x461dd3
cmp dword [esp + 0x20], eax
jb 0x461d49
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
xor eax, eax
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.004746e0
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
call sub.mfc90u.dll_new__
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
test edi, edi
ja 0x461e2c
cmp ebx, 2
jb 0x461d0b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
add eax, 1
adc edx, 0
cmp edi, edx
ja 0x461d0b
jb 0x461e4d
cmp ebx, eax
ja 0x461d0b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
push ecx
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, 1
adc ecx, 0
mov edi, edx
cmp ebx, eax
jne 0x461e7e
cmp edi, ecx
je 0x461eff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
xor eax, eax
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.004746e0
add eax, dword [esi + 0x230]
lea ecx, [esp + 0x44]
adc edx, dword [esi + 0x234]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
inc eax
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0x238]
add ecx, edx
push ecx
push eax
mov dword [esp + 0x68], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0xc], eax
test eax, eax
je 0x461f2c
mov ecx, dword [esp + 0x14]
add dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
adc dword [esp + 0x24], 0
cmp ebx, dword [esp + 0x18]
jne 0x461f0b
cmp edi, dword [esp + 0x1c]
je 0x461f2c
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
call eax
test eax, eax
jne 0x461f2c
mov ecx, ebx
or ecx, edi
jne 0x461e1f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x461f40
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0xc]
neg eax
pop edi
sbb eax, eax
and eax, dword [esp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc