Function at 0x448ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], 0x65
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 0x29], 1
call dword [eax + 0x28]
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [esi + 0x73a], 0
je 0x44900e
cmp byte [esi + 0x728], 0
jne 0x449007
cmp byte [esi + 0x739], 0
jne 0x449007
push 0
lea ebx, [esi + 0x72c]
push ebx
push 0x2000
push dword [esi + 0x700]
push dword [esi + 0x724]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebx]
mov ebx, edi
mov dword [ebp - 0x34], ebx
test eax, eax
jne 0x448df9
test edi, edi
je 0x448d54
mov byte [esi + 0x739], 1
mov dword [ebp - 0x34], ebx
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x448e2c
mov eax, dword [esi + 0x740]
cmp eax, dword [esi + 0x744]
jge 0x448e2c
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x448e2c
push ebx
push dword [esi + 0x700]
add eax, 4
push 1
mov dword [esi + 0x740], eax
call sym.winvnc.exe_adler32_z
add esp, 0xc
cmp eax, dword [ebp - 0x30]
jne 0x448e2c
mov ecx, ebx
mov dword [ebp - 0x28], 0x507
shl ecx, 0x10
mov eax, ebx
and eax, 0xff00
mov dword [ebp - 0x24], 0x2000000
or ecx, eax
mov eax, ebx
and eax, 0xff0000
shr ebx, 0x10
or eax, ebx
shl ecx, 8
shr eax, 8
or ecx, eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x3a0]
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x448e0d
push eax
push 7
push 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.00484a10
jmp 0x448fc1
test edi, edi
jne 0x448d54
mov byte [esi + 0x728], 1
jmp 0x448fcd
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x448fc1
push eax
push 7
push 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.00484a10
jmp 0x448fc1
xor dl, dl
mov ebx, 0x2400
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2a], dl
cmp byte [esi + 0x738], dl
je 0x448e74
push 0xffffffffffffffff
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push dword [esi + 0x700]
push eax
push dword [esi + 0x704]
call sym.winvnc.exe_compress2
add esp, 0x14
test eax, eax
jne 0x448feb
mov edi, dword [esi + 0x72c]
mov dl, 1
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x2a], dl
mov eax, edi
mov dword [ebp - 0x1c], 0x507
shr eax, 0x18
mov dword [ebp - 0x30], eax
cmp ebx, edi
jbe 0x448f24
xor dl, dl
movzx eax, dl
shl eax, 0x18
mov byte [ebp - 0x2a], dl
mov dword [ebp - 0x18], eax
mov ecx, edi
mov eax, edi
and ecx, 0xff00
shl eax, 0x10
or ecx, eax
shr edi, 8
shl ecx, 8
and edi, 0xff00
or ecx, edi
or ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x3a0]
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
jne 0x448ed6
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x448fbd
push eax
mov byte [ebp - 0x38], 7
lea edx, [ebp - 0x1c]
push dword [ebp - 0x38]
push 0xc
push edx
call fcn.00484a10
test eax, eax
setne byte [ebp - 0x29]
test eax, eax
je 0x448fc1
cmp byte [ebp - 0x2a], 0
mov ecx, dword [esi + 0x3a0]
mov eax, dword [ecx + 8]
je 0x448f84
mov edx, dword [esi + 0x704]
cmp eax, 0xffffffff
je 0x448f62
push eax
push ebx
push edx
call fcn.00484ad0
test eax, eax
setne byte [ebp - 0x29]
jmp 0x448fc1
movzx eax, dl
shl eax, 0x18
mov dword [ebp - 0x18], eax
test dl, dl
je 0x448e99
mov edx, ebx
mov eax, ebx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov ecx, ebx
shl ecx, 0x10
mov eax, ebx
and eax, 0xff00
shr edx, 8
or ecx, eax
shl ecx, 8
or edx, ecx
mov dword [ebp - 0x14], edx
jmp 0x448ebc
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x448f7a
push eax
push ebx
push edx
call fcn.00484ad0
test eax, eax
setne byte [ebp - 0x29]
jmp 0x448fc1
xor eax, eax
test eax, eax
setne byte [ebp - 0x29]
jmp 0x448fc1
mov edx, dword [esi + 0x72c]
mov edi, dword [esi + 0x700]
cmp eax, 0xffffffff
je 0x448fa5
push eax
push edx
push edi
call fcn.00484ad0
test eax, eax
setne byte [ebp - 0x29]
jmp 0x448fc1
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x448f7a
push eax
push edx
push edi
call fcn.00484ad0
test eax, eax
setne byte [ebp - 0x29]
jmp 0x448fc1
mov byte [ebp - 0x29], 0
mov eax, dword [esi + 0x72c]
add dword [esi + 0x730], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x29], 0
jne 0x448cd4
xor al, al
jmp 0x449019
push eax
push str.vncClient::SendFileChunk_:_Compress_returned_error_in_File_Send_:_d_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x10
mov byte [esi + 0x739], 1
mov ecx, esi
call fcn.00449040
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret