Function at 0x449ff0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a970
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
xor eax, eax
push ebx
push 1
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
mov dword [esp + 0x50], edi
cmp edi, 0xffffffff
mov eax, dword [esi + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov ecx, dword [eax + 4]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x4c], ecx
jne 0x44a0af
push ebx
push edi
push str.Failed_to_create_connection
lea ecx, [esp + 0x60]
call fcn.0044b840
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 1
mov dword [esp + 0x1c], vtable.RSException.0
call fcn.004019d8
push 0x47277c
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], vtable.CMessageException.0
call sub.MSVCR80.dll__CxxThrowException
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb4]
lea ecx, [ecx]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a13e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44a1cb
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x44a124
sub eax, 1
jne 0x44a0c0
lea ecx, [esp + 0x88]
call fcn.00449f30
push 0x4727b4
lea edx, [esp + 0x8c]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x44a161
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x44a184
lea ecx, [esp + 0x6c]
call fcn.00449f30
push 0x4727b4
lea eax, [esp + 0x70]
push eax
call sub.MSVCR80.dll__CxxThrowException
push 0
push 0xffffffffffffffff
push str.unexpected_error
lea ecx, [esp + 0x60]
call fcn.0044b840
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 2
mov dword [esp + 0x1c], vtable.RSException.0
call fcn.004019d8
push 0x47277c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.CMessageException.0
call sub.MSVCR80.dll__CxxThrowException
cmp eax, 0x6d
jne 0x44a1e8
lea ecx, [esp + 0x6c]
call fcn.00449f30
push 0x4727b4
lea eax, [esp + 0x70]
push eax
call sub.MSVCR80.dll__CxxThrowException
push 0
push 0xffffffffffffffff
push str.Read_Error
lea ecx, [esp + 0x60]
call fcn.0044b840
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 3
mov dword [esp + 0x1c], vtable.RSException.0
call fcn.004019d8
push 0x47277c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.CMessageException.0
call sub.MSVCR80.dll__CxxThrowException
int3