Function at 0x444fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54006d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5a6008]
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 0x44542f
cmp byte [esi + 0x728], 0
jne 0x445428
cmp byte [esi + 0x739], 0
jne 0x445428
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 0x445152
test edi, edi
je 0x445084
mov byte [esi + 0x739], 1
mov dword [ebp - 0x34], ebx
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x4451d8
mov eax, dword [esi + 0x740]
cmp eax, dword [esi + 0x744]
jge 0x4451d8
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4451d8
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 0x4451d8
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 0x4453e2
cmp byte [edi + 0x1a], 0
jne 0x445166
cmp byte [edi + 0x18], 0
je 0x445166
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445166
push 1
lea eax, [ebp - 0x2a]
mov byte [ebp - 0x2a], 7
push eax
mov ecx, edi
call fcn.0047d600
push 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0047d600
jmp 0x4453e2
test edi, edi
jne 0x445084
mov byte [esi + 0x728], 1
jmp 0x4453ee
cmp byte [edi + 0x18], 0
mov ecx, 0xc
je 0x4451c7
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4451c7
cmp byte [edi + 0x68], 0
je 0x44519e
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 0x4453e2
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0047d910
mov ecx, dword [ebp - 0x38]
push ecx
push eax
mov ecx, edi
call fcn.0047d3e0
jmp 0x4453e2
push ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0047d3e0
jmp 0x4453e2
xor dl, dl
mov ebx, 0x2400
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x29], dl
cmp byte [esi + 0x738], dl
je 0x445220
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 0x44540c
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 0x445279
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 0x4452b0
mov byte [ebp - 0x29], 0
jmp 0x4453e2
movzx eax, dl
shl eax, 0x18
mov dword [ebp - 0x18], eax
test dl, dl
je 0x445241
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 0x445264
cmp byte [edi + 0x1a], 0
jne 0x4452e5
cmp byte [edi + 0x18], 0
je 0x4452e5
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4452e5
push 1
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x2b], 7
push eax
mov ecx, edi
call fcn.0047d600
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0047d600
jmp 0x445343
cmp byte [edi + 0x18], 0
mov ecx, 0xc
je 0x445337
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445337
cmp byte [edi + 0x68], 0
je 0x44531a
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 0x445343
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0047d910
mov ecx, dword [ebp - 0x3c]
jmp 0x44533a
lea eax, [ebp - 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.0047d3e0
cmp byte [ebp - 0x29], 0
mov edi, dword [esi + 0x3a0]
je 0x4453c9
cmp dword [edi + 8], 0xffffffff
mov ecx, dword [esi + 0x704]
jne 0x445361
xor ecx, ecx
test ecx, ecx
jmp 0x4453de
test ebx, ebx
jne 0x44536c
or ecx, 0xffffffff
test ecx, ecx
jmp 0x4453de
cmp byte [edi + 0x18], 0
je 0x4453b5
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4453b5
cmp byte [edi + 0x68], 0
je 0x44539c
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
push ebx
push ecx
push eax
call fcn.00512db0
add dword [edi + 0x6c], ebx
or ecx, 0xffffffff
add esp, 0xc
test ecx, ecx
jmp 0x4453de
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push ebx
push ecx
mov ecx, edi
call fcn.0047d910
mov ebx, dword [ebp - 0x40]
mov ecx, eax
push ebx
push ecx
mov ecx, edi
call fcn.0047d2e0
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
jmp 0x4453de
push dword [esi + 0x72c]
mov ecx, edi
push dword [esi + 0x700]
call fcn.0047d570
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 0x445004
xor al, al
jmp 0x44543a
push eax
push str.vncClient::SendFileChunk_:_Compress_returned_error_in_File_Send_:_d_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x10
mov byte [esi + 0x739], 1
mov ecx, esi
call fcn.00445460
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.00511339
mov esp, ebp
pop ebp
ret