Function at 0x4444c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556f11
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5c3040]
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 ebx, ecx
mov dword [ebp - 0x140], ebx
mov edx, dword [0x5d1914]
lea ecx, [ebp - 0x184]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x164], eax
mov byte [ebp - 0x113], 0
cmp dword [edx + 0x7a8], 0
setne al
movzx eax, al
push eax
lea eax, [edx + 0x734]
push eax
call fcn.00440aa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
mov eax, dword [0x5d1914]
add eax, 0x838
push eax
call fcn.0041f770
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x178]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444556
sub ecx, edx
je 0x4445da
push 0x200
mov byte [ebp - 0x113], 1
call fcn.005247b4
mov esi, eax
lea eax, [ebp - 0x10f]
push 0xff
push 0
push eax
mov dword [ebp - 0x17c], esi
mov byte [esi], 0
call fcn.00526a30
lea eax, [ebp - 0x110]
mov byte [ebp - 0x110], 0
push eax
push dword [ebp - 0x180]
push str.SecureVNC_0_0x_08x__s
push 0xffffffffffffffff
push 0x1fe
push esi
call fcn.0041efd0
mov eax, dword [ebx + 0x260]
lea edi, [ebx + 0x260]
add esp, 0x28
mov dword [ebp - 0x118], edi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44460b
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
jmp 0x44460b
mov eax, dword [ebx + 0x260]
lea edi, [ebx + 0x260]
mov edx, dword [0x5d1914]
add edx, 0x838
mov dword [ebp - 0x118], edi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44460b
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov dword [ebp - 0x118], edi
mov esi, dword [ebp - 0x184]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x148], edx
mov byte [ebp - 0x111], 1
nop dword [eax + eax]
mov eax, dword [edi]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x144], 0
push edx
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x144]
push edx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x44501c
mov edi, dword [edi]
movzx edx, word [ebp - 0x144]
mov dword [ebp - 0x150], edx
cmp dword [edi + 8], 0xffffffff
je 0x445000
cmp byte [edi + 0x18], 0
mov ebx, 2
je 0x4446d2
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4446d2
cmp byte [edi + 0x68], 0
je 0x4446a9
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
mov word [ecx + eax], dx
add dword [edi + 0x6c], ebx
jmp 0x4446e9
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], 0
push eax
push 2
lea eax, [ebp - 0x150]
mov ecx, edi
push eax
call fcn.0048f190
mov ebx, dword [ebp - 0x14c]
jmp 0x4446d8
lea eax, [ebp - 0x150]
push ebx
push eax
mov ecx, edi
call fcn.0048ec60
cmp eax, ebx
jne 0x445000
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x144]
mov edi, dword [edi]
cmp dword [edi + 8], 0xffffffff
je 0x445000
test ebx, ebx
je 0x444773
cmp byte [edi + 0x18], 0
je 0x44475c
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44475c
cmp byte [edi + 0x68], 0
je 0x444735
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x6c]
push ebx
push dword [ebp - 0x124]
push eax
call fcn.005264b0
add esp, 0xc
add dword [edi + 0x6c], ebx
jmp 0x444773
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push ebx
push dword [ebp - 0x124]
mov ecx, edi
call fcn.0048f190
mov ebx, dword [ebp - 0x154]
jmp 0x444762
mov eax, dword [ebp - 0x124]
push ebx
push eax
mov ecx, edi
call fcn.0048eb60
cmp eax, ebx
jne 0x445000
mov edi, dword [ebp - 0x140]
mov dl, byte [ebp - 0x113]
mov byte [ebp - 0x112], dl
cmp dword [edi + 0x274], 0
jne 0x44479e
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444793
sub ecx, edi
jne 0x4447a6
mov dl, 2
mov byte [ebp - 0x112], dl
mov eax, dword [ebp - 0x118]
mov edi, dword [eax]
cmp dword [edi + 8], 0xffffffff
je 0x444fee
cmp byte [edi + 0x18], 0
mov ebx, 1
je 0x444809
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x21], 0
je 0x444809
cmp byte [edi + 0x68], 0
je 0x4447e0
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
mov byte [ecx + eax], dl
inc dword [edi + 0x6c]
jmp 0x444820
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0
push eax
push 1
lea eax, [ebp - 0x112]
mov ecx, edi
push eax
call fcn.0048f190
mov ebx, dword [ebp - 0x158]
jmp 0x44480f
lea eax, [ebp - 0x112]
push ebx
push eax
mov ecx, edi
call fcn.0048eb60
cmp eax, ebx
jne 0x444fe8
mov ebx, dword [ebp - 0x118]
push dword [ebp - 0x124]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx]
lea eax, [ebp - 0x12c]
push 2
push eax
mov dword [ebp - 0x12c], 0
call fcn.0048ef70
test eax, eax
je 0x445066
mov eax, dword [ebp - 0x12c]
mov ecx, 0x7e8
cmp ax, cx
ja 0x445066
movzx eax, ax
push eax
call fcn.005247b4
movzx ecx, word [ebp - 0x12c]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0x120], edi
call fcn.00526a30
mov eax, dword [ebp - 0x118]
add esp, 0x10
movzx ebx, word [ebp - 0x12c]
mov edx, dword [eax]
mov dword [ebp - 0x128], edx
cmp dword [edx + 8], 0xffffffff
je 0x444ed5
test ebx, ebx
je 0x444a65
cmp byte [edx + 0x18], 0
je 0x444a27
mov ecx, dword [edx + 0x10]
cmp byte [ecx + 0x21], 0
je 0x444a27
mov eax, dword [edx + 0x14]
lea edi, [ecx + 8]
test eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x16c], edi
sete al
cmp dword [ebp - 0x11c], 0
mov byte [ebp - 0x168], al
jne 0x444901
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x128]
mov byte [ebp - 4], 2
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x134], 0
test ecx, ecx
je 0x444929
mov eax, dword [ecx]
lea edx, [ebp - 0x134]
push edx
push ebx
push 0
call dword [eax + 8]
mov ebx, eax
jmp 0x44494f
mov edi, dword [edx + 0x10]
lea eax, [ebp - 0x134]
push eax
push ebx
push 0
mov eax, dword [edi + 0x2a4]
call eax
mov ebx, eax
add esp, 0xc
mov dword [edi + 0x2c0], ebx
mov edi, dword [ebp - 0x16c]
test ebx, ebx
je 0x444ee9
mov eax, dword [ebp - 0x134]
mov edx, eax
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x13c], edx
test edx, edx
jle 0x4449c2
nop
mov ecx, dword [edi + 8]
cmp ecx, 0xffffffff
je 0x4449a1
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x44499b
mov eax, dword [ebp - 0x134]
add ebx, ecx
sub eax, ecx
mov dword [ebp - 0x134], eax
jmp 0x4449b8
je 0x444e8f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x444ea5
mov eax, dword [ebp - 0x134]
test eax, eax
jg 0x444970
mov edx, dword [ebp - 0x13c]
mov ecx, dword [edi + 0x14]
mov ebx, dword [ebp - 0x120]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x134], edx
test ecx, ecx
je 0x4449ef
mov eax, dword [ecx]
lea edi, [ebp - 0x15c]
push edi
push edx
push ebx
call dword [eax + 8]
jmp 0x444a0c
mov edi, dword [edi + 0x10]
lea eax, [ebp - 0x15c]
push eax
push edx
push ebx
mov eax, dword [edi + 0x2a4]
call eax
add esp, 0xc
mov dword [edi + 0x2c0], eax
cmp dword [ebp - 0x11c], 0
mov byte [ebp - 4], 1
jne 0x444a6b
push dword [ebp - 0x16c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x444a6b
mov eax, dword [edx + 8]
cmp eax, 0xffffffff
je 0x444a4a
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x444a44
add edi, eax
sub ebx, eax
jmp 0x444a5b
je 0x444f09
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x444ed5
mov edx, dword [ebp - 0x128]
test ebx, ebx
jne 0x444a27
mov ebx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x118]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x111]
push eax
push dword [ebp - 0x148]
movzx eax, word [ebp - 0x12c]
mov edx, dword [ecx]
push eax
push ebx
mov eax, dword [edx + 0x34]
call eax
test al, al
jne 0x444ad5
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, eax
lea edi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x444aa6
mov ecx, dword [ebp - 0x164]
sub edx, edi
push edx
push eax
call fcn.0041caa0
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x111], 0
jmp 0x444af0
mov eax, dword [ebp - 0x130]
mov ecx, 1
cmp byte [ebp - 0x111], 0
cmove eax, ecx
mov dword [ebp - 0x130], eax
push ebx
call fcn.00524771
mov eax, dword [edi]
add esp, 4
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x140]
cmp dword [ebx + 0x274], 0
jne 0x444e5e
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444b20
sub ecx, edx
je 0x444e5e
mov ecx, dword [edi]
lea eax, [ebp - 0x12c]
push 2
push eax
call fcn.0048ef70
test eax, eax
je 0x445066
mov eax, dword [ebp - 0x12c]
mov ecx, 0x7e8
cmp ax, cx
ja 0x445066
movzx eax, ax
push eax
call fcn.005247b4
movzx ebx, word [ebp - 0x12c]
mov ecx, eax
mov eax, dword [ebp - 0x118]
mov edi, ecx
mov dword [ebp - 0x120], ecx
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x128], ecx
cmp dword [ecx + 8], 0xffffffff
je 0x444fd7
test ebx, ebx
je 0x444d4e
cmp byte [ecx + 0x18], 0
je 0x444d10
mov edx, dword [ecx + 0x10]
cmp byte [edx + 0x21], 0
je 0x444d10
mov eax, dword [ecx + 0x14]
lea edi, [edx + 8]
test eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x174], edi
sete al
cmp dword [ebp - 0x11c], 0
mov byte [ebp - 0x170], al
jne 0x444be2
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x128]
mov byte [ebp - 4], 3
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x138], 0
test edx, edx
je 0x444c0c
mov eax, dword [edx]
lea ecx, [ebp - 0x138]
push ecx
push ebx
push 0
mov ecx, edx
call dword [eax + 8]
mov ebx, eax
jmp 0x444c32
mov edi, dword [ecx + 0x10]
lea eax, [ebp - 0x138]
push eax
push ebx
push 0
mov eax, dword [edi + 0x2a4]
call eax
mov ebx, eax
add esp, 0xc
mov dword [edi + 0x2c0], ebx
mov edi, dword [ebp - 0x174]
test ebx, ebx
je 0x444f8b
mov eax, dword [ebp - 0x138]
mov edx, eax
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x13c], edx
test edx, edx
jle 0x444ca4
mov ecx, dword [edi + 8]
cmp ecx, 0xffffffff
je 0x444c83
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x444c7d
mov eax, dword [ebp - 0x138]
add ebx, ecx
sub eax, ecx
mov dword [ebp - 0x138], eax
jmp 0x444c9a
je 0x444f31
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x444f47
mov eax, dword [ebp - 0x138]
test eax, eax
jg 0x444c52
mov edx, dword [ebp - 0x13c]
mov ecx, dword [edi + 0x14]
mov ebx, dword [ebp - 0x120]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x138], edx
test ecx, ecx
je 0x444cd1
mov eax, dword [ecx]
lea edi, [ebp - 0x160]
push edi
push edx
push ebx
call dword [eax + 8]
jmp 0x444cee
mov edi, dword [edi + 0x10]
lea eax, [ebp - 0x160]
push eax
push edx
push ebx
mov eax, dword [edi + 0x2a4]
call eax
add esp, 0xc
mov dword [edi + 0x2c0], eax
cmp dword [ebp - 0x11c], 0
mov byte [ebp - 4], 1
jne 0x444d54
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x444d54
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x444d33
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x444d2d
add edi, eax
sub ebx, eax
jmp 0x444d44
je 0x444fc3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x444fd7
mov ecx, dword [ebp - 0x128]
test ebx, ebx
jne 0x444d10
mov ebx, dword [ebp - 0x120]
cmp byte [ebp - 0x113], 0
jne 0x444dd7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444d62
sub ecx, edx
mov edi, ebx
mov edx, esi
sub ecx, 4
jb 0x444d85
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x444d8e
add edx, 4
add edi, 4
sub ecx, 4
jae 0x444d74
cmp ecx, 0xfffffffc
je 0x444e4f
mov al, byte [edx]
cmp al, byte [edi]
jne 0x444dcb
cmp ecx, 0xfffffffd
je 0x444e4f
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x444dcb
cmp ecx, 0xfffffffe
je 0x444e4f
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x444dcb
cmp ecx, 0xffffffff
je 0x444e4f
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x444e4f
mov dword [ebp - 0x130], 0
jmp 0x444e4f
mov edi, dword [ebp - 0x178]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444de2
sub ecx, edx
mov edx, edi
mov edi, ebx
sub ecx, 4
jb 0x444e05
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x444e0a
add edx, 4
add edi, 4
sub ecx, 4
jae 0x444df4
cmp ecx, 0xfffffffc
je 0x444e43
mov al, byte [edx]
cmp al, byte [edi]
jne 0x444dcb
cmp ecx, 0xfffffffd
je 0x444e43
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x444dcb
cmp ecx, 0xfffffffe
je 0x444e43
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x444dcb
cmp ecx, 0xffffffff
je 0x444e43
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x444e43
mov dword [ebp - 0x130], 0
jmp 0x444e4f
mov edi, dword [ebp - 0x130]
mov dword [ebp - 0x130], edi
push ebx
call fcn.00524771
mov edi, dword [ebp - 0x118]
add esp, 4
mov edx, dword [ebp - 0x148]
inc edx
cmp byte [ebp - 0x111], 0
mov dword [ebp - 0x148], edx
jne 0x444630
cmp dword [ebp - 0x130], 0
je 0x445066
mov edi, 1
jmp 0x445068
push str.VSocket::ReadExact_:_zero_bytes_read1_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
jmp 0x444ec0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.VSocket::ReadExact_:_socket_error_1:__d_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0x10
cmp dword [ebp - 0x11c], 0
jne 0x444ed5
push dword [ebp - 0x16c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x120]
push ebx
call fcn.00524771
add esp, 4
jmp 0x445066
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
cmp dword [ebp - 0x11c], 0
jne 0x444ed5
push edi
jmp 0x444ecf
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5c3db0
call fcn.0041dde0
mov ebx, dword [ebp - 0x120]
add esp, 0xc
push ebx
call fcn.00524771
add esp, 4
jmp 0x445066
push str.VSocket::ReadExact_:_zero_bytes_read1_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
jmp 0x444f62
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.VSocket::ReadExact_:_socket_error_1:__d_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0x10
cmp dword [ebp - 0x11c], 0
jne 0x444fd7
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x120]
push ebx
call fcn.00524771
add esp, 4
jmp 0x445066
push str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
cmp dword [ebp - 0x11c], 0
jne 0x444fd7
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x120]
push ebx
call fcn.00524771
add esp, 4
jmp 0x445066
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
mov ebx, dword [ebp - 0x120]
push ebx
call fcn.00524771
add esp, 4
jmp 0x445066
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
push dword [ebp - 0x124]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x445066
mov edi, dword [ebp - 0x140]
push dword [ebp - 0x124]
mov eax, dword [edi + 0x260]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x445066
mov edi, dword [ebp - 0x140]
push dword [ebp - 0x124]
mov eax, dword [edi + 0x260]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x260]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
lea ecx, [edi + 1]
nop dword [eax]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x445050
sub edi, ecx
mov ecx, dword [ebp - 0x164]
push edi
push eax
call fcn.0041caa0
xor edi, edi
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x44507b
push eax
call fcn.00524771
add esp, 4
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x44508e
push eax
call fcn.00524771
add esp, 4
test esi, esi
je 0x4450b2
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445097
sub ecx, edx
push ecx
push 0
push esi
call fcn.00526a30
push esi
call fcn.0052a52b
add esp, 0x10
mov eax, edi
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.00524763
mov esp, ebp
pop ebp
ret 4