Function at 0x44b6e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a71b
mov eax, dword fs:[0]
push eax
mov eax, 0x32d8
call fcn.00567be0
mov eax, dword [0x5d7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x32a8], esi
mov eax, dword [ebp + 8]
push str.wtsapi32
mov dword [ebp - 0x32d4], eax
mov dword [ebp - 0x32d0], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x32cc], eax
test eax, eax
je 0x44b755
push str.WTSEnumerateSessionsA
push eax
call edi
mov dword [ebp - 0x32d0], eax
mov dword [ebp - 4], 0
push str.wtsapi32
mov dword [ebp - 0x32c8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x32c4], eax
test eax, eax
je 0x44b789
push str.WTSFreeMemory
push eax
call edi
mov dword [ebp - 0x32c8], eax
mov byte [ebp - 4], 1
mov dword [esi + 0xe3bc], 0
xor esi, esi
nop dword [eax]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44b7cb
push str.WTSGetActiveConsoleSessionId
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44b7cb
call eax
mov dword [ebp - 0x32a4], eax
jmp 0x44b7d9
mov dword [ebp - 0x32a4], 0
test edi, edi
je 0x44b7e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x32a4]
inc esi
cmp esi, 0xa
jg 0x44b7fc
cmp ecx, 0xffffffff
je 0x44b7a0
mov esi, dword [ebp - 0x32a8]
test ecx, ecx
je 0x44bb3e
cmp ecx, 0xffffffff
je 0x44bb3e
mov eax, dword [esi + 0xe3b8]
xorps xmm0, xmm0
push str.Not_Active
push 0x20
mov dword [eax], ecx
mov eax, dword [esi + 0xe3b8]
movups xmmword [eax + 4], xmm0
movups xmmword [eax + 0x14], xmm0
mov eax, dword [esi + 0xe3b8]
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x34], xmm0
mov eax, dword [esi + 0xe3b8]
add eax, 4
push eax
call fcn.005417f5
mov eax, dword [esi + 0xe3b8]
push str.Console
add eax, 0x24
push 0x20
push eax
call fcn.005417f5
imul ecx, dword [esi + 0xe3bc], 0x64
xorps xmm0, xmm0
mov eax, dword [esi + 0xe3b8]
push str.Current_Console
push 0x20
movups xmmword [ecx + eax + 0x44], xmm0
movups xmmword [ecx + eax + 0x54], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
add ecx, 0x44
add eax, ecx
push eax
call fcn.005417f5
add esp, 0x24
push str.WTSAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x32c0], 0
mov dword [ebp - 0x32bc], 0
test eax, eax
je 0x44b921
push str.WTSQuerySessionInformationA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x32bc]
push ecx
lea ecx, [ebp - 0x32c0]
push ecx
mov ecx, dword [esi + 0xe3b8]
push 5
push dword [ecx]
push 0
call eax
test eax, eax
je 0x44b921
push dword [ebp - 0x32c0]
mov eax, dword [esi + 0xe3b8]
add eax, 0x44
push 0x20
push eax
call fcn.005417f5
mov eax, dword [esi + 0xe3b8]
push str.Active
add eax, 4
push 0x20
push eax
call fcn.005417f5
add esp, 0x18
inc dword [esi + 0xe3bc]
mov eax, dword [ebp - 0x32d0]
mov dword [ebp - 0x32a4], 0
mov dword [ebp - 0x32b8], 0
test eax, eax
je 0x44bd50
cmp dword [ebp - 0x32c8], 0
je 0x44bd50
lea ecx, [ebp - 0x32b8]
push ecx
lea ecx, [ebp - 0x32a4]
push ecx
push 1
push 0
push 0
call eax
test eax, eax
je 0x44bd50
cmp dword [ebp - 0x32b8], 0
mov dword [ebp - 0x32a8], 0
jbe 0x44bd44
xor edi, edi
nop dword [eax]
mov ecx, dword [ebp - 0x32a4]
mov eax, dword [ecx + edi + 8]
test eax, eax
je 0x44b9ac
cmp eax, 3
je 0x44b9ac
cmp eax, 2
jne 0x44bb1d
push str.Console
push dword [ecx + edi + 4]
call fcn.0054cf39
add esp, 8
test eax, eax
je 0x44bb1d
imul edx, dword [esi + 0xe3bc], 0x64
xorps xmm0, xmm0
mov eax, dword [ebp - 0x32a4]
mov ecx, dword [esi + 0xe3b8]
push str.Active
push 0x20
mov eax, dword [edi + eax]
mov dword [edx + ecx], eax
imul ecx, dword [esi + 0xe3bc], 0x64
mov eax, dword [esi + 0xe3b8]
movups xmmword [ecx + eax + 4], xmm0
movups xmmword [ecx + eax + 0x14], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
movups xmmword [ecx + eax + 0x24], xmm0
movups xmmword [ecx + eax + 0x34], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
add ecx, 4
add eax, ecx
push eax
call fcn.005417f5
mov eax, dword [ebp - 0x32a4]
imul ecx, dword [esi + 0xe3bc], 0x64
push dword [edi + eax + 4]
mov eax, dword [esi + 0xe3b8]
add ecx, 0x24
add eax, ecx
push 0x20
push eax
call fcn.005417f5
add esp, 0x18
push str.WTSAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x32ac], eax
mov dword [ebp - 0x32b4], 0
mov dword [ebp - 0x32b0], 0
test eax, eax
je 0x44bb00
push str.WTSQuerySessionInformationA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x32b0]
push ecx
lea ecx, [ebp - 0x32b4]
push ecx
mov ecx, dword [ebp - 0x32a4]
push 5
push dword [edi + ecx]
push 0
call eax
test eax, eax
je 0x44bafa
imul ecx, dword [esi + 0xe3bc], 0x64
xorps xmm0, xmm0
mov eax, dword [esi + 0xe3b8]
movups xmmword [ecx + eax + 0x44], xmm0
movups xmmword [ecx + eax + 0x54], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
push dword [ebp - 0x32b4]
push 0x20
add ecx, 0x44
add eax, ecx
push eax
call fcn.005417f5
mov eax, dword [ebp - 0x32ac]
add esp, 0xc
inc dword [esi + 0xe3bc]
jmp 0x44bb0a
mov eax, dword [ebp - 0x32ac]
inc dword [esi + 0xe3bc]
test eax, eax
je 0x44bb11
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x32b4]
call dword [ebp - 0x32c8]
mov eax, dword [ebp - 0x32a8]
add edi, 0xc
inc eax
mov dword [ebp - 0x32a8], eax
cmp eax, dword [ebp - 0x32b8]
jb 0x44b990
jmp 0x44bd44
mov eax, dword [ebp - 0x32d0]
mov dword [ebp - 0x32a4], 0
mov dword [ebp - 0x32b4], 0
test eax, eax
je 0x44bd50
cmp dword [ebp - 0x32c8], 0
je 0x44bd50
lea ecx, [ebp - 0x32b4]
push ecx
lea ecx, [ebp - 0x32a4]
push ecx
push 1
push 0
push 0
call eax
test eax, eax
je 0x44bd50
mov edx, dword [ebp - 0x32b4]
xor ecx, ecx
mov dword [ebp - 0x32ac], ecx
test edx, edx
je 0x44bd44
xor edi, edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x32a4]
add eax, edi
mov dword [ebp - 0x32b0], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x44bbd3
cmp eax, 3
je 0x44bbd3
cmp eax, 2
jne 0x44bd32
imul edx, dword [esi + 0xe3bc], 0x64
xorps xmm0, xmm0
mov ecx, dword [esi + 0xe3b8]
mov eax, dword [ebp - 0x32b0]
push str.Active
push 0x20
mov eax, dword [eax]
mov dword [edx + ecx], eax
imul ecx, dword [esi + 0xe3bc], 0x64
mov eax, dword [esi + 0xe3b8]
movups xmmword [ecx + eax + 4], xmm0
movups xmmword [ecx + eax + 0x14], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
movups xmmword [ecx + eax + 0x24], xmm0
movups xmmword [ecx + eax + 0x34], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
add ecx, 4
add eax, ecx
push eax
call fcn.005417f5
mov eax, dword [ebp - 0x32a4]
imul ecx, dword [esi + 0xe3bc], 0x64
push dword [edi + eax + 4]
mov eax, dword [esi + 0xe3b8]
add ecx, 0x24
add eax, ecx
push 0x20
push eax
call fcn.005417f5
add esp, 0x18
push str.WTSAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x32a8], eax
mov dword [ebp - 0x32b8], 0
mov dword [ebp - 0x32bc], 0
test eax, eax
je 0x44bd09
push str.WTSQuerySessionInformationA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x32bc]
push ecx
lea ecx, [ebp - 0x32b8]
push ecx
mov ecx, dword [ebp - 0x32a4]
push 5
push dword [edi + ecx]
push 0
call eax
test eax, eax
je 0x44bd03
imul ecx, dword [esi + 0xe3bc], 0x64
xorps xmm0, xmm0
mov eax, dword [esi + 0xe3b8]
movups xmmword [ecx + eax + 0x44], xmm0
movups xmmword [ecx + eax + 0x54], xmm0
mov eax, dword [esi + 0xe3b8]
imul ecx, dword [esi + 0xe3bc], 0x64
push dword [ebp - 0x32b8]
push 0x20
add ecx, 0x44
add eax, ecx
push eax
call fcn.005417f5
mov eax, dword [ebp - 0x32a8]
add esp, 0xc
inc dword [esi + 0xe3bc]
jmp 0x44bd13
mov eax, dword [ebp - 0x32a8]
inc dword [esi + 0xe3bc]
test eax, eax
je 0x44bd1a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x32b8]
call dword [ebp - 0x32c8]
mov edx, dword [ebp - 0x32b4]
mov ecx, dword [ebp - 0x32ac]
inc ecx
add edi, 0xc
mov dword [ebp - 0x32ac], ecx
cmp ecx, edx
jb 0x44bbb0
push dword [ebp - 0x32a4]
call dword [ebp - 0x32c8]
push 0x584fd8
lea eax, [ebp - 0x3290]
push 0x3200
push eax
call fcn.005417f5
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x32a8], ecx
cmp dword [esi + 0xe3bc], ecx
jbe 0x44be22
xor edx, edx
mov dword [ebp - 0x32ac], edx
nop word [eax + eax]
add edx, dword [esi + 0xe3b8]
mov edi, dword [edx]
cmp edi, 0x10000
je 0x44be00
test edi, edi
je 0x44be00
lea eax, [edx + 4]
push eax
lea eax, [edx + 0x44]
push eax
lea eax, [edx + 0x24]
push eax
lea eax, [ecx + 0x61]
push edi
movsx eax, al
push eax
lea eax, [ebp - 0x90]
push str._c__session_i__s_user_s__status_s
push eax
call fcn.0041f9f0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x3290]
push 0x3200
push eax
call fcn.0054184f
push 0x5ba2b4
lea eax, [ebp - 0x3290]
push 0x3200
push eax
call fcn.0054184f
mov ecx, dword [ebp - 0x32a8]
add esp, 0x34
mov edx, dword [ebp - 0x32ac]
inc ecx
add edx, 0x64
mov dword [ebp - 0x32a8], ecx
mov dword [ebp - 0x32ac], edx
cmp ecx, dword [esi + 0xe3bc]
jb 0x44bd90
push 0x5ba2b4
lea eax, [ebp - 0x3290]
push 0x3200
push eax
call fcn.0054184f
push 0x5ba2b4
lea eax, [ebp - 0x3290]
push 0x3200
push eax
call fcn.0054184f
push str.Enter_session_to_clone:__n
lea eax, [ebp - 0x3290]
push 0x3200
push eax
call fcn.0054184f
add esp, 0x24
lea eax, [ebp - 0x32a0]
push 0x280
push 0x280
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xfefefe
push dword [esi + 0xe410]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xff0000
push dword [esi + 0xe410]
mov dword [ebp - 0x32ac], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xff0000
mov dword [ebp - 0x32bc], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push dword [esi + 0xe418]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xe410]
mov dword [ebp - 0x32a8], eax
call edi
mov dword [ebp - 0x32c0], eax
test eax, eax
je 0x44c0b7
push dword [ebp - 0x32a8]
lea eax, [ebp - 0x32a0]
push eax
push dword [esi + 0xe410]
call dword [sym.imp.USER32.dll_FillRect]
push 0x280
push 0x280
push 0xa
push 0
lea eax, [ebp - 0x32a0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
lea eax, [ebp - 0x32a0]
push eax
push 0x2d
push str.UVNC_experimental_server_pre_connect_window__n
push dword [esi + 0xe410]
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, 0x5d9e88
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bf40
sub ecx, edx
jne 0x44bf55
mov ecx, 0x5d9e88
call fcn.00421d10
push 0x280
push 0x280
push 0x32
push 0x1e
lea eax, [ebp - 0x32a0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xb
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0xe410]
call edi
mov dword [ebp - 0x32b0], eax
test eax, eax
je 0x44bfc5
mov ecx, 0x5d9e88
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bf93
push 0x10
lea eax, [ebp - 0x32a0]
sub ecx, edx
push eax
push ecx
push 0x5d9e88
push dword [esi + 0xe410]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x32b0]
push dword [esi + 0xe410]
call edi
push 0x280
push 0x280
push 0xb4
push 0x1e
lea eax, [ebp - 0x32a0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xb
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0xe410]
call edi
mov dword [ebp - 0x32b0], eax
test eax, eax
je 0x44c03b
lea ecx, [ebp - 0x3290]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c007
push 0
lea eax, [ebp - 0x32a0]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x3290]
push eax
push dword [esi + 0xe410]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x32b0]
push dword [esi + 0xe410]
call edi
push dword [ebp - 0x32bc]
push dword [esi + 0xe410]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x32ac]
push dword [esi + 0xe410]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x32c0]
push dword [esi + 0xe410]
call edi
push dword [ebp - 0x32a8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x280
push 0x280
push 0
push 0
lea eax, [ebp - 0x32a0]
push eax
call dword [sym.imp.USER32.dll_SetRect]
movups xmm0, xmmword [ebp - 0x32a0]
push ecx
push dword [ebp - 0x32d4]
lea eax, [ebp - 0x32e4]
mov ecx, esi
push eax
movups xmmword [ebp - 0x32e4], xmm0
call fcn.0044c4a0
mov eax, dword [ebp - 0x32c4]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x44c0ca
push eax
call esi
mov eax, dword [ebp - 0x32cc]
test eax, eax
je 0x44c0d7
push eax
call esi
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.0053d630
mov esp, ebp
pop ebp
ret 8