Function at 0x4383c0
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 0x4383f8
cmp dword [ebp + 0x18], 0
jge 0x4383f8
cmp dword [ebp + 0x1c], 0
jg 0x4383f8
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 0x438656
cmp dword [ebp + 0x1c], 0
jg 0x43840d
cmp dword [ebp + 0x14], 0
jge 0x43840d
mov dword [ebp - 0x1c], 0
jmp 0x438414
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 0x43843e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jge 0x4384da
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 8], 1
jne 0x43845a
jmp 0x4384da
cmp dword [ebp + 0x18], 0
jge 0x43847c
cmp dword [ebp + 0x1c], 0
jg 0x43847c
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x438474
cmp dword [ebp + 0x14], 0
jge 0x43847c
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x4384d5
mov dword [ebp - 0x10], 0xfffffffe
cmp dword [ebp - 0x10], 0
jle 0x4384ba
cmp dword [ebp + 0x1c], 0
jg 0x4384b1
cmp dword [ebp + 0x14], 0
jge 0x4384b1
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 0x438656
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4384d1
cmp dword [ebp + 0x18], 0
jl 0x4384ca
or eax, 0xffffffff
jmp 0x438656
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4384d5
jmp 0x438435
cmp dword [ebp - 0x10], 0
jge 0x4385b9
cmp dword [ebp + 0x18], 0
jge 0x4384f0
cmp dword [ebp + 0x1c], 0
jle 0x4384fd
or eax, 0xffffffff
jmp 0x438656
cmp dword [ebp + 0x1c], 0
je 0x43850d
mov ecx, dword [ebp + 0x1c]
neg ecx
mov dword [ebp - 0x20], ecx
jmp 0x438514
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 0x438528
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 0x43859d
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 0x438588
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 0x438586
mov eax, dword [ebp + 0x1c]
sub eax, 1
mov dword [ebp + 0x1c], eax
jmp 0x43855f
cmp dword [ebp + 0x1c], 0
je 0x438599
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x1c]
jge 0x43859b
jmp 0x43859d
jmp 0x43852f
cmp dword [ebp - 0x10], 0
jne 0x4385ab
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jmp 0x4385b1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
jmp 0x438656
cmp dword [ebp + 0x14], 0
jl 0x438635
cmp dword [ebp + 0x1c], 0
jne 0x4385ce
mov dword [ebp - 0x28], 1
jmp 0x4385ea
cmp dword [ebp + 0x1c], 0
jge 0x4385de
mov ecx, dword [ebp + 0x1c]
neg ecx
mov dword [ebp - 0x2c], ecx
jmp 0x4385e4
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 0x43862c
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 0x43862a
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jne 0x43862a
jmp 0x43862c
jmp 0x4385ff
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x1c], 0
jg 0x438653
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