Function at 0x449170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548e6d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 - 0x44], 0x65
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 0x29], 1
call dword [eax + 0x28]
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [esi + 0x73a], 0
je 0x4495cf
cmp byte [esi + 0x728], 0
jne 0x4495c8
cmp byte [esi + 0x739], 0
jne 0x4495c8
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 0x4492f2
test edi, edi
je 0x449224
mov byte [esi + 0x739], 1
mov dword [ebp - 0x34], ebx
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x449378
mov eax, dword [esi + 0x740]
cmp eax, dword [esi + 0x744]
jge 0x449378
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x449378
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 0x449378
mov edi, dword [esi + 0x3a0]
mov ecx, ebx
and ecx, 0xff0000
mov dword [ebp - 0x28], 0x507
mov eax, ebx
mov dword [ebp - 0x24], 0x2000000
shr eax, 0x10
or ecx, eax
mov eax, ebx
shl eax, 0x10
and ebx, 0xff00
or eax, ebx
shr ecx, 8
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ecx
cmp dword [edi + 8], 0xffffffff
je 0x449582
cmp byte [edi + 0x1a], 0
jne 0x449306
cmp byte [edi + 0x18], 0
je 0x449306
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x449306
push 1
lea eax, [ebp - 0x2a]
mov byte [ebp - 0x2a], 7
push eax
mov ecx, edi
call fcn.00484200
push 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00484200
jmp 0x449582
test edi, edi
jne 0x449224
mov byte [esi + 0x728], 1
jmp 0x44958e
cmp byte [edi + 0x18], 0
mov ecx, 0xc
je 0x449367
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x449367
cmp byte [edi + 0x68], 0
je 0x44933e
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x6c]
movq xmm0, qword [ebp - 0x28]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
add dword [edi + 0x6c], 0xc
jmp 0x449582
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00484510
mov ecx, dword [ebp - 0x38]
push ecx
push eax
mov ecx, edi
call fcn.00483fe0
jmp 0x449582
push ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00483fe0
jmp 0x449582
xor dl, dl
mov ebx, 0x2400
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x29], dl
cmp byte [esi + 0x738], dl
je 0x4493c0
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 0x4495ac
mov edi, dword [esi + 0x72c]
mov dl, 1
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x29], dl
mov eax, edi
mov dword [ebp - 0x1c], 0x507
shr eax, 0x18
mov dword [ebp - 0x30], eax
cmp ebx, edi
jbe 0x449419
xor dl, dl
movzx eax, dl
shl eax, 0x18
mov byte [ebp - 0x29], 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 edi, dword [esi + 0x3a0]
cmp dword [edi + 8], 0xffffffff
jne 0x449450
mov byte [ebp - 0x29], 0
jmp 0x449582
movzx eax, dl
shl eax, 0x18
mov dword [ebp - 0x18], eax
test dl, dl
je 0x4493e1
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 0x449404
cmp byte [edi + 0x1a], 0
jne 0x449485
cmp byte [edi + 0x18], 0
je 0x449485
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x449485
push 1
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x2b], 7
push eax
mov ecx, edi
call fcn.00484200
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00484200
jmp 0x4494e3
cmp byte [edi + 0x18], 0
mov ecx, 0xc
je 0x4494d7
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4494d7
cmp byte [edi + 0x68], 0
je 0x4494ba
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x6c]
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
add dword [edi + 0x6c], 0xc
jmp 0x4494e3
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00484510
mov ecx, dword [ebp - 0x3c]
jmp 0x4494da
lea eax, [ebp - 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.00483fe0
cmp byte [ebp - 0x29], 0
mov edi, dword [esi + 0x3a0]
je 0x449569
cmp dword [edi + 8], 0xffffffff
mov ecx, dword [esi + 0x704]
jne 0x449501
xor ecx, ecx
test ecx, ecx
jmp 0x44957e
test ebx, ebx
jne 0x44950c
or ecx, 0xffffffff
test ecx, ecx
jmp 0x44957e
cmp byte [edi + 0x18], 0
je 0x449555
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x449555
cmp byte [edi + 0x68], 0
je 0x44953c
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
push ebx
push ecx
push eax
call fcn.0051a200
add dword [edi + 0x6c], ebx
or ecx, 0xffffffff
add esp, 0xc
test ecx, ecx
jmp 0x44957e
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push ebx
push ecx
mov ecx, edi
call fcn.00484510
mov ebx, dword [ebp - 0x40]
mov ecx, eax
push ebx
push ecx
mov ecx, edi
call fcn.00483ee0
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
jmp 0x44957e
push dword [esi + 0x72c]
mov ecx, edi
push dword [esi + 0x700]
call fcn.00484170
test eax, eax
setne byte [ebp - 0x29]
mov eax, dword [esi + 0x72c]
add dword [esi + 0x730], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x29], 0
jne 0x4491a4
xor al, al
jmp 0x4495da
push eax
push str.vncClient::SendFileChunk_:_Compress_returned_error_in_File_Send_:_d_n
push 9
push 0x5b0d48
call fcn.0041ccb0
add esp, 0x10
mov byte [esi + 0x739], 1
mov ecx, esi
call fcn.00449600
push dword [ebp - 0x48]
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.00518799
mov esp, ebp
pop ebp
ret