joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dc60
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rsi
push rdi
sub rsp, 0x98
mov qword [rax + 8], rbx
movzx edi, r9b
mov qword [rax - 0x18], rbp
movzx ebx, dx
mov qword [rax - 0x20], r12
movzx ebp, cl
mov qword [rax - 0x28], r13
movzx r13d, r8b
mov qword [rax - 0x38], r15
or r13b, r9b
lea eax, [rbp - 1]
cmp al, 5
ja 0x14001dca5
cmp cl, 3
jne 0x14001dcac
lea eax, [rbp + 0x66]
cmp al, 5
ja 0x14001dcb1
mov r15b, 1
jmp 0x14001dcb4
xor r15b, r15b
mov eax, dword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
movzx r12d, byte [rsp + 0xe0]
test eax, eax
jle 0x14001de3e
mov edi, dword [rsp + 0xd8]
mov qword [rsp + 0x78], r14
mov r14d, eax
cmp dword [0x140137580], 0
jne 0x14001dd53
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012fc08]
sub eax, dword [0x140137224]
cmp eax, dword [rcx + 0x118]
jbe 0x14001dd5a
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001dd47
mov edx, 1
mov dword [0x14012fc00], 0
lea ecx, [rdx - 2]
call fcn.140001940
mov dword [0x14012fc00], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140137224], eax
mov rcx, qword [0x14012fc08]
test r12b, r12b
jne 0x14001ddbb
movzx eax, byte [rcx + 0x136]
test al, al
je 0x14001dd73
mov ebx, 0xffc3d44d
sub ebx, eax
jmp 0x14001dd78
mov ebx, 0xffc3d44f
cmp dword [0x140137580], 0
je 0x14001dd8a
movzx eax, byte [0x14013746c]
jmp 0x14001dd91
xor ecx, ecx
call fcn.140021430
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8, rsi
mov byte [rsp + 0x20], 1
movzx edx, al
movzx ecx, r13b
call fcn.140020bc0
mov rcx, qword [0x14012fc08]
movzx ebx, word [rsp + 0xb8]
test r15b, r15b
je 0x14001ddfe
test rsi, rsi
jne 0x14001ddfe
movzx eax, byte [rcx + 0x12f]
lea r9d, [rsi + 1]
movzx ecx, byte [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], cl
movzx ecx, bpl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.14001f910
jmp 0x14001de27
movzx eax, byte [rcx + 0x136]
mov r9, rsi
mov ecx, 0xffc3d44d
movzx r8d, bx
sub ecx, eax
movzx edx, bpl
mov dword [rsp + 0x28], ecx
mov ecx, edi
mov byte [rsp + 0x20], 1
call fcn.14001e3e0
sub r14, 1
jne 0x14001dce3
mov r14, qword [rsp + 0x78]
movzx edi, byte [rsp + 0xc8]
mov r15, qword [rsp + 0x70]
test r12b, r12b
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
jne 0x14001deab
cmp dword [0x140137580], 0
je 0x14001de7a
movzx eax, byte [0x14013746c]
jmp 0x14001de81
xor ecx, ecx
call fcn.140021430
not dil
and dil, al
and dil, 0xcc
je 0x14001deab
mov dword [rsp + 0x28], 0xffc3d44d
mov r9b, 1
mov r8, rsi
mov byte [rsp + 0x20], 0
movzx edx, dil
xor ecx, ecx
call fcn.140020bc0
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x14001dec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
sub rsp, 0x80
cmp dword [0x140137580], 2
movzx r14d, r8b
mov ebx, edx
sete bpl
movzx esi, cx
jne 0x14001df1c
mov eax, esi
mov ecx, esi
and eax, 0xffffff80
je 0x14001def9
mov edx, gethostbyname
mov word [rsp + 0x30], dx
lea r8, [rsp + 0x32]
test eax, eax
lea rdx, [rsp + 0x30]
cmovne rdx, r8
mov r8d, 0xa
call fcn.1400d07a8
movzx esi, word [rsp + 0xa8]
test ebx, ebx
jle 0x14001e099
mov qword [rsp + 0xa0], rdi
mov rdi, rbx
mov qword [rsp + 0xb0], r15
xor r15d, r15d
nop word [rax + rax]
cmp dword [0x140137580], r15d
jne 0x14001dfaa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012fc08]
sub eax, dword [0x140137224]
cmp eax, dword [rcx + 0x118]
jbe 0x14001dfaa
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001df9e
mov edx, 1
mov dword [0x14012fc00], r15d
lea ecx, [rdx - 2]
call fcn.140001940
mov dword [0x14012fc00], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140137224], eax
test bpl, bpl
je 0x14001e053
cmp dword [0x140137580], r15d
je 0x14001dfc5
movzx eax, byte [0x14013746c]
jmp 0x14001dfcc
xor ecx, ecx
call fcn.140021430
movzx ecx, al
mov dword [rsp + 0x28], 0xffc3d44f
and cl, 0xc4
mov byte [rsp + 0x20], 1
or cl, 4
xor r9d, r9d
xor r8d, r8d
movzx edx, al
call fcn.140020bc0
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmp ax, 0x30
jb 0x14001e033
cmp ax, 0x39
ja 0x14001e033
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
lea edx, [rax + 0x30]
mov byte [rsp + 0x20], r8b
xor r9d, r9d
lea ecx, [r8 + 2]
call fcn.14001e3e0
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x30
jae 0x14001e000
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
call fcn.14001e3e0
jmp 0x14001e05f
movzx edx, r14b
movzx ecx, si
call fcn.14001c0d0
cmp dword [0x140137580], 2
mov rax, qword [0x14012fc08]
jne 0x14001e077
mov ecx, dword [rax + 0x80]
jmp 0x14001e07a
mov ecx, dword [rax + 0x7c]
call fcn.140020720
sub rdi, 1
jne 0x14001df40
mov r15, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret
Function at 0x140020580
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 ebx, 1
movzx esi, dl
cmp dword [0x140137580], ebx
mov rdi, rcx
jne 0x140020683
xor al, al
cmp qword [0x140134268], 0
movzx edi, al
cmovne edi, ebx
cmp qword [0x140134260], 0
je 0x1400205c4
or dil, 2
test dil, dil
je 0x14002065a
movzx ecx, byte [0x14013746d]
movzx edx, bl
not cl
and cl, dil
call fcn.1400144f0
mov rdx, qword [0x1401351a0]
mov r8d, 0x28
mov ecx, dword [0x14013756c]
call qword [sym.imp.USER32.dll_SendInput]
movzx eax, byte [0x14013746d]
and al, dil
test bl, al
je 0x14002063f
movzx ecx, bl
call fcn.140021430
movzx r8d, al
xor r8b, sil
movzx edx, r8b
and r8b, al
and dl, sil
not dl
and dl, byte [0x14013429e]
or dl, r8b
mov byte [0x14013429e], dl
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x140134410], rax
movzx edx, bl
movzx ecx, dil
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400144f0
mov rdx, qword [0x1401351a0]
mov r8d, 0x28
mov ecx, dword [0x14013756c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_SendInput]
mov r8, qword [0x140134278]
lea rdx, [0x14001e160]
xor esi, esi
xor r9d, r9d
mov ecx, ebx
mov dword [0x140137574], esi
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140134208], rax
test rax, rax
je 0x140020705
mov byte [0x14013429a], bl
nop word [rax + rax]
mov edx, ebx
mov dword [0x14012fc00], esi
mov ecx, 0x80000539
call fcn.140001940
cmp qword [0x140134208], rsi
mov dword [0x14012fc00], ebx
jne 0x1400206c0
mov edx, dword [0x14013756c]
mov rax, qword [0x140132100]
dec edx
mov byte [0x14013429a], sil
mov rcx, qword [rax]
cmp dword [rcx + rdx*8], esi
jne 0x140020705
mov eax, dword [rcx + rdx*8 + 4]
mov dword [rdi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140020930
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140134258]
test r10, r10
je 0x140020a69
movsxd rax, dword [0x140134294]
imul r9, rax, 0xd4
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], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x140134290], eax
sub ecx, dword [0x140137448]
xorps xmm0, xmm0
mov dword [0x140137448], eax
cvtsi2ss xmm0, rcx
movsxd rcx, dword [0x140134294]
imul rdx, rcx, 0xd4
divss xmm0, dword [0x14011c718]
mov rcx, qword [0x140134258]
movss dword [rdx + rcx + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140020a1e
cmp rax, qword [0x140134288]
je 0x140020a02
movsxd rcx, dword [0x140134294]
lea r8d, [rdi + 0x64]
imul rdx, rcx, 0xd4
mov rcx, qword [0x140134258]
add rcx, 0xc
add rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x140134294]
jmp 0x140020a42
movsxd rdx, dword [0x140134294]
mov rax, qword [0x140134258]
imul rcx, rdx, 0xd4
mov word [rcx + rax + 0xc], di
jmp 0x140020a42
movsxd rdx, dword [0x140134294]
movabs r8, 0x41002f004e
mov rax, qword [0x140134258]
imul rcx, rdx, 0xd4
mov qword [rcx + rax + 0xc], r8
inc edx
mov qword [0x140134288], rbx
cmp edx, dword [0x14012fc10]
mov rbx, qword [rsp + 0x30]
mov dword [0x140134294], edx
jl 0x140020a64
mov dword [0x140134294], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140020a70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movzx edi, cl
mov esi, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
lea eax, [rsi - 1]
xor ebx, 0xffffffff
and ebx, 1
inc ebx
cmp eax, 1
ja 0x140020bb3
cmp ebx, esi
je 0x140020bb3
mov ecx, edi
mov qword [rsp + 0x40], r14
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140020ae2
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.14001e3e0
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.14001e3e0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140136620]
sete r14b
jne 0x140020b40
mov edx, 1
mov dword [0x14012fc00], 0
lea ecx, [rdx - 2]
call fcn.140001940
mov dword [0x14012fc00], 1
cmp dil, 0x14
jne 0x140020b97
cmp esi, 2
jne 0x140020b97
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x140020b97
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.WSOCK32.dll_recv
mov ecx, esi
call fcn.14001e3e0
test r14b, r14b
je 0x140020b97
lea edx, [rsi - 1]
mov dword [0x14012fc00], 0
lea ecx, [rsi - 3]
call fcn.140001940
mov dword [0x14012fc00], 1
mov r14, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, ebx
jmp 0x140020b9e
Function at 0x140021430
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp qword [0x140134268], 0
je 0x14002144e
test cl, cl
jne 0x14002144e
movzx eax, byte [0x1401343f4]
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]
xor esi, esi
mov ecx, reloc.WSOCK32.dll_recv
test ax, ax
cmovns ecx, esi
movzx ebx, cl
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 0x20
movzx edx, cl
test ax, ax
mov ecx, 0xa2
cmovns edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 1
movzx edx, cl
test ax, ax
mov ecx, 0xa3
cmovns edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 2
movzx edx, cl
test ax, ax
mov ecx, 0xa4
cmovns edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 4
movzx edx, cl
test ax, ax
mov ecx, 0xa5
cmovns edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 8
movzx edx, cl
test ax, ax
lea ecx, [rsi + 0x5b]
cmovns edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 0x40
movzx edx, cl
test ax, ax
lea ecx, [rsi + 0x5c]
cmovns edx, ebx
movzx ebx, dl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, bl
or cl, 0x80
test ax, ax
movzx edi, cl
cmovns edi, ebx
cmp qword [0x140134268], rsi
je 0x1400215be
movzx ebx, dil
not bl
and bl, byte [0x1401343f4]
cmp byte [0x14013429b], sil
je 0x140021576
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140135004]
cmp eax, 0x14
jae 0x140021576
movzx eax, byte [0x14013429b]
not al
and bl, al
test bl, bl
je 0x1400215be
movzx edx, byte [0x14013429e]
lea rcx, [0x140135010]
movzx eax, bl
not al
and byte [0x1401343f4], al
and dl, al
and byte [0x14013429f], al
mov byte [0x14013429e], dl
call fcn.1400215e0
mov rcx, qword [0x140135160]
test rcx, rcx
je 0x1400215be
test byte [rcx + 0xc], bl
je 0x1400215be
mov qword [0x140135160], rsi
mov rsi, qword [rsp + 0x38]
movzx eax, dil
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400219e0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
xor edi, edi
xor edx, edx
mov esi, edi
mov r15, rcx
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov r14, rax
test rax, rax
je 0x140021bbc
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetControlKeyboard_Layouts_]
lea rcx, [rbp - 0x6c]
movaps xmm1, xmmword [0x140111130]
mov eax, dword [0x140111180]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x140111140]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x140111150]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x140111160]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [0x140111170]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140111184]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x6c], ax
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
je 0x140021b7c
lea rax, [rbp + 0x200]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021b78
mov rcx, qword [rbp + 0x200]
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x28], rax
lea rdx, str.Layout_File
lea rax, [rbp - 0x50]
mov qword [rsp + 0x2f0], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x1f8], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x200]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x2f0]
jne 0x140021b78
mov edx, dword [rbp + 0x1f8]
test edx, edx
je 0x140021b78
shr edx, 1
mov ecx, edx
dec edx
mov dword [rbp + 0x1f8], edx
cmp word [rbp + rdx*2 - 0x50], si
jne 0x140021b50
test edx, edx
je 0x140021b7c
mov ecx, edx
mov r8d, edx
nop
lea eax, [r8 - 1]
mov edx, ecx
mov r8d, eax
cmp word [rbp + rax*2 - 0x50], si
jne 0x140021b65
mov dword [rbp + 0x1f8], eax
mov ecx, eax
mov edx, eax
test eax, eax
jne 0x140021b30
jmp 0x140021b65
mov dword [rbp + 0x1f8], ecx
cmp ecx, 0x104
jae 0x140021b78
mov word [rbp + rcx*2 - 0x50], di
mov edx, ecx
test edx, edx
je 0x140021b7c
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x140021b7c
mov word [rbp - 0x50], di
cmp r15, r14
je 0x140021b8c
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
test rsi, rsi
je 0x140021bbc
lea rdx, str.KbdLayerDescriptor
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021bb3
call rax
mov edi, dword [rax + 0x50]
not edi
and edi, 1
add edi, 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400222e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx edi, cx
movzx ebx, r9b
mov rsi, rdx
cmp edi, 0xa
jne 0x140022310
mov al, 0xd
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rdx, r8
mov qword [rsp + 0x30], rbp
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdx, ax
mov r8, rdx
shr r8, 8
cmp r8b, 0xff
jne 0x140022388
cmp dl, 0xff
jne 0x140022388
test bl, bl
je 0x14002238e
mov ebp, edi
test edi, 0xffffff80
jne 0x14002238e
mov edx, 0x103
mov ecx, edi
call fcn.1400d7464
test eax, eax
je 0x14002238e
mov edx, 2
mov ecx, edi
call fcn.1400d7464
mov edx, 1
movzx edi, dil
mov ecx, ebp
mov ebx, eax
call fcn.1400d7464
test eax, eax
movzx ecx, dil
setne r8b
and cl, 0xdf
test ebx, ebx
movzx edx, cl
cmove edx, edi
test r8b, 0x38
je 0x140022392
xor al, al
jmp 0x1400223dc
test rsi, rsi
je 0x1400223d9
movzx eax, r8b
and al, 6
cmp al, 6
jne 0x1400223a6
or byte [rsi], 8
jmp 0x1400223c8
test r8b, 2
je 0x1400223b7
movzx eax, byte [rsi]
test al, 3
jne 0x1400223b7
or al, 1
mov byte [rsi], al
test r8b, 4
je 0x1400223c8
movzx eax, byte [rsi]
test al, 0xc
jne 0x1400223c8
or al, 4
mov byte [rsi], al
test r8b, 1
je 0x1400223d9
movzx eax, byte [rsi]
test al, 0x30
jne 0x1400223d9
or al, 0x10
mov byte [rsi], al
movzx eax, dl
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023560
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cx
mov eax, ebx
cmp ebx, 0x11c
ja 0x14002363e
je 0x140023636
sub eax, 0x1d
cmp eax, 0x36
ja case.0x140023663.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x23734]
mov ecx, dword [rdx + rax*4 + 0x236e8]
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.WSOCK32.dll_ioctlsocket
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.WSOCK32.dll_send
add rsp, 0x20
pop rbx
ret
mov al, 0xd
add rsp, 0x20
pop rbx
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x140023663.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x23794]
mov ecx, dword [rdx + rax*4 + 0x2376c]
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, reloc.WSOCK32.dll_WSAGetLastError
add rsp, 0x20
pop rbx
ret
mov al, 0x5d
add rsp, 0x20
pop rbx
ret
mov al, 0x2c
add rsp, 0x20
pop rbx
ret
bt bx, 8
jae 0x1400236cc
movzx ecx, bl
mov edx, 1
or ecx, 0xe000
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x1400236e0
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 0x1400237e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x140137590], ecx
lea rax, [0x140137594]
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 0x1400237f3
mov dword [0x140132108], 1
mov dword [0x140137f50], 1
ret
Function at 0x140023830
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140137f50], 0
lea rbx, [0x140137590]
jne 0x14002388f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140137590], eax
mov edx, 1
lea r8, [0x140137594]
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 0x140023860
mov dword [0x140137f50], 1
mov eax, dword [0x140137590]
mov r9d, 0xe3
mov dword [0x140132108], 0x270
mov qword [0x140137f58], rbx
nop dword [rax]
mov r10d, dword [rbx + 4]
mov edx, r10d
xor edx, eax
and edx, 0x7ffffffe
xor edx, eax
mov eax, r10d
shr edx, 1
and al, 1
neg al
mov eax, r10d
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [rbx + 0x634]
mov dword [rbx], edx
add rbx, 4
sub r9d, 1
jne 0x1400238b0
mov r11d, 0x18c
nop
mov r9d, dword [rbx + 4]
lea r8, [rbx + 4]
mov edx, r9d
mov eax, r9d
xor edx, r10d
and al, 1
and edx, 0x7ffffffe
xor edx, r10d
mov r10d, r9d
shr edx, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [rbx - 0x38c]
mov dword [rbx], edx
lea rbx, [r8]
sub r11d, 1
jne 0x1400238f0
mov ecx, dword [0x140137590]
and r9d, 0x80000001
mov eax, ecx
and cl, 1
and eax, 0x7ffffffe
or r9d, eax
shr r9d, 1
neg cl
sbb eax, eax
and eax, 0x9908b0df
xor r9d, eax
xor r9d, dword [r8 - 0x38c]
mov dword [r8], r9d
add rsp, 0x20
pop rbx
ret

Function at 0x140023970
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [0x140132108], 1
jne 0x140023982
call fcn.140023830
mov rax, qword [0x140137f58]
mov ecx, dword [rax]
add rax, 4
mov qword [0x140137f58], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 0x28
ret

Function at 0x1400239d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
sub dword [0x140132108], 1
jne 0x1400239e2
call fcn.140023830
mov rax, qword [0x140137f58]
xorps xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x140137f58], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x14011c650]
add rsp, 0x28
ret

Function at 0x140024180
Capabilities:
Write clipboard data

Disassembly:
cmp byte [rcx + 0x23], 0
jne 0x14002418a
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x23], 2
jne 0x1400241a6
cmp qword [0x1401372c0], 0
je 0x1400241a6
lea rcx, [0x1401372a8]
jmp fcn.140007040
movzx eax, byte [rcx + 0x21]
and al, 0x86
mov byte [rcx + 0x21], al
test dl, dl
je 0x1400241b8
or al, 1
mov byte [rcx + 0x21], al
mov eax, 1
ret
Function at 0x140034710
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 [0x1401315b0]
xor ebp, ebp
mov word [rsp + 0x22], ax
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
mov dword [rsp + 0x48], 0x7b
test r8, r8
je 0x1400347d4
movzx edx, word [r8]
test dx, dx
je 0x1400347d4
lea rcx, [rsp + 0x20]
movzx eax, bx
nop dword [rax + rax]
cmp dx, ax
je 0x140034848
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400347b0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x1400347a3
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [r10 + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x1400347e0
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x140034818
nop dword [rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14003480f
cmp ax, 9
jne 0x140034818
sub rbx, 2
cmp rbx, r10
ja 0x140034800
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x14003485a
test r9b, r9b
je 0x140034844
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.1400515e0
xor eax, eax
jmp 0x14003486f
test r8, r8
je 0x1400347d4
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x1400347f4
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400de184
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