joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4735bc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x473777
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407f58
mov eax, dword [ebp - 4]
call fcn.00472f0c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x47360e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00409038
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004741f8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4736ed
xor eax, eax
push ebp
push 0x4736e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004731ac
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004737ac
test al, al
je 0x4736c4
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407cb8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4736c4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00408bc4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047310c
test al, al
je 0x4736be
mov eax, dword [ebp - 8]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00408c1c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004735bc
dec ebx
cmp ebx, 0xffffffff
jne 0x47366d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4736ed
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004731ac
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x670090], 0
je 0x47372d
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00473198
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047310c
mov ebx, eax
jmp 0x473754
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00473198
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047310c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47377e
lea eax, [ebp - 0x3c]
call fcn.00407b30
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407b90
ret
Function at 0x4740d4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00472f24
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00408bc4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0047310c
test al, al
jne 0x47413c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x66a1f8]
mov dl, 1
mov eax, dword [0x471cf8]
call fcn.004287e0
call fcn.00407228
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x474148
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00408bc4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0047310c
test al, al
jne 0x4741a9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x66a7e8]
mov dl, 1
mov eax, dword [0x471cf8]
call fcn.004287e0
call fcn.00407228
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00472f54
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4747a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4748d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004731ac
xor eax, eax
push ebp
push 0x4748ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004737ac
test al, al
je 0x47488f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00474688
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407cb8
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x47488f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047310c
test al, al
je 0x47488b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00408c1c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00474688
pop ecx
inc edi
dec ebx
jne 0x474833
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4748b2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004731ac
ret
Function at 0x4748e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x474b2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004731ac
xor eax, eax
push ebp
push 0x474b04
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004737ac
test al, al
je 0x474ae8
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407cb8
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x474ae8
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047310c
test al, al
je 0x474adc
mov eax, dword [ebp - 4]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00408c1c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004741f8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x474adc
xor eax, eax
push ebp
push 0x474ad5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004731ac
xor eax, eax
push ebp
push 0x474ab7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00408c1c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004731b0
mov eax, dword [ebp - 4]
call fcn.00408bc4
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00408c1c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004741f8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x474a94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004747a8
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004748e0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474a9b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x47496b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474b0b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004731ac
ret
Function at 0x47d2b8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x47d2be
ret
Function at 0x4882c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x488476
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x488452
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x488452
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x488290]
call fcn.0040a080
add esp, 4
lea eax, [ebp - 4]
call fcn.0040b860
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x669e98]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00409ecc
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004053d4
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x47bb7c]
call fcn.00484c64
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x488430
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.004868dc
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.004858ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488452
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48847d
lea eax, [ebp - 8]
mov edx, dword [0x488290]
call fcn.0040a1a4
lea eax, [ebp - 4]
call fcn.0040b860
ret
Function at 0x499f2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x670230], 0
je 0x49a06d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x66a360]
mov edx, dword [edx]
xor al, byte [edx + 0xc0]
je 0x49a06d
mov eax, dword [0x670234]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x670230]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x49a03c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x670230]
call fcn.0044de8c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x49a034
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1f2], 0
je 0x49a034
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x49a034
mov eax, dword [ebp - 0x14]
call fcn.004a5aac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49a034
push ebp
call fcn.00499ee8
pop ecx
test al, al
jne 0x49a034
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00406140
test al, al
je 0x49a034
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00406140
cmp byte [ebp - 1], 0
je 0x49a034
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040dcb0
test al, al
je 0x49a034
mov edx, dword [ebp - 0x14]
mov eax, dword [0x670234]
call fcn.00499648
inc edi
dec ebx
jne 0x499f91
mov eax, dword [0x670234]
cmp dword [eax + 8], 0
jle 0x49a054
mov eax, dword [0x670234]
call fcn.00499700
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49a06d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00499d50
pop ecx
test al, al
jne 0x49a06d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2528
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040dc98
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0049c4d8
test ebx, ebx
jne 0x4a257b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004a23a4
mov ebx, eax
test ebx, ebx
je 0x4a2671
cmp esi, ebx
je 0x4a25a4
mov eax, dword [esp]
sub eax, dword [ebx + 0x48]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x4c]
mov dword [esp + 0x118], eax
jmp 0x4a25b9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4a25f1
add eax, 0xffffff5f
sub eax, 2
jb 0x4a2609
dec eax
sub eax, 2
jb 0x4a261d
dec eax
sub eax, 2
jb 0x4a2613
jmp 0x4a2627
add eax, 0xfffffdff
sub eax, 2
jb 0x4a2609
dec eax
sub eax, 2
jb 0x4a261d
dec eax
sub eax, 2
jb 0x4a2613
jmp 0x4a2627
mov byte [esp + 0x120], 0
jmp 0x4a262f
mov byte [esp + 0x120], 2
jmp 0x4a262f
mov byte [esp + 0x120], 1
jmp 0x4a262f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0051bc84
mov esi, eax
call fcn.00498fd8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0049deec
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4a2673
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4bdcec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4bdd88
push 0
mov eax, ebx
call fcn.00408bc4
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x4bdd63
mov ebx, esi
test ebx, ebx
je 0x4bdd35
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00408bc4
push eax
push 1
push 0
mov eax, edi
call fcn.00408bc4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4bdd7e
mov ecx, dword [0x669ef8]
mov dl, 1
mov eax, dword [0x4bc3f4]
call fcn.00428710
call fcn.00407228
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4bdda4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00407b30
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.00408bc4
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4bde60
xor eax, eax
push ebp
push 0x4bde59
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408d48
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00408bc4
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4bde3b
mov edx, dword [ebp - 8]
shr edx, 1
dec edx
mov eax, ebx
call fcn.00408d48
jmp 0x4bde42
mov eax, ebx
call fcn.00407b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bde60
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bdf98
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x42ed08]
call fcn.004093d4
xor eax, eax
push ebp
push 0x4be0e2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6631f4], 0
jne 0x4bdfec
mov ecx, dword [0x669b4c]
mov dl, 1
mov eax, dword [0x41b6fc]
call fcn.00428710
call fcn.00407228
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004053d4
mov eax, ebx
call fcn.00408798
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4be0f0
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040b860
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4be033
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4be088
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4be081
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00408cac
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00408c70
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.004210cc
test eax, eax
jne 0x4be081
mov ebx, 0x15
jmp 0x4be08d
mov ebx, 0x10
jmp 0x4be08d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x6631f4]
call fcn.004bdbcc
mov eax, dword [ebp - 4]
call fcn.004bdbcc
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040b878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be0e9
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00407b90
lea eax, [ebp - 0xc]
mov edx, dword [0x42ed08]
call fcn.004094ac
ret
Function at 0x4cbf0c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407c14
xor eax, eax
push ebp
push 0x4cc04b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4cc01e
xor edx, edx
push ebp
push 0x4cc017
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4cbf59
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4cbfec
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4cbfdb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4cbf9e
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00408bc4
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404b3c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbfe2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x669c14]
mov dl, 1
mov eax, dword [0x41b6fc]
call fcn.00428710
call fcn.00407228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc052
lea eax, [ebp - 4]
call fcn.00407b30
ret

Function at 0x4d08d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x4d0914]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d08f0
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d0900
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d0910
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x4ef20c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004ef2bc
test eax, eax
je 0x4ef247
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004ef2bc
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407cb8
jmp 0x4ef255
mov ecx, esi
mov edx, 0x4ef274
mov eax, ebx
call fcn.004ef154
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00407f10
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x50bcf4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00407b30
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x50bd46
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x50bd3f
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00408c70
jmp 0x50bd46
mov eax, esi
call fcn.00407b30
add esp, 0x200
pop esi
pop ebx
ret