Function at 0x4457c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a30d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5d7008]
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 + 0x636], 0
je 0x445c24
cmp byte [esi + 0x624], 0
jne 0x445c1d
cmp byte [esi + 0x635], 0
jne 0x445c1d
push 0
lea ebx, [esi + 0x628]
push ebx
push 0x2000
push dword [esi + 0x5fc]
push dword [esi + 0x620]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebx]
mov ebx, edi
mov dword [ebp - 0x34], ebx
test eax, eax
jne 0x44593f
test edi, edi
je 0x445874
mov byte [esi + 0x635], 1
mov dword [ebp - 0x34], ebx
mov ecx, dword [esi + 0x638]
test ecx, ecx
je 0x4459c5
mov eax, dword [esi + 0x63c]
cmp eax, dword [esi + 0x640]
jge 0x4459c5
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4459c5
push ebx
push dword [esi + 0x5fc]
add eax, 4
push 1
mov dword [esi + 0x63c], eax
call sym.winvnc.exe_adler32_z
add esp, 0xc
cmp eax, dword [ebp - 0x30]
jne 0x4459c5
mov edi, dword [esi + 0x29c]
mov ecx, ebx
shl ecx, 0x10
mov eax, ebx
and eax, 0xff00
mov word [ebp - 0x28], 0x507
or ecx, eax
mov dword [ebp - 0x24], 0x2000000
mov eax, ebx
shl ecx, 8
and eax, 0xff0000
shr ebx, 0x10
or eax, ebx
shr eax, 8
or ecx, eax
mov dword [ebp - 0x20], ecx
cmp dword [edi + 8], 0xffffffff
je 0x445bd7
cmp byte [edi + 0x1a], 0
jne 0x445953
cmp byte [edi + 0x18], 0
je 0x445953
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445953
push 1
lea eax, [ebp - 0x2a]
mov byte [ebp - 0x2a], 7
push eax
mov ecx, edi
call fcn.00489710
push 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00489710
jmp 0x445bd7
test edi, edi
jne 0x445874
mov byte [esi + 0x624], 1
jmp 0x445be3
cmp byte [edi + 0x18], 0
mov ecx, 0xc
je 0x4459b4
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4459b4
cmp byte [edi + 0x68], 0
je 0x44598b
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 0x445bd7
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00489a20
mov ecx, dword [ebp - 0x38]
push ecx
push eax
mov ecx, edi
call fcn.004894f0
jmp 0x445bd7
push ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004894f0
jmp 0x445bd7
xor dl, dl
xor eax, eax
mov ebx, 0x2400
mov byte [ebp - 0x29], dl
mov dword [ebp - 0x30], ebx
cmp byte [esi + 0x634], al
je 0x445a14
push 0xffffffffffffffff
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push dword [esi + 0x5fc]
push eax
push dword [esi + 0x600]
call sym.winvnc.exe_compress2
add esp, 0x14
test eax, eax
jne 0x445c01
mov edi, dword [esi + 0x628]
mov dl, 1
mov ebx, dword [ebp - 0x30]
mov eax, 1
mov byte [ebp - 0x29], dl
mov ecx, edi
mov word [ebp - 0x1c], 0x507
shr ecx, 0x18
mov dword [ebp - 0x30], ecx
cmp ebx, edi
jbe 0x445a6a
xor dl, dl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x29], dl
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 + 0x29c]
cmp dword [edi + 8], 0xffffffff
jne 0x445aa4
mov byte [ebp - 0x29], 0
jmp 0x445bd7
shl eax, 0x18
mov dword [ebp - 0x18], eax
test dl, dl
je 0x445a32
mov edx, ebx
mov eax, ebx
and edx, 0xff0000
shr eax, 0x10
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
mov dl, byte [ebp - 0x29]
mov byte [ebp - 0x29], dl
jmp 0x445a55
cmp byte [edi + 0x1a], 0
jne 0x445ad9
cmp byte [edi + 0x18], 0
je 0x445ad9
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445ad9
push 1
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x2b], 7
push eax
mov ecx, edi
call fcn.00489710
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00489710
jmp 0x445b37
cmp byte [edi + 0x18], 0
mov ecx, 0xc
je 0x445b2b
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445b2b
cmp byte [edi + 0x68], 0
je 0x445b0e
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 0x445b3a
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00489a20
mov ecx, dword [ebp - 0x3c]
jmp 0x445b2e
lea eax, [ebp - 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.004894f0
mov dl, byte [ebp - 0x29]
mov edi, dword [esi + 0x29c]
test dl, dl
je 0x445bbe
cmp dword [edi + 8], 0xffffffff
mov ecx, dword [esi + 0x600]
jne 0x445b56
xor ecx, ecx
test ecx, ecx
jmp 0x445bd3
test ebx, ebx
jne 0x445b61
or ecx, 0xffffffff
test ecx, ecx
jmp 0x445bd3
cmp byte [edi + 0x18], 0
je 0x445baa
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445baa
cmp byte [edi + 0x68], 0
je 0x445b91
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
push ebx
push ecx
push eax
call fcn.00540f80
add dword [edi + 0x6c], ebx
or ecx, 0xffffffff
add esp, 0xc
test ecx, ecx
jmp 0x445bd3
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push ebx
push ecx
mov ecx, edi
call fcn.00489a20
mov ebx, dword [ebp - 0x40]
mov ecx, eax
push ebx
push ecx
mov ecx, edi
call fcn.004893f0
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
jmp 0x445bd3
push dword [esi + 0x628]
mov ecx, edi
push dword [esi + 0x5fc]
call fcn.00489680
test eax, eax
setne byte [ebp - 0x29]
mov eax, dword [esi + 0x628]
add dword [esi + 0x62c], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x29], 0
jne 0x4457f4
xor al, al
jmp 0x445c2f
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_Compress_returned_error_in_File_Send_:_d_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
mov byte [esi + 0x635], 1
mov ecx, esi
call fcn.00445c50
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.0053d630
mov esp, ebp
pop ebp
ret