joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012600
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 0x1400127ec
mov r9d, dword [rdx]
cmp r9d, 0x80000000
je 0x1400127ec
cmp dword [0x140103d44], 2
mov qword [rsp + 0x58], rbp
jne 0x140012682
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.140012a00
call fcn.140012ef0
test bl, bl
je 0x1400127e7
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 0x1400126e8
cmp dword [0x140103d44], 1
jne 0x1400126cf
mov eax, dword [0x1401061c0]
cmp eax, 0x80000000
jne 0x1400126c3
lea rcx, [0x1401061c0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x1401061c0]
add dword [rdi], eax
mov eax, dword [0x1401061c4]
add dword [rsi], eax
jmp 0x1400126f3
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 0x1400126f3
mov r8d, 2
call fcn.140088e90
cmp dword [0x140103d44], 1
jne 0x14001270c
mov eax, dword [rdi]
mov dword [0x1401061c0], eax
mov eax, dword [rsi]
mov dword [0x1401061c4], 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 0x1400127c9
cmp ebx, 0x64
jle 0x140012767
lea ebx, [rbp + 0x63]
jmp 0x14001276b
test ebx, ebx
je 0x1400127c9
cmp dword [0x140103d44], ebp
je 0x1400127c9
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.1400619b0
jmp 0x1400127dd
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x8001
call fcn.140012800
call fcn.140012ef0
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 0x140012c90
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 [0x140103d44], edi
mov rbx, rcx
jne 0x140012d6d
xor al, al
cmp qword [0x140100ec8], 0
movzx ebx, al
cmovne ebx, edi
cmp qword [0x140100ec0], 0
je 0x140012cd3
or bl, 2
test bl, bl
je 0x140012ceb
movzx ecx, byte [0x140106187]
movzx edx, dil
not cl
and cl, bl
call fcn.14000a230
mov rdx, qword [0x140103d48]
mov r8d, 0x28
mov ecx, dword [0x1401061b0]
call qword [0x140106110]
test bl, bl
je 0x140012de6
movzx eax, byte [0x140106187]
and al, bl
test dil, al
je 0x140012d52
movzx ecx, dil
call fcn.140013a60
movzx r8d, al
xor r8b, sil
movzx edx, r8b
and r8b, al
and dl, sil
not dl
and dl, byte [0x140101c68]
or dl, r8b
mov byte [0x140101c68], dl
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x140101098], rax
movzx edx, dil
movzx ecx, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000a230
mov r8, qword [0x140100f08]
lea rdx, [0x140010cd0]
xor esi, esi
xor r9d, r9d
mov ecx, edi
mov dword [0x1401061b8], esi
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140100e78], rax
test rax, rax
je 0x140012de6
mov byte [0x140101c4b], dil
mov edx, edi
mov dword [0x1400fca50], esi
mov ecx, 0x8000012f
call fcn.1400016e0
cmp qword [0x140100e78], rsi
mov dword [0x1400fca50], edi
jne 0x140012da1
mov edx, dword [0x1401061b0]
mov rax, qword [0x1400fe3f0]
dec edx
mov byte [0x140101c4b], sil
mov rcx, qword [rax]
cmp dword [rcx + rdx*8], esi
jne 0x140012de6
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 0x140013010
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140100eb8]
test r10, r10
je 0x140013147
movsxd rax, dword [0x140100f18]
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 [0x140100ed4], eax
sub ecx, dword [0x140106108]
xorps xmm0, xmm0
mov dword [0x140106108], eax
cvtsi2ss xmm0, rcx
movsxd rcx, dword [0x140100f18]
imul rdx, rcx, 0xd4
divss xmm0, dword [0x1400ea4d8]
mov rcx, qword [0x140100eb8]
movss dword [rdx + rcx + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140013101
cmp rax, qword [0x140100f10]
je 0x1400130e5
movsxd rcx, dword [0x140100f18]
lea r8d, [rdi + 0x64]
imul rdx, rcx, 0xd4
mov rcx, qword [0x140100eb8]
add rcx, 0xc
add rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x140100f18]
jmp 0x140013125
movsxd rdx, dword [0x140100f18]
mov rax, qword [0x140100eb8]
imul rcx, rdx, 0xd4
mov word [rcx + rax + 0xc], di
jmp 0x140013125
movsxd rdx, dword [0x140100f18]
movabs r8, 0x41002f004e
mov rax, qword [0x140100eb8]
imul rcx, rdx, 0xd4
mov qword [rcx + rax + 0xc], r8
inc edx
mov qword [0x140100f10], rbx
cmp edx, dword [0x1400fca60]
mov rbx, qword [rsp + 0x30]
cmovge edx, edi
mov rdi, qword [rsp + 0x20]
mov dword [0x140100f18], edx
add rsp, 0x28
ret

Function at 0x140013150
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 0x14001327d
cmp ebx, esi
je 0x14001327d
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400131c4
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.140010f50
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.140010f50
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401052c0]
sete bpl
test bpl, bpl
je 0x140013225
mov edx, 1
mov dword [0x1400fca50], 0
or ecx, 0xffffffff
call fcn.1400016e0
mov dword [0x1400fca50], 1
cmp dil, 0x14
jne 0x14001327d
cmp esi, 2
jne 0x14001327d
lea ecx, [rsi + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x14001327d
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.140010f50
test bpl, bpl
je 0x14001327d
lea edx, [rsi - 1]
mov dword [0x1400fca50], 0
or ecx, 0xffffffff
call fcn.1400016e0
mov dword [0x1400fca50], 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 0x140013a60
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp qword [0x140100ec8], 0
je 0x140013a7e
test cl, cl
jne 0x140013a7e
movzx eax, byte [0x140101c6a]
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 0x140013b6f
or dil, 0x80
cmp qword [0x140100ec8], 0
je 0x140013bb5
movzx eax, byte [0x140101c6a]
movzx ecx, dil
not cl
and cl, al
je 0x140013bb5
movzx edx, byte [0x140101c68]
not cl
and byte [0x140101c69], cl
and dl, cl
and al, cl
mov byte [0x140101c68], dl
lea rcx, [0x140101c70]
mov byte [0x140101c6a], al
call fcn.140013bd0
movzx eax, dil
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140013fd0
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 0x140013fec
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, [0x140103d50]
mov rdi, rax
movsxd rdx, ecx
add rdx, rdx
mov r8, qword [r9 + rdx*8]
test r8, r8
je 0x14001401b
cmp r8, rdi
je 0x140014076
inc ecx
cmp ecx, 0xa
jl 0x140014000
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 0x14001406a
and ax, bp
cmp ax, bp
je 0x14001408d
inc ebx
cmp ebx, 0xffff
jle 0x140014050
jmp 0x140014094
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 0x1400140c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
xor r8d, r8d
lea rcx, [0x140103d50]
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
add rax, rax
mov r9, qword [rcx + rax*8]
test r9, r9
je 0x1400140fd
cmp r9, rsi
je 0x140014130
inc r8d
cmp r8d, 0xa
jl 0x1400140e0
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 0x140014155
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 0x140014145
movsxd rax, r8d
add rax, rax
cmp dword [rcx + rax*8 + 8], 0
jne 0x140014145
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 0x14001418a
and ax, bp
cmp ax, bp
je 0x140014196
inc ebx
cmp ebx, 0xffff
jle 0x140014170
jmp 0x14001419d
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 0x140014340
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 0x1400144b3
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.1400a6690
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 0x140014426
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 0x140014481
mov r8, rdi
lea rdx, [rsp + 0x170]
movzx ecx, bp
call fcn.1400146f0
movzx esi, al
test al, al
je 0x140014481
movzx edx, byte [rsp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.140013bd0
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 0x14001449e
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 0x1400145c0
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 0x1400145df
add rsp, 0x28
pop r14
pop rsi
ret
cmp word [rcx + 2], 0
jne 0x1400145fa
mov r8, qword [rsp + 0x60]
movzx ecx, ax
add rsp, 0x28
pop r14
pop rsi
jmp fcn.1400146f0
mov qword [rsp + 0x40], rbx
test r9b, r9b
je 0x140014652
movzx ebx, ax
test ebx, 0xffffff80
jne 0x140014622
mov edx, 2
mov ecx, ebx
call fcn.1400aa2a4
test eax, eax
je 0x140014622
and ebx, 0xffffffdf
cmp bx, 0x56
jne 0x140014652
movzx ecx, word [rsi + 2]
call fcn.14000ad60
cmp ax, 0x4b
jne 0x140014652
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.1400ab740
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, [0x1400fd210]
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.1400a7700
test eax, eax
je 0x1400146c1
inc edi
add rbx, 0x10
cmp rbx, r15
jl 0x140014680
test r14b, r14b
je 0x1400146a3
xor al, al
jmp 0x1400146ce
mov rcx, rsi
call fcn.1400144d0
test ax, ax
je 0x1400146bb
movzx ecx, ax
call fcn.140014e30
movzx ebp, al
movzx eax, bpl
jmp 0x1400146ce
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 0x1400146f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp cx, 0xa
jne 0x140014707
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 0x14001472d
cmp dl, 0xff
jne 0x14001472d
xor al, al
add rsp, 0x20
pop rbx
ret
test cl, 0x38
jne 0x140014725
test rbx, rbx
je 0x140014775
movzx eax, cl
and al, 6
cmp al, 6
jne 0x140014745
or byte [rbx], 8
jmp 0x140014765
test cl, 2
je 0x140014755
movzx eax, byte [rbx]
test al, 3
jne 0x140014755
or al, 1
mov byte [rbx], al
test cl, 4
je 0x140014765
movzx eax, byte [rbx]
test al, 0xc
jne 0x140014765
or al, 4
mov byte [rbx], al
test cl, 1
je 0x140014775
movzx eax, byte [rbx]
test al, 0x30
jne 0x140014775
or al, 0x10
mov byte [rbx], al
movzx eax, dl
add rsp, 0x20
pop rbx
ret
Function at 0x140014ad0
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 - 0x13]
cmp eax, 0x92
ja case.0x140014b0e.44
cdqe
movzx eax, byte [rsi + rax + 0x14cd0]
mov ecx, dword [rsi + rax*4 + 0x14c68]
add rcx, rsi
jmp rcx
mov eax, 0x2a
jmp 0x140014bcf
mov eax, 0x136
jmp 0x140014bcf
mov eax, 0x1d
jmp 0x140014bcf
mov eax, 0x11d
jmp 0x140014bcf
mov eax, gethostname
jmp 0x140014bcf
mov eax, 0x138
jmp 0x140014bcf
mov eax, 0x15b
jmp 0x140014bcf
mov eax, 0x15c
jmp 0x140014bcf
mov eax, 0x45
jmp 0x140014bcf
mov eax, 0x52
jmp 0x140014bcf
mov eax, 0x4f
jmp 0x140014bcf
mov eax, 0x50
jmp 0x140014bcf
mov eax, 0x51
jmp 0x140014bcf
mov eax, 0x4b
jmp 0x140014bcf
mov eax, 0x4c
jmp 0x140014bcf
mov eax, 0x4d
jmp 0x140014bcf
mov eax, 0x47
jmp 0x140014bcf
mov eax, 0x48
jmp 0x140014bcf
mov eax, 0x49
jmp 0x140014bcf
mov eax, 0x53
jmp 0x140014bcf
mov eax, 0x145
jmp 0x140014bcf
mov eax, 0x135
jmp 0x140014bcf
mov eax, gethostname
jmp 0x140014bcf
mov eax, 0x4a
jmp 0x140014bcf
mov eax, 0x4e
test bl, bl
jne 0x140014c25
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 0x140014c25
add edi, 0xfffffffd
cmp edi, 0xb4
ja case.0x140014c17.5
movsxd rax, edi
movzx eax, byte [rsi + rax + 0x14d70]
mov ecx, dword [rsi + rax*4 + 0x14d64]
add rcx, rsi
jmp rcx
mov ecx, 0x100
or dx, cx
test bl, bl
je 0x140014c55
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 0x140014c58
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 0x140014e30
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cx
mov r8d, ebx
mov eax, ebx
cmp ebx, 0x11c
ja 0x140014f17
cmp ebx, 0x11c
je 0x140014f0f
sub eax, 0x1d
cmp eax, 0x36
ja case.0x140014f3c.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x15008]
mov ecx, dword [rdx + rax*4 + 0x14fbc]
add rcx, rdx
jmp rcx
mov al, 0xa0
add rsp, 0x20
pop rbx
ret
mov al, 0xa2
add rsp, 0x20
pop rbx
ret
mov al, 0xa4
add rsp, 0x20
pop rbx
ret
mov al, 0x6a
add rsp, 0x20
pop rbx
ret
mov al, 0x6d
add rsp, 0x20
pop rbx
ret
mov al, 0x6b
add rsp, 0x20
pop rbx
ret
mov al, 0x2e
add rsp, 0x20
pop rbx
ret
mov al, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
add rsp, 0x20
pop rbx
ret
mov al, 0x2d
add rsp, 0x20
pop rbx
ret
mov al, 0x26
add rsp, 0x20
pop rbx
ret
mov al, 0x28
add rsp, 0x20
pop rbx
ret
mov al, 0x25
add rsp, 0x20
pop rbx
ret
mov al, 0x27
add rsp, 0x20
pop rbx
ret
mov al, 0x24
add rsp, 0x20
pop rbx
ret
mov al, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, 0x21
add rsp, 0x20
pop rbx
ret
mov al, SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, reloc.OLEAUT32.dll_SafeArrayGetLBound
add rsp, 0x20
pop rbx
ret
mov al, 0xd
add rsp, 0x20
pop rbx
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x140014f3c.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x15064]
mov ecx, dword [rdx + rax*4 + 0x15040]
add rcx, rdx
jmp rcx
mov al, 0xa1
add rsp, 0x20
pop rbx
ret
mov al, 0xa3
add rsp, 0x20
pop rbx
ret
mov al, 0xa5
add rsp, 0x20
pop rbx
ret
mov al, 0x5b
add rsp, 0x20
pop rbx
ret
mov al, 0x5c
add rsp, 0x20
pop rbx
ret
mov al, 0x90
add rsp, 0x20
pop rbx
ret
mov al, 0x6f
add rsp, 0x20
pop rbx
ret
mov al, 0x5d
add rsp, 0x20
pop rbx
ret
mov eax, 0x100
test ax, bx
je 0x140014fa1
movzx ecx, r8b
mov edx, 1
or ecx, 0xe000
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x140014fb5
movzx ecx, bl
mov edx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_MapVirtualKeyW]
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov dword [0x1401061d0], ecx
lea rax, [0x1401061d4]
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 0x1400150c3
mov dword [0x1400fe3f8], 1
mov dword [0x140103df0], 1
ret
Function at 0x140015100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140103df0], 0
lea rbx, [0x1401061d0]
jne 0x14001515f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401061d0], eax
mov edx, 1
lea r8, [0x1401061d4]
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 0x140015130
mov dword [0x140103df0], 1
mov dword [0x1400fe3f8], 0x270
mov r8d, 0xe3
mov qword [0x140106b90], 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 0x140015180
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 0x1400151c0
mov eax, dword [0x1401061d0]
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 0x1400200e0
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 [0x1400fe3d4]
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 0x1400201a0
movzx edx, word [r8]
test dx, dx
je 0x1400201b5
lea rcx, [rsp + 0x20]
mov eax, ebx
nop dword [rax + rax]
cmp dx, ax
je 0x1400201a3
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140020180
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140020174
mov r8, rbp
test r8, r8
je 0x1400201b5
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x1400201d2
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r10 + rax*2], bp
jne 0x1400201c0
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x1400201ef
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400201e6
cmp ax, 9
jne 0x1400201ef
sub rbx, 2
cmp rbx, r10
ja 0x1400201d7
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x14002021f
test r9b, r9b
je 0x14002021b
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.140035c40
xor eax, eax
jmp 0x140020234
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400b0734
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