Function at 0x44ac60
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x4ea5e0]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push edi
mov eax, dword [0x4ea5e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
lea eax, [esi + 0x10e0]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x45
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x1c8], ebx
mov eax, dword [esi + 0xee0]
mov dword [esi + 0xeec], eax
mov dword [esi + 0xee8], 0x1f8
mov dword [esi + 0xef0], 0x66
cmp dword [ebp + 0xc], ebx
je 0x44acee
mov eax, dword [esi + 0x1208]
jmp 0x44acf4
mov eax, dword [esi + 0x1204]
mov ecx, dword [esi]
mov dword [esi + 0xefc], eax
mov dword [esi + 0xef4], 0xb
mov dword [esi + 0xef8], 0x8001
mov edx, dword [ecx]
mov eax, dword [edx + 0x170]
call eax
test eax, eax
je 0x44ad31
mov eax, 1
mov dword [esi + 0xf80], eax
mov dword [esi + 0xf84], eax
jmp 0x44ad41
mov dword [esi + 0xf80], ebx
mov dword [esi + 0xf84], 1
mov edx, dword [esi + 0x10f8]
cmp edx, ebx
je 0x44ae09
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44ad54
sub eax, edi
je 0x44ae09
or dword [esi + 0xef4], 0x10
push 0xff
push edx
lea ecx, [esi + 0xf88]
push ecx
call fcn.004a9c60
mov edx, dword [esi + 0x10fc]
add esp, 0xc
mov byte [esi + 0x1087], bl
cmp edx, ebx
je 0x44adb9
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44ad94
sub eax, edi
je 0x44adb9
push 0x3f
push edx
lea edx, [esi + 0x108c]
push edx
call fcn.004a9c60
add esp, 0xc
mov byte [esi + 0x10cb], bl
jmp 0x44adf5
mov eax, dword [str.Remote_Connection]
mov dword [esi + 0x108c], eax
mov ecx, dword [0x4dcc4c]
mov dword [esi + 0x1090], ecx
mov edx, dword [0x4dcc50]
mov dword [esi + 0x1094], edx
mov eax, dword [0x4dcc54]
mov dword [esi + 0x1098], eax
mov cx, word [0x4dcc58]
mov word [esi + 0x109c], cx
mov dword [esi + 0x1088], 0x2710
mov dword [esi + 0x10cc], 1
mov eax, dword [esi + 0x10f8]
cmp eax, ebx
je 0x44ae22
push eax
call fcn.004aa14e
add esp, 4
mov dword [esi + 0x10f8], ebx
mov eax, dword [esi + 0x10fc]
cmp eax, ebx
je 0x44ae3b
push eax
call fcn.004aa14e
add esp, 4
mov dword [esi + 0x10fc], ebx
mov edx, dword [0x513794]
push 0x80
lea edi, [esi + 0xf00]
push edi
push 0x66
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, 4
test eax, eax
je 0x44ae65
or dword [esi + 0xef4], ecx
test byte [esi + 0xef4], cl
je 0x44aee6
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44ae72
sub eax, edx
mov ecx, 0x7f
sub ecx, eax
push ecx
push 0x4d8a7c
push edi
call fcn.004a8a40
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x160]
add esp, 0xc
call eax
test eax, eax
mov eax, edi
lea edx, [eax + 1]
je 0x44aec7
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44aea6
sub eax, edx
mov ecx, 0x80
sub ecx, eax
push ecx
lea edx, [esi + eax + 0xf00]
mov ecx, esi
call fcn.0044a9c0
jmp 0x44aee6
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44aec7
sub eax, edx
mov edx, 0x7f
sub edx, eax
push edx
push str.Not_listening
push edi
call fcn.004a8a40
add esp, 0xc
push pe_nt_image_headers32
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x44af48
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44af02
sub eax, edx
mov ecx, 0x7f
sub ecx, eax
push ecx
push 0x4d8a7c
push edi
call fcn.004a8a40
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44af26
sub eax, edx
mov edx, 0x7f
sub edx, eax
push edx
lea eax, [esp + 0xb8]
push eax
push edi
call fcn.004a8a40
add esp, 0xc
mov eax, edi
lea edx, [eax + 1]
cmp dword [0x544798], ebx
je 0x44af70
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44af55
sub eax, edx
mov ecx, 0x7f
sub ecx, eax
push ecx
push str.___service__
jmp 0x44af86
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44af70
sub eax, edx
mov edx, 0x7f
sub edx, eax
push edx
push str.___application__
push edi
call fcn.004a8a40
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44af94
sub eax, edx
mov ecx, 0x7f
sub ecx, eax
push ecx
push 0x544754
push edi
call fcn.004a8a40
add esp, 0xc
cmp dword [ebp + 8], 1
jne 0x44afcb
cmp byte [esi + 0x1224], bl
jne 0x44aff5
mov edx, dword [esp + 0x10]
push edx
jmp 0x44b2f5
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x44afe4
cmp byte [esi + 0x1224], bl
je 0x44aff5
mov eax, dword [esp + 0x10]
push eax
jmp 0x44b2f5
cmp eax, 2
jne 0x44aff5
mov byte [esi + 0x1224], bl
mov dword [esi + 0x1228], ebx
mov edi, dword [ebp + 8]
lea eax, [esi + 0xee8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test eax, eax
je 0x44b293
mov edx, dword [esi + 0xee4]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor ecx, ecx
cmp dword [esi + 0x118], ebx
sete cl
push ecx
push 0x9c40
push edx
call edi
mov ecx, dword [esi + 0xee4]
xor eax, eax
cmp dword [esi + 0x118], ebx
sete al
push eax
push 0x9c41
push ecx
call edi
mov eax, dword [esi + 0xee4]
xor edx, edx
cmp dword [esi + 0x11c], ebx
sete dl
push edx
push 0x9c42
push eax
call edi
mov edx, dword [esi + 0xee4]
xor ecx, ecx
cmp dword [esi + 0x120], ebx
sete cl
push ecx
push 0x9c43
push edx
call edi
mov ecx, dword [esi + 0xee4]
xor eax, eax
cmp dword [esi + 0x120], ebx
sete al
push eax
push 0x9c45
push ecx
call edi
cmp dword [0x544798], ebx
je 0x44b0ad
call fcn.0045e910
test al, al
jne 0x44b0de
mov dword [0x544798], ebx
mov eax, 1
mov edx, dword [esi + 0xee4]
push eax
push 0x9c4f
push edx
call edi
call fcn.0045e910
test al, al
je 0x44b0f2
cmp dword [0x544798], ebx
jne 0x44b0f2
cmp dword [esi + 0x11c], ebx
je 0x44b0f2
xor eax, eax
jmp 0x44b0f7
cmp dword [0x544798], ebx
je 0x44b0ad
cmp dword [esi + 0x11c], ebx
je 0x44b0ad
xor eax, eax
jmp 0x44b0b2
mov eax, 1
push eax
mov eax, dword [esi + 0xee4]
push 0x9c52
push eax
call edi
call fcn.0045e910
test al, al
jne 0x44b123
cmp dword [0x544798], ebx
jne 0x44b123
cmp dword [esi + 0x11c], ebx
je 0x44b123
xor eax, eax
jmp 0x44b128
mov eax, 1
mov ecx, dword [esi + 0xee4]
push eax
push 0x9c50
push ecx
call edi
call fcn.0045e910
test al, al
je 0x44b14c
cmp dword [esi + 0x11c], ebx
je 0x44b14c
xor eax, eax
jmp 0x44b151
mov eax, 1
mov edx, dword [esi + 0xee4]
push eax
push 0x9c51
push edx
call edi
cmp dword [0x544798], ebx
je 0x44b174
cmp dword [esi + 0x11c], ebx
je 0x44b174
xor eax, eax
jmp 0x44b179
mov eax, 1
push eax
mov eax, dword [esi + 0xee4]
push 0x9c59
push eax
call edi
cmp dword [0x544798], ebx
je 0x44b19c
cmp dword [esi + 0x11c], ebx
je 0x44b19c
xor eax, eax
jmp 0x44b1a1
mov eax, 1
mov ecx, dword [esi + 0xee4]
push eax
push 0x9c5d
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0xee4]
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
push ebx
push 0x9c5b
push eax
call edi
mov ecx, dword [esi + 0xee4]
push ebx
push 0x9c57
push ecx
call edi
cmp dword [0x5447bc], ebx
je 0x44b27a
mov edx, dword [esi + 0xee4]
push ebx
push 0x9c40
push edx
call edi
mov eax, dword [esi + 0xee4]
push ebx
push 0x9c4f
push eax
call edi
mov ecx, dword [esi + 0xee4]
push ebx
push 0x9c52
push ecx
call edi
mov edx, dword [esi + 0xee4]
push ebx
push 0x9c50
push edx
call edi
mov eax, dword [esi + 0xee4]
push ebx
push 0x9c51
push eax
call edi
mov ecx, dword [esi + 0xee4]
push ebx
push 0x9c59
push ecx
call edi
mov edx, dword [esi + 0xee4]
push ebx
push 0x9c5d
push edx
call edi
mov eax, dword [esi + 0xee4]
push ebx
push 0x9c57
push eax
call edi
mov ecx, dword [esi + 0xee4]
push ebx
push 0x9c5b
push ecx
call edi
cmp dword [ebp + 8], ebx
jne 0x44b2f0
mov byte [esi + 0x1224], 1
mov dword [esi + 0x1228], ebx
push str.vncmenu.cpp_:_IsIconSet__n
jmp 0x44b2de
cmp dword [0x544798], ebx
jne 0x44b2c2
cmp edi, ebx
jne 0x44b2f0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2b0]
call eax
test eax, eax
jne 0x44b2f0
push 1
lea ecx, [esi + 4]
call fcn.00450230
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x44b2f0
cmp edi, ebx
jne 0x44b2f0
mov edi, dword [esi]
inc dword [esi + 0x1228]
mov byte [esi + 0x1224], bl
call fcn.0045d160
push str.vncmenu.cpp_:_Failed_IsIconSet__n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret 8