joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc7912d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
mov esi, dword [edi]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x170], eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [edi + 0x174]
jne 0xc791f1
cmp eax, dword [edi + 0x178]
jne 0xc791f1
push dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
mov ecx, 0x8000
and ax, cx
push 0
mov word [ebp + 0xa], ax
pop eax
push dword [ebx + 0x1c]
setne al
mov dword [ebp - 0xc], eax
call esi
mov esi, dword [ebp - 0xc]
mov cx, ax
mov eax, 0x8000
and cx, ax
push 0
pop eax
setne al
mov word [ebp - 2], cx
mov dword [ebp - 8], eax
cmp esi, dword [edi + 0x17c]
jne 0xcb7104
cmp dword [ebp + 0xc], 0
je 0xc791d2
mov dword [edi + 0x17c], esi
cmp eax, dword [edi + 0x180]
jne 0xcb7177
cmp dword [ebp + 0xc], 0
je 0xc791ea
mov dword [edi + 0x180], eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0xc7917a
jmp 0xcb70f3
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.00cf2c93
jmp 0xc7917a
cmp dword [ebp + 0xc], 1
jl 0xc791c6
cmp byte [edi + 0x1a8], 0
je 0xc791c6
cmp word [ebp + 0xa], 0
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
je 0xcb712f
push 0xfffffffffffffff9
jmp 0xcb715f
push 0xfffffffffffffff8
call fcn.00cf2c93
cmp byte [edi + 0x184], 0
je 0xcb7164
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
test eax, 0x1000000
je 0xcb715d
push 0xfffffffffffffffa
jmp 0xcb715f
push 0xfffffffffffffff4
call fcn.00cf2c93
mov eax, dword [ebp - 8]
mov cx, word [ebp - 2]
mov byte [edi + 0x184], 0
jmp 0xc791c6
cmp dword [ebp + 0xc], 1
jl 0xc791de
push dword [ebp - 0x10]
test cx, cx
mov ecx, ebx
push dword [ebp - 0x14]
push edi
je 0xcb7193
push 0xfffffffffffffff7
jmp 0xcb7195
push 0xfffffffffffffff6
call fcn.00cf2c93
mov eax, dword [ebp - 8]
jmp 0xc791de
Function at 0xc7e187
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
push esi
xor esi, esi
inc ebx
push edi
mov dword [ebp - 0xc], esi
cmp dword [edx + 4], eax
je 0xc7e29e
mov ecx, dword [ebp + 0x1c]
xor edx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 0x23
mov byte [ecx], dl
mov ecx, dword [ebp + 0x18]
mov dword [edi], edx
mov edi, dword [ebp + 8]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x10]
mov byte [ecx], dl
push eax
mov ecx, edi
call fcn.00c63a3f
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0xcbe773
cmp ax, cx
je 0xcbe773
cmp ax, dx
je 0xcbe773
cmp ax, word [ebp - 8]
je 0xcbe773
lea eax, [esi + 1]
mov ecx, edi
push esi
mov dword [ebp + 0x1c], eax
call fcn.00c63a3f
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0xcbe820
push 0x40
lea ecx, [ebp - 0x1c]
call fcn.00c66270
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x7d
pop eax
mov ecx, eax
call fcn.00c7e2a2
pop ecx
pop ecx
test al, al
je 0xc7e29a
push dword [ebp - 0x1c]
push dword [esi*4 + 0xd111e0]
call fcn.00c84a28
pop ecx
pop ecx
test eax, eax
je 0xc7e267
inc esi
cmp esi, 0x63
jl 0xc7e24c
cmp esi, 0x63
je 0xcbe7af
cmp byte [esi + 0xd11178], 0
jne 0xc7e29a
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x1c]
call fcn.00c6988f
mov eax, dword [edi]
movzx ecx, al
mov al, bl
mov dword [edi], ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
xor bl, bl
jmp 0xc7e282
xor al, al
jmp 0xc7e293
push 0x2b
pop esi
cmp ax, si
jne 0xcbe780
mov eax, dword [ebp + 0x10]
jmp 0xcbe79f
cmp ax, cx
jne 0xcbe78a
mov eax, dword [ebp + 0x14]
jmp 0xcbe79f
cmp ax, dx
jne 0xcbe794
mov eax, dword [ebp + 0x18]
jmp 0xcbe79f
push 0x23
pop ecx
cmp ax, cx
jne 0xcbe7a1
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov esi, eax
jmp 0xc7e1ce
cmp dword [ebp + 0x1c], 2
jne 0xcbe7ca
mov ecx, dword [ebp + 8]
push 2
call fcn.00c63a3f
push 0x7d
pop ecx
cmp word [eax], cx
jne 0xcbe7ca
push ecx
jmp 0xcbe7d8
push 0
lea ecx, [ebp - 0x1c]
call fcn.00c64c6d
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0xcbe7f3
lea ecx, [ebp - 0x1c]
call fcn.00c6988f
jmp 0xc7e29e
test eax, 0x200
je 0xcbe7ff
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0xcbe80b
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0xc7e282
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0xc7e282
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0xc7e29e
test eax, 0x200
je 0xcbe83f
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0xcbe84b
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0xc7e28c
mov ecx, dword [ebp + 0x10]
mov byte [ecx], bl
jmp 0xc7e28c
Function at 0xc7f4d4
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0xd31363]
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], al
push 0x8000
push edi
mov esi, edx
call fcn.00c8d955
pop ecx
push eax
call fcn.00c8d776
cmp dword [esi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0xcbf274
lea ecx, [ebp - 0x18]
call fcn.00c69ad3
mov ecx, esi
call fcn.00c67510
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x18]
call fcn.00c7f6c9
push dword [ebp - 0x18]
push 0xcfd158
push edi
call fcn.00c7f574
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0xcbf294
lea ecx, [ebp - 0x18]
call fcn.00c6988f
mov esi, dword [ebp - 8]
push edi
call fcn.00c8dd99
push edi
call fcn.00c8d955
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0xc7f564
mov ebx, 0x4000
push ebx
push eax
call fcn.00c8d776
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push edi
mov ecx, esi
call fcn.00cd1f06
push eax
push 1
call fcn.00cd1e96
push eax
call fcn.00c8dbb3
add esp, 0x10
mov esi, eax
jmp 0xc7f54c
mov ecx, esi
call fcn.00c67510
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0xc7f541
Function at 0xc7f8d8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0xcbf379
mov ecx, dword [0xd3191c]
push esi
push edi
cmp ecx, 0xffffffff
je 0xc7f98a
mov eax, dword [0xd31910]
xor edx, edx
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0xc7f91b
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0xcbf393
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0xcbf3ed
je 0xc7f94b
test edi, edi
je 0xcbf3dc
cmp edi, 1
je 0xc7f94b
cmp edi, 2
je 0xc7f981
cmp edi, 3
je 0xc7f978
jle 0xc7f96f
cmp edi, 5
jg 0xcbf3bb
cmp byte [esi + 0x38], 0
jne 0xc7f98a
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0xc7f96b
cmp edi, 4
je 0xc7f96b
mov ecx, dword [ebp + 0xc]
call fcn.00c7f98e
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 8
mov byte [esi + 0x38], 1
jmp 0xcbf448
mov byte [esi + 0x38], 1
jmp 0xcbf3c4
xor eax, eax
jmp 0xc7f972
push dword [ebp + 0xc]
mov ecx, 0xd318b0
call fcn.00c79ba1
mov ecx, eax
mov dword [0xd3191c], ecx
jmp 0xc7f8eb
cmp byte [esi + 0x198], dl
je 0xc7f91b
push dword [esi + 0x194]
push esi
call fcn.00cf81db
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0xc7f91b
cmp edi, 6
jne 0xc7f96f
cmp byte [esi + 0x38], 0
je 0xc7f98a
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0xc7f96f
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0xc7f96f
mov eax, edi
sub eax, 9
je 0xcbf448
sub eax, 0x37
je 0xcbf43a
sub eax, 1
je 0xcbf437
sub eax, 1
je 0xcbf427
sub eax, 1
jne 0xc7f96f
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0xc7f96f
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0xc7f96f
push edx
jmp 0xcbf43c
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0xc7f96f
cmp byte [esi + 0x38], 0
je 0xc7f98a
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0xc]
call fcn.00c7f98e
jmp 0xc7f96f
Function at 0xc7f98e
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp ebx, esi
jne 0xcbf467
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
push edi
xor edi, edi
test esi, esi
jne 0xcbf47c
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0xcbf490
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0xcbf56b
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp - 4], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
push 1
push edi
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 8]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0xcbf547
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 0xc]
test eax, eax
je 0xcbf54c
push 4
jmp 0xcbf549
push 3
pop ebx
jmp 0xcbf54f
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call esi
push 0
push edi
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 8]
push edi
call esi
jmp 0xcbf56e
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0xc7f9ab

Function at 0xc9927b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00c990fa

Function at 0xc9d1d0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00c9ce90
Function at 0xcc06de
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov edi, edx
mov dword [ebp - 0xc], ebx
call fcn.00c6a961
lea ecx, [ebp - 0x20]
call fcn.00c6a961
lea ecx, [ebp - 0x40]
call fcn.00c6a961
push 0xd25950
lea ecx, [ebp - 0x30]
call fcn.00c66b57
push esi
lea ecx, [ebp - 0x30]
call fcn.00c633c6
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.00c633c6
lea ecx, [ebp - 0x20]
call fcn.00c6a6c3
test edi, edi
je 0xcc0761
push 0x5c
pop eax
cmp word [edi], ax
je 0xcc0761
cmp word [edi + 2], ax
je 0xcc0761
push 0xd25984
lea ecx, [ebp - 0x20]
call fcn.00c66b57
push edi
lea ecx, [ebp - 0x20]
call fcn.00c633c6
cmp dword [ebp + 0xc], ebx
je 0xcc07b2
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00c82340
add esp, 0xc
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.00c6a8c7
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.00c633c6
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0xcc083e
lea eax, [ebp - 0x10]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0xcc083e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0xcc0839
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x1fe
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0xcc0834
mov eax, dword [ebp - 8]
xor ecx, ecx
push dword [ebp + 8]
shr eax, 1
mov dword [ebp - 8], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.00c6988f
lea ecx, [ebp - 0x20]
call fcn.00c6988f
lea ecx, [ebp - 0x30]
call fcn.00c6988f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0xcc1014
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push esi
push 0
push dword [eax]
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
test edi, edi
jne 0xcc106c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0xcc106a
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0xcc106a
push esi
push dword [esi]
push eax
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0xcc14ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
test byte [ebp + 0x14], 1
mov eax, ebx
push edi
mov dword [ebp - 4], eax
mov edi, ebx
je 0xcc14e6
inc edi
jmp 0xcc14ef
test byte [ebp + 0x14], 2
je 0xcc14ef
push 2
pop edi
test byte [ebp + 0x14], 4
je 0xcc152e
push esi
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
je 0xcc155a
mov eax, dword [ebp - 4]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
or eax, 0x400
push eax
push dword [ebp + 0x1c]
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
cmp dword [ebp - 4], 0
je 0xcc1569
push dword [ebp - 4]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
mov al, bl
pop ebx
leave
ret 0x28

Function at 0xcc1663
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov word [ebp - 0xc], 0x500
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
test eax, eax
je 0xcc16ba
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
cmp eax, 1
pop ebx
sete al
leave
ret

Function at 0xcc1803
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
push 2
push 0
push 0
push ebx
call edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push 0
push 0
lea eax, [ebx + 8]
push eax
call edi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 4], eax
xor eax, eax
push eax
push eax
push ebx
push 0xcc1874
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0xcc1b2c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
mov esi, ecx
lea eax, [ebp - 8]
push eax
push 0xb0
mov dword [ebp - 0x10], esi
push dword [esi]
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0xcc1bcf
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0xcc1bcf
cmp edi, dword [ebp - 8]
jb 0xcc1bcf
cmp edi, dword [ebp - 4]
jb 0xcc1bcf
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c7fe0b
pop ecx
push eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0xcc1bc4
mov eax, dword [ebp - 4]
cmp eax, edi
je 0xcc1bb3
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea eax, [esi + eax*2]
push eax
call fcn.00c66b57
mov bl, 1
push esi
call fcn.00c7fe14
pop ecx
mov al, bl
jmp 0xcc1bd1
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0xcc25a2
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov dl, 1
push esi
push edi
mov ecx, dword [ebx]
call fcn.00cc3a3d
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call edi
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [ebp + 8], 0
push eax
jge 0xcc25f8
push 0x25
push 0x100
push dword [ebx]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0xcc261c
push 0x27
push 0x100
push dword [ebx]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push dword [ebx]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx]
xor dl, dl
call fcn.00cc3a3d
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0xcc2da7
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dl, 1
jne 0xcc2dd3
lea eax, [ebp - 4]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0xcc2dea
push 1
jmp 0xcc2dd4
push esi
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
leave
ret
Function at 0xcc3bc4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.00c6a6c3
mov eax, dword [esi]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.00cc3d03
test al, al
je 0xcc3bee
xor al, al
jmp 0xcc3c7e
mov ecx, esi
call fcn.00cc3c85
mov ebx, eax
test ebx, ebx
jne 0xcc3c00
mov ebx, 0x7fff
xor ecx, ecx
lea esi, [ebx + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c7fe0b
pop ecx
mov edi, eax
push edi
push esi
push 0xd
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0xcc3c75
push edi
call fcn.00c88d80
mov esi, eax
pop ecx
cmp esi, ebx
jne 0xcc3c6c
xor ecx, ecx
test esi, esi
je 0xcc3c4e
mov al, byte [ecx + edi]
sub al, 0x20
cmp al, 0x5e
ja 0xcc3c6c
inc ecx
cmp ecx, esi
jb 0xcc3c40
push edi
lea ecx, [ebp - 0x18]
call fcn.00cc39e8
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00c66d9e
lea ecx, [ebp - 0x18]
call fcn.00c6988f
jmp 0xcc3c75
mov ecx, dword [ebp + 8]
push edi
call fcn.00c66b57
push edi
call fcn.00c7fe14
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0xcc967e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c7fe0b
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00c80e20
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0xcc96d9
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0xcc96d0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xcc9c49
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [ecx + 0x20]
neg eax
sbb eax, eax
and eax, 2
cmp dword [ecx], eax
jl 0xcc9c59
mov eax, dword [ecx]
mov ecx, eax
jmp fcn.00ccb0a8

Function at 0xcc9c60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [ecx + 0x20]
neg eax
sbb eax, eax
and eax, 2
cmp dword [ecx + 4], eax
jl 0xcc9c72
mov eax, dword [ecx + 4]
mov ecx, eax
jmp fcn.00ccb0a8
Function at 0xcc9c79
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esi], eax
mov word [esi + 4], ax
cmp dword [edi + 0x20], eax
je 0xcc9d1c
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0xcc9e01
mov eax, 0x80
cmp byte [ebp - 0x60], al
je 0xcc9cc1
cmp byte [ebp - 0xf0], al
jne 0xcc9cca
cmp byte [edi + 0x1a], 0
jne 0xcc9cca
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0xcc9cd9
cmp byte [edi + 0x1b], 0
jne 0xcc9cd9
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0xcc9ceb
cmp byte [edi + 0x1c], 0
jne 0xcc9ceb
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0xcc9cfd
cmp byte [edi + 0x1d], 0
jne 0xcc9cfd
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0xcc9e01
cmp byte [edi + 0x1e], 0
jne 0xcc9e01
mov byte [esi + 4], 1
jmp 0xcc9e01
push ebx
push 0xa0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0xcc9d49
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
je 0xcc9d52
cmp byte [edi + 0x1a], 0
jne 0xcc9d52
mov byte [esi], 1
push 0xa1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0xcc9d78
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0xcc9d82
cmp byte [edi + 0x1b], 0
jne 0xcc9d82
mov byte [esi + 1], 1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0xcc9da2
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0xcc9dac
cmp byte [edi + 0x1c], 0
jne 0xcc9dac
mov byte [esi + 2], 1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0xcc9dcc
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0xcc9dd6
cmp byte [edi + 0x1d], 0
jne 0xcc9dd6
mov byte [esi + 3], 1
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0xcc9df6
push 0x5b
call ebx
mov ecx, 0x8000
test cx, ax
je 0xcc9e00
cmp byte [edi + 0x1e], 0
jne 0xcc9e00
mov byte [esi + 4], 1
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4