joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bd60
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400de438]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400e1010]
lea rdx, [0x1400a56d4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x1400e0f70], rax
test rax, rax
je 0x14001bf0c
mov qword [rsp + 0x70], rbx
mov ecx, 0x4d42
mov qword [rsp + 0x78], rbp
mov r9, rax
mov qword [rsp + 0x80], rsi
mov ebp, 1
xor esi, esi
mov word [rsp + 0x20], cx
mov r8d, ebp
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x22], rsi
mov dword [rsp + 0x2a], Ordinal_1084
lea edx, [rsi + 0xe]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [0x1400dfe58]
lea edx, [rsi + 0x28]
mov r9, qword [0x1400e0f70]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov edi, 0x100
mov eax, dword [0x1400dfe5c]
mov r8d, ebp
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x28
mov dword [rsp + 0x3c], 0x80001
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [0x1400e0fb8]
add rbx, 2
nop dword [rax + rax]
movzx ecx, byte [rbx + 1]
mov rdx, qword [0x1400e0f70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
movzx ecx, byte [rbx]
mov rdx, qword [0x1400e0f70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
movzx ecx, byte [rbx - 1]
mov rdx, qword [0x1400e0f70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rdx, qword [0x1400e0f70]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
lea rbx, [rbx + 0xe8]
sub edi, ebp
jne 0x14001be40
call fcn.14001bf20
xor r8d, r8d
mov dword [rsp + 0x44], eax
xor edx, edx
lea ecx, [rax + 0x436]
mov dword [rsp + 0x22], ecx
mov rcx, qword [0x1400e0f70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x1400e0f70]
lea edx, [rdi + 0xe]
mov r8, rbp
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [0x1400e0f70]
lea edx, [rdi + 0x28]
mov r8, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x1400e0f70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov qword [0x1400e0f70], rsi
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008bb30
add rsp, 0x68
ret
Function at 0x140028740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.140028ad0
mov ebx, dword [0x1400e1464]
mov rdi, qword [0x1400e1478]
test ebx, ebx
je 0x1400287bc
add rdi, 0x71
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi]
lea rdi, [rdi + 0x90]
movzx ecx, al
shr cl, 1
xor cl, al
and cl, 4
xor cl, al
mov byte [rdi - 0x90], cl
sub ebx, 1
jne 0x140028770
mov ebx, dword [0x1400e1464]
mov rdi, qword [0x1400e1478]
test ebx, ebx
je 0x1400287bc
test byte [rdi + 0x71], 4
jne 0x1400287b0
mov rcx, rdi
call fcn.140028ce0
add rdi, 0x90
sub ebx, 1
jne 0x1400287a2
mov rcx, qword [0x1400e0d10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sub.mfc140.dll_Ordinal_266

Function at 0x140029150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, qword [0x1400e1470]
xor ebx, ebx
cmp dword [0x1400e1460], ebx
mov r15, rcx
mov ebp, 0x1f4
jle 0x1400292aa
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov eax, ebp
dec ebp
test eax, eax
jne 0x140029197
call fcn.140029de0
mov ebp, 0x1f4
mov edx, dword [r14]
mov rcx, r15
mov r9d, dword [r14 + 4]
mov r8d, edx
mov dword [rsp + 0x20], r9d
call fcn.1400712b0
mov r9, qword [r15 + 0x10]
mov esi, eax
mov r10d, eax
test eax, eax
je 0x14002928e
nop
mov r8, qword [r9]
lea r9, [r9 + 8]
movzx ecx, byte [r8 + 0x71]
movzx edx, cl
shr dl, 1
xor dl, cl
and dl, 4
xor dl, cl
mov byte [r8 + 0x71], dl
sub r10d, 1
jne 0x1400291c0
mov rdi, qword [r15 + 0x10]
nop word [rax + rax]
mov r10, qword [rdi]
lea rdi, [rdi + 8]
test byte [r10 + 0x71], 4
jne 0x140029285
mov r11, r10
cmp ebx, dword [r10]
je 0x140029214
mov edx, ebx
mov rcx, r10
call fcn.140028b10
mov r10, qword [r10 + 0x88]
cmp r10, r11
je 0x140029275
test r10, r10
je 0x14002922c
test byte [r10 + 0x71], 8
je 0x140029205
mov r10, qword [r11 + 0x78]
test r10, r10
je 0x140029257
test byte [r10 + 0x71], 8
jne 0x140029257
cmp ebx, dword [r10]
je 0x14002924b
mov edx, ebx
mov rcx, r10
call fcn.140028b10
mov r11, r10
mov r10, qword [r10 + 0x78]
test r10, r10
jne 0x140029235
mov rax, r11
nop word [rax + rax]
mov r11, rax
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140029275
test byte [rax + 0x71], 8
je 0x140029260
mov rcx, r11
call fcn.1400286e0
mov rdx, r11
call fcn.140028c90
sub esi, 1
jne 0x1400291f0
inc ebx
add r14, 8
cmp ebx, dword [0x1400e1460]
jl 0x140029185
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret

Function at 0x140029de0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140029e1f
mov rcx, qword [0x1400e1048]
test rcx, rcx
je 0x140029e1a
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_1031
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_SendMessageA]
add rsp, 0x28
ret
lea rdx, [0x1400d9178]
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400316e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov r8d, dword [0x1400e1434]
mov rdx, qword [0x1400e1450]
test r8d, r8d
je 0x140031714
nop word [rax + rax]
mov ecx, dword [rdx]
mov eax, dword [rdx + 4]
mov dword [rdx], eax
mov dword [rdx + 4], ecx
lea rdx, [rdx + 0xc]
sub r8d, 1
jne 0x140031700
call fcn.140029de0
mov r9d, dword [0x1400e1430]
mov r8, qword [0x1400e1448]
test r9d, r9d
je 0x14003176b
add r8, 0x3c
movzx eax, byte [r8]
mov edx, eax
and edx, 7
je 0x14003175a
sub edx, 1
je 0x140031754
sub edx, 1
je 0x140031750
cmp edx, 1
jne 0x140031761
and al, 0xf9
or al, dl
jmp 0x14003175e
and al, 0xf8
jmp 0x14003175e
and al, 0xfb
or al, 3
jmp 0x14003175e
and al, 0xfa
or al, 2
mov byte [r8], al
add r8, 0x40
sub r9d, 1
jne 0x140031730
add rsp, 0x28
jmp fcn.140029de0
Function at 0x14003f700
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sub.mfc140.dll_Ordinal_2207
mov rcx, qword [rax + 8]
call sub.mfc140.dll_Ordinal_2512
nop
call sub.mfc140.dll_Ordinal_2207
mov rcx, qword [rax + 8]
call sub.mfc140.dll_Ordinal_2512
lea rcx, [rsp + 0x38]
call fcn.140007aa0
mov rcx, qword [0x1400e13b8]
call fcn.140009f10
test al, al
jne 0x14003f75f
mov rcx, qword [0x1400e13b8]
test rcx, rcx
je 0x14003f756
mov edx, 1
call fcn.140038800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [0x1400e1018]
cmp dword [rax - 0x10], 0
jne 0x14003f776
mov rcx, rbx
call fcn.14003f7f0
jmp 0x14003f7d8
call fcn.14001bd60
mov rax, qword [0x1400e1408]
test rax, rax
je 0x14003f7a6
cmp dword [rax + 0x144], 0
je 0x14003f7a6
mov dword [rax + 0x144], 0
mov rcx, qword [0x1400e1408]
call fcn.140048430
call fcn.14001ee60
mov edx, 1
mov rcx, rbx
call fcn.140042160
xor edx, edx
mov rcx, rbx
call fcn.140042160
call fcn.14004b050
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx - 1]
call fcn.14004b540
nop
lea rcx, [rsp + 0x40]
add rsp, 0x20
pop rbx
jmp fcn.140007aa0
Function at 0x140046090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400de438]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov dword [rbp - 0x39], 0x82828282
xor ecx, ecx
mov dword [rbp - 0x35], 0x44444444
xor r8d, r8d
mov dword [rbp - 0x31], 0x28282828
xor edx, edx
mov dword [rbp - 0x2d], 0x10101010
mov dword [rbp - 0x29], 0x28282828
mov dword [rbp - 0x25], 0x44444444
mov dword [rbp - 0x21], 0x82828282
mov dword [rbp - 0x1d], 0x1010101
mov dword [rbp - 0x19], 0x82828282
mov dword [rbp - 0x15], 0x44444444
mov dword [rbp - 0x11], 0x28282828
mov dword [rbp - 0xd], 0x10101010
mov dword [rbp - 9], 0x28282828
mov dword [rbp - 5], 0x44444444
mov dword [rbp - 1], 0x82828282
mov dword [rbp + 3], 0x1010101
mov dword [rbp + 7], 0x82828282
mov dword [rbp + 0xb], 0x44444444
mov dword [rbp + 0xf], 0x28282828
mov dword [rbp + 0x13], 0x10101010
mov dword [rbp + 0x17], 0x28282828
mov dword [rbp + 0x1b], 0x44444444
mov dword [rbp + 0x1f], 0x82828282
mov dword [rbp + 0x23], 0x1010101
mov dword [rbp + 0x27], 0x82828282
mov dword [rbp + 0x2b], 0x44444444
mov dword [rbp + 0x2f], 0x28282828
mov dword [rbp + 0x33], 0x10101010
mov dword [rbp + 0x37], 0x28282828
mov dword [rbp + 0x3b], 0x44444444
mov dword [rbp + 0x3f], 0x82828282
mov dword [rbp + 0x43], 0x1010101
call qword [sym.imp.OPENGL32.dll_glColor3ub]
mov ecx, 0xb42
call qword [sym.imp.OPENGL32.dll_glEnable]
lea rcx, [rbp - 0x39]
call qword [sym.imp.OPENGL32.dll_glPolygonStipple]
mov ecx, 4
call qword [sym.imp.OPENGL32.dll_glBegin]
movsd xmm1, qword [rbx + 0x108]
movsd xmm0, qword [rbx + 0x100]
subsd xmm1, qword [rbx + 0x170]
subsd xmm0, qword [rbx + 0x168]
call qword [sym.imp.OPENGL32.dll_glVertex2d]
movsd xmm1, qword [rbx + 0x170]
movsd xmm0, qword [rbx + 0x100]
addsd xmm1, qword [rbx + 0x108]
subsd xmm0, qword [rbx + 0x168]
call qword [sym.imp.OPENGL32.dll_glVertex2d]
movsd xmm1, qword [rbx + 0x170]
movsd xmm0, qword [rbx + 0x168]
addsd xmm1, qword [rbx + 0x108]
addsd xmm0, qword [rbx + 0x100]
call qword [sym.imp.OPENGL32.dll_glVertex2d]
movsd xmm1, qword [rbx + 0x108]
movsd xmm0, qword [rbx + 0x100]
subsd xmm1, qword [rbx + 0x170]
subsd xmm0, qword [rbx + 0x168]
call qword [sym.imp.OPENGL32.dll_glVertex2d]
movsd xmm1, qword [rbx + 0x170]
movsd xmm0, qword [rbx + 0x168]
addsd xmm1, qword [rbx + 0x108]
addsd xmm0, qword [rbx + 0x100]
call qword [sym.imp.OPENGL32.dll_glVertex2d]
movsd xmm1, qword [rbx + 0x108]
movsd xmm0, qword [rbx + 0x168]
subsd xmm1, qword [rbx + 0x170]
addsd xmm0, qword [rbx + 0x100]
call qword [sym.imp.OPENGL32.dll_glVertex2d]
call qword [sym.imp.OPENGL32.dll_glEnd]
mov ecx, 0xb42
call qword [sym.imp.OPENGL32.dll_glDisable]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14008bb30
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret
Function at 0x14004c330
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x20
mov esi, dword [0x1400e14b0]
xor r10d, r10d
mov rax, qword [0x1400e14c8]
test esi, esi
jle 0x14004c540
mov qword [rsp + 0x30], rbx
xorps xmm1, xmm1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
lea r14, [rax + 0x44]
nop dword [rax]
nop dword [rax + rax]
mov rdi, qword [0x1400e14b8]
lea r11d, [r10 - 1]
xor ecx, ecx
xor r9d, r9d
cmp r10d, 4
jl 0x14004c3f9
mov eax, r11d
imul eax, r10d
test eax, eax
jns 0x14004c393
inc eax
sar eax, 1
movsxd rdx, eax
lea eax, [r10 - 4]
add rdx, 2
shr eax, 2
inc eax
mov r8d, eax
lea rdx, [rdi + rdx*8]
lea r9d, [rax*4]
movsd xmm0, qword [rdx - 0x10]
ucomisd xmm0, xmm1
jp 0x14004c3c1
je 0x14004c3c3
inc ecx
movsd xmm0, qword [rdx - 8]
ucomisd xmm0, xmm1
jp 0x14004c3d0
je 0x14004c3d2
inc ecx
movsd xmm0, qword [rdx]
ucomisd xmm0, xmm1
jp 0x14004c3de
je 0x14004c3e0
inc ecx
movsd xmm0, qword [rdx + 8]
ucomisd xmm0, xmm1
jp 0x14004c3ed
je 0x14004c3ef
inc ecx
add rdx, 0x20
sub r8, 1
jne 0x14004c3b4
cmp r9d, r10d
jge 0x14004c431
mov eax, r11d
mov r8d, r10d
imul eax, r10d
cdq
sub eax, edx
sar eax, 1
add eax, r9d
cdqe
sub r8d, r9d
lea rdx, [rdi + rax*8]
movsd xmm0, qword [rdx]
ucomisd xmm0, xmm1
jp 0x14004c425
je 0x14004c427
inc ecx
add rdx, 8
sub r8, 1
jne 0x14004c419
lea r8d, [r11 + 2]
cmp r8d, esi
jge 0x14004c518
mov eax, esi
sub eax, r8d
cmp eax, 4
jl 0x14004c4ea
lea ebx, [rsi - 3]
lea r9d, [r11 + 3]
lea eax, [r9 - 2]
imul eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r10d
cdqe
movsd xmm0, qword [rdi + rax*8]
ucomisd xmm0, xmm1
jp 0x14004c472
je 0x14004c474
inc ecx
mov eax, r9d
imul eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r10d
cdqe
movsd xmm0, qword [rdi + rax*8]
ucomisd xmm0, xmm1
jp 0x14004c492
je 0x14004c494
inc ecx
lea r11d, [r9 + 1]
mov eax, r11d
imul eax, r9d
cdq
sub eax, edx
sar eax, 1
add eax, r10d
cdqe
movsd xmm0, qword [rdi + rax*8]
ucomisd xmm0, xmm1
jp 0x14004c4b6
je 0x14004c4b8
inc ecx
lea eax, [r9 + 2]
imul eax, r11d
cdq
sub eax, edx
sar eax, 1
add eax, r10d
cdqe
movsd xmm0, qword [rdi + rax*8]
ucomisd xmm0, xmm1
jp 0x14004c4d7
je 0x14004c4d9
inc ecx
add r8d, 4
add r9d, 4
cmp r8d, ebx
jl 0x14004c453
cmp r8d, esi
jge 0x14004c518
lea eax, [r8 - 1]
imul eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r10d
cdqe
movsd xmm0, qword [rdi + rax*8]
ucomisd xmm0, xmm1
jp 0x14004c50e
je 0x14004c510
inc ecx
inc r8d
cmp r8d, esi
jl 0x14004c4ef
mov dword [r14], ecx
inc r10d
mov esi, dword [0x1400e14b0]
add r14, 0x48
cmp r10d, esi
jl 0x14004c370
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
jmp fcn.140029de0
Function at 0x14004d020
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov dword [rsp + 0x80], 0
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.140075170
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400752d0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140.dll_Ordinal_305]
mov dword [rsp + 0x80], 1
lea r9, str.view.tmp
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x14004d090
mov rdx, qword [rbx]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
lea rdx, [rsp + 0x90]
lea rcx, [0x1400e1008]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rdx, [0x1400a55f8]
mov rcx, qword [0x1400e1008]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x1400e0f68], rax
test rax, rax
jne 0x14004d110
call fcn.14002a5f0
jmp 0x14004d286
xor ebp, ebp
cmp dword [0x1400e0d34], ebp
jle 0x14004d272
nop
call fcn.140029de0
mov ecx, ebp
call fcn.140020a40
mov rax, qword [0x1400e14c0]
cmp dword [rax], 6
je 0x14004d25d
mov rbx, qword [0x1400e14b8]
mov esi, dword [0x1400e14b0]
lea eax, [rsi - 1]
imul eax, esi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
je 0x14004d188
nop dword [rax + rax]
mov r9, qword [0x1400e0f68]
mov edx, 8
lea r8d, [rdx - 7]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rbx, 8
sub edi, 1
jne 0x14004d160
mov esi, dword [0x1400e14b0]
mov rdi, qword [0x1400e14c8]
test esi, esi
je 0x14004d23c
add rdi, 0x28
nop dword [rax + rax]
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r9, qword [0x1400e0f68]
mov edx, 8
lea r8d, [rdx - 7]
lea rcx, [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, ebx
test ebx, ebx
je 0x14004d20f
sub ecx, 1
je 0x14004d1fd
sub ecx, 1
je 0x14004d1ec
cmp ecx, 1
je 0x14004d221
inc ebx
cmp ebx, 4
jge 0x14004d22f
jmp 0x14004d1b0
movsd xmm0, qword [rsp + 0x88]
movsd qword [rdi], xmm0
inc ebx
jmp 0x14004d1b0
movsd xmm0, qword [rsp + 0x88]
movsd qword [rdi - 8], xmm0
inc ebx
jmp 0x14004d1b0
movsd xmm0, qword [rsp + 0x88]
movsd qword [rdi - 0x10], xmm0
inc ebx
jmp 0x14004d1b0
movsd xmm0, qword [rsp + 0x88]
movsd qword [rdi + 0x10], xmm0
add rdi, 0x48
sub esi, 1
jne 0x14004d1a0
mov rcx, qword [0x1400e14c0]
add rcx, 0x18
mov r9, qword [0x1400e0f68]
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
inc ebp
cmp ebp, dword [0x1400e0d34]
jl 0x14004d120
mov rax, qword [0x1400e0f68]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x1400e0f68], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004d2c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x80
mov rbx, qword [0x1400e14c8]
xor edi, edi
cmp dword [0x1400e14b0], edi
jle 0x14004d3d9
movaps xmmword [rax - 0x18], xmm6
add rbx, 0x10
movaps xmmword [rax - 0x28], xmm7
movsd xmm7, qword [0x1400a6348]
movaps xmmword [rax - 0x38], xmm8
movsd xmm8, qword [0x1400a6370]
movaps xmmword [rax - 0x48], xmm9
movsd xmm9, qword [0x1400aa080]
movaps xmmword [rax - 0x58], xmm10
movss xmm10, dword [0x1400a5738]
movaps xmmword [rax - 0x68], xmm11
movsd xmm11, qword [0x1400a57a0]
mov ecx, edi
call fcn.14004db20
comisd xmm9, xmm0
movaps xmm5, xmm0
xorps xmm6, xmm6
xorps xmm4, xmm4
jbe 0x14004d39b
mov rcx, qword [0x1400e14c0]
mov edx, dword [rcx]
sub edx, 3
je 0x14004d36c
sub edx, 1
je 0x14004d43a
sub edx, 1
je 0x14004d3ee
cmp edx, 2
jne 0x14004d39b
movss xmm0, dword [0x1400de074]
subsd xmm5, xmm8
movsd xmm4, qword [rbx]
cvtps2pd xmm0, xmm0
mulsd xmm4, xmm7
mulsd xmm4, xmm0
movss xmm0, dword [0x1400e0db4]
cvtps2pd xmm0, xmm0
mulsd xmm4, xmm5
mulsd xmm4, xmm0
movsd qword [rbx + 0x18], xmm4
inc edi
movsd qword [rbx + 0x28], xmm6
add rbx, 0x48
cmp edi, dword [0x1400e14b0]
jl 0x14004d330
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
jmp fcn.140029de0
movss xmm1, dword [rbx + 0x30]
movaps xmm0, xmm10
movsd xmm2, qword [rbx]
subss xmm0, xmm1
mulsd xmm2, xmm7
divss xmm1, xmm0
movss xmm0, dword [0x1400de074]
cvtps2pd xmm3, xmm1
movss xmm1, dword [0x1400e0db4]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
mulsd xmm2, xmm0
addsd xmm3, xmm5
mulsd xmm2, xmm1
mulsd xmm3, xmm2
movsd qword [rbx + 8], xmm3
jmp 0x14004d39b
movsd xmm4, qword [rbx]
subsd xmm5, xmm8
movzx eax, byte [rbx - 8]
movss xmm0, dword [0x1400de074]
cvtps2pd xmm0, xmm0
mulsd xmm4, xmm7
imul rcx, rax, 0xe8
mulsd xmm4, xmm0
movss xmm0, dword [0x1400e0db4]
cvtps2pd xmm0, xmm0
mov rax, qword [0x1400e0fb8]
movss xmm6, dword [rcx + rax + 0x70]
mulsd xmm4, xmm5
cvtps2pd xmm6, xmm6
mulsd xmm4, xmm0
movaps xmm0, xmm4
xorps xmm0, xmm11
mulsd xmm6, xmm0
jmp 0x14004d39b
Function at 0x14004d750
Capabilities:
Log keystrokes via polling

Disassembly:
movss xmm0, dword [0x1400e0db4]
xor r8d, r8d
cmp dword [0x1400e14b0], r8d
xorps xmm1, xmm1
xorps xmm0, xmmword [0x1400a6650]
mulss xmm0, dword [0x1400de074]
mulss xmm0, dword [0x1400aa074]
cvtss2sd xmm1, xmm0
jle 0x14004d88b
xorps xmm2, xmm2
nop dword [rax]
xor r10d, r10d
lea r9d, [r8 - 1]
cmp r8d, 4
jl 0x14004d835
mov eax, r9d
imul eax, r8d
test eax, eax
jns 0x14004d7ae
inc eax
sar eax, 1
movsxd rcx, eax
mov rax, qword [0x1400e14b8]
add rax, 0x10
lea rdx, [rax + rcx*8]
lea eax, [r8 - 4]
shr eax, 2
inc eax
mov ecx, eax
lea r10d, [rax*4]
movsd xmm0, qword [rdx - 0x10]
ucomisd xmm0, xmm2
jp 0x14004d7e2
je 0x14004d7eb
mulsd xmm0, xmm1
movsd qword [rdx - 0x10], xmm0
movsd xmm0, qword [rdx - 8]
ucomisd xmm0, xmm2
jp 0x14004d7f8
je 0x14004d801
mulsd xmm0, xmm1
movsd qword [rdx - 8], xmm0
movsd xmm0, qword [rdx]
ucomisd xmm0, xmm2
jp 0x14004d80d
je 0x14004d815
mulsd xmm0, xmm1
movsd qword [rdx], xmm0
movsd xmm0, qword [rdx + 8]
ucomisd xmm0, xmm2
jp 0x14004d822
je 0x14004d82b
mulsd xmm0, xmm1
movsd qword [rdx + 8], xmm0
add rdx, 0x20
sub rcx, 1
jne 0x14004d7d5
cmp r10d, r8d
jge 0x14004d87b
imul r9d, r8d
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
add eax, r10d
movsxd rcx, eax
mov rax, qword [0x1400e14b8]
lea rdx, [rax + rcx*8]
mov ecx, r8d
sub ecx, r10d
movsd xmm0, qword [rdx]
ucomisd xmm0, xmm2
jp 0x14004d869
je 0x14004d871
mulsd xmm0, xmm1
movsd qword [rdx], xmm0
add rdx, 8
sub rcx, 1
jne 0x14004d85d
inc r8d
cmp r8d, dword [0x1400e14b0]
jl 0x14004d790
jmp fcn.140029de0

Function at 0x140075340
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1400de438]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rdx
mov dword [rsp + 0x30], Ordinal_266
mov rdi, rcx
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007542c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140075421
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400753e0
cmp byte [rsp + rax + 0x50], 0x5c
je 0x140075414
lea rax, [rsp + 0x50]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140075400
movzx edx, word [0x1400a2f18]
mov word [rax], dx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400758b0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14008bb30
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret
Function at 0x140075450
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1400de438]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rdx
mov dword [rsp + 0x30], Ordinal_266
mov rdi, rcx
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007553c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140075531
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400754f0
cmp byte [rsp + rax + 0x50], 0x5c
je 0x140075524
lea rax, [rsp + 0x50]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140075510
movzx edx, word [0x1400a2f18]
mov word [rax], dx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400758b0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14008bb30
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret