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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140069390]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000ffa9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000ffb4
lea rdx, [0x14003fb3c]
mov rcx, rbx
mov rdi, rax
call fcn.140009ce8
mov rbx, rax
test rax, rax
je 0x14000ffa9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ed70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001ef61
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, pe_nt_image_headers64
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001ee12
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001ee34
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14003fcc0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001ef54
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001ee82
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001ee86
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e4dc
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001e914
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001ee71
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x14001edc0
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400200c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009530
mov rcx, qword [0x140069818]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x140069820]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140069828]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x140069820], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140009530
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x1400201e9
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x140069818]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140069818]
jne 0x14002023e
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002023e
mov rcx, qword [0x140069818]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002023e
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14002024c
or eax, 0xffffffff
jmp 0x140020251
call fcn.1400095b4
cmp dword [0x14004c138], eax
je 0x140020264
mov dword [0x14004c138], eax
call fcn.14002028c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d360
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140034d80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140034dd3
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140034d98
jmp 0x140034de0
cmp dword [rcx], 0x4e0
jb 0x140034de0
call fcn.140039e10
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
Function at 0x140038e08
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov qword [rbp - 0x49], rcx
lea rcx, [rbp + 0x5f]
movabs rsi, 0x7a5db90d33787107
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rcx
mov rax, qword [rcx]
xor rax, rsi
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x21], rax
xor r15d, r15d
mov qword [rcx], r15
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov rdx, qword [0x1400699e0]
add rdx, 0xe2ced18
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, rsi
mov qword [rbp - 0x39], rax
mov qword [r14], r15
mov qword [rbp - 0x59], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x59]
lea rcx, [0x140069db0]
call fcn.14003b008
mov r13, qword [rbp - 0x59]
mov qword [r14], rdi
mov rax, qword [0x1400699e0]
add rax, 0xe2cecd8
test r13, r13
cmove r13, rax
lea rbx, [rbp + 0x5f]
lea r14, [rbp - 9]
lea r12d, [r15 + 7]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rbx
mov rax, rdi
xor rax, rsi
mov qword [rbp - 0x39], rax
and qword [rbx], 0
and qword [rbp - 0x51], 0
lea rdx, [r15 + r13]
mov r9d, 8
lea r8, [rbp - 0x51]
lea rcx, [0x140069db0]
call fcn.14003b008
mov rax, qword [rbp - 0x51]
mov qword [rbx], rdi
mov qword [r14], rax
lea r15, [r15 + 8]
lea r14, [r14 + 8]
sub r12, 1
jne 0x140038eea
movdqa xmm2, xmmword [0x1400447d0]
movdqu xmm0, xmmword [rbp - 9]
xorps xmm2, xmm0
movabs rcx, 0x4ef1f15dfe2d977f
mov rax, qword [rbp + 7]
xor rax, rcx
movdqa xmm3, xmmword [0x140044780]
movdqu xmm0, xmmword [rbp + 0xf]
xorps xmm3, xmm0
movabs rdx, 0x4ef29a7e813efc5d
mov rcx, qword [rbp + 0x1f]
xor rcx, rdx
movabs r8, 0x4e1772384c14291f
mov rdx, qword [rbp + 0x27]
xor rdx, r8
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
mov rbx, qword [rbp - 0x49]
movsd qword [rbx], xmm0
movsd qword [rbx + 8], xmm2
mov qword [rbx + 0x10], rax
movaps xmm0, xmm3
unpckhpd xmm0, xmm3
movsd qword [rbx + 0x18], xmm0
movsd qword [rbx + 0x20], xmm3
mov qword [rbx + 0x28], rcx
mov dword [rbx + 0x30], edx
xor rsi, qword [rbp - 0x41]
lea rax, [rbp + 0x5f]
mov qword [rax], rsi
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003d360
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140038ff8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r8d
mov rsi, rdx
xor eax, eax
cmp ecx, 0x7b
ja 0x140039038
movsxd rax, ecx
lea rcx, [0x140067a70]
mov rax, qword [rcx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
test rax, rax
jne 0x14003907c
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x140044230]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], 0
jmp 0x14003908c
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14003a338
mov rdx, qword [rbp - 0x10]
cmp edi, 1
jne 0x1400390dc
lea eax, [rdi + 0xc]
cmp rdx, rax
jb 0x1400390c2
lea rbx, [rbp - 0x28]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov r8d, eax
lea rdx, str.Press_the_key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x1400390d8
lea r9, str.Press_the_key
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14003322c
mov rdx, qword [rbp - 0x10]
mov dword [rbp - 0x30], 0x42fa0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp rdx, 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.140025d64
test al, al
je 0x140039123
test edi, edi
jne 0x140039123
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140039161
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003915c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003915c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003cfa4
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d360
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400391ac
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push r14
sub rsp, 0x60
lea r14, [rsp + 0x68]
movabs rcx, 0x7a5db90d33787107
mov qword [r11 - 0x20], rcx
mov qword [r11 - 0x18], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, rcx
mov qword [r11 - 0x28], rax
and qword [r14], 0
lea rdx, [0x1400699d8]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
js 0x14003934e
xor edx, edx
lea r8d, [rdx + 0x40]
lea rbx, [0x140069940]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1400699f8]
mov dword [0x140069940], eax
mov eax, dword [0x1400699fc]
mov dword [0x140069944], eax
mov dword [0x140069948], 0x15
and dword [0x140069950], 0
mov dword [0x140069970], 0x50
mov r8d, 1
mov dword [0x140069958], r8d
mov dword [0x14006996c], r8d
mov r9, qword [0x140069ea8]
mov qword [0x140069960], r9
mov dword [0x140069968], r8d
mov rcx, qword [0x1400699d8]
mov rax, qword [rcx]
lea rdx, [0x140069eb0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x20
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x14003934e
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov edx, 0x1548
mov r9d, 8
mov r8d, 0x3a0
lea rcx, str.1.67_WIP
call fcn.140007814
xor ecx, ecx
call fcn.140007478
call fcn.140009530
mov rbx, rax
mov rcx, qword [0x140069ea8]
call fcn.14001ffc0
mov rcx, qword [0x140069eb0]
call fcn.14001f68c
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
movss xmm3, dword [0x14003fd7c]
mov r8d, 0x1b44c
lea rdx, str.OTTO
mov rcx, qword [rbx + 0x98]
call fcn.140013e0c
mov qword [0x140069870], rax
mov rcx, qword [0x1400699d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [r14], rdi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140039738
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
lea r14, [rsp + 0xc8]
xor ebp, ebp
mov rbx, qword [r14]
xor ecx, ecx
mov qword [r14], rbp
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbp + 1]
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x1400399fc]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x98], rbp
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea r15, str.notepad
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
lea rax, [0x140039c10]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x14003982a
lea r9d, [rbp + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Failed_to_register_window_class.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400398b5
mov qword [rsp + 0x58], rbp
mov r9d, 0x80000000
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rdx, r15
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140069ea8], rax
test rax, rax
je 0x1400398b5
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140069ea8]
lea rdx, [0x140043e58]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140069ea8]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140069ea8]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r11, [rsp + 0xb0]
mov qword [r14], rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140039e10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140039e27
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140039e72
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret

