Function at 0x434bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 0
jge 0x434c28
cmp dword [ebp + 0x18], 0
jge 0x434c28
cmp dword [ebp + 0x1c], 0
jg 0x434c28
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll__read]
add esp, 0xc
jmp 0x434e86
cmp dword [ebp + 0x1c], 0
jg 0x434c3d
cmp dword [ebp + 0x14], 0
jge 0x434c3d
mov dword [ebp - 0x1c], 0
jmp 0x434c44
mov dword [ebp - 0x1c], 3
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
and edx, 0xfffffffe
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
jmp 0x434c6e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jge 0x434d0a
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 8], 1
jne 0x434c8a
jmp 0x434d0a
cmp dword [ebp + 0x18], 0
jge 0x434cac
cmp dword [ebp + 0x1c], 0
jg 0x434cac
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x434ca4
cmp dword [ebp + 0x14], 0
jge 0x434cac
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x434d05
mov dword [ebp - 0x10], 0xfffffffe
cmp dword [ebp - 0x10], 0
jle 0x434cea
cmp dword [ebp + 0x1c], 0
jg 0x434ce1
cmp dword [ebp + 0x14], 0
jge 0x434ce1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll__read]
add esp, 0xc
jmp 0x434e86
mov dword [ebp - 0x10], 0xffffffff
jmp 0x434d01
cmp dword [ebp + 0x18], 0
jl 0x434cfa
or eax, 0xffffffff
jmp 0x434e86
mov dword [ebp - 0x10], 0xffffffff
jmp 0x434d05
jmp 0x434c65
cmp dword [ebp - 0x10], 0
jge 0x434de9
cmp dword [ebp + 0x18], 0
jge 0x434d20
cmp dword [ebp + 0x1c], 0
jle 0x434d2d
or eax, 0xffffffff
jmp 0x434e86
cmp dword [ebp + 0x1c], 0
je 0x434d3d
mov ecx, dword [ebp + 0x1c]
neg ecx
mov dword [ebp - 0x20], ecx
jmp 0x434d44
mov dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x20]
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x10]
jle 0x434d58
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], ecx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR90.dll__read]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x434dcd
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jae 0x434db8
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp eax, ecx
jne 0x434db6
mov eax, dword [ebp + 0x1c]
sub eax, 1
mov dword [ebp + 0x1c], eax
jmp 0x434d8f
cmp dword [ebp + 0x1c], 0
je 0x434dc9
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x1c]
jge 0x434dcb
jmp 0x434dcd
jmp 0x434d5f
cmp dword [ebp - 0x10], 0
jne 0x434ddb
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jmp 0x434de1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
jmp 0x434e86
cmp dword [ebp + 0x14], 0
jl 0x434e65
cmp dword [ebp + 0x1c], 0
jne 0x434dfe
mov dword [ebp - 0x28], 1
jmp 0x434e1a
cmp dword [ebp + 0x1c], 0
jge 0x434e0e
mov ecx, dword [ebp + 0x1c]
neg ecx
mov dword [ebp - 0x2c], ecx
jmp 0x434e14
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 4]
jae 0x434e5c
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp eax, ecx
jne 0x434e5a
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jne 0x434e5a
jmp 0x434e5c
jmp 0x434e2f
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x1c], 0
jg 0x434e83
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR90.dll__read]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret