joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aa8c
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 0x42ab66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a290
lea eax, [ebp - 4]
call fcn.0040a3b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a864
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42ab4e
mov eax, ebx
call fcn.00407000
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42ab47
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.0040a864
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42ab2f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42ab78
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42ab2f
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 0x42ab4e
mov eax, dword [ebp - 0x10]
call fcn.0040701c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ab6d
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax

Function at 0x42c788
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00409e58
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040a864
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42c7cd
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00409ff0
jmp 0x42c7e6
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040a9f0
push ebx
mov eax, dword [esi]
call fcn.0040a864
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42ce34
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 0x42ce54
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42ce6e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42ce69
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42ce73
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42cee1
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42cf2a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42ce9f
inc dword [ebp - 0xc]
jmp 0x42ceb7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42ceb7
cmp dword [ebp - 0xc], 0
jle 0x42ceb7
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42ced9
xor eax, eax
jmp 0x42ced5
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42ced4
mov eax, esi
jmp 0x42cf2d
inc eax
cmp eax, ecx
jle 0x42cec1
inc esi
cmp esi, dword [ebp - 8]
jl 0x42ce8b
jmp 0x42cf2a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42cf2a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42cf02
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42cf24
xor eax, eax
jmp 0x42cf20
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42cf1f
mov eax, esi
jmp 0x42cf2d
inc eax
cmp eax, ecx
jle 0x42cf0c
inc esi
cmp esi, dword [ebp - 8]
jl 0x42ceea
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d0bc
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 0x42d0db
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d0eb
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 0x42d20d
test ebx, ebx
jl 0x42d20d
test esi, esi
jle 0x42d20d
mov eax, dword [ebp - 8]
call fcn.0040a864
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040a864
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 0x42d1aa
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42d20d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42d18f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42d15e
inc dword [ebp - 0x14]
jmp 0x42d16e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42d16e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42d179
or eax, 0xffffffff
jmp 0x42d18f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42d18c
inc eax
jmp 0x42d18f
or eax, 0xffffffff
test eax, eax
jl 0x42d197
cmp esi, eax
jg 0x42d14c
cmp esi, eax
jg 0x42d1a2
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42d210
inc edx
dec dword [ebp - 0x1c]
jne 0x42d148
jmp 0x42d20d
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42d20d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42d1f4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42d1d3
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42d1de
or eax, 0xffffffff
jmp 0x42d1f4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42d1f1
inc eax
jmp 0x42d1f4
or eax, 0xffffffff
test eax, eax
jl 0x42d1fc
cmp esi, eax
jg 0x42d1bc
cmp esi, eax
jg 0x42d207
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42d210
inc edx
dec dword [ebp - 0x1c]
jne 0x42d1b8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x449eec
add esp, 0xfffffff0
call fcn.004086c0
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x443f74]
call fcn.00464370
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x448f14]
call fcn.004659cc
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x448f14]
call fcn.004659cc
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 0x449f41
call fcn.00408718
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a6f50
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 0x4a6f9e
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.004a68ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6fb7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Function at 0x4a9960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6588a4
cmp dword [edi], 0
jne 0x4a99dc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6588a0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x64be84
mov ecx, 2
call fcn.00407550
mov edx, 0x4a9938
lea eax, [esi + 5]
call fcn.004a9958
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004a9958
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 0x4a99b1
mov dword [0x6588a0], 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 0x4b369c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4b36b3
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4b36a3
mov eax, ecx
pop ebx
ret
Function at 0x4d5868
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 0x4d5922
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.004d57f8
test al, al
je 0x4d5902
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409ff0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4d5902
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.0040a864
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040a864
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040a8c4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4d58bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5929
lea eax, [ebp - 0x2c]
call fcn.00409e58
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax

Function at 0x4d5adc
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 0x4d5b96
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.004d57f8
test al, al
je 0x4d5b76
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409ff0
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4d5b76
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.0040a864
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0040a864
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040a8c4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4d5b2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5b9d
lea eax, [ebp - 0x2c]
call fcn.00409e58
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax
Function at 0x4d5d00
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.004d5244
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.0040a864
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004d5348
test al, al
jne 0x4d5d68
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6515d0]
mov dl, 1
mov eax, dword [0x4d4010]
call fcn.004298c0
call fcn.00409550
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d5d74
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.0040a864
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004d5348
test al, al
jne 0x4d5dd5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x651c60]
mov dl, 1
mov eax, dword [0x4d4010]
call fcn.004298c0
call fcn.00409550
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004d5274
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 0x4defac
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 0x4defb2
ret
Function at 0x4e525c
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.004e50ec
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 0x4e529e
lea eax, [ebp - 0x22]
call fcn.004e2be0
cmp ax, word [ebp - 0xe]
je 0x4e52a3
call fcn.004e1b78
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.00407000
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
push ebp
push 0x4e53cd
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 0x4e52e9
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 0x4e535a
call fcn.004e1b78
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 0x4e53ae
call fcn.004e1b78
mov byte [esi + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e53d4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0040701c
pop eax
jmp eax
Function at 0x500964
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 [0x658ae8], 0
je 0x500aa5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x651778]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x500aa5
mov eax, dword [0x658aec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x658ae8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x500a74
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x658ae8]
call fcn.00495200
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x500a6c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x500a6c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x500a6c
mov eax, dword [ebp - 0x14]
call fcn.0050d0f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x500a6c
push ebp
call fcn.00500920
pop ecx
test al, al
jne 0x500a6c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.004084a4
test al, al
je 0x500a6c
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.004084a4
cmp byte [ebp - 1], 0
je 0x500a6c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00411e34
test al, al
je 0x500a6c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x658aec]
call fcn.005000a0
inc edi
dec ebx
jne 0x5009c9
mov eax, dword [0x658aec]
cmp dword [eax + 8], 0
jle 0x500a8c
mov eax, dword [0x658aec]
call fcn.00500154
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x500aa5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00500788
pop ecx
test al, al
jne 0x500aa5
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 0x509844
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.00412018
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.00503058
test ebx, ebx
jne 0x509897
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.005096f4
mov ebx, eax
test ebx, ebx
je 0x50998d
cmp esi, ebx
je 0x5098c0
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 0x5098d5
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 0x50990d
add eax, 0xffffff5f
sub eax, 2
jb 0x509925
dec eax
sub eax, 2
jb 0x509939
dec eax
sub eax, 2
jb 0x50992f
jmp 0x509943
add eax, 0xfffffdff
sub eax, 2
jb 0x509925
dec eax
sub eax, 2
jb 0x509939
dec eax
sub eax, 2
jb 0x50992f
jmp 0x509943
mov byte [esp + 0x120], 0
jmp 0x50994b
mov byte [esp + 0x120], 2
jmp 0x50994b
mov byte [esp + 0x120], 1
jmp 0x50994b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0058e880
mov esi, eax
call fcn.004ff724
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.00504b58
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x50998f
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x53ec64
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.00409f4c
xor eax, eax
push ebp
push 0x53eda7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x53ed78
xor edx, edx
push ebp
push 0x53ed71
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x53ecb1
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 0x53ed44
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 0x53ed33
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x53ecf4
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040a864
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00407550
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 0x53ed3a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
mov ecx, dword [0x650fe0]
mov dl, 1
mov eax, dword [0x41b3e4]
call fcn.00429884
call fcn.00409550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53edae
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax

Function at 0x56dc30
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.0056dcf8
test eax, eax
je 0x56dc82
mov edi, dword [ebx + 8]
test edi, edi
je 0x56dc5e
test edi, edi
je 0x56dc5e
mov edx, esi
mov eax, edi
call fcn.005037f0
jmp 0x56dc90
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.0056dcf8
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409ff0
jmp 0x56dc90
mov ecx, esi
mov edx, 0x56dcb0
mov eax, ebx
call fcn.0056dbb8
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a248
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x57c81c
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.00409e58
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x57c86e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x57c867
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040a918
jmp 0x57c86e
mov eax, esi
call fcn.00409e58
add esp, 0x200
pop esi
pop ebx
ret