Function at 0x4469a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jne 0x4469cc
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
mov esi, dword [eax + 0x7c]
test esi, esi
jne 0x4469e0
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [esi], 0
jne 0x4469f2
pop edi
pop esi
pop ebp
mov eax, 0xffffff9c
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x446a04
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp ecx, eax
jbe 0x446a18
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
jbe 0x446b6b
mov eax, dword [esi + 8]
test eax, eax
jne 0x446a94
mov eax, dword [esi + 0x58]
test eax, eax
jbe 0x446a94
mov edi, 0x4000
cmp eax, edi
jae 0x446a40
mov edi, eax
test edi, edi
je 0x4469fa
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x60]
add ecx, eax
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x446b77
mov eax, dword [esi + 0x60]
mov ecx, dword [esi]
push eax
push 1
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x446b77
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x58]
mov edx, dword [esi]
add ecx, edi
sub eax, edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 4], edx
mov dword [esi + 8], edi
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x446b0e
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 8]
cmp eax, edi
jae 0x446aa7
mov edi, eax
xor eax, eax
test edi, edi
jbe 0x446abe
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov cl, byte [eax + ecx]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jb 0x446aad
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x50]
push edi
push edx
push eax
call fcn.00443460
mov ecx, dword [esi + 0x5c]
mov ebp, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 4]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 8]
sub ecx, edi
sub eax, edi
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
sub ebp, edi
add ebx, edi
add edx, edi
add ecx, edi
add eax, edi
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebx
mov dword [esi + 4], edx
mov dword [esi + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x446b58
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x10]
lea ecx, [esi + 4]
push 2
push ecx
call fcn.00445080
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x50]
sub edi, ebx
mov dword [esp + 0x1c], eax
push edi
push ebp
push edx
call fcn.00443460
mov ebx, dword [esi + 0x5c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x28]
add esp, 0x14
sub ebx, edi
add edx, edi
cmp eax, 1
mov dword [esi + 0x5c], ebx
mov dword [esp + 0x10], edx
je 0x446b6b
test eax, eax
jne 0x446b82
mov eax, dword [esi + 0x14]
test eax, eax
ja 0x446a23
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x446b82
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret