Function at 0x461c90
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 0x461cc6
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 0x461d83
ja 0x461cf9
test eax, eax
jbe 0x461d83
test edi, edi
ja 0x461d02
cmp ebx, 2
jb 0x461cbb
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
add eax, 1
adc edx, 0
cmp edi, edx
ja 0x461cbb
jb 0x461d1b
cmp ebx, eax
ja 0x461cbb
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 0x461d48
cmp edi, dword [esp + 0x1c]
je 0x461d83
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 0x461d83
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 0x461cf9
ja 0x461d83
cmp dword [esp + 0x20], eax
jb 0x461cf9
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.00474250
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
call fcn.00472d56
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 0x461ddc
cmp ebx, 2
jb 0x461cbb
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
add eax, 1
adc edx, 0
cmp edi, edx
ja 0x461cbb
jb 0x461dfd
cmp ebx, eax
ja 0x461cbb
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 0x461e2e
cmp edi, ecx
je 0x461eaf
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.00474250
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 0x461edc
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 0x461ebb
cmp edi, dword [esp + 0x1c]
je 0x461edc
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 0x461edc
mov ecx, ebx
or ecx, edi
jne 0x461dcf
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x461ef0
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