joyce8/EMBER2024-capa huggingface dataset:
Function at 0x503efc
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x503f61
mov eax, dword [esp]
call fcn.00504134
test al, al
je 0x503f61
mov eax, dword [esp]
call fcn.00503fbc
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x503f44
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x503f61
cmp ax, 0x5a
ja 0x503f61
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x508940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x508ad5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x508aaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x508a8d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dl, 1
call fcn.0042682c
test al, al
je 0x508a8d
push 0x20
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x4962e4]
call fcn.004bba30
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x508a86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.004b9218
sub ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404b50]
call fcn.0040c7c8
add esp, 4
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.004325bc
mov ebx, eax
mov dl, 1
mov eax, dword [0x493218]
call fcn.004b9080
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x508a69
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
test esi, esi
je 0x508a26
sub esi, 4
mov esi, dword [esi]
sub esi, ebx
push esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.00433a24
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00508dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508a70
mov eax, dword [ebp - 0xc]
call fcn.00408198
ret
mov eax, dword [ebp - 8]
call fcn.0050879c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508ab1
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], 0
ret
Function at 0x50c91c
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 0x50cad7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a3e8
mov eax, dword [ebp - 4]
call fcn.0050c26c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x50c96e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040b248
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.0050d564
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x50ca4d
xor eax, eax
push ebp
push 0x50ca46
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0050c50c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0050cb0c
test al, al
je 0x50ca24
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a148
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x50ca24
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.0040ae24
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.0050c46c
test al, al
je 0x50ca1e
mov eax, dword [ebp - 8]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040ae8c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0050c91c
dec ebx
cmp ebx, 0xffffffff
jne 0x50c9cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ca4d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0050c50c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x914e94], 0
je 0x50ca8d
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae24
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0050c4f8
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050c46c
mov ebx, eax
jmp 0x50cab4
mov eax, dword [ebp - 4]
call fcn.0040ae24
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0050c4f8
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050c46c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50cade
lea eax, [ebp - 0x3c]
call fcn.00409fc0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a020
ret
Function at 0x50cb78
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x50cc30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0050cb0c
test al, al
je 0x50cc12
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a148
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x50cc12
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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.0040ae24
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040ae8c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x50cbcb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50cc37
lea eax, [ebp - 0x2c]
call fcn.00409fc0
lea eax, [ebp - 4]
call fcn.00409fc0
ret

Function at 0x50cdec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x50cea4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0050cb0c
test al, al
je 0x50ce86
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a148
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x50ce86
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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.0040ae24
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040ae8c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x50ce3f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ceab
lea eax, [ebp - 0x2c]
call fcn.00409fc0
lea eax, [ebp - 4]
call fcn.00409fc0
ret
Function at 0x50d440
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.0050c284
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.0040ae24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0050c46c
test al, al
jne 0x50d4a8
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x90dbcc]
mov dl, 1
mov eax, dword [0x50aadc]
call fcn.0042c79c
call fcn.00409680
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x50d4b4
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.0040ae24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0050c46c
test al, al
jne 0x50d515
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x90e5e4]
mov dl, 1
mov eax, dword [0x50aadc]
call fcn.0042c79c
call fcn.00409680
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0050c2b4
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 0x50db14
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 0x50dc3c
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.0050c50c
xor eax, eax
push ebp
push 0x50dc17
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.0050cb0c
test al, al
je 0x50dbfb
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0050d9f4
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a148
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x50dbfb
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.0040ae24
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.0050c46c
test al, al
je 0x50dbf7
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040ae8c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0050d9f4
pop ecx
inc edi
dec ebx
jne 0x50db9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50dc1e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0050c50c
ret
Function at 0x50dc4c
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 0x50de9a
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.0050c50c
xor eax, eax
push ebp
push 0x50de70
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.0050cb0c
test al, al
je 0x50de54
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a148
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x50de54
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.0040ae24
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.0050c46c
test al, al
je 0x50de48
mov eax, dword [ebp - 4]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040ae8c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d564
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x50de48
xor eax, eax
push ebp
push 0x50de41
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.0050c50c
xor eax, eax
push ebp
push 0x50de23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040ae8c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050c510
mov eax, dword [ebp - 4]
call fcn.0040ae24
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040ae8c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d564
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x50de00
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.0050db14
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0050dc4c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50de07
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x50dcd7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50de77
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0050c50c
ret
Function at 0x51775c
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 0x517762
ret
Function at 0x52e174
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 [0x4403c4]
call fcn.0040b530
xor eax, eax
push ebp
push 0x52e2f7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x8fb330], 0
jne 0x52e1c8
mov ecx, dword [0x90d13c]
mov dl, 1
mov eax, dword [0x41dde0]
call fcn.0042c6cc
call fcn.00409680
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00407a7c
mov eax, ebx
call fcn.0040ac18
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x52e308
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.0040e1e0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x52e20f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x52e264
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 0x52e25d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.0040af1c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.0040aee0
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0042520c
test eax, eax
jne 0x52e25d
mov ebx, 0x15
jmp 0x52e269
mov ebx, 0x10
jmp 0x52e269
mov ebx, 0x15
xor eax, eax
push ebp
push 0x52e2b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x90e4d0]
movzx eax, word [eax]
or ax, 8
call fcn.004074b0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x8fb330]
call fcn.0052df48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e2bb
call fcn.004074a0
ret

Function at 0x536170
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x8fcab8
test edx, edx
jne 0x53618f
xor eax, eax
jmp 0x5362ad
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x5361ac
push esi
push edx
push eax
call fcn.005362b4
add esp, 0xc
jmp 0x5362ad
push esi
push edx
push eax
call fcn.00536574
add esp, 0xc
jmp 0x5362ad
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x543ff8
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 - 8]
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 [0x915080], 0
je 0x544139
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x90de38]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x544139
mov eax, dword [0x915084]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x915080]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x544108
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x915080]
call fcn.004b4504
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x544100
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x215], 0
je 0x544100
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x74]
test al, al
je 0x544100
mov eax, dword [ebp - 0x14]
call fcn.0055010c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x544100
push ebp
call fcn.00543fb4
pop ecx
test al, al
jne 0x544100
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00408570
test al, al
je 0x544100
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00408570
cmp byte [ebp - 9], 0
je 0x544100
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.00412ffc
test al, al
je 0x544100
mov edx, dword [ebp - 0x14]
mov eax, dword [0x915084]
call fcn.005436fc
inc edi
dec ebx
jne 0x54405d
mov eax, dword [0x915084]
cmp dword [eax + 8], 0
jle 0x544120
mov eax, dword [0x915084]
call fcn.005437b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x544139
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00543e1c
pop ecx
test al, al
jne 0x544139
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 0x54c9f0
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.0041357c
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.00546648
test ebx, ebx
jne 0x54ca43
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0054c868
mov ebx, eax
test ebx, ebx
je 0x54cb39
cmp esi, ebx
je 0x54ca6c
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x54ca81
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 0x54cab9
add eax, 0xffffff5f
sub eax, 2
jb 0x54cad1
dec eax
sub eax, 2
jb 0x54cae5
dec eax
sub eax, 2
jb 0x54cadb
jmp 0x54caef
add eax, 0xfffffdff
sub eax, 2
jb 0x54cad1
dec eax
sub eax, 2
jb 0x54cae5
dec eax
sub eax, 2
jb 0x54cadb
jmp 0x54caef
mov byte [esp + 0x120], 0
jmp 0x54caf7
mov byte [esp + 0x120], 2
jmp 0x54caf7
mov byte [esp + 0x120], 1
jmp 0x54caf7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00612e18
mov esi, eax
call fcn.005430a8
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.005481e0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x54cb3b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x57a4a0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x57a58d
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x57a55f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x57a54e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0040716c
mov eax, dword [ebp - 4]
call fcn.0057a1e0
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x57a537
mov ecx, dword [0x90d354]
mov dl, 1
mov eax, dword [0x48f270]
call fcn.0042c6cc
call fcn.00409680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a555
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x57a6bc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x57a72e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x57a702
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040ae8c
jmp 0x57a709
mov eax, ebx
call fcn.00409fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a735
cmp dword [ebp - 8], 0
je 0x57a725
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x57a770
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x57a815
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x57a7e8
mov edx, ebx
mov eax, dword [0x514a6c]
call fcn.0051d4bc
test al, al
je 0x57a7d8
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0051d3b0
call fcn.00409774
jmp 0x57a81c
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x57a7a2
mov ecx, dword [0x90d4e0]
mov dl, 1
mov eax, dword [0x57a0e8]
call fcn.0042c6cc
call fcn.00409680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a81c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret