joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cdd4
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 0x45cf8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407a3c
mov eax, dword [ebp - 4]
call fcn.0045c724
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x45ce26
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408680
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.0045da10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45cf05
xor eax, eax
push ebp
push 0x45cefe
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0045c9c4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0045cfc4
test al, al
je 0x45cedc
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040779c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45cedc
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.00408224
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.0045c924
test al, al
je 0x45ced6
mov eax, dword [ebp - 8]
call fcn.00408224
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040827c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0045cdd4
dec ebx
cmp ebx, 0xffffffff
jne 0x45ce85
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf05
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0045c9c4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x55e028], 0
je 0x45cf45
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00408224
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0045c9b0
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045c924
mov ebx, eax
jmp 0x45cf6c
mov eax, dword [ebp - 4]
call fcn.00408224
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0045c9b0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045c924
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf96
lea eax, [ebp - 0x3c]
call fcn.00407614
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407674
ret
Function at 0x45cf05
Capabilities:
Delete 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 0x45cf8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407a3c
mov eax, dword [ebp - 4]
call fcn.0045c724
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x45ce26
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408680
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.0045da10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45cf05
xor eax, eax
push ebp
push 0x45cefe
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0045c9c4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0045cfc4
test al, al
je 0x45cedc
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040779c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45cedc
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.00408224
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.0045c924
test al, al
je 0x45ced6
mov eax, dword [ebp - 8]
call fcn.00408224
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040827c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0045cdd4
dec ebx
cmp ebx, 0xffffffff
jne 0x45ce85
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf05
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0045c9c4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x55e028], 0
je 0x45cf45
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00408224
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0045c9b0
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045c924
mov ebx, eax
jmp 0x45cf6c
mov eax, dword [ebp - 4]
call fcn.00408224
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0045c9b0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0045c924
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf96
lea eax, [ebp - 0x3c]
call fcn.00407614
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407674
ret
Function at 0x45d8ec
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.0045c73c
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.00408224
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0045c924
test al, al
jne 0x45d954
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x558b90]
mov dl, 1
mov eax, dword [0x45b510]
call fcn.00424b74
call fcn.00406d0c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45d960
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.00408224
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0045c924
test al, al
jne 0x45d9c1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x558ee4]
mov dl, 1
mov eax, dword [0x45b510]
call fcn.00424b74
call fcn.00406d0c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045c76c
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 0x45dfc0
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 0x45e0e8
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.0045c9c4
xor eax, eax
push ebp
push 0x45e0c3
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.0045cfc4
test al, al
je 0x45e0a7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0045dea0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040779c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x45e0a7
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.00408224
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.0045c924
test al, al
je 0x45e0a3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00408224
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040827c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0045dea0
pop ecx
inc edi
dec ebx
jne 0x45e04b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e0ca
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0045c9c4
ret
Function at 0x45e0f8
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 0x45e346
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.0045c9c4
xor eax, eax
push ebp
push 0x45e31c
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.0045cfc4
test al, al
je 0x45e300
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040779c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x45e300
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.00408224
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.0045c924
test al, al
je 0x45e2f4
mov eax, dword [ebp - 4]
call fcn.00408224
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040827c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045da10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x45e2f4
xor eax, eax
push ebp
push 0x45e2ed
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.0045c9c4
xor eax, eax
push ebp
push 0x45e2cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408224
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040827c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045c9c8
mov eax, dword [ebp - 4]
call fcn.00408224
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040827c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045da10
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x45e2ac
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.0045dfc0
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0045e0f8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e2b3
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x45e183
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e323
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0045c9c4
ret
Function at 0x466af8
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 0x466afe
ret
Function at 0x47430c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4744cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x4744ab
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x4744ab
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
shl eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
imul dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4742d4]
call fcn.004095a0
add esp, 4
lea eax, [ebp - 8]
call fcn.0040ab28
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x558a04]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004093ec
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x2c
call fcn.00404f60
mov dword [ebp - 0x44], 0x2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x38], 1
mov word [ebp - 0x36], 0x20
mov dl, 1
mov eax, dword [0x4653ac]
call fcn.0046fe04
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
xor eax, eax
push ebp
push 0x47447c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dl, 7
call fcn.00472234
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 4]
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 - 4]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00470e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4744ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4744d6
lea eax, [ebp - 0x10]
mov edx, dword [0x4742d4]
call fcn.004095ac
lea eax, [ebp - 8]
call fcn.0040ab28
ret
Function at 0x49507c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004076f8
xor eax, eax
push ebp
push 0x4951e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4951b8
xor eax, eax
push ebp
push 0x4951b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4950d5
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x495186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x495175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x495130
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
call fcn.00408224
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov edx, dword [ebp - 0x10]
call fcn.004046f8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49517c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5588c8]
mov dl, 1
mov eax, dword [0x419914]
call fcn.00424aa4
call fcn.00406d0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4951ec
lea eax, [ebp - 8]
call fcn.00407614
ret

Function at 0x49a1b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [0x49a1f8]
mov word [ebp - 2], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a1cf
or word [ebp - 2], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a1e0
or word [ebp - 2], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a1f1
or word [ebp - 2], 2
mov ax, word [ebp - 2]
pop ecx
pop ebp
ret

Function at 0x4ba4a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004ba578
test eax, eax
je 0x4ba4ef
push pe_nt_image_headers32
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp - 4]
call fcn.004ba578
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 8]
call fcn.0040779c
jmp 0x4ba4ff
mov ecx, dword [ebp - 8]
mov edx, 0x4ba520
mov eax, dword [ebp - 4]
call fcn.004ba3c8
mov eax, dword [ebp - 4]
add eax, 0x1c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call fcn.004079f4
mov esp, ebp
pop ebp
ret
Function at 0x4ddee4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xffffffec
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 0
je 0x4ddf22
test byte [ebp - 0xa], 4
je 0x4ddf3f
cmp byte [ebp - 5], 0
jne 0x4de002
mov eax, dword [ebp - 0xc]
and eax, 0x40000
cmp eax, 0x40000
jne 0x4de002
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
or al, byte [ebp - 0xe]
je 0x4ddf76
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 5], 0
je 0x4ddfaa
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0xffffffec
mov eax, dword [ebp - 0xc]
or eax, 0x40000
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [ebp - 0x2c], eax
jmp 0x4ddfd6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0xffffffec
mov eax, dword [ebp - 0xc]
and eax, 0xfffbffff
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 6]
and al, byte [ebp - 0xd]
jne 0x4ddfe4
cmp byte [ebp - 0xe], 0
je 0x4de002
cmp byte [ebp - 0xe], 0
je 0x4ddff7
push 6
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4de002
push 5
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
mov esp, ebp
pop ebp
ret

Function at 0x4de370
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 1], al
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
cmp byte [ebp - 1], 0
je 0x4de39b
lea eax, [ebp - 0xc]
push eax
push 0x4de32c
call sub.user32.dll_EnumWindows
jmp 0x4de3af
lea eax, [ebp - 0xc]
push eax
push 0x4de300
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
mov al, byte [ebp - 8]
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret
Function at 0x4de4c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov ax, word [0x4de528]
mov word [ebp - 4], ax
test byte [ebp - 2], 4
je 0x4de4e1
or word [ebp - 4], 1
test byte [ebp - 2], 8
je 0x4de4ec
or word [ebp - 4], 4
test byte [ebp - 2], 1
je 0x4de4f7
or word [ebp - 4], 8
test byte [ebp - 2], 2
je 0x4de502
or word [ebp - 4], 0x10
test byte [ebp - 2], 0x10
je 0x4de50d
or word [ebp - 4], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4de51e
or word [ebp - 4], 2
mov ax, word [ebp - 4]
pop ecx
pop ebp
ret

Function at 0x4de52c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov ax, word [0x4de574]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4de550
or word [ebp - 6], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4de561
or word [ebp - 6], 4
test byte [ebp - 1], 0x20
je 0x4de56c
or word [ebp - 6], 2
mov ax, word [ebp - 6]
pop ecx
pop ecx
pop ebp
ret