joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400296c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400ed200]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.140028ab0
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140029732
mov qword [rbp + 0x38], 0
jmp 0x1400297d0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140029742
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140029771
mov qword [rbp + 0x30], 0
jmp 0x1400297c8
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140029799
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400b5710
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.140028ac0
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.14001af90
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400297f6
inc rcx
test dl, dl
jne 0x1400297e3
xor eax, eax
jmp 0x1400297fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140029820
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.140008b90
mov eax, dword [rbp + 0x1c]
jmp 0x140029856
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140029716
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140008b90
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.1400b4390
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x140031dc0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400c46e0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140031e4e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140031df2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140031e60
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400c46e0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140031f64
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140031f5f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140031f34
cmp qword [rsp + 0x38], 2
jb 0x140031f34
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140031f34
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140031f34
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140031ea7
jmp 0x140031ff6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140031ff6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140031fcc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140031fcc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140031fcc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140031f64
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14007d770
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14007d796
mov dword [rsp + 0x20], 1
jmp 0x14007d79e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14008b1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3c18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3c20]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.14000bec0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x14008b33f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x14008b301
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140058a90
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x14008b2fc
jmp 0x14008b33f
jmp 0x14008b272
cmp dword [rsp + 0x28], 0xd
jne 0x14008b30d
jmp 0x14008b272
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400825d0
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x14008b272
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x14008b35e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x14008b39a
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000bec0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1400e411c]
ja 0x14008b3b7
mov rax, qword [rsp + 0x70]
xorps xmm0, xmm0
ucomiss xmm0, dword [rax + 4]
jne 0x14008b3d1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x14008b3ec
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400b1d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400ed200]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140008130
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400b1ee0
nop
lea rax, [0x1400b1f60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140008fb0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400b1dc3
lea rcx, [rsp + 0x40]
call fcn.1400b1e00
jmp 0x1400b1ddb
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.1400b1e30
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b4390
add rsp, 0x58
ret

Function at 0x1400b5368
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b53b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b53b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b53b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b53b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b53b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b53b4
xor al, al
add rsp, 0x28
ret
Function at 0x14003b3b6
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005a540
xor r8d, r8d
xor edx, edx
jmp 0x14005a230

Function at 0x14003c202
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400ad9e0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400d51e0]
xor r11d, r11d
lea rdi, [0x1400bd864]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400ada50
mov rax, 0xfffffffffffffffe
jmp 0x1400adb9d
cmp word [r10 + 6], r11w
jne 0x1400adabf
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400ada7a
test r14, r14
je 0x1400ada6b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400adb9d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400ada88
mov r8b, 2
jmp 0x1400adaa6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400ada96
mov r8b, 3
jmp 0x1400adaa6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400adb92
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400adae8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400adb92
cmp bl, bpl
jb 0x1400adb92
cmp bl, r8b
jae 0x1400adb92
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400adb15
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400adb92
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400adaf7
cmp r9, rbp
jae 0x1400adb41
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400ada44
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400adb92
cmp edx, 0x110000
jae 0x1400adb92
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400adb92
test r14, r14
je 0x1400adb80
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14003db39
jmp 0x1400adb9d
mov rdx, rsi
mov rcx, r10
call fcn.14003e1a6
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003c6a8
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003c252
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400436d8
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140043765
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140043765
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140043765
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14004374c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140043746
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14004374e
add rdx, 0x28
jmp 0x14004372b
xor edx, edx
test rdx, rdx
jne 0x140043757
xor al, al
jmp 0x14004376b
cmp dword [rdx + 0x24], 0
jge 0x140043761
xor al, al
jmp 0x14004376b
mov al, 1
jmp 0x14004376b
xor al, al
jmp 0x14004376b
add rsp, 0x18
ret

Function at 0x14003c52c
Capabilities:
Query environment variable

Disassembly:
jmp 0x140093594
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14009361b
mov rsi, rbx
cmp word [rax], bp
je 0x1400935da
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400935c4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400935c0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003b037
mov rdi, rax
test rax, rax
je 0x140093608
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003c6ad
mov rbp, rdi
xor ecx, ecx
call fcn.14003b172
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003c7fc
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140051abc
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400be828]
mov ecx, 2
lea r8, [0x1400be820]
lea rdx, str.FlsGetValue
call fcn.14005158c
mov ecx, ebx
test rax, rax
je 0x140051af6
add rsp, 0x20
pop rbx
jmp qword [0x1400e0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14003c94b
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140051a0c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400be7e8]
xor ecx, ecx
lea r8, [0x1400be7e0]
lea rdx, str.FlsAlloc
call fcn.14005158c
test rax, rax
je 0x140051a45
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400e0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x14003c9c8
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009bdf4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400c2348]
mov rbp, rcx
lea r8, [0x1400c2340]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.14009b314
test rax, rax
je 0x14009be54
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400e0030]
jmp 0x14009be6e
xor edx, edx
mov rcx, rbp
call fcn.14003c2a2
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003c9d7
Capabilities:
Terminate process

Disassembly:
jmp 0x140042eb8
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14003cb12
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005a4d4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14005a230

Function at 0x14003cfdb
Capabilities:
Parse pe header

Disassembly:
jmp 0x140043c88
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140043cd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140043cd2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140043cd2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140043cd2
cmp dword [rcx + 0x84], 0xe
jbe 0x140043cd2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140043cd4
xor al, al
add rsp, 0x28
ret
Function at 0x14003d468
Capabilities:
Terminate process

Disassembly:
jmp 0x14008e5a4
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14008e5be
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14003db43
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14003dc2e
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140051b14
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400be848]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400be840]
call fcn.14005158c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140051b54
call qword [0x1400e0020]
jmp 0x140051b5a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003ddb4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005a4c4
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005a29f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005a29f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005a29f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005a29f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005a29f
cmp dword [rcx + 0x84], 0xe
jbe 0x14005a29f
cmp dword [rcx + 0xf8], 0
je 0x14005a29f
mov ecx, ebx
call fcn.14005a408
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140059f80
nop
cmp dword [rbp + 0x20], 0
je 0x14005a2ed
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005a328
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14005a230
Function at 0x140009e58
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::empty_void_const___ptr64]
test al, al
je 0x140009e98
mov eax, 1
jmp 0x140009f85
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0xff
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140009edf
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.Global_
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x140009f23
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rdx, [0x140026188]
lea rcx, [rsp + 0x28]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r9, rax
mov ebx, 1
mov r8d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14003b860], rax
test rax, rax
je 0x140009f6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140009f6c
xor ebx, ebx
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001fd00
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rbp
ret
Function at 0x14000a010
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000a0a5
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x14000a098
lea rdx, str.zTscoder.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000a08a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x28], eax
je 0x14000a08a
mov edx, dword [rsp + 0x28]
lea rcx, [0x140009fb0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000a057
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001fd00
add rsp, 0x270
pop rbx
ret