joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429e10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x429f10
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a124
lea eax, [ebp - 4]
call fcn.0040a240
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a86c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x429efa
mov eax, ebx
call fcn.00406e70
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x429ef3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a86c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x429edd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x429f24
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x429edd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429efa
mov eax, dword [ebp - 0x10]
call fcn.00406e8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429f17
lea eax, [ebp - 4]
call fcn.00409cfc
ret

Function at 0x42ad2c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a1cc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f31c
mov edi, eax
cmp edi, 0x104
jbe 0x42acd7
mov eax, edi
add eax, eax
call fcn.00406e70
mov esi, eax
jmp 0x42acd9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f31c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42ad12
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42acfc
mov eax, esp
cmp esi, eax
je 0x42ad1f
mov eax, esi
call fcn.00406e8c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42ad58
cmp bl, 0
je 0x42ad54
cmp bl, 0x41
jl 0x42ad4f
cmp bl, 0x5a
jg 0x42ad4f
or bl, 0x20
xor al, bl
inc esi
jmp 0x42ad33
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42ac98

Function at 0x42b5d4
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a910
add esp, 0x800
pop ebx
ret
Function at 0x4845cc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4845d4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c1558
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c15f6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c15ba
cmp byte [ebx + 0x11], 0
jne 0x4c15ba
cmp byte [ebx + 0x24], 0
jne 0x4c15ba
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c15db
lea edx, [ebp - 4]
mov eax, dword [0x6576f8]
call fcn.0040f288
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4950ec]
call fcn.00428c90
call fcn.00409378
jmp 0x4c15db
lea edx, [ebp - 8]
mov eax, dword [0x6576f8]
call fcn.0040f288
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4950ec]
call fcn.00428c90
call fcn.00409378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c15fd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409d5c
ret

Function at 0x4c1e10
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c1e5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c13d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1e77
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c1e80
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c13d8
dec esi
jne 0x4c1ea2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4c4a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x65ddec
cmp dword [edi], 0
jne 0x4c4a7c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x65dde8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x65579c
mov ecx, 2
call fcn.00407034
mov edx, 0x4c49d8
lea eax, [esi + 5]
call fcn.004c49f8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c49f8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4c4a51
mov dword [0x65dde8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e6538
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push 0
call sub.kernel32.dll_GetModuleHandleW
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x68
mov eax, 0x4e6504
mov edx, dword [ebp - 0x10]
inc edx
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
inc eax
add eax, 4
mov byte [eax], 0xc3
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov esp, ebp
pop ebp
ret
Function at 0x4e7f20
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 0x4e80db
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a124
mov eax, dword [ebp - 4]
call fcn.004e7870
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4e7f72
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040ac78
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.004e8b68
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4e8051
xor eax, eax
push ebp
push 0x4e804a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004e7b10
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004e8110
test al, al
je 0x4e8028
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409e84
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4e8028
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.0040a86c
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.004e7a70
test al, al
je 0x4e8022
mov eax, dword [ebp - 8]
call fcn.0040a86c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040a8d4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004e7f20
dec ebx
cmp ebx, 0xffffffff
jne 0x4e7fd1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8051
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004e7b10
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x65de34], 0
je 0x4e8091
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040a86c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004e7afc
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004e7a70
mov ebx, eax
jmp 0x4e80b8
mov eax, dword [ebp - 4]
call fcn.0040a86c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004e7afc
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004e7a70
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e80e2
lea eax, [ebp - 0x3c]
call fcn.00409cfc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409d5c
ret
Function at 0x4e8a44
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.004e7888
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.0040a86c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004e7a70
test al, al
jne 0x4e8aac
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6575d4]
mov dl, 1
mov eax, dword [0x4e6654]
call fcn.00428e94
call fcn.00409378
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4e8ab8
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.0040a86c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004e7a70
test al, al
jne 0x4e8b19
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6579a0]
mov dl, 1
mov eax, dword [0x4e6654]
call fcn.00428e94
call fcn.00409378
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004e78b8
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 0x4e9128
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 0x4e9250
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.004e7b10
xor eax, eax
push ebp
push 0x4e922b
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.004e8110
test al, al
je 0x4e920f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e9008
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409e84
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4e920f
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.0040a86c
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.004e7a70
test al, al
je 0x4e920b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a86c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040a8d4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e9008
pop ecx
inc edi
dec ebx
jne 0x4e91b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9232
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004e7b10
ret
Function at 0x4e9260
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 0x4e94ae
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.004e7b10
xor eax, eax
push ebp
push 0x4e9484
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.004e8110
test al, al
je 0x4e9468
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409e84
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4e9468
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.0040a86c
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.004e7a70
test al, al
je 0x4e945c
mov eax, dword [ebp - 4]
call fcn.0040a86c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040a8d4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e8b68
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4e945c
xor eax, eax
push ebp
push 0x4e9455
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.004e7b10
xor eax, eax
push ebp
push 0x4e9437
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a86c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040a8d4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e7b14
mov eax, dword [ebp - 4]
call fcn.0040a86c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040a8d4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e8b68
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4e9414
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.004e9128
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004e9260
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e941b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4e92eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e948b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004e7b10
ret
Function at 0x4f2428
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 0x4f242e
ret
Function at 0x556cc0
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.00409de0
xor eax, eax
push ebp
push 0x556dfd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x556dd0
xor edx, edx
push ebp
push 0x556dc9
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x556d0d
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 eax, eax
push ebp
push 0x556d9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x556d8d
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x556d50
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040a86c
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00407034
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 0x556d94
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x657280]
mov dl, 1
mov eax, dword [0x41ba40]
call fcn.00428dc4
call fcn.00409378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556e04
lea eax, [ebp - 4]
call fcn.00409cfc
ret

Function at 0x55dd40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x55dd7c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55dd58
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55dd68
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55dd78
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x57ce64
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.00409e84
test ebx, ebx
je 0x57ceb8
mov eax, dword [esi]
call fcn.0040a86c
push eax
lea eax, [ebx + 1]
push eax
push 0xd
push edi
call sub.user32.dll_SendMessageW
sub ebx, eax
test ebx, ebx
jle 0x57ceb8
mov eax, dword [esi]
test eax, eax
je 0x57cead
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, ebx
mov eax, esi
call fcn.0040a9e8
pop edi
pop esi
pop ebx
ret
Function at 0x58568c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00585754
test eax, eax
je 0x5856de
mov edi, dword [ebx + 8]
test edi, edi
je 0x5856ba
test edi, edi
je 0x5856ba
mov edx, esi
mov eax, edi
call fcn.005f36e8
jmp 0x5856ec
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00585754
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409e84
jmp 0x5856ec
mov ecx, esi
mov edx, 0x58570c
mov eax, ebx
call fcn.00585614
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a0dc
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x5bd824
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5bd845
test edi, 0x40000
je 0x5bd85f
test bl, bl
jne 0x5bd8e0
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5bd8e0
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5bd892
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5bd8a7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5bd8b6
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5bd8c7
cmp byte [esp + 2], 0
je 0x5bd8e0
cmp byte [esp + 2], 0
je 0x5bd8d8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5bd8e0
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5bdb84
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x5bdbaa
mov eax, esp
push eax
push 0x5bdb4c
call sub.user32.dll_EnumWindows
jmp 0x5bdbbd
mov eax, esp
push eax
push 0x5bdb2c
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5bdc80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5bdcd0]
test bl, 4
je 0x5bdc94
or si, 1
test bl, 8
je 0x5bdc9d
or si, 4
test bl, 1
je 0x5bdca6
or si, 8
test bl, 2
je 0x5bdcaf
or si, 0x10
test bl, 0x10
je 0x5bdcb8
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bdcc8
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5bdcd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5bdd10]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bdcef
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bdcff
or bx, 4
test esi, 0x20000000
je 0x5bdd0b
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret