joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x144], 0x3c
mov dword [ebp - 0x140], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], str._rebootforce
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret

Function at 0x433cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x144], 0x3c
mov dword [ebp - 0x140], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], str._rebootsafemode
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x434300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3a4]
mov dword [ebp - 0x3a4], 0x94
push eax
mov bh, dl
mov bl, cl
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
push 0x104
push 0x5c6908
call fcn.0052c1a3
add esp, 0xc
test bl, bl
je 0x434377
push str.__preconnect
push 0x104
push 0x5c6908
call fcn.0052c1fd
add esp, 0xc
mov ecx, str.__service_rdp_run
test bh, bh
mov eax, str.__service_run
cmovne eax, ecx
push eax
push 0x104
push 0x5c6908
call fcn.0052c1fd
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.004270f0
lea eax, [ebp - 0x310]
push eax
push dword [0x5c67c8]
push str.kickrdp
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5c67c8], eax
lea eax, [ebp - 0x310]
push eax
push dword [0x5c68ec]
push str.clearconsole
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5c68ec], eax
lea eax, [ebp - 0x310]
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x579be0
push str.service_commandline
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434420
sub ecx, edx
je 0x4344b2
lea eax, [ebp - 0x108]
push eax
push 0x104
push 0x5c6908
call fcn.0052c1a3
add esp, 0xc
test bl, bl
je 0x434463
push str.__preconnect
push 0x104
push 0x5c6908
call fcn.0052c1fd
add esp, 0xc
push 0x5abf54
push 0x104
push 0x5c6908
call fcn.0052c1fd
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x5c6908
call fcn.0052c1fd
add esp, 0x18
test bh, bh
je 0x43449b
push str.__service_rdp_run
jmp 0x4344a0
push str.__service_run
push 0x104
push 0x5c6908
call fcn.0052c1fd
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x435bd0
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, ecx
mov eax, 8
sub eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
add eax, dword [ebp + 8]
push eax
mov ecx, dword [ecx + 0x3a0]
call fcn.0048ef70
mov ecx, dword [esp + 0x14]
mov edi, ecx
and edi, 0xff0000
mov eax, ecx
shr eax, 0x10
or edi, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edi, 8
shl eax, 8
or edi, eax
cmp edi, 0xffffffff
jne 0x435c63
cmp byte [esi + 0x10], 0
jne 0x435d17
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x436200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
test eax, eax
je 0x435d17
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp edi, 0xfffffffe
jne 0x435c8c
cmp byte [esi + 0x10], 0
je 0x435d17
push 0
push 1
push 0x111
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp edi, 0xfffffffd
je 0x435d17
cmp edi, 0x4000
jg 0x435d17
test edi, edi
jne 0x435ccd
push 0x579be0
push 0x475
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4000
push edi
push dword [esi + 0x1c]
call fcn.00526a30
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x4000
push 0
push dword [esi + 0x1c]
call fcn.00526a30
mov ecx, dword [esi + 4]
add esp, 0xc
mov ecx, dword [ecx + 0x3a0]
push edi
push dword [esi + 0x1c]
call fcn.0048ef70
push 9
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xff
push dword [esi + 0x20]
mov ecx, esi
push dword [esi + 0x1c]
call fcn.00435df0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4383c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x438407
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.00525fd0
add esp, 8
test eax, eax
je 0x4384da
mov byte [eax], 0
push str.uvnckeyboardhelper.exe
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0052c1fd
lea eax, [ebp - 0x108]
push 0x5ac778
push eax
call fcn.00535593
add esp, 0x14
test eax, eax
je 0x4384da
push eax
call fcn.005356cf
add esp, 4
mov dword [ebp - 0x144], 0x3c
lea eax, [ebp - 0x108]
mov dword [ebp - 0x140], 0
xorps xmm0, xmm0
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
movlpd qword [ebp - 0x120], xmm0
push eax
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], 0x579be0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4384da
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x4384f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5566b4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [0x5cf18c]
test eax, eax
jne 0x438549
push 0x20
call fcn.00524776
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00484690
mov ecx, dword [ebp - 0x14]
mov dword [0x5cf18c], eax
cmp byte [eax + 6], 0
je 0x4386e0
cmp dword [0x5c6a1c], 0
jne 0x4386e0
cmp dword [0x5c6a20], 0
je 0x4386e0
push 2
lea ecx, [ebp - 0xd]
call fcn.00438350
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
shr eax, 8
push 0xa2
mov dword [ebp - 0x18], eax
call esi
shr eax, 8
push 0x5b
mov dword [ebp - 0x1c], eax
call esi
mov esi, dword [0x5c6a2c]
shr eax, 8
test esi, esi
je 0x4386b4
cmp byte [ebp - 0x18], 0
jne 0x4385c0
cmp byte [ebp - 0x1c], 0
jne 0x4385c0
test al, al
je 0x4386b4
cmp byte [esi + 0x1ec], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x20], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1f], bl
mov dword [ebp - 0x1c], eax
je 0x4386c4
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x1e0]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x1c]
call fcn.005264b0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x43860b
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x438615
push eax
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x438625
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
push dword [esi + 8]
call ebx
cmp eax, 0x102
jne 0x438654
inc dword [esi + 0x1e8]
cmp dword [esi + 0x1e8], 3
jle 0x43865e
mov byte [esi + 0x1ec], 0
jmp 0x43865e
mov dword [esi + 0x1e8], 0
cmp byte [esi + 0x1ec], 0
je 0x438684
push 0x3e8
push dword [esi + 0xc]
call ebx
push dword [esi + 0x1e4]
push dword [esi + 0x20]
push 0
call fcn.005264b0
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x43868e
push eax
call edi
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x5c6a1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push 0
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [0x5c6a1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439310
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor eax, eax
push edi
push eax
push eax
push 3
push eax
push 3
push 0xc0000000
push str.c:_video0.dat
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], eax
call esi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.c:_video1.dat
mov ebx, eax
call esi
mov edi, eax
test ebx, ebx
je 0x439370
cmp ebx, 0xffffffff
je 0x439370
test edi, edi
je 0x43936d
cmp edi, 0xffffffff
jne 0x439379
mov dword [ebp - 4], ebx
test edi, edi
je 0x439385
cmp edi, 0xffffffff
je 0x439385
test ebx, ebx
je 0x439382
cmp ebx, 0xffffffff
jne 0x43938e
mov dword [ebp - 4], edi
test ebx, ebx
je 0x439405
cmp ebx, 0xffffffff
je 0x439405
test edi, edi
je 0x439405
cmp edi, 0xffffffff
je 0x439405
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push ebx
call esi
push 0
push edi
mov dword [ebp - 0x18], eax
call esi
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
cmp esi, edx
cmove ecx, ebx
mov dword [ebp - 4], ecx
cmp eax, edx
jne 0x439405
cmp esi, edx
jne 0x439413
mov esi, dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x439401
cmp eax, 1
jne 0x439413
mov edi, ebx
jmp 0x439413
mov eax, dword [ebp - 4]
mov edi, eax
test eax, eax
je 0x439457
cmp edi, 0xffffffff
je 0x439457
push 0
push 0
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x43944a
cmp esi, 0xffffffff
je 0x43944a
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
mov dword [ebp - 0xc], eax
call ebx
push edi
call ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.VideoDriver::videoMemory_GetSharedMemory_:_Error_video.dat__n
push 0
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ce00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov ecx, dword [ebp + 8]
mov edx, 1
mov dword [ebp - 8], ebx
call fcn.0041ccd0
lea eax, [esi - 8]
test eax, eax
jle 0x43ce7e
lea esi, [ebx + 1]
add esi, eax
dec eax
shr eax, 3
inc eax
mov ebx, eax
push edi
lea edx, [esi - 1]
lea ecx, [esi - 1]
call fcn.0041cf20
movzx eax, byte [esi - 9]
lea esi, [esi - 8]
xor byte [esi + 7], al
movzx eax, byte [esi]
xor byte [esi + 8], al
movzx eax, byte [esi + 1]
xor byte [esi + 9], al
movzx eax, byte [esi + 2]
xor byte [esi + 0xa], al
movzx eax, byte [esi + 3]
xor byte [esi + 0xb], al
movzx eax, byte [esi + 4]
xor byte [esi + 0xc], al
movzx eax, byte [esi + 5]
xor byte [esi + 0xd], al
movzx eax, byte [esi + 6]
xor byte [esi + 0xe], al
sub ebx, 1
jne 0x43ce30
mov ebx, dword [ebp - 8]
pop edi
mov edx, ebx
mov ecx, ebx
call fcn.0041cf20
mov ecx, dword [ebp + 8]
pop esi
movzx eax, byte [ecx]
xor byte [ebx], al
movzx eax, byte [ecx + 1]
xor byte [ebx + 1], al
movzx eax, byte [ecx + 2]
xor byte [ebx + 2], al
movzx eax, byte [ecx + 3]
xor byte [ebx + 3], al
movzx eax, byte [ecx + 4]
xor byte [ebx + 4], al
movzx eax, byte [ecx + 5]
xor byte [ebx + 5], al
movzx eax, byte [ecx + 6]
xor byte [ebx + 6], al
movzx eax, byte [ecx + 7]
xor byte [ebx + 7], al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x105
lea eax, [ebp - 0x10c]
mov esi, ecx
push 0
push eax
call fcn.00526a30
push 0x104
push esi
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.005369fa
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x440e26
sub esi, ecx
inc esi
cmp esi, 0x105
jae 0x440eab
mov byte [ebp + esi - 0x10c], al
xorps xmm0, xmm0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], eax
mov eax, 0x614
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x120], 0
movlpd qword [ebp - 0x11a], xmm0
mov dword [ebp - 0x112], 0
mov dword [ebp - 0x128], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
test eax, eax
pop esi
sete al
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
call fcn.00524b54
int3
Function at 0x442b70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x5c3040]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x5d1914]
push esi
push edi
mov edi, ecx
cmp dword [eax + 0xa60], 0
mov ecx, dword [edi + 0x260]
jne 0x442c93
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x10
push eax
lea eax, [esp + 0x14]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x14]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00535058
mov ecx, dword [edi + 0x260]
add esp, 4
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
lea eax, [esp + 8]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x14]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [esp + 0x14]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00535058
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 8], eax
test ecx, ecx
je 0x442d68
test eax, eax
je 0x442d68
push eax
push ecx
call fcn.00534d42
push dword [esp + 0x14]
mov esi, eax
call fcn.0052a52b
add esp, 0xc
push dword [esp + 8]
call fcn.0052a52b
add esp, 4
test esi, esi
jne 0x442d68
push str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_rejected_n
push esi
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
mov ecx, edi
push str.Local_loop_back_connections_are_disabled.
call fcn.00442d80
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x14]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x14]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00535058
mov ecx, dword [edi + 0x260]
add esp, 4
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
lea eax, [esp + 8]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x14]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [esp + 0x14]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00535058
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 8], eax
test ecx, ecx
je 0x442d68
test eax, eax
je 0x442d68
push eax
push ecx
call fcn.00534d42
push dword [esp + 0x14]
mov esi, eax
call fcn.0052a52b
add esp, 0xc
push dword [esp + 8]
call fcn.0052a52b
add esp, 4
test esi, esi
jne 0x442d68
push str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_accepted_n
push esi
push 0x5c3db0
call fcn.0041dde0
mov eax, dword [edi + 0x268]
add esp, 0xc
mov byte [eax + 0x3ac], 1
mov ecx, dword [esp + 0x2c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x445f50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x100
lea eax, [ebp - 0x104]
mov bl, cl
push 0
push eax
call fcn.00526a30
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx eax, bl
test byte [ebp + eax - 0x104], 1
je 0x445fb3
push ecx
push 1
xor dl, dl
mov cl, bl
call fcn.004384f0
add esp, 4
xor dl, dl
mov cl, bl
push 3
call fcn.004384f0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00524763
mov esp, ebp
pop ebp
ret

Function at 0x445fd0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x100
lea eax, [ebp - 0x10c]
mov edi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x446023
push 0x100
push str.Host_name_unavailable
push 0x100
push edi
call fcn.00534cfe
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
jne 0x44605f
push 0x100
push str.IP_address_unavailable
push 0x100
push edi
call fcn.00534cfe
add esp, 0x10
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret
mov byte [edi], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x114], 0
cmp dword [eax], 0
je 0x44615c
xor ecx, ecx
mov dword [ebp - 0x110], ecx
push esi
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0xa]
jge 0x4460e3
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx]
movzx eax, byte [eax + esi]
push eax
lea eax, [ebp - 0xc]
push 0x5add50
push eax
call fcn.004515e0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4460b1
sub eax, edx
mov ecx, 0xff
sub ecx, eax
lea eax, [ebp - 0xc]
push ecx
push eax
push 0x100
push edi
call fcn.0052a1b3
movsx eax, word [ebx + 0xa]
inc esi
mov ecx, dword [ebp - 0x110]
add esp, 0x10
cmp esi, eax
jl 0x446090
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4460e8
sub ecx, edx
mov byte [ecx + edi - 1], al
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x110]
cmp dword [eax + ecx + 4], 0
je 0x446134
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446110
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push eax
push 0x5aba94
push 0x100
push edi
call fcn.0052a1b3
add esp, 0x10
mov edx, dword [ebp - 0x114]
mov eax, dword [ebx + 0xc]
inc edx
mov dword [ebp - 0x114], edx
lea ecx, [edx*4]
cmp dword [ecx + eax], 0
mov dword [ebp - 0x110], ecx
jne 0x446081
pop esi
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop edi
call fcn.00524763
mov esp, ebp
pop ebp
ret
Function at 0x44ce10
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5572dd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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 esi, dword [edi + 0x450]
mov ecx, dword [edi + 0x374]
mov edx, dword [edi + 0x37c]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x89c]
add eax, ecx
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x8a4]
add eax, ecx
mov ecx, dword [edi + 0x370]
add eax, edx
mov edx, dword [edi + 0x378]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x898]
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x68]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [eax + 0x8a0]
add eax, ecx
add eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x44cf98
cmp dword [edi + 0x4b0], 0
jne 0x44cef7
cmp dword [edi + 0x58c], 0
jne 0x44cef7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [edi + 0x4b0], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x594], 0
je 0x44cf98
cmp dword [edi + 0x590], 0
jne 0x44cf98
lea eax, [ebp - 0x28]
push eax
call esi
mov eax, dword [edi + 0x378]
add eax, dword [edi + 0x370]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edi + 0x374]
sub eax, dword [edi + 0x37c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edi + 0x598]
jne 0x44cf4d
cmp eax, dword [edi + 0x59c]
je 0x44cf98
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x34], 0x5e
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x598], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x59c], edx
mov dword [edi + 0x590], 1
call fcn.0044cc10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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