joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140136a70
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, r9
mov rbx, r8
mov dword [rbp - 0x59], ecx
and qword [rbp - 0x19], 0
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140118db1
mov rax, qword [rcx]
lea rdx, [rbp - 0x51]
mov rax, qword [rax]
call qword [str.0B__]
mov qword [rbp - 0x19], rax
and qword [rbp - 0x11], 0
and qword [rbp - 1], 0
and qword [rbp + 7], 0
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140019c78
nop
and qword [rbp + 0xf], 0
and qword [rbp + 0x1f], 0
and qword [rbp + 0x27], 0
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.140019c78
and dword [rbp + 0x2f], 0
lea rdx, [rbp - 0x59]
lea rcx, [0x1401189e0]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x140118e0b
cmp dword [rbp + 0x2f], 0
jbe 0x140118e0b
mov bl, 1
jmp 0x140118e0d
xor bl, bl
lea rcx, [rbp + 0xf]
call fcn.14001b814
lea rcx, [rbp - 0x11]
call fcn.14001b814
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140118e3f
mov rax, qword [rcx]
lea rdx, [rbp - 0x51]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [str.0B__]
mov al, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140038910
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
mov rax, r9
mov r10, r8
mov r9, qword [rsp + 0x28]
mov ecx, edx
mov r8, rax
mov rdx, r10
jmp 0x140118d68

Function at 0x140136cc0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x38], rax
neg byte [rsp + 0x80]
mov rsi, r9
mov rbx, r8
sbb r9d, r9d
and r9d, 0xfffe00fc
add r9d, 0x20006
cmp qword [rdx + 0x18], 8
jb 0x14011c9a7
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14011ca03
cmp qword [rbx + 0x10], 0
jne 0x14011c9cb
xor ebx, ebx
jmp 0x14011c9d5
cmp qword [rbx + 0x18], 8
jb 0x14011c9d5
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov r9d, 4
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140038910
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
push rbx
mov al, byte [rsp + 0x38]
mov r10, r9
mov r9, qword [rsp + 0x30]
mov r11, r8
mov rcx, rdx
mov byte [rsp + 0x30], al
mov r8, r10
mov rdx, r11
pop rbx
jmp 0x14011c968
Function at 0x140136ed0
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1403c32e8]
lea rdx, [rsp + 0x40]
and qword [rsp + 0x40], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov rdx, 0xffffffff80000001
mov dword [rsp + 0x20], 0xf003f
mov rax, qword [rcx]
mov rax, qword [rax + 0x128]
call qword [str.0B__]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14010e98c
mov rcx, qword [0x1403c32e8]
lea r8, str.OneDrive
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x550]
call qword [str.0B__]
mov rcx, qword [0x1403c32e8]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
mov rdx, qword [rcx]
cmovle ebx, eax
mov rax, qword [rdx + 0x120]
mov rdx, qword [rsp + 0x40]
call qword [str.0B__]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140038910
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.140110e10
mov ebx, eax
test eax, eax
js 0x14011c2a5
mov rcx, qword [0x1403c32e8]
mov rax, qword [rcx]
mov r10, qword [rax + 0xf0]
mov eax, dword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
lea r9, str.OneDrive
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rdx, 0xffffffff80000001
mov rax, r10
call qword [str.0B__]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14001b814
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140038910
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
test cl, cl
jne 0x14011c1f8
jmp 0x14010e8d8
mov cl, dl
jmp 0x14011ef08
Function at 0x140137304
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
xor ebp, ebp
add eax, eax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], eax
mov rsi, r9
mov qword [rsp + 0x30], rbp
mov rdi, r8
test rdx, rdx
je 0x1401373bd
cmp word [rdx], bp
je 0x1401373bd
test r8, r8
je 0x1401373bd
cmp word [r8], bp
je 0x1401373bd
test r9, r9
je 0x1401373bd
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1401373a9
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1401373a9
cmp dword [rsp + 0x38], 1
lea eax, [rbp + 0xd]
cmovne ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401373b9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1401373c2
mov eax, 0x57
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140038910
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1401373d8
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xb0]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov rsi, r9
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x1401374eb
cmp word [rdx], r14w
je 0x1401374eb
test r9, r9
je 0x1401374eb
cmp word [r9], r14w
je 0x1401374eb
test rdi, rdi
je 0x1401374eb
cmp word [rdi], r14w
je 0x1401374eb
mov edx, 0x7fffffff
mov rax, rdi
mov ecx, edx
cmp word [rax], r14w
je 0x14013745e
add rax, 2
sub rcx, 1
jne 0x14013744e
sub rdx, rcx
mov rax, rcx
neg rax
sbb rbp, rbp
and rbp, rdx
test rcx, rcx
jne 0x140137477
lea ebx, [rcx + 0x57]
jmp 0x1401374e7
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r8
mov rdx, r10
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov rcx, r11
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1401374d7
mov rcx, qword [rsp + 0x50]
lea eax, [rbp*2 + 2]
mov dword [rsp + 0x28], eax
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401374e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1401374f0
mov eax, 0x57
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038910
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14013e694
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14b, r8b
mov esi, edx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rcx], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
mov dword [rsp + 0x30], 1
call fcn.140109458
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x3c8]
call qword [str.0B__]
mov dil, al
test al, al
jne 0x14013e7ca
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14003a220
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14013e7ca
lea rdx, [0x14032cea0]
lea rcx, [rsp + 0x60]
call fcn.1402bc590
test rax, rax
je 0x14013e7ca
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x14013e773
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001b664
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], 9
lea r9, str._allusers
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
call fcn.14001a52c
cmp rax, 0xffffffffffffffff
setne dil
lea rcx, [rsp + 0x40]
call fcn.14001b814
mov rdx, rbx
mov cl, dil
call fcn.140112e90
mov r8d, 1
lea rdx, [0x14035fd84]
mov rcx, rbx
call fcn.140019e88
mov dl, r14b
mov ecx, esi
call fcn.14013ea2c
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400c0a04
mov dword [rsp + 0x30], 3
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140019e88
nop
lea rcx, [rsp + 0x40]
call fcn.14001b814
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140038910
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140140440
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
mov dword [rbp - 0x39], 1
cmp qword [rdx + 0x18], 8
jb 0x14014047f
mov rdx, qword [rdx]
xor r12d, r12d
mov qword [rbp - 0x31], r12
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r12w
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14014049f
lea rcx, [rbp - 0x31]
call fcn.14001b664
nop
mov r9, r15
mov r8, rsi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call fcn.140140648
mov r14d, eax
lea rcx, [rbp - 0x31]
call fcn.14001b814
mov dword [rbp - 0x39], 2
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401404e6
mov rdx, qword [rbx]
mov qword [rbp - 0x31], r12
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r12w
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1401404ff
lea rcx, [rbp - 0x31]
call fcn.14001b664
nop
mov r9, r15
mov r8, rsi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call fcn.140140648
nop
lea rcx, [rbp - 0x31]
call fcn.14001b814
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_]
mov qword [rbp - 9], r12
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r12w
inc rdi
cmp word [rdx + rdi*2], r12w
jne 0x14014054d
mov r8, rdi
lea rcx, [rbp - 9]
call fcn.14001b664
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140140571
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 9]
call fcn.140019e88
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
xor r9d, r9d
mov edi, 0x1010b
mov r8d, edi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14014060e
cmp qword [rbx + 0x18], 8
jb 0x1401405e9
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140140710
test esi, esi
cmovne edi, esi
test r14d, r14d
cmovne edi, r14d
lea rcx, [rbp - 9]
call fcn.14001b814
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140038910
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140140bc0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x28], rax
call fcn.1400718fc
and dword [rsp + 0x20], 0
lea rcx, [0x1403e3d68]
call fcn.14014088c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x140140c3c
mov ebx, 1
cmp dword [rsp + 0x20], ebx
jle 0x140140c33
lea rdi, [rax + 8]
mov rcx, qword [rdi]
call fcn.140140c5c
inc ebx
lea rdi, [rdi + 8]
cmp ebx, dword [rsp + 0x20]
jl 0x140140c1f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140038910
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140178254
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x770], rax
cmp byte [0x1403e47e0], 0
mov rsi, rdx
movsxd rbx, ecx
je 0x1401783a8
mov r12d, 0x800
lea rcx, [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.14003a220
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, str._EWID
movsx edi, byte [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x6a]
movzx r11d, word [rsp + 0x68]
movzx ebx, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x38], edx
lea rdx, str._04u__02u__02u__02u:_02u:_02u._03u_T_u___c____s_
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.1401777d0
movsxd rsi, eax
lea rbx, [rsp + 0x70]
mov edi, r12d
lea r14, [rbp + 0x7d8]
sub rdi, rsi
add rbx, rsi
call fcn.14001b7a0
mov r9, qword [rbp + 0x7d0]
mov r8, rdi
mov qword [rsp + 0x28], r14
mov rdx, rbx
and qword [rsp + 0x20], 0
mov rcx, qword [rax]
call fcn.14004e62c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [r12 - 2]
add esi, eax
movsxd rax, esi
cmp rax, rcx
cmova rax, rcx
mov byte [rsp + rax + 0x70], 0xa
lea eax, [rsi + 1]
movsxd rcx, eax
lea eax, [r12 - 1]
cmp rcx, rax
ja 0x140178398
mov rax, rcx
cmp rcx, r12
jae 0x1401783c7
lea rcx, [rsp + 0x70]
mov byte [rsp + rax + 0x70], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.140038910
add rsp, 0x888
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400390c4
int3
Function at 0x14017b4d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], dil
lea rdx, [0x1403613a8]
call fcn.14002e8a8
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, SHFlushSFCache
lea rcx, [rbp - 0x80]
call fcn.14003a220
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14017b5fb
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
lea rcx, [rbp - 0x80]
call fcn.140056e30
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14001b664
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14019a418
mov rdx, rax
mov rcx, rbx
call fcn.14014b9b8
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14017b5de
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017b5d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017b622
call fcn.1400385dc
movdqa xmm0, xmmword [0x1403029b0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], dil
lea rcx, [rsp + 0x58]
call fcn.14001b814
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140038910
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14004689c
int3

Function at 0x14017b630
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
cmp byte [rdi + rcx], 0
jne 0x14017b64d
mov eax, 0x1505
jmp 0x14017b65d
inc edx
call fcn.14017b630
movsx ecx, byte [rdi + rbx]
imul eax, eax, 0x21
xor eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401962cc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.14003a220
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.CommercialId
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], setsockopt
mov rcx, rbx
mov byte [rbx], 0
call fcn.14002e8a8
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140038910
add rsp, 0x170
pop rbx
ret

Function at 0x140196380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.14003a220
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rsp + 0x50]
mov r9d, 0x10002
mov qword [rsp + 0x28], rax
lea rdx, [0x140336228]
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], setsockopt
mov rcx, rbx
mov byte [rbx], 0
call fcn.14002e8a8
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140038910
add rsp, 0x170
pop rbx
ret
Function at 0x140199b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x48]
xor r11d, r11d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rax, qword [rsp + 0x50]
mov r15, r8
mov r13, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov r10, qword [r14]
cmp r10, r9
je 0x140199d0d
mov rsi, r10
lea edi, [r11 + 1]
mov rax, qword [rsp + 0x58]
mov r9d, 0x3ff
mov r10, rsi
cmp qword [rbx], rax
je 0x140199d0d
mov bpl, r11b
movzx ecx, word [rsi]
cmp di, word [r13]
jae 0x140199c0b
mov edx, 0x2400
lea eax, [rdx + rcx]
cmp ax, r9w
ja 0x140199d34
movzx r8d, word [r13]
movzx eax, cx
shl r8d, 0xa
sub eax, 0xdc00
or r8d, eax
jmp 0x140199c2b
mov eax, 0x2800
movzx r8d, cx
add cx, ax
cmp cx, r9w
ja 0x140199c2b
shl r8d, 0xa
mov bpl, dil
sub r8d, 0x35f0000
cmp r8d, 0x80
jae 0x140199c3c
mov dl, r8b
mov r9d, r11d
jmp 0x140199c76
mov edx, r8d
cmp r8d, 0x800
jae 0x140199c53
shr edx, 6
mov r9d, edi
or dl, 0xc0
jmp 0x140199c76
cmp r8d, 0x10000
jae 0x140199c6a
shr edx, 0xc
mov r9d, 2
or dl, 0xe0
jmp 0x140199c76
shr edx, 0x12
mov r9d, 3
or dl, 0xf0
mov rcx, qword [rsp + 0x58]
movzx eax, bpl
xor eax, edi
cmp r9d, 3
lea edi, [rax + rax]
cmovb edi, r9d
sub rcx, qword [rbx]
inc edi
mov eax, edi
cmp rcx, rax
jl 0x140199d0d
lea rax, [rsi + 2]
mov qword [r14], rax
test bpl, bpl
jne 0x140199caa
cmp r9d, 3
jae 0x140199cb4
mov rax, qword [rbx]
mov byte [rax], dl
inc qword [rbx]
dec edi
test edi, edi
jle 0x140199ce6
lea ecx, [r9 + r9*2]
mov r14d, 1
add ecx, ecx
mov rax, qword [rbx]
sub ecx, 6
mov edx, r8d
sub edi, r14d
shr edx, cl
and dl, 0x3f
or dl, 0x80
mov byte [rax], dl
add qword [rbx], r14
test edi, edi
jg 0x140199cc4
mov r14, qword [rsp + 0x48]
shr r8d, 0xa
mov edi, 1
test bpl, bpl
mov eax, edi
cmovne ax, r8w
mov word [r13], ax
mov r10, qword [r14]
mov rsi, r10
cmp r10, r12
jne 0x140199bbf
cmp r15, r10
sete r11b
mov eax, r11d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x140199d17

Function at 0x1401bdd08
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, vtable.Microsoft::Applications::Events::HttpClient_WinInet.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0x102
call fcn.14014b2cc
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x58], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.1401906ac
mov qword [rbx], rax
mov byte [rdi + 0x70], 0
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 8], rax
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401c0ae4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov r13, r8
cmp qword [rdx + 0x10], 0x20
mov r14, rdx
mov qword [rcx], rbx
mov rdi, rcx
mov qword [rcx + 8], rbx
jne 0x1401c0c79
mov ebp, ebx
mov word [rsp + 0x20], bx
movzx r12d, bx
mov word [rsp + 0x22], bx
mov qword [rsp + 0x28], rbx
mov esi, ebx
mov r15d, ebx
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x1401c0b53
mov rax, qword [r14]
mov cl, byte [r15 + rax]
call fcn.1401c1c30
cmp al, 0xff
je 0x1401c0c79
shl ebp, 4
inc esi
movzx eax, al
inc r15
add ebp, eax
mov dword [rsp + 0x24], ebp
cmp r15, 8
jl 0x1401c0b46
cmp esi, 0xc
jge 0x1401c0bc0
movsxd r15, esi
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x1401c0b90
mov rax, qword [r14]
mov cl, byte [r15 + rax]
call fcn.1401c1c30
cmp al, 0xff
je 0x1401c0c79
movzx ecx, word [rsp + 0x20]
inc esi
shl cx, 4
inc r15
movzx eax, al
add cx, ax
mov word [rsp + 0x20], cx
cmp r15, 0xc
jl 0x1401c0b83
cmp esi, 0x10
jge 0x1401c0c03
movsxd r15, esi
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x1401c0bd5
mov rax, qword [r14]
mov cl, byte [r15 + rax]
call fcn.1401c1c30
cmp al, 0xff
je 0x1401c0c79
shl r12w, 4
inc esi
movzx eax, al
inc r15
add r12w, ax
mov word [rsp + 0x22], r12w
cmp r15, 0x10
jl 0x1401c0bc8
mov bpl, bl
mov r13b, 1
cmp esi, 0x20
jge 0x1401c0c5f
movsxd rsi, esi
lea r15, [rsp + 0x28]
mov r12b, r13b
mov rax, r14
xor r12b, 1
cmp qword [r14 + 0x18], 0x10
jb 0x1401c0c2a
mov rax, qword [r14]
mov cl, byte [rsi + rax]
call fcn.1401c1c30
shl bpl, 4
add bpl, al
cmp r13b, 1
je 0x1401c0c48
mov byte [r15], bpl
mov bpl, bl
inc r15
inc rsi
mov r13b, r12b
cmp rsi, 0x20
jl 0x1401c0c16
mov rbx, qword [rsp + 0x28]
movzx r12d, word [rsp + 0x22]
mov eax, dword [rsp + 0x24]
mov dword [rdi], eax
movzx eax, word [rsp + 0x20]
mov word [rdi + 4], ax
mov word [rdi + 6], r12w
mov qword [rdi + 8], rbx
jmp 0x1401c0c7e
mov byte [r13], 1
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140038910
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret