joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002d38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400dcc40
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1401150f0]
xor r11d, r11d
lea rdi, [0x1400ebeb6]
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 0x1400dccb0
mov rax, 0xfffffffffffffffe
jmp 0x1400dcdfd
cmp word [r10 + 6], r11w
jne 0x1400dcd1f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400dccda
test r14, r14
je 0x1400dcccb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400dcdfd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400dcce8
mov r8b, 2
jmp 0x1400dcd06
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400dccf6
mov r8b, 3
jmp 0x1400dcd06
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400dcdf2
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 0x1400dcd48
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400dcdf2
cmp bl, bpl
jb 0x1400dcdf2
cmp bl, r8b
jae 0x1400dcdf2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400dcd75
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400dcdf2
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 0x1400dcd57
cmp r9, rbp
jae 0x1400dcda1
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400dcca4
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400dcdf2
cmp edx, 0x110000
jae 0x1400dcdf2
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 0x1400dcdf2
test r14, r14
je 0x1400dcde0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140005768
jmp 0x1400dcdfd
mov rdx, rsi
mov rcx, r10
call fcn.140006294
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003521
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002db0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14005bccc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14005bd59
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14005bd59
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005bd59
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 0x14005bd40
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14005bd3a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14005bd42
add rdx, 0x28
jmp 0x14005bd1f
xor edx, edx
test rdx, rdx
jne 0x14005bd4b
xor al, al
jmp 0x14005bd5f
cmp dword [rdx + 0x24], 0
jge 0x14005bd55
xor al, al
jmp 0x14005bd5f
mov al, 1
jmp 0x14005bd5f
xor al, al
jmp 0x14005bd5f
add rsp, 0x18
ret
Function at 0x140003288
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140074a50
mov rax, rcx
neg rcx
test rax, 7
je 0x140074a6d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140074ac8
test al, 7
jne 0x140074a60
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140074a81
mov rdx, qword [rax - 8]
test dl, dl
je 0x140074af2
test dh, dh
je 0x140074aec
shr rdx, 0x10
test dl, dl
je 0x140074ae6
test dh, dh
je 0x140074ae0
shr rdx, 0x10
test dl, dl
je 0x140074ada
test dh, dh
je 0x140074ad4
shr edx, 0x10
test dl, dl
je 0x140074ace
test dh, dh
jne 0x140074a81
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400032bf
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c7d80
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 0x1400c7e07
mov rsi, rbx
cmp word [rax], bp
je 0x1400c7dc6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c7db0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c7dac
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x1400c7df4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003549
mov rbp, rdi
xor ecx, ecx
call fcn.140001262
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 0x14000356c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140051d10
jmp 0x14005870c
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140051d40
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x140051d22
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x14000232e

Function at 0x14000376f
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140070a64
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400f0908]
mov ecx, 2
lea r8, [0x1400f0900]
lea rdx, [0x1400f0910]
call fcn.140070534
mov ecx, ebx
test rax, rax
je 0x140070a9e
add rsp, 0x20
pop rbx
jmp qword [0x140122020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1400039b8
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c7c2c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400c7c5c
xor eax, eax
jmp 0x1400c7d1f
mov rbp, rbx
cmp word [rax], si
je 0x1400c7c81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c7c68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c7c64
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140004a07
movsxd r14, eax
test eax, eax
jne 0x1400c7cbf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c7c55
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400c7cd8
xor ecx, ecx
call fcn.140001262
jmp 0x1400c7cb4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140004a07
test eax, eax
jne 0x1400c7d09
mov rcx, rdi
call fcn.140001262
jmp 0x1400c7d13
xor ecx, ecx
call fcn.140001262
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400039cc
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400709b4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400f08c8]
xor ecx, ecx
lea r8, [0x1400f08c0]
lea rdx, [0x1400f08d0]
call fcn.140070534
test rax, rax
je 0x1400709ed
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140122020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003a8f
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400ba630
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, [0x1400f3d28]
mov rbp, rcx
lea r8, [0x1400f3d20]
lea rdx, [0x1400f3d30]
mov ecx, 8
call fcn.1400b9b50
test rax, rax
je 0x1400ba690
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140122030]
jmp 0x1400ba6aa
xor edx, edx
mov rcx, rbp
call fcn.140002e1e
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 0x140003aa3
Capabilities:
Terminate process

Disassembly:
jmp 0x14005c47c
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 0x140003d05
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b13f4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400b1150

Function at 0x140003f9e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400dec30
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400dec58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400dec58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400044da
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005cd14
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005cd5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005cd5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005cd5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005cd5e
cmp dword [rcx + 0x84], 0xe
jbe 0x14005cd5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005cd60
xor al, al
add rsp, 0x28
ret

Function at 0x1400045ca
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14002df04
jmp 0x14004b5a0
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14002df36
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14002df19
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000118b

Function at 0x140004917
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400deb70
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1400debb1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400deba5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400debb3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400deb93
xor eax, eax
ret
Function at 0x140004c87
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14000f590
push rdi
mov eax, 0x1160
call fcn.140001e38
sub rsp, rax
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x1150], rax
call fcn.1400010a5
movzx eax, byte [0x1400eb187]
mov byte [rsp + 0x1040], al
lea rax, [rsp + 0x1041]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea r8, [rsp + 0x30]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x14000f606
lea rcx, [0x1400eb198]
call fcn.140003472
mov eax, 1
jmp 0x14000f6ac
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 0
jmp 0x14000f62c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jae 0x14000f6aa
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + rax*4 + 0x40]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000f6a5
mov r9d, 0x104
lea r8, [rsp + 0x1040]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_K32GetModuleBaseNameA
test eax, eax
jbe 0x14000f69a
lea rcx, [rsp + 0x1040]
call fcn.1400054ed
test eax, eax
je 0x14000f69a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000f6ac
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000f622
xor eax, eax
mov rcx, qword [rsp + 0x1150]
xor rcx, rsp
call fcn.140003521
add rsp, 0x1160
pop rdi
ret

Function at 0x140004c8c
Capabilities:
Terminate process

Disassembly:
jmp 0x1400719bc
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400719d6
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140005786
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 0x1400054e8
Capabilities:
Get common file path

Disassembly:
jmp 0x14000f7f0
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xd
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140002a13
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
call fcn.1400058e4
lea rcx, [rsp + 0x30]
call fcn.1400051c3
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003521
add rsp, 0x278
ret
Function at 0x140005939
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140070abc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400f0928]
mov edi, ecx
lea rdx, [0x1400f0930]
mov ecx, 3
lea r8, [0x1400f0920]
call fcn.140070534
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140070afc
call qword [0x140122020]
jmp 0x140070b02
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400059a7
Capabilities:
Set registry value

Disassembly:
jmp 0x140010400
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
lea rdx, [0x1400eb280]
mov rcx, qword [rsp + 0x68]
call fcn.14000330a
mov rcx, rax
call fcn.1400064d3
mov qword [rsp + 0x70], rax
lea rdx, [0x1400eb2b8]
lea rcx, [rsp + 0xa8]
call fcn.14000330a
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1400104cf
mov edx, dword [rsp + 0x50]
lea rcx, [0x1400eb2c0]
call fcn.140003472
lea rcx, [rsp + 0xa8]
call fcn.140001e74
jmp 0x140010566
mov rcx, qword [rsp + 0xe0]
call fcn.140004737
inc rax
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140001758
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xa8]
call fcn.140001758
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14001054e
mov edx, dword [rsp + 0x50]
lea rcx, [0x1400eb2e0]
call fcn.140003472
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0xa8]
call fcn.140001e74
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140003521
add rsp, 0xd8
ret
Function at 0x140005a3d
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400d91cc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002cd4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d9256
cmp byte [rbp - 0x21], r15b
je 0x1400d9251
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d928c
call fcn.140006064
test eax, eax
jne 0x1400d9278
cmp byte [rbp - 0x21], r15b
je 0x1400d9270
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d928c
cmp byte [rbp - 0x21], r15b
je 0x1400d9289
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400063d4
test eax, eax
jne 0x1400d932c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002cd4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d92cb
cmp byte [rbp - 0x21], r15b
je 0x1400d9300
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d9300
call fcn.140006064
test eax, eax
jne 0x1400d92ec
cmp byte [rbp - 0x21], r15b
je 0x1400d92e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d9300
cmp byte [rbp - 0x21], r15b
je 0x1400d92fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400063d4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d932c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d932f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d933d
mov rcx, rdi
call fcn.140001262
cmp byte [rbp + 0x3f], r15b
je 0x1400d934c
mov rcx, qword [rbp + 0x27]
call fcn.140001262
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140005bc3
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b13e4
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 0x1400b11bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b11bf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b11bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b11bf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b11bf
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b11bf
cmp dword [rcx + 0xf8], 0
je 0x1400b11bf
mov ecx, ebx
call fcn.1400b1328
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.1400b0eb0
nop
cmp dword [rbp + 0x20], 0
je 0x1400b120d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b1248
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400b1150

Function at 0x140005c63
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14002dec0
jmp 0x14004b588
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14002def2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14002ded5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400040c5

Function at 0x140005e66
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x14000fd20
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov eax, dword [rsp + 0x40]
mov edx, eax
lea rcx, [0x140001168]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [rsp + 0x40]
cmp dword [section..data], eax
jne 0x14000fd51
mov dword [rsp + 0x20], 1
jmp 0x14000fd59
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14000f590
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14000f590
push rdi
mov eax, 0x1160
call fcn.140001e38
sub rsp, rax
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x1150], rax
call fcn.1400010a5
movzx eax, byte [0x1400eb187]
mov byte [rsp + 0x1040], al
lea rax, [rsp + 0x1041]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea r8, [rsp + 0x30]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x14000f606
lea rcx, [0x1400eb198]
call fcn.140003472
mov eax, 1
jmp 0x14000f6ac
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 0
jmp 0x14000f62c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jae 0x14000f6aa
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + rax*4 + 0x40]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000f6a5
mov r9d, 0x104
lea r8, [rsp + 0x1040]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_K32GetModuleBaseNameA
test eax, eax
jbe 0x14000f69a
lea rcx, [rsp + 0x1040]
call fcn.1400054ed
test eax, eax
je 0x14000f69a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000f6ac
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000f622
xor eax, eax
mov rcx, qword [rsp + 0x1150]
xor rcx, rsp
call fcn.140003521
add rsp, 0x1160
pop rdi
ret

Function at 0x14000f7f0
Capabilities:
Get common file path

Disassembly:
jmp 0x14000f7f0
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xd
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140002a13
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
call fcn.1400058e4
lea rcx, [rsp + 0x30]
call fcn.1400051c3
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003521
add rsp, 0x278
ret
Function at 0x14000fd20
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x14000fd20
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov eax, dword [rsp + 0x40]
mov edx, eax
lea rcx, [0x140001168]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [rsp + 0x40]
cmp dword [section..data], eax
jne 0x14000fd51
mov dword [rsp + 0x20], 1
jmp 0x14000fd59
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14000fd70
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
jmp 0x14000fd70
sub rsp, 0x68
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x14000fdd0
lea rcx, [0x1400eb1f0]
call fcn.140003472
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000fe6a
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000fe46
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessIdOfThread]
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x30]
call fcn.140005e66
test eax, eax
je 0x14000fe3b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x14000fe2f
lea rcx, [0x1400eb208]
call fcn.140003472
jmp 0x14000fe3b
lea rcx, [0x1400eb220]
call fcn.140003472
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x14000fdd0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003521
add rsp, 0x68
ret