Function at 0x4428f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556dc7
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13c], edi
cmp dword [edi + 0x26c], 0
lea eax, [edi + 0x260]
mov dword [ebp - 0x134], eax
je 0x44293e
xor esi, esi
jmp 0x4429a0
mov eax, dword [eax]
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x12c], 0x10
push ecx
push dword [eax + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x124], xmm0
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [ebp - 0x120]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [edi + 0x264]
test eax, eax
mov edx, str._unavailable_
cmovne edx, eax
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
mov esi, eax
lea eax, [edi + 0x260]
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x114]
call fcn.00426a80
test eax, eax
je 0x442b53
mov ecx, 0x579be0
lea eax, [ebp - 0x114]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4429e0
test dl, dl
je 0x4429dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4429e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4429c0
xor eax, eax
jmp 0x4429e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4429f7
mov eax, dword [0x5d1914]
cmp dword [eax + 0x748], 0
je 0x442a45
cmp esi, 1
jne 0x442a45
call fcn.00426b90
test eax, eax
je 0x442a52
mov eax, dword [0x5d1914]
cmp dword [eax + 0x748], 0
jne 0x442a52
mov ecx, dword [edi + 0x264]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
test eax, eax
je 0x442b4c
mov ecx, dword [edi + 0x264]
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 2
xor eax, eax
cmp esi, 2
setne al
jmp 0x442b55
push 0x28
call fcn.00524776
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], 0
mov edx, dword [0x5d1914]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x750]
cmp dword [edx + 0xa44], 0
mov dword [ebp - 0x138], eax
mov eax, dword [edi + 0x268]
setne byte [ebp - 0x125]
add eax, 0x25c
mov dword [ebp - 0x130], eax
call fcn.0048e8e0
mov ecx, dword [ebp - 0x13c]
mov edi, eax
mov ecx, dword [ecx + 0x264]
mov edx, dword [ecx]
mov edx, dword [edx + 0xf8]
call edx
mov ecx, dword [ebp - 0x12c]
push edi
lea esi, [eax - 1]
mov eax, dword [ebp - 0x138]
neg esi
mov dword [ecx], vtable.vncAcceptDialog.0
mov dword [ecx + 8], eax
sbb esi, esi
inc esi
call fcn.00535058
mov edi, dword [ebp - 0x12c]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x130]
mov dword [edi + 0x20], eax
mov al, byte [ebp - 0x125]
mov byte [edi + 0x24], al
lea eax, [ebp - 0x138]
push eax
push 0
push edi
push 0x43c8d0
push 0
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], esi
mov dword [edi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x130]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x130], 1
jne 0x442b53
mov eax, 1
jmp 0x442b55
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret