joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012570
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov eax, dword [rcx]
mov ebx, r9d
mov rsi, rdx
mov rdi, rcx
cmp eax, 0x80000000
je 0x14001275c
mov r9d, dword [rdx]
cmp r9d, 0x80000000
je 0x14001275c
cmp dword [0x140101d4c], 2
mov qword [rsp + 0x58], rbp
jne 0x1400125f2
movzx ebx, byte [rsp + 0x70]
mov ecx, 0x80000001
test bl, bl
mov ebp, 1
mov r8d, eax
cmovne ebp, ecx
xor edx, edx
mov ecx, ebp
call fcn.140012970
call fcn.140012e60
test bl, bl
je 0x140012757
mov rbp, qword [rsp + 0x58]
mov dword [rdi], 0x80000000
mov dword [rsi], 0x80000000
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
or dword [r8], 0x8001
cmp byte [rsp + 0x70], 0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
je 0x140012658
cmp dword [0x140101d4c], 1
jne 0x14001263f
mov eax, dword [0x1401041d0]
cmp eax, 0x80000000
jne 0x140012633
lea rcx, [0x1401041d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x1401041d0]
add dword [rdi], eax
mov eax, dword [0x1401041d4]
add dword [rsi], eax
jmp 0x140012663
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x50]
add dword [rdi], eax
mov eax, dword [rsp + 0x54]
add dword [rsi], eax
jmp 0x140012663
mov r8d, 2
call fcn.140088a00
cmp dword [0x140101d4c], 1
jne 0x14001267c
mov eax, dword [rdi]
mov dword [0x1401041d0], eax
mov eax, dword [rsi]
mov dword [0x1401041d4], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, 1
mov r14d, eax
mov ecx, ebp
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [rdi]
mov r15d, eax
mov eax, ecx
sar ecx, 0x1f
shl eax, 0x10
and ecx, 0xfffffffe
cdq
inc ecx
idiv r14d
add ecx, eax
mov dword [rdi], ecx
mov ecx, dword [rsi]
mov eax, ecx
shl eax, 0x10
cdq
sar ecx, 0x1f
idiv r15d
and ecx, 0xfffffffe
lea r9d, [rcx + 1]
add r9d, eax
mov dword [rsi], r9d
test ebx, ebx
js 0x140012739
cmp ebx, 0x64
jle 0x1400126d7
lea ebx, [rbp + 0x63]
jmp 0x1400126db
test ebx, ebx
je 0x140012739
cmp dword [0x140101d4c], ebp
je 0x140012739
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, dword [rsp + 0x54]
or r9d, 0xffffffff
mov rcx, qword [rsp + 0x50]
mov eax, r8d
shl eax, 0x10
mov r10d, ebp
cdq
mov dword [rsp + 0x20], ebx
idiv r15d
test r8d, r8d
mov r8d, dword [rdi]
cmovs r10d, r9d
add r10d, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv r14d
test ecx, ecx
mov edx, r10d
cmovs ebp, r9d
mov r9d, dword [rsi]
lea ecx, [rax + rbp]
call fcn.140061ea0
jmp 0x14001274d
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x8001
call fcn.140012770
call fcn.140012e60
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140012c00
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, 1
movzx esi, dl
cmp dword [0x140101d4c], edi
mov rbx, rcx
jne 0x140012cdd
xor al, al
cmp qword [0x1400feed8], 0
movzx ebx, al
cmovne ebx, edi
cmp qword [0x1400feed0], 0
je 0x140012c43
or bl, 2
test bl, bl
je 0x140012c5b
movzx ecx, byte [0x140104197]
movzx edx, dil
not cl
and cl, bl
call fcn.14000a210
mov rdx, qword [0x140101d50]
mov r8d, 0x28
mov ecx, dword [0x1401041c0]
call qword [0x140104120]
test bl, bl
je 0x140012d56
movzx eax, byte [0x140104197]
and al, bl
test dil, al
je 0x140012cc2
movzx ecx, dil
call fcn.1400139d0
movzx r8d, al
xor r8b, sil
movzx edx, r8b
and r8b, al
and dl, sil
not dl
and dl, byte [0x1400ffc71]
or dl, r8b
mov byte [0x1400ffc71], dl
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x1400ff0a8], rax
movzx edx, dil
movzx ecx, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000a210
mov r8, qword [0x1400fef18]
lea rdx, [0x140010c40]
xor esi, esi
xor r9d, r9d
mov ecx, edi
mov dword [0x1401041c8], esi
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1400fee88], rax
test rax, rax
je 0x140012d56
mov byte [0x1400ffc70], dil
mov edx, edi
mov dword [0x1400faa50], esi
mov ecx, 0x8000012f
call fcn.1400016e0
cmp qword [0x1400fee88], rsi
mov dword [0x1400faa50], edi
jne 0x140012d11
mov edx, dword [0x1401041c0]
mov rax, qword [0x1400fc408]
dec edx
mov byte [0x1400ffc70], sil
mov rcx, qword [rax]
cmp dword [rcx + rdx*8], esi
jne 0x140012d56
mov eax, dword [rcx + rdx*8 + 4]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140012f80
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400feec8]
test r10, r10
je 0x1400130b7
movsxd rax, dword [0x1400fef28]
imul r9, rax, 0xd4
mov eax, 0x69
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [r9 + r10 + 6], cl
mov byte [r9 + r10], dl
mov word [r9 + r10 + 2], r8w
mov word [r9 + r10 + 4], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x1400feee4], eax
sub ecx, dword [0x140104118]
xorps xmm0, xmm0
mov dword [0x140104118], eax
cvtsi2ss xmm0, rcx
movsxd rcx, dword [0x1400fef28]
imul rdx, rcx, 0xd4
divss xmm0, dword [0x1400e9328]
mov rcx, qword [0x1400feec8]
movss dword [rdx + rcx + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140013071
cmp rax, qword [0x1400fef20]
je 0x140013055
movsxd rcx, dword [0x1400fef28]
lea r8d, [rdi + 0x64]
imul rdx, rcx, 0xd4
mov rcx, qword [0x1400feec8]
add rcx, 0xc
add rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x1400fef28]
jmp 0x140013095
movsxd rdx, dword [0x1400fef28]
mov rax, qword [0x1400feec8]
imul rcx, rdx, 0xd4
mov word [rcx + rax + 0xc], di
jmp 0x140013095
movsxd rdx, dword [0x1400fef28]
movabs r8, 0x41002f004e
mov rax, qword [0x1400feec8]
imul rcx, rdx, 0xd4
mov qword [rcx + rax + 0xc], r8
inc edx
mov qword [0x1400fef20], rbx
cmp edx, dword [0x1400faa60]
mov rbx, qword [rsp + 0x30]
cmovge edx, edi
mov rdi, qword [rsp + 0x20]
mov dword [0x1400fef28], edx
add rsp, 0x28
ret

Function at 0x1400130c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx edi, cl
mov esi, edx
mov ecx, edi
mov ebp, edi
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
lea r8d, [rsi - 1]
neg al
sbb ebx, ebx
add ebx, 2
cmp r8d, 1
ja 0x1400131ed
cmp ebx, esi
je 0x1400131ed
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140013134
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, dil
lea ecx, [r8 + 1]
call fcn.140010ec0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, dil
lea ecx, [r8 + 2]
call fcn.140010ec0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401032d0]
sete bpl
test bpl, bpl
je 0x140013195
mov edx, 1
mov dword [0x1400faa50], 0
or ecx, 0xffffffff
call fcn.1400016e0
mov dword [0x1400faa50], 1
cmp dil, 0x14
jne 0x1400131ed
cmp esi, 2
jne 0x1400131ed
lea ecx, [rsi + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x1400131ed
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, esi
call fcn.140010ec0
test bpl, bpl
je 0x1400131ed
lea edx, [rsi - 1]
mov dword [0x1400faa50], 0
or ecx, 0xffffffff
call fcn.1400016e0
mov dword [0x1400faa50], 1
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400139d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp qword [0x1400feed8], 0
je 0x1400139ee
test cl, cl
jne 0x1400139ee
movzx eax, byte [0x1400ffc73]
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov ecx, 0xa0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xb
mov ecx, 0xa1
and al, 0x10
movzx ebx, al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
mov esi, 0x8000
or cl, 0x20
movzx edx, cl
and ax, si
mov ecx, 0xa2
cmove edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 1
movzx edx, cl
and ax, si
mov ecx, 0xa3
cmove edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 2
movzx edx, cl
and ax, si
mov ecx, 0xa4
cmove edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 4
movzx edx, cl
and ax, si
mov ecx, 0xa5
cmove edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 8
movzx edx, cl
and ax, si
mov ecx, 0x5b
cmove edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 0x40
movzx edi, cl
and ax, si
mov ecx, 0x5c
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0x30]
test si, ax
mov rsi, qword [rsp + 0x38]
je 0x140013adf
or dil, 0x80
cmp qword [0x1400feed8], 0
je 0x140013b25
movzx eax, byte [0x1400ffc73]
movzx ecx, dil
not cl
and cl, al
je 0x140013b25
movzx edx, byte [0x1400ffc71]
not cl
and byte [0x1400ffc72], cl
and dl, cl
and al, cl
mov byte [0x1400ffc71], dl
lea rcx, [0x1400ffc80]
mov byte [0x1400ffc73], al
call fcn.140013b40
movzx eax, dil
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140013f40
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x20
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140013f5c
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor ecx, ecx
lea r9, [0x140101d60]
mov rdi, rax
movsxd rdx, ecx
add rdx, rdx
mov r8, qword [r9 + rdx*8]
test r8, r8
je 0x140013f8b
cmp r8, rdi
je 0x140013fe6
inc ecx
cmp ecx, 0xa
jl 0x140013f70
mov qword [rsp + 0x30], rbx
cmp ecx, 0xa
mov qword [rsp + 0x38], rbp
mov eax, 9
cmovl eax, ecx
mov qword [rsp + 0x40], rsi
movsxd rsi, eax
mov ebx, SafeArrayAllocDescriptor
shl rsi, 4
mov ebp, 0x600
add rsi, r9
mov dword [rsi + 8], 0
mov rdx, rdi
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
cmp ax, 0xffff
je 0x140013fda
and ax, bp
cmp ax, bp
je 0x140013ffd
inc ebx
cmp ebx, 0xffff
jle 0x140013fc0
jmp 0x140014004
movsxd rax, ecx
add rax, rax
mov ecx, dword [r9 + rax*8 + 8]
cmp ecx, 3
sete al
add rsp, 0x20
pop rdi
ret
mov dword [rsi + 8], 3
mov ecx, dword [rsi + 8]
cmp ecx, 3
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sete al
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140014030
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
xor r8d, r8d
lea rcx, [0x140101d60]
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
add rax, rax
mov r9, qword [rcx + rax*8]
test r9, r9
je 0x14001406d
cmp r9, rsi
je 0x1400140a0
inc r8d
cmp r8d, 0xa
jl 0x140014050
mov qword [rsp + 0x40], rdi
cmp r8d, 0xa
mov eax, 9
cmovl eax, r8d
movsxd rdi, eax
shl rdi, 4
add rdi, rcx
test edx, edx
je 0x1400140c5
mov dword [rdi + 8], edx
mov eax, edx
mov qword [rdi], rsi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
test edx, edx
je 0x1400140b5
movsxd rax, r8d
add rax, rax
cmp dword [rcx + rax*8 + 8], 0
jne 0x1400140b5
mov dword [rcx + rax*8 + 8], edx
movsxd rax, r8d
add rax, rax
mov eax, dword [rcx + rax*8 + 8]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov ebx, SafeArrayAllocDescriptor
mov qword [rsp + 0x38], rbp
mov ebp, 0x600
mov dword [rdi + 8], 0
mov rdx, rsi
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
cmp ax, 0xffff
je 0x1400140fa
and ax, bp
cmp ax, bp
je 0x140014106
inc ebx
cmp ebx, 0xffff
jle 0x1400140e0
jmp 0x14001410d
mov dword [rdi + 8], 3
mov eax, dword [rdi + 8]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov qword [rdi], rsi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret

Function at 0x1400142b0
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x10], rdx
push rsi
push rdi
sub rsp, 0x158
movzx esi, cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
lea edx, [rsi - 0x41]
mov rdi, rax
cmp dl, 0x19
ja 0x140014423
mov qword [rsp + 0x150], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x148], rbp
xor edx, edx
mov r8d, 0x100
mov qword [rsp + 0x140], r14
call fcn.1400a61c0
xor ebx, ebx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 2
xor edx, edx
lea ecx, [rbx + 0x6e]
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x180]
cmp eax, 2
movzx ecx, sil
movzx ebp, bx
mov dword [rsp + 0x28], ebx
cmove bp, word [rsp + 0x180]
lea r8, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov r14d, eax
test eax, eax
jns 0x140014396
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x178]
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 2
lea ecx, [rbx + 0x6e]
call qword [sym.imp.USER32.dll_ToUnicodeEx]
test bp, bp
je 0x1400143f1
mov r8, rdi
lea rdx, [rsp + 0x170]
movzx ecx, bp
call fcn.140014660
movzx esi, al
test al, al
je 0x1400143f1
movzx edx, byte [rsp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.140013b40
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x178]
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
xor edx, edx
movzx ecx, sil
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov rbp, qword [rsp + 0x148]
test r14d, r14d
mov r14, qword [rsp + 0x140]
je 0x14001440e
movzx ebx, word [rsp + 0x180]
movzx eax, bx
mov rbx, qword [rsp + 0x150]
add rsp, 0x158
pop rdi
pop rsi
ret
movzx ecx, sil
mov r8, rdi
mov edx, 2
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x140014530
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push r14
sub rsp, 0x28
movzx eax, word [rcx]
movzx r14d, r8b
mov rsi, rcx
test ax, ax
jne 0x14001454f
add rsp, 0x28
pop r14
pop rsi
ret
cmp word [rcx + 2], 0
jne 0x14001456a
mov r8, qword [rsp + 0x60]
movzx ecx, ax
add rsp, 0x28
pop r14
pop rsi
jmp fcn.140014660
mov qword [rsp + 0x40], rbx
test r9b, r9b
je 0x1400145c2
movzx ebx, ax
test ebx, 0xffffff80
jne 0x140014592
mov edx, 2
mov ecx, ebx
call fcn.1400a9dd4
test eax, eax
je 0x140014592
and ebx, 0xffffffdf
cmp bx, 0x56
jne 0x1400145c2
movzx ecx, word [rsi + 2]
call fcn.14000ad40
cmp ax, 0x4b
jne 0x1400145c2
xor edx, edx
lea rcx, [rsi + 4]
lea r8d, [rdx + 0x10]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
jmp fcn.1400ab270
mov qword [rsp + 0x48], rbp
xor ebp, ebp
mov qword [rsp + 0x50], rdi
mov edi, ebp
mov qword [rsp + 0x58], r12
lea r12, str.Numpad0
mov qword [rsp + 0x20], r15
mov rbx, r12
lea r15, [0x1400fb210]
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.1400a7230
test eax, eax
je 0x140014631
inc edi
add rbx, 0x10
cmp rbx, r15
jl 0x1400145f0
test r14b, r14b
je 0x140014613
xor al, al
jmp 0x14001463e
mov rcx, rsi
call fcn.140014440
test ax, ax
je 0x14001462b
movzx ecx, ax
call fcn.140014d20
movzx ebp, al
movzx eax, bpl
jmp 0x14001463e
movsxd rax, edi
shl rax, 4
movzx eax, byte [rax + r12 + 8]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret

Function at 0x140014660
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp cx, 0xa
jne 0x140014677
mov al, 0xd
add rsp, 0x20
pop rbx
ret
mov rdx, r8
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdx, ax
mov rcx, rdx
shr rcx, 8
cmp cl, 0xff
jne 0x14001469d
cmp dl, 0xff
jne 0x14001469d
xor al, al
add rsp, 0x20
pop rbx
ret
test cl, 0x38
jne 0x140014695
test rbx, rbx
je 0x1400146e5
movzx eax, cl
and al, 6
cmp al, 6
jne 0x1400146b5
or byte [rbx], 8
jmp 0x1400146d5
test cl, 2
je 0x1400146c5
movzx eax, byte [rbx]
test al, 3
jne 0x1400146c5
or al, 1
mov byte [rbx], al
test cl, 4
je 0x1400146d5
movzx eax, byte [rbx]
test al, 0xc
jne 0x1400146d5
or al, 4
mov byte [rbx], al
test cl, 1
je 0x1400146e5
movzx eax, byte [rbx]
test al, 0x30
jne 0x1400146e5
or al, 0x10
mov byte [rbx], al
movzx eax, dl
add rsp, 0x20
pop rbx
ret
Function at 0x140014a40
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, cl
lea rsi, [0x140000000]
movzx ebx, dl
lea eax, [rdi - 0x5b]
cmp eax, 0x4a
ja case.0x140014a7c.115
cdqe
movzx eax, byte [rsi + rax + 0x14c30]
mov ecx, dword [rsi + rax*4 + 0x14bcc]
add rcx, rsi
jmp rcx
mov eax, 0x2a
jmp 0x140014b33
mov eax, 0x136
jmp 0x140014b33
mov eax, 0x1d
jmp 0x140014b33
mov eax, 0x11d
jmp 0x140014b33
mov eax, gethostname
jmp 0x140014b33
mov eax, 0x138
jmp 0x140014b33
mov eax, 0x15b
jmp 0x140014b33
mov eax, 0x15c
jmp 0x140014b33
mov eax, 0x52
jmp 0x140014b33
mov eax, 0x4f
jmp 0x140014b33
mov eax, 0x50
jmp 0x140014b33
mov eax, 0x51
jmp 0x140014b33
mov eax, 0x4b
jmp 0x140014b33
mov eax, 0x4c
jmp 0x140014b33
mov eax, 0x4d
jmp 0x140014b33
mov eax, 0x47
jmp 0x140014b33
mov eax, 0x48
jmp 0x140014b33
mov eax, 0x49
jmp 0x140014b33
mov eax, 0x53
jmp 0x140014b33
mov eax, 0x145
jmp 0x140014b33
mov eax, 0x135
jmp 0x140014b33
mov eax, gethostname
jmp 0x140014b33
mov eax, 0x4a
jmp 0x140014b33
mov eax, 0x4e
test bl, bl
jne 0x140014b89
movzx eax, ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
test ax, ax
je 0x140014b89
add edi, 0xfffffffd
cmp edi, 0x8d
ja case.0x140014b7b.5
movsxd rax, edi
movzx eax, byte [rsi + rax + 0x14c88]
mov ecx, dword [rsi + rax*4 + 0x14c7c]
add rcx, rsi
jmp rcx
mov ecx, 0x100
or dx, cx
test bl, bl
je 0x140014bb9
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, dx
test bl, bl
je 0x140014bbc
mov ecx, 0x100
or eax, ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, dx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140014d20
Capabilities:
Log keystrokes

Disassembly:
movzx r8d, cx
mov eax, r8d
cmp r8d, 0x11c
ja 0x140014d96
cmp eax, 0x11c
je 0x140014d93
sub eax, 0x1d
cmp eax, 0x36
ja case.0x140014dbb.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x14e28]
mov ecx, dword [rdx + rax*4 + 0x14de0]
add rcx, rdx
jmp rcx
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
ret
mov al, 0x21
ret
mov al, SafeArrayAllocDescriptor
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x140014dbb.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x14e7c]
mov ecx, dword [rdx + rax*4 + 0x14e60]
add rcx, rdx
jmp rcx
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
movzx ecx, r8b
mov edx, 1
jmp qword [sym.imp.USER32.dll_MapVirtualKeyW]
Function at 0x140014ec0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x1401041e0], ecx
lea rax, [0x1401041e4]
mov r8d, 1
mov edx, dword [rax - 4]
lea rax, [rax + 4]
shr edx, 0x1e
xor edx, dword [rax - 8]
imul ecx, edx, 0x6c078965
add ecx, r8d
inc r8d
mov dword [rax - 4], ecx
cmp r8d, 0x270
jl 0x140014ed3
mov dword [0x1400fc404], 1
mov dword [0x140101e00], 1
ret

Function at 0x140014f10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140101e00], 0
lea rbx, [0x1401041e0]
jne 0x140014f6f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401041e0], eax
mov edx, 1
lea r8, [0x1401041e4]
nop
mov ecx, dword [r8 - 4]
lea r8, [r8 + 4]
shr ecx, 0x1e
xor ecx, dword [r8 - 8]
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [r8 - 4], eax
cmp edx, 0x270
jl 0x140014f40
mov dword [0x140101e00], 1
mov dword [0x1400fc404], 0x270
mov r8d, 0xe3
mov qword [0x140104ba0], rbx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, eax
xor ecx, dword [rbx]
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
sub r8d, 1
jne 0x140014f90
mov r8d, 0x18c
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea rdx, [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
mov dword [rbx], ecx
lea rbx, [rdx]
sub r8d, 1
jne 0x140014fd0
mov eax, dword [0x1401041e0]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14001ff70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
movzx eax, word [0x1400fc3d4]
xor ebp, ebp
mov word [rsp + 0x22], ax
mov eax, 0x7b
mov dword [rsp + 0x48], eax
mov ebx, SafeArrayAllocDescriptor
mov word [rsp + 0x20], bx
mov r10, r8
mov dword [rsp + 0x24], 0x90028
mov rsi, rdx
mov dword [rsp + 0x28], 0x3e003c
mov r11, rcx
mov dword [rsp + 0x2c], 0x3d003a
mov dword [rsp + 0x30], 0x2d002b
mov dword [rsp + 0x34], 0x2f002a
mov dword [rsp + 0x38], 0x7e0021
mov dword [rsp + 0x3c], 0x7c0026
mov dword [rsp + 0x40], 0x5b005e
mov dword [rsp + 0x44], 0x3f002e
test r8, r8
je 0x140020030
movzx edx, word [r8]
test dx, dx
test edx, edx
je 0x140020045
lea rcx, [rsp + 0x20]
mov eax, ebx
nop dword [rax + rax]
cmp dx, ax
je 0x140020033
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140020010
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140020004
mov r8, rbp
test r8, r8
je 0x140020045
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x140020062
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r10 + rax*2], bp
jne 0x140020050
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x14002007f
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140020076
cmp ax, 9
jne 0x14002007f
sub rbx, 2
cmp rbx, r10
ja 0x140020067
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x1400200af
test r9b, r9b
je 0x1400200ab
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.140035a70
xor eax, eax
jmp 0x1400200c4
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400b02f4
mov rax, rbx
mov word [rsi + rdi*2], bp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret