joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b76c
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42b7af
mov eax, dword [ebp - 0x10c]
mov dword [0x70f94c], eax
mov eax, 0x70f950
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040a6f4
mov eax, 0x70f954
call fcn.00409b1c
xor eax, eax
mov dword [0x70f958], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x70f810], 0xa
jl 0x42b905
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42b910
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42b905
xor eax, eax
push ebp
push 0x42b8fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42b96c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42b85e
cmp dword [ebp - 8], 2
jle 0x42b85e
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42b831
adc edx, 0
mov eax, 0x70f954
call fcn.0040a7cc
lea eax, [ebp - 8]
push eax
mov eax, dword [0x70f954]
call fcn.0040a640
push eax
push 0
push 0
push 0x42b96c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42b8b8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42b98c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42b8b8
cmp dword [ebp - 8], 2
jle 0x42b8b8
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42b88d
adc edx, 0
mov eax, 0x70f954
call fcn.0040a7cc
lea eax, [ebp - 8]
push eax
mov eax, dword [0x70f954]
call fcn.0040a640
push eax
push 0
push 0
push 0x42b98c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x70f958
push 0
push 0
push 0x42b9a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42b8e5
xor eax, eax
mov dword [0x70f958], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b905
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x6ed700], 1
mov esp, ebp
pop ebp
ret
Function at 0x42ba48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42bb22
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409f54
lea eax, [ebp - 4]
call fcn.0040a0c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a640
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42bb0a
mov eax, ebx
call fcn.00406fa4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42bb03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a640
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42baeb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42bb34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42baeb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bb0a
mov eax, dword [ebp - 0x10]
call fcn.00406fc0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bb29
lea eax, [ebp - 4]
call fcn.00409b1c
pop eax
jmp eax

Function at 0x42cbf0
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.0040a000
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f8f0
mov edi, eax
cmp edi, 0x104
jbe 0x42cb9b
mov eax, edi
add eax, eax
call fcn.00406fa4
mov esi, eax
jmp 0x42cb9d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f8f0
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42cbd6
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 0x42cbc0
mov eax, esp
cmp esi, eax
je 0x42cbe3
mov eax, esi
call fcn.00406fc0
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 0x42cc1c
cmp bl, 0
je 0x42cc18
cmp bl, 0x41
jl 0x42cc13
cmp bl, 0x5a
jg 0x42cc13
or bl, 0x20
xor al, bl
inc esi
jmp 0x42cbf7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42cb5c
Function at 0x42dcdc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42dcfc
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42dd16
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42dd11
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42dd1b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42dd89
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42ddd2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42dd47
inc dword [ebp - 0xc]
jmp 0x42dd5f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42dd5f
cmp dword [ebp - 0xc], 0
jle 0x42dd5f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42dd81
xor eax, eax
jmp 0x42dd7d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42dd7c
mov eax, esi
jmp 0x42ddd5
inc eax
cmp eax, ecx
jle 0x42dd69
inc esi
cmp esi, dword [ebp - 8]
jl 0x42dd33
jmp 0x42ddd2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42ddd2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42ddaa
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42ddcc
xor eax, eax
jmp 0x42ddc8
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42ddc7
mov eax, esi
jmp 0x42ddd5
inc eax
cmp eax, ecx
jle 0x42ddb4
inc esi
cmp esi, dword [ebp - 8]
jl 0x42dd92
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42df64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42df83
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42df93
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42e0b5
test ebx, ebx
jl 0x42e0b5
test esi, esi
jle 0x42e0b5
mov eax, dword [ebp - 8]
call fcn.0040a640
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040a640
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42e052
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42e0b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42e037
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42e006
inc dword [ebp - 0x14]
jmp 0x42e016
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42e016
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42e021
or eax, 0xffffffff
jmp 0x42e037
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42e034
inc eax
jmp 0x42e037
or eax, 0xffffffff
test eax, eax
jl 0x42e03f
cmp esi, eax
jg 0x42dff4
cmp esi, eax
jg 0x42e04a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42e0b8
inc edx
dec dword [ebp - 0x1c]
jne 0x42dff0
jmp 0x42e0b5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42e0b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42e09c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42e07b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42e086
or eax, 0xffffffff
jmp 0x42e09c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42e099
inc eax
jmp 0x42e09c
or eax, 0xffffffff
test eax, eax
jl 0x42e0a4
cmp esi, eax
jg 0x42e064
cmp esi, eax
jg 0x42e0af
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42e0b8
inc edx
dec dword [ebp - 0x1c]
jne 0x42e060
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43d5c8
Capabilities:
Encode data using xor

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 0x43d5d0
mov eax, edx
pop esi
pop ebx
ret
Function at 0x44d29c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x44d2b0
add esp, 0xfffffff0
call fcn.00408344
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x447338]
call fcn.00467e90
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x44c2d8]
call fcn.004694ec
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x44c2d8]
call fcn.004694ec
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x44d305
call fcn.0040839c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ab1b0
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 0x4ab1fe
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.004aa99c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ab217
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ab220
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.004aa99c
dec esi
jne 0x4ab242
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4ada54
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7128f4
cmp dword [edi], 0
jne 0x4adad0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x7128f0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6ee3fc
mov ecx, 2
call fcn.00407168
mov edx, 0x4ada2c
lea eax, [esi + 5]
call fcn.004ada4c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004ada4c
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 0x4adaa5
mov dword [0x7128f0], 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 0x4b7b98
Capabilities:
Encode data using xor

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4b7baf
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4b7b9f
mov eax, ecx
pop ebx
ret

Function at 0x4dc904
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.0040a640
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004dc3a8
test al, al
jne 0x4dc965
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x70b750]
mov dl, 1
mov eax, dword [0x4db0a0]
call fcn.0042a960
call fcn.004091d8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004dc2d4
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 0x4e59ac
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 0x4e59b2
ret
Function at 0x4ebfd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.004ebe60
lea edx, [ebp - 0x22]
mov ecx, 0x16
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x22], 0x9ac6cdd7
jne 0x4ec012
lea eax, [ebp - 0x22]
call fcn.004e9630
cmp ax, word [ebp - 0xe]
je 0x4ec017
call fcn.004e85c8
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.00406fa4
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
push ebp
push 0x4ec141
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [esi + 0x30]
movzx edx, word [ebp - 0x14]
mov word [eax + 0x18], dx
cmp word [ebp - 0x14], 0
jne 0x4ec05d
mov word [ebp - 0x14], 0x60
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0xc], eax
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x16]
movsx edx, word [ebp - 0x1a]
sub eax, edx
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x34], 8
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4ec0ce
call fcn.004e85c8
lea eax, [ebp - 0xa0]
push eax
push 0x6c
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_GetEnhMetaFileHeader
mov dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_DeleteEnhMetaFile
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4ec122
call fcn.004e85c8
mov byte [esi + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec148
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00406fc0
pop eax
jmp eax
Function at 0x5038c8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x6f0c84]
cmp edx, 4
mov eax, ecx
jl 0x5038d0
pop ebp
ret

Function at 0x5038ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x6f1084]
cmp edx, 4
mov eax, ecx
jl 0x5038f4
pop ebp
ret
Function at 0x50c55c
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 [0x712b30], 0
je 0x50c69d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x70b478]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x50c69d
mov eax, dword [0x712b34]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x712b30]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x50c66c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x712b30]
call fcn.00499150
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x50c664
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x50c664
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x50c664
mov eax, dword [ebp - 0x14]
call fcn.00518c14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50c664
push ebp
call fcn.0050c518
pop ecx
test al, al
jne 0x50c664
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00408128
test al, al
je 0x50c664
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, 0xffba
call fcn.00408128
cmp byte [ebp - 1], 0
je 0x50c664
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00411d10
test al, al
je 0x50c664
mov edx, dword [ebp - 0x14]
mov eax, dword [0x712b34]
call fcn.0050bc98
inc edi
dec ebx
jne 0x50c5c1
mov eax, dword [0x712b34]
cmp dword [eax + 8], 0
jle 0x50c684
mov eax, dword [0x712b34]
call fcn.0050bd4c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x50c69d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0050c380
pop ecx
test al, al
jne 0x50c69d
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 0x5153b8
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.00411fe8
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.0050ec50
test ebx, ebx
jne 0x51540b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00515268
mov ebx, eax
test ebx, ebx
je 0x515501
cmp esi, ebx
je 0x515434
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 0x515449
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 0x515481
add eax, 0xffffff5f
sub eax, 2
jb 0x515499
dec eax
sub eax, 2
jb 0x5154ad
dec eax
sub eax, 2
jb 0x5154a3
jmp 0x5154b7
add eax, 0xfffffdff
sub eax, 2
jb 0x515499
dec eax
sub eax, 2
jb 0x5154ad
dec eax
sub eax, 2
jb 0x5154a3
jmp 0x5154b7
mov byte [esp + 0x120], 0
jmp 0x5154bf
mov byte [esp + 0x120], 2
jmp 0x5154bf
mov byte [esp + 0x120], 1
jmp 0x5154bf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0055f990
mov esi, eax
call fcn.0050b408
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.00510744
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x515503
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x52bbd4
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 0x52bcc5
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 0x52bc95
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 0x52bc84
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00407168
mov eax, dword [ebp - 4]
call fcn.0052bab0
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x52bc6b
mov ecx, dword [0x70b060]
mov dl, 1
mov eax, dword [0x46eec4]
call fcn.0042a924
call fcn.004091d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52bc8b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
Function at 0x52bcd8
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 0x52bd4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x52bd1e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040a6a0
jmp 0x52bd25
mov eax, ebx
call fcn.00409b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52bd53
cmp dword [ebp - 8], 0
je 0x52bd41
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]
pop eax
jmp eax

Function at 0x52bd8c
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 0x52be33
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x52be04
mov edx, ebx
mov eax, dword [0x4e2c34]
call fcn.004eb144
test al, al
je 0x52bdf4
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.004eb03c
call fcn.004092cc
jmp 0x52be3a
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x52bdbe
mov ecx, dword [0x70b0e8]
mov dl, 1
mov eax, dword [0x52b9b8]
call fcn.0042a924
call fcn.004091d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52be3a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x52be40
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x52be97
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 2
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52be9e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
pop eax
jmp eax