joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005aee0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1403f20c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
lea rcx, [0x14048b5da]
call fcn.140289ea0
cmp qword [rbx + 0x68], 0
je 0x14005afc2
cmp byte [rbx + 0x71], 0
je 0x14005afc2
mov rax, qword [rbx]
mov edx, 0xffffffff
mov rcx, rbx
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14005afbe
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005af83
sub eax, 1
je 0x14005af87
cmp eax, 2
jne 0x14005afbe
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402889f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005afb5
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005afbe
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005af6b
xor al, al
jmp 0x14005af6b
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402889f0
add rsp, 0x60
pop rbx
ret
Function at 0x14005b0a0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x14048c6e3]
call fcn.140289ea0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400576d9
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
cmp rax, rcx
jbe 0x1400576a2
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
add rsp, 0x20
pop rbx
jmp 0x14005b0a0
call fcn.140064460
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x30], rax
call fcn.140063bb0
add rsp, 0x20
pop rbx
ret
push rsi
push r14
push r15
sub rsp, 0x50
mov rsi, rcx
mov r14, r8
lea rcx, [0x14048c6e3]
mov r15, rdx
call fcn.140289ea0
cmp r15, r14
je 0x14005b1a1
mov rax, qword [rsi + 8]
lea rdx, [r15 + 0x10]
mov qword [rsp + 0x78], rbx
mov rcx, rsi
mov qword [rsp + 0x80], rbp
mov rbx, r15
mov qword [rsp + 0x88], rdi
mov rdi, qword [rsi + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r13
call fcn.14005c990
add rax, rax
mov r13, qword [rdi + rax*8 + 8]
lea r12, [rdi + rax*8]
mov rax, qword [rdi + rax*8]
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdi, rbx
mov rbp, rbx
mov rdx, qword [rdi + 0x20]
lea rcx, [rdi + 0x18]
mov rbx, qword [rbx]
test rdx, rdx
je 0x14005b150
cmp dword [rcx], 0xfffffffe
je 0x14005b150
call fcn.140044a90
mov edx, Ordinal_41
mov rcx, rdi
call fcn.140288a10
dec qword [rsi + 0x10]
cmp rbp, r13
je 0x14005b1ae
cmp rbx, r14
jne 0x14005b130
cmp qword [rsp + 0x28], r15
jne 0x14005b176
mov qword [r12], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x50
pop r15
pop r14
pop rsi
ret
mov r13, qword [rsp + 0x30]
cmp qword [rsp + 0x28], r15
jne 0x14005b1c3
mov qword [r12], r13
mov rax, r13
jmp 0x14005b1c8
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, r14
je 0x14005b176
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r12, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r12, rcx
shl r12, 4
add r12, qword [rsp + 0x38]
mov r15, qword [r12 + 8]
nop word [rax + rax]
mov rdi, rbx
mov rbp, rbx
mov rdx, qword [rdi + 0x20]
lea rcx, [rdi + 0x18]
mov rbx, qword [rbx]
test rdx, rdx
je 0x14005b250
cmp dword [rcx], 0xfffffffe
je 0x14005b250
call fcn.140044a90
mov edx, Ordinal_41
mov rcx, rdi
call fcn.140288a10
dec qword [rsi + 0x10]
cmp rbp, r15
je 0x14005b270
cmp rbx, r14
jne 0x14005b230
jmp 0x14005b172
mov qword [r12], r13
mov qword [r12 + 8], r13
jmp 0x14005b1cd
Function at 0x14005c990
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
lea rcx, [0x14048c6e3]
call fcn.140289ea0
movzx edx, byte [rbx]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [rbx + 1]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rbx + 2]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rbx + 3]
mov rbx, qword [rsp + 0x30]
imul rdx, rcx
xor rdx, rax
mov rax, qword [rdi + 0x30]
imul rdx, rcx
and rax, rdx
add rsp, 0x20
pop rdi
ret
Function at 0x140066130
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x14048c6e3]
call fcn.140289ea0
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rbx, rax
jbe 0x140066175
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov qword [rsp + 0x58], r14
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14005ca00
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 0x1400662b4
mov qword [rsp + 0x50], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006622d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400662a3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006626a
mov r10, qword [rdx]
cmp r10, rax
je 0x140066264
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 0x1400662a3
cmp r9, rdx
je 0x14006627f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400662c1
cmp r9, rdx
jne 0x140066270
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
jne 0x1400661e0
mov rbp, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
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 0x1400662a3
Function at 0x1400a75c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rdi, rcx
mov qword [rsp + 0x30], rbx
lea rcx, [0x14048a6e8]
mov qword [rsp + 0x40], r14
mov rbp, rdx
call fcn.140289ea0
movzx ecx, byte [rbp + 0xb]
mov eax, 1
shl eax, cl
cmp byte [rbp + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rbp + 0x18]
lea r14, [rax + r8*8]
jge 0x1400a7635
mov ecx, dword [rbp + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x1400a7635
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x1400a7638
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x1400a7671
mov qword [rsp + 0x38], rsi
xor ebx, ebx
mov esi, eax
mov rax, qword [rbp + 0x10]
test byte [rbx + rax + 8], 0x40
je 0x1400a7662
mov rdx, qword [rbx + rax]
test byte [rdx + 9], 0x18
je 0x1400a7662
mov rcx, rdi
call fcn.1400a7080
add rbx, 0x10
sub rsi, 1
jne 0x1400a7645
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rbp + 0x18]
cmp rbx, r14
jae 0x1400a76cc
nop word [rax + rax]
movzx eax, byte [rbx + 9]
and al, 0x40
test byte [rbx + 8], 0xf
jne 0x1400a7696
test al, al
je 0x1400a76c3
mov byte [rbx + 9], listen
jmp 0x1400a76c3
test al, al
je 0x1400a76ac
mov rdx, qword [rbx + 0x10]
test byte [rdx + 9], 0x18
je 0x1400a76ac
mov rcx, rdi
call fcn.1400a7080
test byte [rbx + 8], 0x40
je 0x1400a76c3
mov rdx, qword [rbx]
test byte [rdx + 9], 0x18
je 0x1400a76c3
mov rcx, rdi
call fcn.1400a7080
add rbx, 0x18
cmp rbx, r14
jb 0x1400a7680
movzx eax, byte [rbp + 9]
mov r14, qword [rsp + 0x40]
movzx ecx, al
mov rbx, qword [rsp + 0x30]
and cl, 7
cmp cl, 5
jne 0x1400a770d
mov rcx, rbp
call fcn.1400a6e40
mov rcx, qword [rdi + 0x90]
mov qword [rax], rcx
mov qword [rdi + 0x90], rbp
and byte [rbp + 9], 0xc7
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x1400a7717
xor al, 2
mov byte [rbp + 9], al
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b2890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
lea rcx, [0x14048a6e8]
call fcn.140289ea0
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x1402c3690]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x1400b28ff
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x1400b28f0
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x1400b2916
mov r12d, ebp
jmp 0x1400b2920
cmp byte [rbx], 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x1400b2a79
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1400b2a79
movsd xmm2, qword [0x1403bf400]
lea r13, [0x1402c3690]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x1400b297b
test edi, edi
jne 0x1400b29d0
mov edi, ebp
inc rdx
jmp 0x1400b2960
test byte [r8 + r13 + 1], 0x10
je 0x1400b29d0
test r10d, r10d
jne 0x1400b2993
cmp r8b, 0x30
jne 0x1400b2993
inc r14d
jmp 0x1400b29c4
inc r10d
cmp r10d, 0x1e
jg 0x1400b29c1
test byte [rcx + r13 + 1], 2
je 0x1400b29a9
add ecx, 0xffffffd0
jmp 0x1400b29af
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1400b29c4
inc r9d
test edi, edi
je 0x1400b29cb
dec r9d
inc rdx
jmp 0x1400b2960
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x1400b2a79
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1400b2a5f
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x1400b2a07
lea rdx, [r11 + 2]
jmp 0x1400b2a11
cmp al, 0x2b
jne 0x1400b2a0f
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x1402c3690]
test byte [r8 + r11 + 1], 2
je 0x1400b2a79
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x1400b2a30
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x1400b2a6b
xorps xmm1, xmmword [0x1403c09e0]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x1400b2a7c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b2cc0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x110
mov rax, qword [0x1403f20c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
mov r14, rdx
lea rcx, [0x14048a6e8]
call fcn.140289ea0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b2b40
test rax, rax
je 0x1400b2d1c
mov rcx, qword [rsp + 0x20]
sub rax, rbx
mov qword [r14], rcx
inc rax
mov cl, 3
mov byte [r14 + 8], cl
jmp 0x1400b2d3e
lea rdx, str..xXnN
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1400b2d62
movzx edi, byte [rax]
or edi, 0x20
cmp edi, 0x6e
jne 0x1400b2d64
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1402889f0
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r14
pop rdi
pop rsi
ret
xor edi, edi
mov r8d, edi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b2a90
test rax, rax
jne 0x1400b2e56
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rsi, rax
test rax, rax
je 0x1400b2d3c
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400b2da0
cmp rcx, 0xc8
ja 0x1400b2d3c
lea rdx, [rsp + 0x30]
mov rcx, rbx
sub rdx, rbx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b2dc0
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
sub rsi, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + rsi + 0x30], al
cmp edi, 0x78
jne 0x1400b2df7
call fcn.1400b2890
jmp 0x1400b2dfd
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
mov rcx, qword [rsp + 0x20]
lea rax, [rsp + 0x30]
cmp rcx, rax
jne 0x1400b2e10
xor eax, eax
jmp 0x1400b2e5c
movzx edx, byte [rcx]
lea r8, [0x1402c3690]
test byte [rdx + r8 + 1], 8
je 0x1400b2e38
inc rcx
mov qword [rsp + 0x20], rcx
movzx eax, byte [rcx]
test byte [rax + r8 + 1], 8
jne 0x1400b2e22
movzx edx, al
xor eax, eax
test dl, dl
cmove rax, rcx
test rax, rax
je 0x1400b2d3c
lea rcx, [rsp + 0x30]
sub rax, rcx
add rax, rbx
jmp 0x1400b2e5c
movsd xmm0, qword [rsp + 0x20]
test rax, rax
je 0x1400b2d3c
mov cl, reloc.WS2_32.dll_send
movsd qword [r14], xmm0
sub rax, rbx
mov byte [r14 + 8], cl
inc rax
jmp 0x1400b2d3e
Function at 0x1400bbe40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r8
lea rcx, [0x14048a6e8]
mov rbp, rdx
call fcn.140289ea0
mov rcx, rdi
cmp rsi, 0x28
ja 0x1400bbe87
mov r8, rsi
mov rdx, rbp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400bbca0
movabs rax, 0x7fffffffffffffdf
cmp rsi, rax
jae 0x1400bbeed
mov rax, qword [rdi + 0x18]
lea r8, [rsi + 0x19]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov edx, reloc.WS2_32.dll_sendto
mov ebx, dword [rax + 0x60]
call fcn.1400a7000
mov r8, rsi
mov rdx, rbp
mov rdi, rax
mov dword [rax + 0xc], ebx
lea rcx, [rax + 0x18]
mov byte [rax + 0xa], 0
mov byte [rax + rsi + 0x18], 0
mov qword [rax + 0x10], rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.1400aff20
int3

Function at 0x1400ce9d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x380
mov rax, qword [0x1403f20c0]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x14048a8c0]
xor esi, esi
call fcn.140289ea0
lea rax, [rsp + 0x160]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400cea93
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x160]
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x104
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1400cea93
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400cea80
mov r8, rbx
lea rdx, [rsp + 0x50]
jmp 0x1400ceaab
xorps xmm0, xmm0
lea rdx, [0x1403b0689]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
xor r8d, r8d
mov qword [rdi + 0x18], rsi
mov rcx, rdi
call fcn.140043b60
mov rax, rdi
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1402889f0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400ceae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1403f20c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov qword [rbp + 0xf], rdx
xor edi, edi
mov dword [rbp - 0x19], edi
lea rcx, [0x14048d6c2]
call fcn.140289ea0
mov dword [rbp + 0x37], 0x68705c6d
mov dword [rbp + 0x3b], 0x6e6f746f
mov dword [rbp + 0x3f], 0x61754c5c
mov byte [rbp + 0x43], dil
lea rcx, [rbp + 0x17]
call fcn.1400ce9d0
nop
lea r8, [rbp + 0x38]
mov rdx, rax
mov rcx, rbx
call fcn.14005d3e0
mov dword [rbp - 0x19], 1
lea rcx, [rbp + 0x17]
call fcn.14005bde0
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400ceb70
mov rax, qword [rbx]
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rcx
call fcn.140287f60
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp - 0x11]
call fcn.1400ccef0
mov dword [rbp - 0x19], 7
mov qword [rbp + 0x37], rdi
lea rax, str.hY_
mov qword [rbp + 0x3f], rax
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x11]
call fcn.1400ce880
movzx edi, al
cmp dword [rbp + 0x37], 0
jne 0x1400cec6b
lea rcx, [rbp - 0x11]
call fcn.1400d1160
test dil, dil
jne 0x1400cec34
mov rcx, qword [rbx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400cebe4
mov rax, qword [rbx]
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rcx
call fcn.140287f60
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp - 0x11]
call fcn.1400ccef0
mov dword [rbp - 0x19], Ordinal_32
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rcx, qword [rbp - 0x11]
call fcn.1402881c0
shr rax, 0x20
test eax, eax
jne 0x1400cec58
lea rcx, [rbp - 0x11]
call fcn.1400d1160
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1402889f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x11]
mov edx, eax
lea rcx, str.create_directory
call fcn.1400cdfd0
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x37]
lea rcx, str.exists
call fcn.1400ce050
int3
Function at 0x1400d60f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1403f20c0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
lea rcx, [0x14048d6c2]
call fcn.140289ea0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400d61c0
lea rcx, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x1400d6170
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x1400d619b
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400d62e9
mov word [rbp + rax - 0x50], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea rax, [rbp - 0x50]
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1400d61b0
lea rdx, [rbp - 0x50]
jmp 0x1400d61fc
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400e0430
lea rdx, [0x1400e0620]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
xor r8d, r8d
lea rdx, [0x1403b94c4]
lea rcx, [rbp - 0x70]
call fcn.1400d1870
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x1400d6231
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1403b94c4]
mov rcx, rbx
call fcn.1400d1870
jmp 0x1400d62af
lea rcx, [rsp + 0x70]
call fcn.1400d5f70
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rdi
cmp rcx, 1
jb 0x1400d62e3
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x1403b94d4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.1400e1890
nop
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.1400e16c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400d1160
nop
lea rcx, [rsp + 0x70]
call fcn.1400d1160
nop
lea rcx, [rbp - 0x70]
call fcn.1400d1160
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402889f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140041a10
nop
call fcn.140288fc8
int3
Function at 0x1400da620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov byte [rsp + 0x18], r8b
push rdi
sub rsp, 0xe0
mov rbx, rdx
mov rdi, rcx
lea rcx, [0x14048d6c2]
call fcn.140289ea0
test rbx, rbx
je 0x1400da7b4
mov ecx, 8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor esi, esi
mov eax, dword [rcx + rax]
cmp dword [0x140469428], eax
jle 0x1400da71c
lea rcx, [0x140469428]
call fcn.140288ac0
cmp dword [0x140469428], 0xffffffff
jne 0x1400da71c
movdqa xmm0, xmmword [0x1403c0790]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [str.ceExclusiveLite]
movdqu xmmword [rsp + 0x60], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x51]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400da6d0
lea rdx, [rsp + 0x51]
lea rcx, [rsp + 0x30]
call fcn.140043b60
nop
lea r8, [rsp + 0x30]
mov rdx, qword [0x1404664b8]
mov rcx, rdi
call fcn.1400d9770
mov qword [0x140469430], rax
lea rcx, [rsp + 0x30]
call fcn.14005bde0
nop
lea rcx, [0x140469428]
call fcn.140288a54
cmp qword [0x140469430], 0
jne 0x1400da7cb
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rsp + 0x70]
call fcn.1400da7f0
mov r9, rax
lea rdx, [rax + 2]
lea r8, [rax + 4]
mov r10d, 7
nop dword [rax]
movsx ecx, byte [r9]
xor word [r8 - 2], cx
movsx ecx, byte [r9]
xor word [r8], cx
movsx eax, byte [r9]
xor word [r8 + 2], ax
movsx eax, byte [r9]
xor word [r8 + 4], ax
movsx eax, byte [r9]
xor word [r8 + 6], ax
movsx eax, byte [r9]
xor word [r8 + 8], ax
movsx eax, byte [r9]
xor word [r8 + 0xa], ax
lea r8, [r8 + 0xe]
sub r10, 1
jne 0x1400da750
mov word [rdx + 0x62], si
mov rcx, rbx
call fcn.1400e0430
lea rdx, [0x1400e0620]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov r9, rbx
lea rdx, [rsp + 0x100]
mov rcx, rdi
call fcn.1400e0ce0
test al, al
je 0x1400da7b4
cmp byte [rsp + 0x100], 0
je 0x1400da7b4
mov al, 1
jmp 0x1400da7b6