joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140074d30
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x428
mov rsi, rcx
mov rax, qword [0x14002e420]
mov qword [rsp + 0x420], rax
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x3ff
mov r9, rsi
call fcn.1400b8288
mov rdi, rax
mov rcx, rsi
call fcn.1400b8e9c
test edi, edi
js 0x140074f38
mov esi, 1
cmp edi, 0x20
jl 0x140074f64
movsxd rsi, edi
cmp rsi, 0x400
jb 0x140074da9
lea rcx, str.i___0__i___sizeof_buf_
lea rdx, str..._sshpubk.c
mov r8d, 0x674
call fcn.1400b5fb0
mov byte [rsp + rsi + 0x20], 0
lea rdx, str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n
lea rcx, [rsp + 0x20]
mov r8d, 0x20
call fcn.1400a9e70
test eax, eax
je 0x140074f3c
lea rdx, str._____BEGIN_SSH2_PUBLIC_KEY
lea rcx, [rsp + 0x20]
mov r8d, 0x1a
call fcn.1400a9e70
test eax, eax
je 0x140074f43
lea rdx, str.PuTTY_User_Key_File_
lea rcx, [rsp + 0x20]
mov r8d, 0x14
call fcn.1400a9e70
test eax, eax
je 0x140074f4a
lea rdx, str._____BEGIN_OPENSSH_PRIVATE_KEY
lea rcx, [rsp + 0x20]
mov r8d, 0x1e
call fcn.1400a9e70
test eax, eax
je 0x140074f51
lea rdx, str._____BEGIN
lea rcx, [rsp + 0x20]
mov r8d, 0xb
call fcn.1400a9e70
test eax, eax
je 0x140074f58
lea rdx, str._____BEGIN_SSH2_ENCRYPTED_PRIVAT
lea rcx, [rsp + 0x20]
mov r8d, 0x20
call fcn.1400a9e70
test eax, eax
je 0x140074f5f
lea rdx, str.0123456789
lea rcx, [rsp + 0x20]
call fcn.1400b9758
cmp byte [rsp + rax + 0x20], 0x20
jne 0x140074ed5
lea rsi, [rsp + rax + 0x20]
lea rcx, [rsi + 1]
lea rdx, str.0123456789
call fcn.1400b9758
cmp byte [rsi + rax + 1], 0x20
jne 0x140074ed5
lea rsi, [rsi + rax + 1]
lea rcx, [rsi + 1]
lea rdx, str.0123456789
call fcn.1400b9758
movzx eax, byte [rsi + rax + 1]
cmp rax, 0x20
ja 0x140074ed5
mov esi, 8
movabs rcx, 0x100000401
bt rcx, rax
jb 0x140074f64
lea rdx, [0x1400163f8]
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1400b9158
mov rsi, rax
mov ecx, esi
mov rdx, rdi
call fcn.1400738d2
test rax, rax
je 0x140074f31
lea rdi, [rsp + rsi + 0x20]
lea rcx, [rsp + rsi + 0x21]
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
call fcn.1400b9758
movzx eax, byte [rax + rdi + 1]
cmp rax, 0x20
ja 0x140074f31
mov esi, 0xa
movabs rcx, 0x100000401
bt rcx, rax
jb 0x140074f64
mov esi, 1
jmp 0x140074f64
xor esi, esi
jmp 0x140074f64
mov esi, 2
jmp 0x140074f64
mov esi, 9
jmp 0x140074f64
mov esi, 3
jmp 0x140074f64
mov esi, 6
jmp 0x140074f64
mov esi, 5
jmp 0x140074f64
mov esi, 7
mov rcx, qword [rsp + 0x420]
call fcn.1400a8e70
mov eax, esi
add rsp, 0x428
pop rdi
pop rsi
ret

Function at 0x14007571c
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov ecx, 0x258
mov edx, 1
call fcn.14004723d
mov rbx, rax
call fcn.1400753b1
lea rax, [0x140029344]
movsxd rdx, dword [0x1400297f4]
add rdx, rax
mov r8d, 0x258
mov rcx, rbx
call fcn.1400a9f50
mov dword [rsi], 0x258
mov qword [rdi], rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400753b1
Function at 0x1400772d7
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r9
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
mov r15d, dword [rsp + 0xe0]
mov rax, qword [0x14002e420]
mov qword [rsp + 0x70], rax
test r15d, r15d
jle 0x1400773ab
xor ebx, ebx
mov eax, dword [rdi + 0x28]
cmp r15d, eax
mov r13d, r15d
cmovg r13d, eax
cmp eax, 0x41
jl 0x14007733d
mov r8d, 0x3ba
lea rcx, str.h__hlen___SSH2_KEX_MAX_HASH_LEN
lea rdx, str..._sshrsa.c
call fcn.1400b5fb0
mov eax, ebx
shr eax, 0x18
mov byte [rsp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [rsp + 0x2d], al
mov byte [rsp + 0x2e], bh
mov byte [rsp + 0x2f], bl
call qword [rdi]
mov r12, rax
mov rcx, r12
mov rdx, r14
mov r8d, ebp
call qword [rdi + 0x10]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x2c]
call qword [rdi + 0x10]
mov rcx, r12
lea rdx, [rsp + 0x30]
call qword [rdi + 0x18]
test r13d, r13d
movsxd rax, r13d
jle 0x14007739d
xor ecx, ecx
mov dl, byte [rsp + rcx + 0x30]
xor byte [rsi + rcx], dl
inc rcx
cmp rcx, rax
jl 0x14007738e
inc ebx
add rsi, rax
sub r15d, eax
jg 0x140077312
mov rcx, qword [rsp + 0x70]
call fcn.1400a8e70
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140079264
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rax, qword [0x14002e420]
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movups xmm3, xmmword [rdx + 0x30]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
xor eax, eax
mov edx, dword [rsp + rax*4 + 0x40]
xor edx, dword [rsp + rax*4 + 0x54]
xor edx, dword [rsp + rax*4 + 0x28]
xor edx, dword [rsp + rax*4 + 0x20]
rol edx, 1
mov dword [rsp + rax*4 + 0x60], edx
inc rax
cmp rax, 0x40
jne 0x1400792a3
movdqu xmm0, xmmword [rcx]
mov r8d, dword [rcx + 0x10]
movd eax, xmm0
pshufd xmm1, xmm0, 0xe5
movd r9d, xmm1
pshufd xmm1, xmm0, 0x4e
movd edx, xmm1
pshufd xmm1, xmm0, 0xe7
movd r11d, xmm1
xor esi, esi
mov r10d, r8d
mov ebp, r10d
mov r10d, r11d
mov r11d, edx
mov edx, r9d
mov r9d, eax
rol eax, 5
mov ebx, edx
and ebx, r11d
mov edi, edx
not edi
and edi, r10d
or edi, ebx
add edi, ebp
add edi, eax
mov eax, dword [rsp + rsi*4 + 0x20]
lea eax, [rax + rdi + 0x5a827999]
rol edx, 0x1e
inc rsi
cmp rsi, 0x14
jne 0x1400792f0
xor esi, esi
mov edi, r10d
mov r10d, r11d
mov r11d, edx
mov edx, r9d
mov r9d, eax
rol eax, 5
mov ebx, r11d
xor ebx, r10d
xor ebx, edx
add ebx, edi
add ebx, eax
mov eax, dword [rsp + rsi*4 + 0x70]
lea eax, [rax + rbx + 0x6ed9eba1]
rol edx, 0x1e
inc rsi
cmp rsi, 0x14
jne 0x14007932d
xor esi, esi
mov edi, r10d
mov r10d, r11d
mov r11d, edx
mov edx, r9d
mov r9d, eax
rol eax, 5
mov ebx, r11d
or ebx, r10d
and ebx, edx
mov ebp, r11d
and ebp, r10d
or ebp, ebx
add ebp, edi
add ebp, eax
mov eax, dword [rsp + rsi*4 + 0xc0]
lea eax, [rax + rbp - 0x70e44324]
rol edx, 0x1e
inc rsi
cmp rsi, 0x14
jne 0x140079364
xor esi, esi
mov edi, r10d
mov r10d, r11d
mov r11d, edx
mov edx, r9d
mov r9d, eax
rol eax, 5
mov ebx, r11d
xor ebx, r10d
xor ebx, edx
add ebx, edi
add ebx, eax
mov eax, dword [rsp + rsi*4 + 0x110]
lea eax, [rax + rbx - 0x359d3e2a]
rol edx, 0x1e
inc rsi
cmp rsi, 0x14
jne 0x1400793a6
movd xmm1, r11d
movd xmm2, edx
punpckldq xmm2, xmm1
movd xmm1, r9d
movd xmm3, eax
punpckldq xmm3, xmm1
punpcklqdq xmm3, xmm2
paddd xmm0, xmm3
movdqu xmmword [rcx], xmm0
add r8d, r10d
mov dword [rcx + 0x10], r8d
mov rcx, qword [rsp + 0x160]
call fcn.1400a8e70
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14007984f
Capabilities:
Authenticate hmac

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14002e420]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [str.6666666666666666hmac_md5]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
test ebp, ebp
jle 0x1400798c1
mov al, byte [rdi]
xor al, 0x36
mov byte [rsp + 0x20], al
cmp ebp, 1
je 0x1400798c1
movsxd rax, ebp
mov ecx, 1
mov dl, byte [rdi + rcx]
xor byte [rsp + rcx + 0x20], dl
lea rdx, [rcx + 1]
cmp rdx, rax
jge 0x1400798c1
cmp rcx, 0x3f
mov rcx, rdx
jl 0x1400798a8
movaps xmm6, xmmword [0x140015e20]
movups xmmword [rsi], xmm6
mov dword [rsi + 0x10], 0xc3d2e1f0
mov qword [rsi + 0x54], 0
xor eax, eax
mov dword [rsi + 0x5c], eax
lea rbx, [rsp + 0x20]
mov r8d, pe_nt_image_headers64
mov rcx, rsi
mov rdx, rbx
call fcn.140079446
test ebp, ebp
movaps xmm0, xmmword [0x140015e70]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
jle 0x14007993d
mov al, byte [rdi]
xor al, 0x5c
mov byte [rsp + 0x20], al
cmp ebp, 1
je 0x14007993d
movsxd rax, ebp
mov ecx, 1
mov dl, byte [rdi + rcx]
xor byte [rsp + rcx + 0x20], dl
lea rdx, [rcx + 1]
cmp rdx, rax
jge 0x14007993d
cmp rcx, 0x3f
mov rcx, rdx
jl 0x140079924
movups xmmword [rsi + 0x60], xmm6
mov dword [rsi + 0x70], 0xc3d2e1f0
mov qword [rsi + 0xb4], 0
mov dword [rsi + 0xbc], 0
lea rcx, [rsi + 0x60]
lea rsi, [rsp + 0x20]
mov r8d, pe_nt_image_headers64
mov rdx, rsi
call fcn.140079446
mov edx, pe_nt_image_headers64
mov rcx, rsi
call fcn.14009f467
mov rcx, qword [rsp + 0x68]
call fcn.1400a8e70
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x140082964
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
xor eax, eax
test r8d, r8d
cmovs r8d, eax
test r9d, r9d
cmovns eax, r9d
mov ebp, dword [rsi + 0x16c]
lea r15d, [rbp - 1]
cmp ebp, ecx
cmovg r15d, ecx
movsxd rcx, dword [rsi + 0x168]
lea ebp, [rcx - 1]
cmp ecx, edx
cmovg ebp, edx
cmp eax, ebp
jg 0x140082ac4
mov eax, eax
cmp rax, rcx
jge 0x140082ac4
mov r9d, r8d
shr r9d, 1
mov r11d, r15d
shr r11d, 0x1f
add r11d, r15d
sar r11d, 1
movsxd rdi, r11d
inc r11d
mov edx, r8d
movsxd rbx, r15d
movsxd r14, ebp
lea rcx, [r9 - 1]
mov qword [rsp + 0x38], rcx
lea rbp, [r9 + r9*2]
lea r12, [rbp*4 + 4]
lea rbp, [rdx + rdx*2]
lea rcx, [rdx - 1]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp*4 + 4]
mov qword [rsp + 0x28], rcx
mov r13b, 3
mov rdx, qword [rsi + 0x28]
mov rdx, qword [rdx + rax*8]
test byte [rdx], r13b
je 0x140082a72
cmp r9d, r11d
jg 0x140082aac
mov rbp, r12
mov rdx, qword [rsp + 0x38]
inc rdx
movsxd rcx, dword [rsi + 0x16c]
cmp rdx, rcx
jge 0x140082aac
mov rcx, qword [rsi + 0x28]
mov rcx, qword [rcx + rax*8]
mov rcx, qword [rcx + 0x18]
or dword [rcx + rbp], 0x3ffff
add rbp, 0xc
cmp rdx, rdi
jle 0x140082a45
jmp 0x140082aac
cmp r8d, r15d
jg 0x140082aac
mov rbp, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
inc rdx
movsxd r10, dword [rsi + 0x16c]
cmp rdx, r10
jge 0x140082aac
mov rcx, qword [rsi + 0x28]
mov rcx, qword [rcx + rax*8]
mov rcx, qword [rcx + 0x18]
or dword [rcx + rbp], 0x3ffff
add rbp, 0xc
cmp rdx, rbx
jl 0x140082a81
cmp rax, r14
jge 0x140082ac4
inc rax
movsxd rcx, dword [rsi + 0x168]
cmp rax, rcx
jl 0x140082a2b
cmp dword [rsp + 0x24], 0
je 0x140082ae8
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14007fee5
cmp dword [rsi + 0x1104], 0
jne 0x140082b15
mov dword [rsi + 0x1104], 1
lea rdx, [0x140088fdd]
mov ecx, 0x14
mov r8, rsi
call fcn.14008abd4
mov dword [rsi + 0x1108], eax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140091978
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [0x14002b2b0]
mov qword [rsp + 0x20], 0
lea r9, [0x1400919c8]
mov edx, 0x6f
xor r8d, r8d
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov rsi, rax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rsi
add rsp, 0x30
pop rsi
jmp qword [sym.imp.USER32.dll_DestroyWindow]
Function at 0x1400927e2
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov rcx, qword [0x14002b2f8]
test rcx, rcx
jne 0x140092836
mov rcx, qword [0x14002b2b0]
mov qword [rsp + 0x20], 0
lea r9, [0x140092841]
mov edx, 0x6e
mov r8, rax
call qword [sym.imp.USER32.dll_CreateDialogParamA]
mov qword [0x14002b2f8], rax
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14002b2f8]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_SetActiveWindow]

Function at 0x140093004
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x14002e420]
mov qword [rsp + 0xc0], rax
cmp dword [0x140029ae8], 0
je 0x140093038
xor esi, esi
cmp qword [0x140029ad0], 0
setne sil
jmp 0x1400931a8
lea rdi, [rsp + 0x2c]
xor esi, esi
xor edx, edx
mov r8d, 0x90
mov rcx, rdi
call fcn.1400aa3a0
mov dword [rdi - 4], 0x94
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [rdi + 0x10], 2
sete al
mov dword [0x140029aec], eax
lea rcx, [0x14001bb58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rdi, rdi
je 0x14009316d
lea rdx, str.GetSystemMetrics
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ab0], rax
test rax, rax
je 0x14009316d
lea rdx, str.MonitorFromWindow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ab8], rax
test rax, rax
je 0x14009316d
lea rdx, str.MonitorFromRect
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ac0], rax
test rax, rax
je 0x14009316d
lea rdx, str.MonitorFromPoint
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ac8], rax
test rax, rax
je 0x14009316d
lea rdx, str.EnumDisplayMonitors
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ad8], rax
test rax, rax
je 0x14009316d
lea rdx, str.GetMonitorInfoA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ad0], rax
test rax, rax
je 0x14009316d
lea rdx, str.EnumDisplayDevicesA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140029ae0], rax
test rax, rax
je 0x14009316d
mov dword [0x140029ae8], 1
mov esi, 1
jmp 0x1400931a8
mov qword [0x140029ab0], rsi
mov qword [0x140029ab8], rsi
mov qword [0x140029ac0], rsi
mov qword [0x140029ac8], rsi
mov qword [0x140029ad0], rsi
mov qword [0x140029ad8], rsi
mov qword [0x140029ae0], rsi
mov dword [0x140029ae8], 1
mov rcx, qword [rsp + 0xc0]
call fcn.1400a8e70
mov eax, esi
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x14009b5f6
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r14d, r9d
mov esi, r8d
mov rbx, rdx
lea eax, [rsi + 1]
movsxd rdx, eax
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rdi, rdi
je 0x14009b6b1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rbp, rbp
je 0x14009b6b1
movsxd rsi, esi
mov rcx, rbp
mov rdx, rbx
mov r8, rsi
call fcn.1400a9f50
mov byte [rbp + rsi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r14d, r14d
jne 0x14009b676
mov rcx, qword [0x14002b2b8]
mov edx, 0x8002
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x14002b2b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14009b6a3
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, 1
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14009b6ac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test r14d, r14d
je 0x14009b6bc
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x14002b2b8]
mov edx, 0x8002
xor r8d, r8d
xor r9d, r9d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.USER32.dll_SendMessageA]
Function at 0x14009c214
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14002e420]
mov qword [rsp + 0x40], rax
mov r9, qword [0x14002b2b8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x14009c25e]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x40]
call fcn.1400a8e70
nop
add rsp, 0x48
ret

Function at 0x14009c451
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x14002e420]
mov qword [rsp + 0xf0], rax
cmp edx, 4
je 0x14009c54a
cmp edx, 3
je 0x14009c4ae
cmp edx, 1
jne 0x14009c58d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14002b088]
cmp eax, 0x32
jb 0x14009c5a7
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14002b088], eax
jmp 0x14009c58d
mov rcx, qword [0x14002b2c8]
mov edx, 0x6c
call fcn.140039e41
mov rsi, rax
mov rax, qword [0x14002b090]
test rax, rax
je 0x14009c4e3
mov rcx, qword [rsi]
xor edx, edx
mov r8d, 0x20001
call rax
test eax, eax
jne 0x14009c58d
mov r8, qword [rsi]
lea rdx, str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
lea rsi, [rsp + 0x90]
mov rcx, rsi
call fcn.14003a950
mov r8, qword [0x140002098]
lea rdx, str._.70s_Sound_Error
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.14003a950
mov rcx, qword [0x14002b2b8]
mov r9d, 0x30
mov rdx, rsi
mov r8, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x14002b2c8]
mov edx, 0x66
mov r8d, 1
call fcn.140039fa7
jmp 0x14009c58d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14002b098]
cmp eax, 0x32
jb 0x14009c5a7
cmp dword [0x14002bc30], 2
jne 0x14009c576
mov ecx, 0x320
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_Beep]
jmp 0x14009c581
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14002b098], eax
mov rax, qword [0x14002b2a8]
cmp dword [rax + 0x174], 0
jne 0x14009c5a7
mov ecx, 2
call fcn.14009c5bf
mov rcx, qword [rsp + 0xf0]
call fcn.1400a8e70
nop
add rsp, 0xf8
pop rdi
pop rsi
ret

Function at 0x14009cb7b
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x130
mov rax, qword [0x14002e420]
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14009cbb7
cmp byte [rsp + 0x32], 0
js 0x14009cbbb
mov al, byte [rsp + 0xc5]
shr al, 7
movzx esi, al
jmp 0x14009cbc0
xor esi, esi
jmp 0x14009cbc0
mov esi, 1
mov rcx, qword [rsp + 0x128]
call fcn.1400a8e70
mov eax, esi
add rsp, 0x130
pop rsi
ret
Function at 0x14009d860
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14d, r9d
mov r15, r8
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x14002e420]
mov qword [rsp + 0x40], rax
mov ecx, 1
mov edx, 0x1050
call fcn.14004723d
mov rsi, rax
xor ebx, ebx
mov dword [rsi], ebx
mov qword [rsi + 8], rbp
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x10], rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x1048], rdi
mov dword [rsi + 0x28], ebx
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x30], r15
mov dword [rsi + 0x38], r14d
lea rdi, [rsi + 8]
mov rcx, qword [0x14002b378]
test rcx, rcx
jne 0x14009d905
lea rcx, [0x14009d954]
call fcn.14008ae08
mov rcx, rax
mov qword [0x14002b378], rcx
mov rdx, rsi
call fcn.14008aec8
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x14009d96a]
xor ecx, ecx
xor edx, edx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rsi + 0x2c], 1
mov rcx, qword [rsp + 0x40]
call fcn.1400a8e70
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14009daf1
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15d, r9d
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x14002e420]
mov qword [rsp + 0x40], rax
mov ecx, 1
mov edx, 0x1050
call fcn.14004723d
mov rsi, rax
mov dword [rsi], 1
lea r14, [rsi + 8]
mov qword [rsi + 8], rbp
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x10], rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], rbx
lea rcx, [rsi + 0x58]
call fcn.140047aa9
mov dword [rsi + 0x70], 0
mov qword [rsi + 0x78], rdi
mov dword [rsi + 0x38], r15d
mov rcx, qword [0x14002b378]
test rcx, rcx
jne 0x14009dba1
lea rcx, [0x14009d954]
call fcn.14008ae08
mov rcx, rax
mov qword [0x14002b378], rcx
mov rdx, rsi
call fcn.14008aec8
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x14009dbe9]
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x40]
call fcn.1400a8e70
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14009f47f
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x14002e420]
mov qword [rsp + 0x28], rax
mov al, byte [0x14002bbd8]
test al, al
je 0x14009f4a5
mov rdi, qword [0x14002bbd0]
jmp 0x14009f4ea
lea rcx, str.secur32.dll
call fcn.14009f5be
mov rsi, rax
lea rcx, str.sspicli.dll
call fcn.14009f5be
test rsi, rsi
je 0x14009f4da
lea rdx, str.GetUserNameExA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
jmp 0x14009f4dc
xor edi, edi
mov qword [0x14002bbd0], rdi
mov byte [0x14002bbd8], 1
test rdi, rdi
je 0x14009f54c
lea rbx, [rsp + 0x24]
mov dword [rbx], 0
mov ecx, 8
xor edx, edx
mov r8, rbx
call rdi
mov ecx, dword [rbx]
mov edx, 1
call fcn.14004723d
mov rsi, rax
mov ecx, 8
mov rdx, rsi
mov r8, rbx
call qword [0x14002bbd0]
test al, al
je 0x14009f544
movzx edi, al
mov edx, pe_nt_image_headers64
mov rcx, rsi
call fcn.1400aa540
test rax, rax
je 0x14009f5a1
mov byte [rax], 0
jmp 0x14009f5a1
mov rcx, rsi
call fcn.140047430
lea rdx, [rsp + 0x24]
mov dword [rdx], 0
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14009f569
mov ecx, dword [rsp + 0x24]
jmp 0x14009f576
mov dword [rsp + 0x24], 0x100
mov ecx, 0x100
mov edx, 1
call fcn.14004723d
mov rsi, rax
lea rdx, [rsp + 0x24]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, eax
test edi, edi
jne 0x14009f5a1
mov rcx, rsi
call fcn.140047430
xor edi, edi
xor ebx, ebx
test edi, edi
cmovne rbx, rsi
mov rcx, qword [rsp + 0x28]
call fcn.1400a8e70
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14009f5be
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov rcx, qword [0x14002bbf0]
test rcx, rcx
jne 0x14009f61d
xor ecx, ecx
mov rbx, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [rsi + rsi*2]
mov esi, eax
shr esi, 0x1f
add esi, eax
sar esi, 1
add esi, 0x200
movsxd rdi, esi
mov r8d, 1
mov rdx, rdi
call fcn.14004732a
mov qword [0x14002bbf0], rax
mov rcx, rax
mov edx, edi
call rbx
cmp eax, edi
mov rcx, qword [0x14002bbf0]
jge 0x14009f5e1
lea rdx, [0x14001cee9]
xor r9d, r9d
mov r8, r14
call fcn.1400474f8
mov rsi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov rcx, rsi
call fcn.140047430
mov rax, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret