joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f3f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0xef15cc], 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
jne 0x45f4d6
xor edi, edi
nop dword [eax]
mov edx, edi
mov eax, edi
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edi*4 + 0xeef5d0], eax
inc edi
cmp edi, 0x100
jb 0x45f410
cmp edi, 0x800
jae 0x45f4d6
mov ecx, dword [edi*4 + 0xeef1d0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0xeef5d0]
mov dword [edi*4 + 0xeef5d0], ecx
inc edi
cmp edi, 0x800
jb 0x45f4b2
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0xf071e4]
cmp eax, dword [ecx + 4]
jle 0x45f51f
push 0xf071e4
call fcn.004895c2
add esp, 4
cmp dword [0xf071e4], 0xffffffff
jne 0x45f51f
xor edx, edx
mov ecx, str.CrcUpdate
call fcn.0045ef90
push 0xf071e4
mov dword [0xf071ec], eax
call fcn.00489571
add esp, 4
mov eax, dword [0xf071ec]
test eax, eax
je 0x45f53c
push 0xeef5d0
push esi
push ebx
push dword [ebp + 8]
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
test esi, esi
je 0x45f560
test bl, 3
je 0x45f560
movzx ecx, byte [ebx]
inc ebx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0xeef5d0]
sub esi, 1
jne 0x45f543
cmp esi, 4
jb 0x45f5b3
mov edi, esi
shr edi, 2
nop word [eax + eax]
xor eax, dword [ebx]
sub esi, 4
mov ecx, eax
add ebx, 4
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0xeef9d0]
xor edx, dword [ecx*4 + 0xeefdd0]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0xeef5d0]
xor edx, dword [eax*4 + 0xef01d0]
mov eax, edx
sub edi, 1
jne 0x45f570
test esi, esi
je 0x45f5d1
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0xeef5d0]
sub esi, 1
jne 0x45f5b7
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4618e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push dword [ecx + 0xc]
call fcn.0049bd95
add esp, 8
test eax, eax
setne al
pop ebp
ret 4

Function at 0x461910
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffa
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
ret
Function at 0x464430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea esi, [eax*4 + 4]
mov ebx, edx
push 0
push esi
mov edi, ecx
call fcn.0045caa0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x464463
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push eax
call fcn.0048b660
mov esi, dword [ebp + 8]
lea ecx, [edi + ebx]
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
mov dword [esi], eax
add esi, 4
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
shl edx, 8
add edx, eax
movzx eax, byte [edi + 2]
shl edx, 8
add edx, eax
movzx eax, byte [edi + 3]
shl edx, 8
add edi, 4
add edx, eax
cmp edi, ecx
jae 0x464557
mov ebx, dword [ebp - 4]
nop
mov eax, edx
shr eax, 0xc
xor eax, edx
shr eax, 3
xor eax, edx
and eax, dword [ebp + 0x10]
mov ecx, dword [ebx + eax*4]
mov dword [ebx + eax*4], esi
mov al, byte [edi]
inc edi
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x464543
cmp al, 0xf2
jne 0x464543
xor ebx, ebx
mov cl, byte [edi]
inc edi
movzx eax, cl
xor eax, 0xc
add ebx, eax
cmp cl, 0xf3
je 0x4644d5
mov dword [ebp - 0xc], edi
test ebx, ebx
je 0x464532
mov ecx, dword [ebp + 0xc]
dec ecx
add ecx, ebx
je 0x46450e
mov edi, dword [ebp - 8]
sub edi, esi
nop dword [eax]
mov al, byte [edi + esi]
mov byte [esi], al
inc esi
sub ecx, 1
jne 0x464500
mov edi, dword [ebp - 0xc]
movzx edx, byte [esi - 4]
movzx eax, byte [esi - 3]
mov ebx, dword [ebp - 4]
shl edx, 8
add edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
add edx, eax
movzx eax, byte [esi - 1]
shl edx, 8
add edx, eax
jmp 0x46454e
mov ebx, dword [ebp - 4]
shl edx, 8
mov byte [esi], 0xf2
or edx, 0xf2
jmp 0x46454d
mov byte [esi], al
movzx eax, al
shl edx, 8
or edx, eax
inc esi
cmp edi, dword [ebp - 0x10]
jb 0x4644b0
push 0x8000
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
sub esi, dword [ebp - 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x469070
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
add edx, 0xfffffffc
push ebx
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 4], edx
lea esi, [edi + ecx]
mov dword [ebp - 0xc], esi
cmp esi, edx
jae 0x4690a5
nop dword [eax + eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x46909f
inc esi
cmp esi, edx
jb 0x469090
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x4691c1
cmp ecx, 3
jbe 0x4690e4
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x14], ebx
test cl, cl
je 0x469122
cmp cl, 0xff
je 0x469122
mov edx, dword [ebp - 4]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x469081
dec ecx
shl eax, cl
and eax, 7
je 0x4690bc
cmp byte [eax + 0xe7fa88], 0
je 0x46910f
movzx ecx, byte [eax + 0xe7fa90]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x46910c
cmp cl, 0xff
jne 0x4690bc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and eax, 3
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x469081
movzx ebx, cl
movzx ecx, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
sub ebx, dword [ebp + 8]
test eax, eax
je 0x46918c
mov esi, dword [ebp + 8]
nop dword [eax]
movzx edx, byte [eax + 0xe7fa90]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0x10], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x469171
cmp dl, 0xff
jne 0x469189
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0x10]
shl edx, cl
dec edx
xor ebx, edx
sub ebx, esi
sub ebx, edi
jmp 0x469150
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x14]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x469081
pop esi
pop ebx
cmp ecx, 3
jbe 0x4691d6
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x473d50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push esi
mov dword [ebp - 0x14], eax
mov esi, dword [eax + 4]
mov dword [ebp - 0xc], esi
cmp esi, dword [eax + 8]
jae 0x473f14
push ebx
push edi
nop dword [eax]
mov ebx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
sub eax, ebx
cdq
idiv ecx
mov esi, dword [esi + 8]
inc eax
mov dword [ebp - 0x10], ebx
cmp esi, eax
cmovge esi, eax
cmp dword [ebp + 8], 0
mov eax, ecx
jne 0x473e5f
sub eax, 2
je 0x473e36
sub eax, 2
je 0x473e0d
lea edi, [esi - 1]
imul edi, ecx
add edi, ebx
cmp edi, ebx
jbe 0x473efd
mov eax, edi
sub eax, ecx
mov dword [ebp - 8], eax
nop word [eax + eax]
xor esi, esi
mov dword [ebp - 4], 0
test ecx, ecx
jle 0x473dfd
nop dword [eax]
mov dl, byte [eax + esi]
mov bl, byte [esi + edi]
mov al, bl
sub al, dl
movzx edx, dl
sub al, byte [ebp - 4]
add edx, dword [ebp - 4]
mov byte [esi + edi], al
movzx eax, bl
cmp eax, edx
sbb eax, eax
inc esi
neg eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp esi, ecx
jl 0x473dd0
mov ebx, dword [ebp - 0x10]
sub edi, ecx
sub eax, ecx
mov dword [ebp - 8], eax
cmp edi, ebx
ja 0x473dc0
jmp 0x473efd
mov edx, dword [ebx]
lea esi, [ebx + esi*4]
add ebx, 4
cmp ebx, esi
jae 0x473efd
nop dword [eax]
mov ecx, dword [ebx]
mov eax, ecx
sub eax, edx
mov edx, ecx
mov dword [ebx], eax
add ebx, 4
cmp ebx, esi
jb 0x473e20
jmp 0x473efd
movzx edx, word [ebx]
lea esi, [ebx + esi*2]
add ebx, 2
cmp ebx, esi
jae 0x473efd
movzx ecx, word [ebx]
mov eax, ecx
sub eax, edx
mov edx, ecx
mov word [ebx], ax
add ebx, 2
cmp ebx, esi
jb 0x473e47
jmp 0x473efd
imul esi, ecx
lea edx, [esi + ebx]
mov dword [ebp - 0x10], edx
sub eax, 2
je 0x473edd
sub eax, 2
je 0x473ec1
lea edi, [ecx + ebx]
cmp edi, edx
jae 0x473efd
nop dword [eax]
xor esi, esi
mov dword [ebp - 8], 0
test ecx, ecx
jle 0x473eb7
nop dword [eax]
movzx edx, byte [ebx + esi]
add edx, dword [ebp - 8]
movzx eax, byte [esi + edi]
add eax, edx
mov byte [esi + edi], al
inc esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 8], eax
cmp esi, ecx
jl 0x473e90
mov edx, dword [ebp - 0x10]
add edi, ecx
add ebx, ecx
cmp edi, edx
jb 0x473e80
jmp 0x473efd
mov ecx, dword [ebx]
lea eax, [ebx + 4]
cmp eax, edx
jae 0x473efd
nop word [eax + eax]
add dword [eax], ecx
mov ecx, dword [eax]
add eax, 4
cmp eax, edx
jb 0x473ed0
jmp 0x473efd
movzx eax, word [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 2]
cmp eax, edx
jae 0x473efd
mov cx, word [ebp - 0x10]
nop
add word [eax], cx
mov cx, word [eax]
add eax, 2
cmp eax, edx
jb 0x473ef0
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add esi, 0xc
mov dword [ebp - 0xc], esi
cmp esi, dword [eax + 8]
jb 0x473d70
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4782e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [ebp - 0x34]
call fcn.004781e0
mov edi, dword [ebp - 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xa00000
jb 0x47833e
lea ecx, [ebp - 0x2c]
call fcn.004781e0
lea ecx, [ebp - 0x2c]
call fcn.00478250
push 0x8000
push 0
push dword [ebp - 0x2c]
lea esi, [edi + eax]
call ebx
jmp 0x478340
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp esi, eax
jae 0x478374
cmp edi, 0xa00000
jb 0x478370
lea ecx, [ebp - 0x2c]
call fcn.004781e0
lea ecx, [ebp - 0x2c]
call fcn.00478250
push 0x8000
push 0
push dword [ebp - 0x2c]
lea esi, [edi + eax]
call ebx
jmp 0x478376
xor esi, esi
jmp 0x478376
mov esi, eax
push 0x8000
push 0
push dword [ebp - 0x34]
call ebx
mov ecx, dword [ebp - 4]
lea eax, [esi - 0x500000]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488f09
mov esp, ebp
pop ebp
ret
Function at 0x47a3e0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx]
cmp dword [esi + 0x40068], 0
jne 0x47a413
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488f09
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x70], 0
je 0x47a518
mov edi, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x400d8]
not eax
mov ecx, dword [edi + 0x64]
cmp eax, dword [ecx + edx*4]
je 0x47a445
cmp dword [0xecedf8], 0
je 0x47a548
jmp 0x47a53c
cmp byte [esi], 0x74
je 0x47a45b
mov eax, dword [edi + 0x58]
cmp dword [eax + edx*4], 0
jne 0x47a45b
lea ecx, [ebx + 0x78]
call fcn.0045ca20
mov eax, dword [ebx + 0x68]
mov esi, dword [ebx + 0x84]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebx + 0x6c]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
test eax, eax
jg 0x47a48f
jl 0x47a481
test edx, edx
jae 0x47a48f
mov dword [ebp - 0x10], 0x7fffffff
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0049a481
mov edx, eax
mov ecx, 0x76c
add esp, 4
add cx, word [edx + 0x14]
mov word [ebp - 0x20], cx
movzx ecx, word [edx + 0x10]
inc cx
mov word [ebp - 0x1e], cx
movzx ecx, word [edx + 0xc]
mov word [ebp - 0x1a], cx
movzx ecx, word [edx + 8]
mov word [ebp - 0x18], cx
movzx eax, word [edx + 4]
mov word [ebp - 0x16], ax
movzx eax, word [edx]
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
push 0x2000000
push 3
push 0
push 3
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x70], 0
pop edi
cmp dword [eax + 0x40068], 0
pop esi
setne al
xor ecx, ebp
pop ebx
call fcn.00488f09
mov esp, ebp
pop ebp
ret
push 1
push 0xecedb8
call fcn.0048ae7b
mov ecx, 0x40000
call fcn.004783a0
mov ecx, 0x40000
mov edi, eax
call fcn.004783a0
push dword [ebx + 0x88]
mov esi, eax
push str.ERROR:_file__s_failed_CRC_check
push edi
call fcn.0042e890
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0045d2b0
push esi
push 0xea01f4
call fcn.00437440
add esp, 8
push 2
call fcn.004984c3
int3
Function at 0x47cac0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
cmp dword [0xecb8e0], 0
jne 0x47cadb
push 0
push 0x10001
call fcn.0047deb0
add esp, 8
xor eax, eax
ret
jmp 0x47f360
push dword [0xecc3e8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47f385
push str.Win32:_Failed_to_open_clipboard
push 0x10008
call fcn.00482e20
add esp, 8
xor eax, eax
ret
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x47f3b0
push str.Win32:_Failed_to_convert_clipboard_to_string
push 0x10009
call fcn.00482e20
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop esi
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
jne 0x47f3db
push str.Win32:_Failed_to_lock_global_handle
push 0x10008
call fcn.00482e20
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret
push dword [0xecc3f8]
call fcn.0048e4e1
push edi
call fcn.00482d00
add esp, 8
mov dword [0xecc3f8], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [0xecc3f8]
pop edi
pop esi
ret

Function at 0x47ec60
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0xecb8e0], 0
jne 0x47ec79
push 0
push 0x10001
call fcn.0047deb0
add esp, 8
ret
jmp fcn.0047f640

Function at 0x47f7d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
je 0x47f83e
push esi
lea ecx, [edi + edi]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x47f819
push str.Win32:_Failed_to_allocate_global_handle_for_clipboard
push 0x10008
call fcn.00482e20
add esp, 8
pop esi
pop edi
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x47f841
push str.Win32:_Failed_to_lock_global_handle
push 0x10008
call fcn.00482e20
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebp
ret
push edi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0xecc3e8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47f873
push str.Win32:_Failed_to_open_clipboard
jmp 0x47f829
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x480360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
xor edi, edi
mov ebx, 0x7fffffff
cmp dword [ebp + 8], edi
jle 0x4803aa
mov ecx, dword [ebp + 0x10]
imul ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
nop
mov eax, dword [esi + 4]
imul eax, dword [esi]
sub eax, ecx
mov ecx, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
cmovge ecx, edi
add esi, 0xc
cmp eax, ebx
mov edi, ecx
mov ecx, dword [ebp + 0x10]
cmovge eax, ebx
sub dword [ebp + 8], 1
mov ebx, eax
jne 0x480380
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret

Function at 0x480980
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
mov dword [0xecd198], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4809da
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [ebp - 0xc]
cvtdq2pd xmm0, xmm0
movsd qword [0xecd188], xmm0
movd xmm0, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
movsd qword [0xecd190], xmm0
cmp dword [edi + 0x64], 0x34001
jne 0x4809ff
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4809ef
push dword [eax + 4]
jmp 0x480a01
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
jmp 0x480a01
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push edi
call fcn.0047c520
add esp, 4
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
cmp dword [edi + 0x1e0], 0
je 0x480a8e
mov eax, dword [edi + 0x2a4]
push 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 1
push eax
mov dword [ebp - 0x10], 0x20001
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x480a8e
push str.Win32:_Failed_to_register_raw_input_device
push 0x10008
call fcn.00482e20
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00488f09
mov esp, ebp
pop ebp
ret
Function at 0x480aa0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1e0], 0
je 0x480aec
push 0xc
push 1
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20001
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x480aec
push str.Win32:_Failed_to_remove_raw_input_device
push 0x10008
call fcn.00482e20
add esp, 8
push 0
mov dword [0xecd198], 0
call dword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si eax, qword [0xecd190]
cvttsd2si ecx, qword [0xecd188]
mov dword [ebp - 4], eax
mov dword [esi + 0x2cc], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x2a4]
mov dword [ebp - 8], ecx
mov dword [esi + 0x2c8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [esi + 0x64], 0x34001
jne 0x480b73
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x480b5a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov esp, ebp
pop ebp
ret
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x480c00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
push 0x11
shr esi, 0xf
call ebx
mov ecx, 0x8000
mov edi, esi
or edi, 2
and ax, cx
push 0x12
cmove edi, esi
call ebx
mov ebx, edi
mov ecx, 0x8000
or ebx, 4
and ax, cx
push 0x5c
cmove ebx, edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call edi
push 0x5b
mov si, ax
call edi
mov edi, ebx
or edi, 8
or si, ax
push 0x14
cmovns edi, ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call ebx
mov esi, edi
or esi, 0x10
and al, 1
push 0x90
cmove esi, edi
call ebx
mov ecx, esi
or ecx, 0x20
and al, 1
pop edi
cmove ecx, esi
pop esi
mov eax, ecx
pop ebx
ret

Function at 0x480d20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
push 0x11
shr esi, 0xf
call ebx
mov ecx, 0x8000
mov edi, esi
or edi, 2
and ax, cx
push 0x12
cmove edi, esi
call ebx
mov ebx, edi
mov ecx, 0x8000
or ebx, 4
and ax, cx
push 0x5c
cmove ebx, edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
push 0x5b
mov si, ax
call edi
mov edi, ebx
or edi, 8
or si, ax
push 0x14
cmovns edi, ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
call ebx
mov esi, edi
or esi, 0x10
and al, 1
push 0x90
cmove esi, edi
call ebx
mov ecx, esi
or ecx, 0x20
and al, 1
pop edi
cmove ecx, esi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x482bf0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
jne 0x482c1a
push str.Win32:_Failed_to_allocate_TLS_index
push 0x10008
call fcn.00482e20
add esp, 8
xor eax, eax
pop ebp
ret
mov dword [ecx], 1
mov eax, 1
pop ebp
ret
Function at 0x483480
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0xec8980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.0048b660
push 0x6d1
push 0
push 0xeccab6
call fcn.0048b660
mov eax, 0xeccb56
lea ebx, [ebp - 0x160]
add esp, 0x18
mov dword [ebp - 0x164], eax
mov esi, 0x20
sub ebx, 0x480
nop dword [eax]
movsx edi, word [esi*2 + 0xecc7fc]
cmp edi, 0xffffffff
je 0x483614
cmp esi, 0x140
jl 0x4835a3
cmp esi, 0x14e
jg 0x4835a3
mov dword [ebp - 0x160], 0x60
mov dword [ebp - 0x15c], 0x61
mov dword [ebp - 0x158], 0x62
mov dword [ebp - 0x154], 0x63
mov dword [ebp - 0x150], 0x64
mov dword [ebp - 0x14c], 0x65
mov dword [ebp - 0x148], 0x66
mov dword [ebp - 0x144], 0x67
mov dword [ebp - 0x140], 0x68
mov dword [ebp - 0x13c], 0x69
mov dword [ebp - 0x138], 0x6e
mov dword [ebp - 0x134], 0x6f
mov dword [ebp - 0x130], 0x6a
mov dword [ebp - 0x12c], 0x6d
mov dword [ebp - 0x128], 0x6b
mov eax, dword [ebx]
jmp 0x4835ac
push 1
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x10
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x168], eax
push ecx
lea ecx, [ebp - 0x124]
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x4835ea
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x124]
push eax
push edi
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x48360e
push 0
push 0
push 5
push dword [ebp - 0x164]
lea eax, [ebp - 0x24]
push 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x164]
inc esi
add eax, 5
add ebx, 4
mov dword [ebp - 0x164], eax
cmp esi, 0x15c
jle 0x4834e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488f09
mov esp, ebp
pop ebp
ret