Function at 0x14003a464
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea r14, [rsp + 0x178]
mov rbp, rdx
mov rsi, qword [r14]
lea rcx, [rsp + 0x24]
xor ebx, ebx
xor edx, edx
mov r8d, 0x12c
mov qword [r14], rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32First
jmp 0x14003a4f3
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rdi
test eax, eax
je 0x14003a52d
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14003a4d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], rsi
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003d360
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14003a500

Function at 0x14003a53c
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], ecx
lea rcx, [0x1400327d0]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14003a575
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14003a575
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x14003a577
xor eax, eax
add rsp, 0x38
ret
Function at 0x14003da68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003dab2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003dab2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003dab2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003dab2
cmp dword [rcx + 0x84], 0xe
jbe 0x14003dab2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003dab4
xor al, al
add rsp, 0x28
ret
Function at 0x1400028e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test rax, rax
je 0x140002955
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002955
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002945
nop
cmp rbx, rcx
jae 0x140002955
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140002930
cmp rbx, rcx
jae 0x140002955
cmp word [rbx], 0
je 0x140002955
mov rax, rbx
jmp 0x140002957
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140009310
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140051268]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
call fcn.140002db0
mov rcx, rax
lea r9, [0x140036098]
lea r8, str.CMainService::CreateAudioAnalyticsMonitor
xor edx, edx
call fcn.1400151c0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
xor esi, esi
call fcn.140002db0
cmp byte [rax + 0x64], sil
je 0x1400093ad
lea ecx, [rbx + 0x28]
call fcn.14000e7f0
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400093a3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
call fcn.140002db0
mov rdx, rax
lea r8, str.CMainService::CreateAudioAnalyticsMonitor
mov rcx, rbx
call fcn.140010790
mov rbx, rax
jmp 0x1400093a5
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov rsi, rbx
mov rcx, rdi
call fcn.1400090a0
test al, al
jne 0x1400093ca
call fcn.140002db0
lea r9, str.Audio_Analytics_is_disabled__0_or__1__in_registry
jmp 0x140009474
cmp qword [rdi + 0x50], 0
jne 0x140009468
call fcn.140002db0
mov rcx, rax
lea r9, str.Starting_the_thread___AudioAnalyticsThread
lea r8, str.CMainService::CreateAudioAnalyticsMonitor
mov edx, 3
call fcn.1400151c0
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x140009150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x50], rax
test rax, rax
jne 0x14000945a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
call fcn.140002db0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.Start_Audio_Analytics_failed__err___d
lea r8, str.CMainService::CreateAudioAnalyticsMonitor
mov edx, 5
call fcn.1400151c0
jmp 0x1400094a9
call fcn.140002db0
lea r9, str.Started_Audio_AnalyticsThread
jmp 0x140009474
call fcn.140002db0
lea r9, str.Audio_AnalyticsThread_is_already_running
lea r8, str.CMainService::CreateAudioAnalyticsMonitor
mov edx, 3
mov rcx, rax
call fcn.1400151c0
call fcn.140002db0
lea r9, [0x140036098]
lea r8, str.CMainService::CreateAudioAnalyticsMonitor
mov edx, 1
mov rcx, rax
call fcn.1400151c0
nop
test rsi, rsi
je 0x1400094c3
mov rcx, rbx
call fcn.140011230
mov edx, 0x28
mov rcx, rbx
call fcn.14000e830
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000ee50
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret