joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001553
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rsi, [rsp + 0x30]
stmxcsr dword [rsi]
or dword [rsi], 0x8040
ldmxcsr dword [rsi]
lea rcx, str.ZmFnc2ZkZ2Juc29maG5oc3BkZm5tYnNkZGNj
lea rdx, [rsp + 0x2c]
call fcn.140001269
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400010e9
mov rbx, qword [rsi]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140001269
mov rsi, rax
mov r14, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call r14
mov rcx, rbx
call r14
mov dword [rsp + 0x24], 0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x30]
movsxd rdx, dword [rax + 0x3c]
mov r8d, dword [rax + rdx + 0x88]
test r8, r8
je 0x1400015cb
mov edx, dword [rax + r8 + 0x18]
lea r9, [rax + 1]
sub rdx, 1
jb 0x1400015cb
mov r10d, dword [rax + r8 + 0x20]
add r10, rax
mov r10d, dword [r10 + rdx*4]
mov bl, byte [rax + r10]
test bl, bl
je 0x140001628
add r10, r9
mov r11d, 0xe2061aab
movsx edi, bl
xor edi, r11d
imul r11d, edi, 0x1000193
mov bl, byte [r10]
inc r10
test bl, bl
jne 0x14000160f
jmp 0x14000162e
mov r11d, 0xe2061aab
cmp r11d, 0x6c50316f
jne 0x1400015ec
mov ecx, dword [rax + r8 + 0x1c]
mov r8d, dword [rax + r8 + 0x24]
add rcx, rax
add r8, rax
movzx edx, word [r8 + rdx*2]
mov r10d, dword [rcx + rdx*4]
add r10, rax
mov eax, dword [rsp + 0x28]
movsxd rdi, eax
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x3000
mov r9d, 4
call r10
mov rbx, rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call fcn.140001730
lea r9, [rsp + 0x24]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbx
mov edx, edi
mov r8d, 0xcb4a081
call fcn.1400014f6
call rbx
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14000a154
Capabilities:
Parse pe header

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

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140069b0c
test r8, r8
je 0x140069b0c
movzx ebp, r14w
lea r15d, [r14 + 1]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
movzx r10d, bp
sar rax, 4
cmp r10, rax
jae 0x140069b28
mov eax, r10d
add rax, rax
mov edx, dword [rcx + rax*8]
test edx, edx
je 0x140069ba6
cmp edx, r15d
je 0x140069b8e
cmp edx, 2
je 0x140069b6f
jle 0x140069b0c
cmp edx, 5
jle 0x140069ade
cmp edx, 6
je 0x140069b38
cmp edx, 7
jne 0x140069b0c
mov rcx, qword [rbx + 0x18]
mov r9, rdi
mov r8, rsi
mov rcx, qword [rcx + r10*8]
call fcn.140069bd0
jmp 0x140069b03
mov rax, qword [rbx + 0x18]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rax + r10*8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
test eax, eax
jne 0x140069b0c
add bp, r15w
jmp 0x140069a7a
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
add qword [rbx + 0x38], rdi
mov al, r15b
mov byte [rbx + 0x9c0], r15b
jmp 0x140069b0e
mov rax, qword [rbx + 0x18]
mov r9, qword [rbx + 0x30]
mov r8, qword [rbx + 0x38]
mov rcx, qword [rax + r10*8]
mov rdx, qword [rcx]
lea rcx, [rdx + 4]
lea rax, [rdx + 8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rdx
mov rdx, rdi
call fcn.1400d3ba0
jmp 0x140069b03
mov rdx, qword [rbx + 0x18]
lea rcx, [0x14039b900]
mov r9, rdi
mov r8, rsi
mov rdx, qword [rdx + r10*8]
call fcn.1403373d4
jmp 0x140069b03
mov rcx, qword [rbx + 0x18]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rcx + r10*8]
call fcn.140333c00
jmp 0x140069b03
mov rcx, qword [rbx + 0x18]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rcx + r10*8]
call fcn.140335580
jmp 0x140069b03
Function at 0x140069bd0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x18
mov r14, rcx
xor eax, eax
mov rcx, qword [rcx + 0x800]
mov rsi, r9
mov qword [rsp + 0x40], rcx
mov rbp, r8
mov edx, dword [r14 + 0x808]
movzx edi, byte [r14 + 0x80c]
mov dword [rsp + 0x48], edx
test r9, r9
je 0x140069d5b
mov qword [r11 - 0x28], r12
lea r10, [0x1403a9700]
movzx r12d, byte [r11 + 0x12]
mov qword [r11 - 0x30], r13
movzx r13d, byte [r11 + 0x11]
mov qword [rsp], r15
movzx r15d, byte [r11 + 0x13]
mov qword [r11 + 0x18], rbx
nop dword [rax]
movzx edx, byte [rax + rbp]
cmp dl, dil
je 0x140069d7b
lea r8, [r10 + rdx*4]
movzx ecx, r13b
mov byte [rsp + 0x48], cl
movzx r13d, r12b
movzx r12d, r15b
mov ebx, dword [r10 + rcx*4]
movzx r15d, dil
movzx edi, dl
mov r9d, dword [r10 + r13*4]
mov r11d, dword [r10 + r12*4]
mov ecx, r11d
mov r10d, dword [r10 + r15*4]
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
xor rdx, rcx
movzx ecx, byte [r8]
mov r8d, dword [r8]
xor rdx, rcx
mov ecx, r10d
shr ecx, 8
inc qword [r14 + rdx*8]
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
xor rdx, rcx
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
mov ecx, r11d
shr ecx, 0x10
inc qword [r14 + rdx*8]
movzx edx, cl
mov ecx, r8d
shr ecx, 8
movzx ecx, cl
xor rdx, rcx
shr r8d, 0x10
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov ecx, r10d
shr ecx, 0x10
inc qword [r14 + rdx*8]
movzx edx, cl
movzx ecx, bl
xor rdx, rcx
movzx ecx, r11b
xor rdx, rcx
movzx ecx, r8b
inc qword [r14 + rdx*8]
movzx edx, r9b
xor rdx, rcx
movzx ecx, r10b
xor rdx, rcx
lea r10, [0x1403a9700]
mov rcx, qword [rsp + 0x40]
inc qword [r14 + rdx*8]
add rcx, 5
mov qword [rsp + 0x40], rcx
inc rax
cmp rax, rsi
jb 0x140069c40
mov rbx, qword [rsp + 0x50]
mov byte [rsp + 0x4b], r15b
mov r15, qword [rsp]
mov byte [rsp + 0x4a], r12b
mov r12, qword [rsp + 0x10]
mov byte [rsp + 0x49], r13b
mov edx, dword [rsp + 0x48]
mov r13, qword [rsp + 8]
mov dword [r14 + 0x808], edx
mov byte [r14 + 0x80c], dil
mov qword [r14 + 0x800], rcx
add rsp, 0x18
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp dl, r12b
jne 0x140069c4d
cmp dl, r15b
jne 0x140069c4d
cmp dl, r13b
je 0x140069d29
jmp 0x140069c4d

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

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 8
jb 0x14006ce0d
mov rax, rcx
ret

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

Disassembly:
cmp qword [rdx + 0x18], 8
mov rax, qword [rdx + 0x10]
jb 0x14007182e
mov rdx, qword [rdx]
lea r9, [rax + rax]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140071862
movabs r10, 0x100000001b3
movzx eax, byte [r8 + rdx]
inc r8
xor rcx, rax
imul rcx, r10
cmp r8, r9
jb 0x14007184e
mov rax, rcx
ret
Function at 0x1400852a0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rbx + 0x7c]
mov dil, 1
cmp ecx, 0xffffffff
je 0x14008548b
cmp ecx, 0x7c
je 0x14008548b
cmp ecx, 0x29
jne 0x1400852e6
cmp dword [rbx + 0x1c], 0
jne 0x14008548b
test dword [rbx + 0x80], 0x10000000
je 0x140085443
cmp ecx, 0x2e
jne 0x140085306
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14010abc8
mov rcx, rbx
call fcn.1400856d8
jmp 0x140085434
cmp ecx, 0x5c
jne 0x14008536a
mov rcx, rbx
call fcn.1400856d8
test byte [rbx + 0x80], 0x80
je 0x14008535d
cmp word [rbx + 0x78], 0x62
jne 0x14008533e
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14010abc8
mov rcx, rbx
call fcn.1400856d8
jmp 0x14008543c
cmp word [rbx + 0x78], 0x42
jne 0x14008535d
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14010abc8
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140085331
mov rcx, rbx
call fcn.1400855ac
jmp 0x140085434
cmp ecx, 0x5b
jne 0x140085395
mov rcx, rbx
call fcn.1400856d8
mov rcx, rbx
call fcn.14010a75c
mov edx, 0x5d
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.140110bb0
jmp 0x140085434
cmp ecx, 0x28
jne 0x1400853c0
mov rcx, rbx
call fcn.1400856d8
mov rcx, rbx
call fcn.1401612f4
mov edx, MsiGetActiveDatabase
mov rcx, rbx
mov dil, al
lea r8d, [rdx - 0x24]
call fcn.140110bb0
jmp 0x14008542f
cmp ecx, 0x5e
jne 0x1400853cd
lea edx, [rcx - 0x5c]
jmp 0x140085328
cmp ecx, 0x24
jne 0x1400853da
lea edx, [rcx - 0x21]
jmp 0x140085328
cmp ecx, 0x3f
je 0x140085479
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140085479
cmp ecx, 0x7b
je 0x140085479
cmp ecx, 0x7d
jne 0x140085409
test dword [rbx + 0x80], 0x10000000
je 0x140085455
cmp ecx, 0x5d
jne 0x14008541a
test dword [rbx + 0x80], 0x10000000
je 0x140085467
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400859b0
mov rcx, rbx
call fcn.1400856d8
test dil, dil
je 0x14008543c
mov rcx, rbx
call fcn.1400854a0
mov al, 1
jmp 0x1400852af
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14008d95c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
lea r15, [rcx + 0xf8]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rbp + 0x38], r15
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14008d9a4
mov rbx, qword [rbx]
movabs r8, 0xcbf29ce484222325
mov rcx, r8
xor edx, edx
movabs r10, 0x100000001b3
add r9, r9
je 0x14008d9d5
movzx eax, byte [rdx + rbx]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14008d9c2
mov rax, r14
shl rax, 6
mov rdx, r14
shr rdx, 2
add rcx, rax
mov r9d, 0x9e3779b9
add r9, rdx
add r9, rcx
xor r9, r14
mov qword [rbp + 0x40], r9
xor ecx, ecx
movzx eax, byte [rbp + rcx + 0x40]
xor r8, rax
imul r8, r10
inc rcx
cmp rcx, 8
jb 0x14008d9fb
mov rcx, qword [rdi + 0xe8]
and rcx, r8
add rcx, rcx
mov r8, qword [rdi + 0xd0]
mov r10, qword [r8 + rcx*8]
mov rdx, qword [rdi + 0xc0]
cmp qword [r8 + rcx*8], rdx
jne 0x14008da48
mov rax, rdx
cmp r10, rax
je 0x14008da52
cmp qword [r10 + 0x10], r9
je 0x14008da55
mov r10, qword [r10]
jmp 0x14008da2f
mov rax, qword [r8 + rcx*8 + 8]
mov rax, qword [rax]
jmp 0x14008da38
mov r10, rdx
add rdi, 0xb8
mov r14, qword [rbp + 0x58]
cmp r10, qword [rdi + 8]
je 0x14008dad2
and qword [rsi], 0
and qword [rsi + 8], 0
mov rdx, qword [r10 + 0x20]
test rdx, rdx
je 0x14008da80
lock inc dword [rdx + 8]
mov rdx, qword [r10 + 0x20]
mov rax, qword [r10 + 0x18]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
test r15, r15
je 0x14008daa0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x14008dac1
mov rax, qword [rcx]
cmp rcx, r14
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400ae9d9.0]
and qword [r14 + 0x38], 0
mov rax, rsi
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.14025a948
mov rbx, rax
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14006cf98
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
and qword [rbx], 0
and qword [rbx + 8], 0
mov qword [rax + 0x18], rcx
mov qword [rbp + 0x48], rdx
mov rcx, qword [rax + 0x20]
mov qword [rax + 0x20], rdx
test rcx, rcx
je 0x14008db20
call fcn.14007e3e0
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14008db2e
call fcn.14007e3e0
lea rdx, [rbp + 0x40]
call fcn.14006ce00
mov r11, rax
and r11, qword [rdi + 0x30]
mov rcx, r11
add rcx, rcx
mov r10, qword [rdi + 0x18]
mov r10, qword [r10 + rcx*8]
mov rbx, qword [rbp + 0x40]
mov r8, r11
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.1400e1e54
cmp r10, qword [rax]
je 0x14008db73
cmp qword [r10 + 0x10], rbx
je 0x14008da66
mov r10, qword [r10]
jmp 0x14008db50
mov r10, qword [rdi + 8]
jmp 0x14008da66
Function at 0x1400a1210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x1400a1240
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400a1222
mov rax, rcx
ret
Function at 0x1400f27d8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x38], 0
mov rbx, r8
mov r8, qword [rdx]
test r8, r8
je 0x1400f27f2
mov r8, qword [r8]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x1400f2829
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14007d630
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x20
pop rbx
ret

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

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x1400f2845
mov rax, rcx
ret

Function at 0x140108df4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [0x1404f9028]
lea rdx, [0x1403a9f84]
lea rcx, [rsp + 0x28]
call fcn.14008c350
nop
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140108e51
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14007d630
lea rdx, [0x1403a9ce8]
lea rcx, [rsp + 0x28]
call fcn.140077830
mov rdx, rax
mov rcx, rbx
call fcn.140099980
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140108e8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14007e6f0
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140112420
add rsp, 0x270
pop rbx
ret

Function at 0x14010a25c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
lea rdi, [0x1404fcd28]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14010a317
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14010a2d1
movzx ebx, ax
or ebx, 0x80070000
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14010a30e
lea rcx, str.DataCollection_adapter_failed_to_read_Profiles_Directory
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rcx
lea rdx, [0x140453711]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000789c
lea rdx, [0x1403a9f84]
jmp 0x14010a31c
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14008c350
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140112420
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x14010a46c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
lea rdi, [0x1404fcd08]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14010a51f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14010a4d9
movzx ebx, ax
or ebx, 0x80070000
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14010a516
lea rcx, str.DataCollection_adapter_failed_to_read_Windows_Directory
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rcx
lea rdx, [0x140453711]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000789c
lea rdx, [0x1403a9f84]
jmp 0x14010a524
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008c350
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140112420
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14010c018
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
cmp rdx, 0x400
jbe 0x14010c060
lea rbx, [rdx - 0x401]
shr rbx, 0xa
inc rbx
imul rax, rbx, 0xfffffffffffffc00
add rdi, rax
mov r8d, 0x400
lea rdx, [0x1403ab3c0]
call fcn.1400d40b0
mov ecx, eax
sub rbx, 1
jne 0x14010c046
mov r8, rdi
lea rdx, [0x1403ab3c0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400d40b0

Function at 0x140112448
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1404e22c0], eax
call fcn.140112cc0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x1404e22c0], 0
jne 0x14011248b
mov ecx, 1
call fcn.140112cc0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x140115680
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov r13, rsi
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov qword [rsp], r8
mov r8d, dword [rsp + 0x98]
mov r14, rdx
mov r15, rcx
xor eax, eax
mov esi, dword [rsi]
mov ebx, dword [rbx]
mov qword [rsp + 8], rax
jmp 0x1401156e8
add eax, 1
add esi, 1
mov dword [rsp + 8], eax
cmp esi, dword [rsp + 0xa0]
jge 0x140115819
cmp eax, dword [rsp + 0xa8]
jge 0x140115819
movzx eax, byte [rsi + rdi + 2]
shl ebx, 5
xor ebx, eax
mov r11, rsi
and ebx, r8d
movsxd rbp, dword [r9 + rbx*4]
mov dword [r9 + rbx*4], esi
mov r12, rdi
sub r11, rbp
cmp r11d, dword [rsp + 0x90]
jge 0x1401157e9
cmp ebp, dword [rsp + 0xb0]
jge 0x14011573b
mov r12, qword [rsp]
movzx eax, word [rsi + rdi]
lea r10, [rsi + rdi]
movzx ecx, word [rbp + r12]
lea r12, [rbp + r12]
cmp eax, ecx
jne 0x1401157e9
xor ecx, ecx
mov rax, qword [rcx + r10]
mov rdx, qword [rcx + r12]
xor rax, rdx
jne 0x140115783
add ecx, 8
cmp ecx, 0x100
jl 0x140115758
movzx eax, word [rcx + r10]
movzx edx, word [rcx + r12]
xor eax, edx
jne 0x140115783
add ecx, 2
jmp 0x14011578d
bsf rax, rax
shr rax, 3
add ecx, eax
cmp ecx, 3
jl 0x1401157e9
lea rbp, [rsi + 1]
lea rsi, [rcx + rsi - 1]
lea rdx, [rcx - 3]
movzx ecx, byte [rbp + rdi + 2]
shl ebx, 5
xor ebx, ecx
and ebx, r8d
mov dword [r9 + rbx*4], ebp
add ebp, 1
cmp ebp, esi
jle 0x14011579f
lea rcx, [r11 - 1]
cmp r11, 0x101
jl 0x1401157cd
shr ecx, 7
add ecx, 0x100
movzx ecx, byte [rcx + r13 + 0x100]
add word [r15 + rcx*4], 1
movzx ebp, byte [rdx + r13]
add ebp, 0x101
jmp 0x1401157f2
xor r11, r11
movzx edx, byte [rsi + rdi]
mov ebp, edx
add word [r14 + rbp*4], 1
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
mov word [rcx + rax*2], r11w
mov byte [rax + rbp], dl
jmp 0x1401156de
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov dword [rdi], esi
mov dword [rcx], ebx
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
pop rdi
pop rsi
ret

Function at 0x14015fa18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x14015fa94
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x14015fa98
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x14015fa94
add r14, 2
jmp 0x14015fa55
xor al, al
jmp 0x14015fa9a
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140313088
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov r10d, dword [r8]
mov rsi, r8
lea r14, [0x140000000]
not r10d
mov r11d, edx
mov rbx, rcx
cmp edx, 0xf
jl 0x140313195
mov r9d, ecx
and r9d, 7
je 0x1403130f0
neg r9d
and r9d, 7
sub r11d, r9d
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [r14 + rdx*4 + 0x3a9700]
xor r10d, eax
sub r9d, 1
jne 0x1403130cd
mov edi, r11d
sar edi, 3
and r11d, 7
mov r8, qword [rbx]
mov r9d, dword [rbx]
add rbx, 8
mov eax, r10d
xor r9, rax
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx edx, al
mov rax, r8
shr rax, 8
movzx ecx, al
mov rax, r9
shr rax, 0x10
mov r10d, dword [r14 + rdx*4 + 0x3ee2b0]
xor r10d, dword [r14 + rcx*4 + 0x3ed2b0]
movzx ecx, al
mov rax, r9
shr rax, 8
xor r10d, dword [r14 + rcx*4 + 0x3ed6b0]
movzx ecx, al
mov rax, r8
shr rax, 0x18
xor r10d, dword [r14 + rcx*4 + 0x3edeb0]
xor r10d, dword [r14 + rax*4 + 0x3a9700]
mov rax, r9
shr rax, 0x18
xor r10d, dword [r14 + rax*4 + 0x3edab0]
movzx eax, r8b
xor r10d, dword [r14 + rax*4 + 0x3ee6b0]
movzx eax, r9b
xor r10d, dword [r14 + rax*4 + 0x3eeab0]
sub edi, 1
jne 0x1403130fa
test r11d, r11d
je 0x1403131bd
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [r14 + rdx*4 + 0x3a9700]
xor r10d, eax
sub r11d, 1
jne 0x14031319a
mov rbx, qword [rsp + 8]
not r10d
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
mov dword [rsi], r10d
mov rsi, qword [rsp + 0x10]
ret