joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a1930
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140287e20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401a1950
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401a1958
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401a1950
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401a19ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401a19a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401a1950
add rax, 0x28
cmp rax, r9
jne 0x1401a1990
xor eax, eax
ret

Function at 0x1401a19b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140287e20]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401a19cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401a19d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401a19cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401a1a70
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140287e20]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401a1a8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401a1a98
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140025720
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov dword [rcx + 0x30], 0x3e8
call fcn.14007bfb8
cmp eax, 1
lea r13d, [rax + rax]
ja 0x140025777
lea r13d, [r12 + 4]
mov rax, qword [0x140140d48]
test rax, rax
jne 0x140025926
mov edi, r12d
mov ebx, 0x4febf16
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rsp + 0x28], xmm0
movd ecx, xmm0
sub cx, 8
test edi, edi
je 0x140025813
mov r8, qword [rsp + 0x30]
movzx ecx, cx
shr rcx, 1
mov r10d, 0x33e99d7b
mov r9, r12
lea rdx, [r8 + rcx*2]
lea r11, [rcx*2 + 1]
shr r11, 1
cmp r8, rdx
cmova r11, r12
test r11, r11
je 0x14002580a
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [r8]
xor ecx, r10d
imul r10d, ecx, 0x1000193
lea r8, [r8 + 2]
inc r9
cmp r9, r11
jne 0x1400257f0
cmp r10d, edi
jne 0x140025917
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov rdx, qword [rcx + r10 + 0x88]
mov r15, rdx
shr r15, 0x20
mov r11d, edx
add r11, r10
cmp r11, r10
je 0x140025917
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x140025917
mov r14d, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rcx, [r14 + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x33e99d7b
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140025888
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140025870
cmp r8d, ebx
je 0x14002589a
test r9d, r9d
jne 0x140025850
mov rax, qword [rax]
jmp 0x1400257a0
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [r11 + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov eax, dword [rcx + rax*4]
add rax, r10
cmp rax, r11
jbe 0x14002591f
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x14002591f
mov edi, 0x33e99d7b
mov ebx, edi
movzx ecx, byte [rax]
cmp cl, 0x2e
je 0x1400258e6
movsx ecx, cl
xor ecx, edi
imul edi, ecx, 0x1000193
inc rax
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x1400258d0
inc rax
movzx ecx, byte [rax]
test cl, cl
je 0x140025906
movsx ecx, cl
xor ecx, ebx
imul ebx, ecx, 0x1000193
lea rax, [rax + 1]
movzx ecx, byte [rax]
test cl, cl
jne 0x1400258f0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400257a0
mov qword [0x140140d48], rax
mov r9d, r13d
xor r8d, r8d
xor edx, edx
lea rcx, [rdx - 1]
call rax
mov qword [rbp], rax
mov eax, r12d
xchg byte [rbp + 0x20], al
xchg qword [rbp + 0x28], r12
mov rax, rbp
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140025970
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rbp
sub rsp, 0x48
mov rbp, qword [0x140140048]
mov qword [r11 + 0x20], r12
mov r12, r8
mov qword [r11 - 0x18], r13
mov r13, rdx
mov rax, qword [rbp]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140140d08]
test rax, rax
jne 0x140025b71
mov rax, qword gs:[0x60]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
xor edi, edi
mov qword [r11 - 0x20], r14
mov ebx, edi
mov rax, qword [rax + 0x18]
mov qword [r11 - 0x28], r15
mov r11d, 0x2d656e8d
mov rax, qword [rax + 0x10]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
movups xmmword [rsp + 0x20], xmm0
sub cx, 8
test ebx, ebx
je 0x140025a42
mov rdx, qword [rsp + 0x28]
mov r9d, 0x142746b4
movzx r10d, cx
mov r8, rdi
shr r10, 1
lea rcx, [rdx + r10*2]
cmp rdx, rcx
cmova r10, rdi
test r10, r10
je 0x140025a39
nop word [rax + rax]
movsx ecx, byte [rdx]
lea rdx, [rdx + 2]
xor ecx, r9d
inc r8
imul r9d, ecx, 0x1000193
cmp r8, r10
jne 0x140025a20
cmp r9d, ebx
jne 0x140025b4e
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov rdx, qword [rcx + r10 + 0x88]
mov r15, rdx
mov edi, edx
shr r15, 0x20
add rdi, r10
cmp rdi, r10
je 0x140025b4c
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140025b4c
mov r14d, dword [rdi + 0x20]
nop dword [rax + rax]
dec r9d
mov r8d, 0x142746b4
lea rcx, [r14 + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140025ab9
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140025aa0
cmp r8d, r11d
je 0x140025acd
test r9d, r9d
jne 0x140025a80
mov rax, qword [rax]
xor edi, edi
jmp 0x1400259e0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, rdi
jbe 0x140025b56
lea rcx, [r15 + rdi]
cmp rax, rcx
jae 0x140025b56
movzx ecx, byte [rax]
mov ebx, 0x142746b4
mov r11d, ebx
cmp cl, 0x2e
je 0x140025b18
movsx ecx, cl
inc rax
xor ecx, ebx
imul ebx, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140025b02
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x140025b3b
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, r11d
imul r11d, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x140025b23
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
xor edi, edi
mov rax, qword [rax]
jmp 0x1400259e0
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov qword [0x140140d08], rax
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
mov r8, r12
mov rcx, r13
call rax
mov r13, qword [rsp + 0x40]
test rax, rax
mov r12, qword [rsp + 0x78]
setne bl
test rax, rax
jne 0x140025b9d
add rsp, 0x48
pop rbp
pop rbx
ret
mov eax, 1
lock xadd qword [rbp + 0x28], rax
nop dword [rax + rax]
mov rcx, qword [rbp + 0x28]
mov eax, dword [rbp + 0x30]
cmp rcx, rax
jbe 0x140025bc9
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140025bb0
movzx eax, bl
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x140025be0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, qword [0x140140048]
mov rax, 0xffffffffffffffff
lock xadd qword [rbp + 0x28], rax
cmp rax, 1
jne 0x140025e25
movzx eax, byte [rbp + 0x20]
test al, al
je 0x140025e25
mov r10, qword [0x140140d18]
test r10, r10
jne 0x140025e05
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rbx
mov ebx, 0x40b5e209
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], r12
xor r12d, r12d
mov qword [rsp + 0x38], r14
mov edi, r12d
mov qword [rsp + 0x30], r15
mov rax, qword [rax + 0x10]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
movups xmmword [rsp + 0x20], xmm0
sub cx, 8
test edi, edi
je 0x140025cc2
mov rdx, qword [rsp + 0x28]
mov r9d, 0x71af6e62
movzx r10d, cx
mov r8, r12
shr r10, 1
lea rcx, [rdx + r10*2]
cmp rdx, rcx
cmova r10, r12
test r10, r10
je 0x140025cb9
nop word [rax + rax]
movsx ecx, byte [rdx]
lea rdx, [rdx + 2]
xor ecx, r9d
inc r8
imul r9d, ecx, 0x1000193
cmp r8, r10
jne 0x140025ca0
cmp r9d, edi
jne 0x140025dd8
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov rdx, qword [rcx + r11 + 0x88]
mov r15, rdx
mov esi, edx
shr r15, 0x20
add rsi, r11
cmp rsi, r11
je 0x140025dd8
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x140025dd8
mov r14d, dword [rsi + 0x20]
nop dword [rax + rax]
dec r9d
mov r8d, 0x71af6e62
lea rcx, [r14 + r9*4]
mov edx, dword [rcx + r11]
add rdx, r11
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140025d39
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140025d20
cmp r8d, ebx
je 0x140025d4b
test r9d, r9d
jne 0x140025d00
mov rax, qword [rax]
jmp 0x140025c60
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov r10d, dword [rcx + rdx*4]
add r10, r11
cmp r10, rsi
jbe 0x140025de0
lea rax, [r15 + rsi]
cmp r10, rax
jae 0x140025de0
movzx eax, byte [r10]
mov edi, 0x71af6e62
mov ebx, edi
cmp al, 0x2e
je 0x140025d96
movsx eax, al
inc r10
xor eax, edi
imul edi, eax, 0x1000193
movzx eax, byte [r10]
cmp al, 0x2e
jne 0x140025d80
movzx eax, byte [r10 + 1]
inc r10
test al, al
je 0x140025dc7
nop dword [rax]
nop word [rax + rax]
movsx eax, al
lea r10, [r10 + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
movzx eax, byte [r10]
test al, al
jne 0x140025db0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140025c60
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [0x140140d18], r10
mov rcx, rbp
call fcn.140022af0
xor r9d, r9d
mov rcx, rax
xor edx, edx
lea r8, [r9 - 1]
call r10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
add rsp, 0x40
pop rbp
ret
Function at 0x1400320c0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rcx
mov ecx, 0x130
mov r8d, 0x20
mov rdx, rbx
add rcx, qword [rax]
call fcn.140055b40
and byte [rbx], 0xf8
and byte [rbx + 0x1f], 0x3f
or byte [rbx + 0x1f], 0x40
add rsp, 0x20
pop rbx
ret

Function at 0x140032100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14012e190]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor edx, edx
mov byte [0x1401400cc], 0
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x44]
call fcn.14009e3e0
mov r8b, 3
mov dword [rsp + 0x40], 0x11c
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ebx, ebx
mov qword [rsp + 0x44], 6
mov r8, rax
mov word [rbp + 0x54], bx
lea rcx, [rsp + 0x40]
lea edx, [rbx + 0x23]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
setne byte [0x1401400cc]
test eax, eax
je 0x1400322a4
mov byte [rsp + 0x20], bl
mov byte [rsp + 0x21], 0x68
mov byte [rsp + 0x22], 0x1d
mov byte [rsp + 0x23], 0x31
mov byte [rsp + 0x24], 0x1d
mov byte [rsp + 0x25], 5
mov byte [rsp + 0x26], 0x1d
mov byte [rsp + 0x27], 0x5d
mov byte [rsp + 0x28], 0x1d
mov byte [rsp + 0x29], 5
mov byte [rsp + 0x2a], 0x1d
mov byte [rsp + 0x2b], 0x3b
mov byte [rsp + 0x2c], 0x1d
mov byte [rsp + 0x2d], 0x45
mov byte [rsp + 0x2e], 0x1d
mov byte [rsp + 0x2f], 0x5d
mov byte [rsp + 0x30], 0x1d
mov byte [rsp + 0x31], 0x25
mov byte [rsp + 0x32], 0x1d
mov byte [rsp + 0x33], 0x4a
mov byte [rsp + 0x34], 0x1d
mov byte [rsp + 0x35], 0x67
mov byte [rsp + 0x36], 0x1d
mov byte [rsp + 0x37], 0x67
mov byte [rsp + 0x38], 0x1d
mov byte [rsp + 0x39], 0x1d
mov byte [rsp + 0x3a], 0x1d
movzx eax, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x14003228f
nop dword [rax + rax]
movzx ecx, byte [rsp + rbx + 0x21]
mov eax, 0x1d
sub eax, ecx
imul ecx, eax, 0x1a
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + rbx + 0x21], cl
inc rbx
cmp rbx, 0x1a
jb 0x140032240
lea rcx, [rsp + 0x21]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
setne byte [0x1401400cc]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140079ca0
mov rbx, qword [rsp + 0x180]
add rsp, 0x170
pop rbp
ret
Function at 0x140032aa0
Capabilities:
Get disk size

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14012e190]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rdx
mov rdi, rcx
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x30], rdx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 7
mov word [rdx], ax
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x74], eax
movdqa xmm0, xmmword [0x14010ecb0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], ax
mov dword [rsp + 0x30], 1
mov rdx, qword [rcx + 0x10]
inc rdx
lea rcx, [r11 - 0x60]
call fcn.140035990
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140032b4e
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x38]
call fcn.14002d5e0
mov r8d, 1
lea rdx, [0x14010dd90]
lea rcx, [rsp + 0x38]
call fcn.14002d5e0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.14002d500
mov edx, dword [rsp + 0x70]
mov eax, 0x200
test ebx, ebx
cmove edx, eax
mov dword [rdi + 0x20], edx
mov rcx, rsi
call fcn.14002d500
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140079ca0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140033090
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14012e190]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14009e3e0
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x1400331ab
lea rbx, [rsp + 0x60]
cmp word [rsp + 0x60], si
je 0x1400331ab
nop
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
mov qword [rsp + 0x48], 2
mov r8d, 4
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14009df80
mov word [rsp + 0x3c], si
mov rax, qword [rdi + 8]
cmp qword [rdi + 0x10], rax
je 0x14003316d
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140031cf0
add qword [rdi + 8], 0x20
jmp 0x14003317d
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rdi
call fcn.140035780
mov rcx, 0xffffffffffffffff
lea rcx, [rcx + 1]
cmp word [rbx + rcx*2], 0
jne 0x140033184
lea rbx, [rbx + rcx*2]
add rbx, 2
lea rcx, [rsp + 0x38]
call fcn.14002d500
cmp word [rbx], 0
jne 0x140033120
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140079ca0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140039e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov byte [rbp - 0x30], 0
mov rbx, rcx
mov byte [rbp - 0x2f], 0x70
mov byte [rbp - 0x2e], 0x45
mov byte [rbp - 0x2d], 0x4a
mov byte [rbp - 0x2c], 0x45
mov byte [rbp - 0x2b], 0x52
mov byte [rbp - 0x2a], 0x45
mov byte [rbp - 0x29], 0xc
mov byte [rbp - 0x28], 0x45
mov byte [rbp - 0x27], 0x60
mov byte [rbp - 0x26], 0x45
mov byte [rbp - 0x25], 0x52
mov byte [rbp - 0x24], 0x45
mov byte [rbp - 0x23], 0x32
mov byte [rbp - 0x22], 0x45
mov byte [rbp - 0x21], 0x6a
mov byte [rbp - 0x20], 0x45
mov byte [rbp - 0x1f], 0x3c
mov byte [rbp - 0x1e], 0x45
mov byte [rbp - 0x1d], 0x52
mov byte [rbp - 0x1c], 0x45
mov byte [rbp - 0x1b], 0x74
mov byte [rbp - 0x1a], 0x45
mov byte [rbp - 0x19], 0x6a
mov byte [rbp - 0x18], 0x45
mov byte [rbp - 0x17], 0x18
mov byte [rbp - 0x16], 0x45
mov byte [rbp - 0x15], 0x6f
mov byte [rbp - 0x14], 0x45
mov byte [rbp - 0x13], 0x46
mov byte [rbp - 0x12], 0x45
mov byte [rbp - 0x11], 0x23
mov byte [rbp - 0x10], 0x45
mov byte [rbp - 0xf], 0x46
mov byte [rbp - 0xe], 0x45
mov byte [rbp - 0xd], 0x45
mov byte [rbp - 0xc], 0x45
movzx eax, byte [rbp - 0x2f]
movzx eax, byte [rbp - 0x30]
test al, al
jne 0x140039f31
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + r8 - 0x2f]
mov eax, 0x45
sub eax, ecx
imul ecx, eax, 0xb
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x2f], cl
inc r8
cmp r8, 0x24
jb 0x140039ee0
lea rdx, [rbp - 0x2f]
mov rcx, rbx
call fcn.14002b450
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140045470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, qword [r8 + 0x20]
mov r10, rcx
cmp qword [rdi + 0x28], 8
lea r9, [rdi + 0x10]
jb 0x140045499
mov r9, qword [rdi + 0x10]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r8, r8
je 0x1400454d4
movabs r11, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r8
jb 0x1400454c0
mov r8, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x140045514
cmp rax, rdi
jne 0x14004550a
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x14004551f
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14004551f
cmp rax, rdi
jne 0x14004551f
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x30]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.14002d500
lea rcx, [rdi + 0x10]
call fcn.14002d500
mov edx, 0x50
mov rcx, rdi
call fcn.14007a2fc
mov qword [r14], rbx
mov rax, r14
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400458e0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14012e190]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbp, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140045ac0
nop
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
sub rax, rbx
cmp rax, rbp
jne 0x140045961
mov r8, rbp
mov rdx, rbx
mov rcx, r15
call fcn.14009ec80
test eax, eax
je 0x140045a4e
mov rcx, rdi
call fcn.1400456b0
mov r14, rax
test rax, rax
je 0x140045a4e
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140045982
mov rdx, qword [rdi]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400459a5
mov r8, rdx
nop
cmp word [r8], 0x5c
je 0x140045aa4
add r8, 2
sub rcx, 1
jne 0x140045990
mov r8, 0xffffffffffffffff
inc r8
mov r9, 0xffffffffffffffff
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.14002b340
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rdx, qword [rsp + 0x78]
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140045a43
cmp qword [rsi + 0x18], 8
jb 0x140045a16
mov rsi, qword [rsi]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
mov r9d, dword [rsp + 0x100]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.14002d500
nop
test rbx, rbx
je 0x140045a84
mov rdx, qword [rsp + 0x70]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140045a7c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045ab8
mov rcx, rbx
call fcn.14007a2fc
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140079ca0
add rsp, 0xa8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
test r8, r8
je 0x1400459a5
sub r8, rdx
sar r8, 1
jmp 0x1400459ac
call fcn.1400a74a4
int3