Function at 0x4348c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46631f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x47e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
movsx eax, byte [0x4805da]
test eax, eax
jne 0x43492c
push 0x481298
push 0x480a54
push 0x400
push 0x480650
mov ecx, dword [0x480a50]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dl, byte [0x4805da]
add dl, 1
mov byte [0x4805da], dl
jmp 0x4349dd
movsx eax, byte [0x4805da]
cmp eax, 1
jne 0x4349dd
push 0
push 0x480a54
push 0x481298
mov ecx, dword [0x480a50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x4349a2
mov edx, dword [0x480a54]
push edx
push 0x480650
mov eax, dword [0x480e90]
add eax, 0x480e98
push eax
call fcn.004643a0
add esp, 0xc
mov ecx, dword [0x480e90]
add ecx, dword [0x480a54]
mov dword [0x480e90], ecx
call fcn.004511ab
mov dword [0x480e94], eax
mov byte [0x4805da], 0
jmp 0x4349dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e4
je 0x4349bd
cmp dword [ebp - 0x14], 0x3e5
jne 0x4349d6
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x480a50]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
xor eax, eax
jmp 0x434b3b
xor eax, eax
jmp 0x434b3b
cmp dword [0x480e90], 0
jbe 0x434b39
mov ecx, 1
test ecx, ecx
je 0x434a12
push 0x480e90
push 0x480e98
mov ecx, dword [ebp - 0x24]
call fcn.00435210
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x434a10
jmp 0x434a12
jmp 0x4349ea
cmp dword [ebp - 0x20], 0
jle 0x434b08
push 0x68
call fcn.00449b00
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
call fcn.00431c60
mov dword [ebp - 0x28], eax
jmp 0x434a44
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 3
mov edx, dword [ebp - 0x18]
add edx, 0x14
push edx
push 0x480e98
mov ecx, dword [ebp - 0x24]
call fcn.004359e0
cmp eax, 1
jne 0x434a8a
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x108
call fcn.00416e30
jmp 0x434aba
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
push 0x68
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00449b38
add esp, 8
cmp dword [ebp - 0x2c], 0
jne 0x434aad
mov dword [ebp - 0x3c], 0
jmp 0x434aba
mov dword [ebp - 0x18], 0x8123
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov ecx, dword [0x480e90]
sub ecx, dword [ebp - 0x20]
mov dword [0x480e90], ecx
je 0x434aff
mov dword [ebp - 0x1c], 0
jmp 0x434add
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x480e90]
jae 0x434aff
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x480e98]
mov byte [edx + 0x480e98], al
jmp 0x434ad4
mov dword [ebp - 0x20], 0
jmp 0x434b39
mov esi, dword [0x480e94]
add esi, 0x3e8
call fcn.004511ab
cmp esi, eax
jge 0x434b39
push 0x480e90
push 0x480e98
mov ecx, dword [ebp - 0x24]
call fcn.004350e0
call fcn.004511ab
mov dword [0x480e94], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449aef
mov esp, ebp
pop ebp
ret