joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140081df0
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140081e04
xor al, al
add rsp, 0x38
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov edx, 0xffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
add rsp, 0x38
ret

Function at 0x140081e30
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140081e6a
test rdx, rdx
je 0x140081e6a
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea edx, [r9 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
sete al
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x140081e80
Capabilities:
Read http header

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x30], r8d
test rcx, rcx
je 0x140081ee6
test rdx, rdx
je 0x140081ee6
test r8d, r8d
je 0x140081ee6
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov r9, rdx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140269300
add rsp, 0x48
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140269300
add rsp, 0x48
ret

Function at 0x140081f00
Capabilities:
Read http header

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x18]
test rbx, rbx
je 0x140081f76
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.14026c200
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xff
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r8 + 0x13]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x140081f76
lea rcx, [rsp + 0x40]
call fcn.140277a3c
jmp 0x140081f78
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140269300
add rsp, 0x150
pop rbx
ret

Function at 0x140081fd0
Capabilities:
Read http header

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [rcx + 0x18]
mov rbx, rdx
test rcx, rcx
je 0x14008206a
test rdx, rdx
je 0x14008206a
xorps xmm0, xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
xor r8d, r8d
lea rax, [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x30], 0x7f
movups xmmword [rsp + 0x60], xmm0
lea edx, [r8 + 5]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14008206a
lea rcx, [rsp + 0x40]
call fcn.140277a3c
mov dword [rbx], eax
mov al, 1
jmp 0x14008206c
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140269300
add rsp, 0xd0
pop rbx
ret
Function at 0x140082090
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400820a4
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
sete al
add rsp, 0x28
ret
Function at 0x140083b40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov rsi, rcx
cmp qword [rdx + 0x10], 0
jne 0x140083ba5
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x140083c79
lea rax, str.Invalid__empty__parameter:_ignored
mov qword [rsp + 0x20], rax
mov r9d, 0x147
lea r8, str.Intel::Analytics::CRESTfulSender::SetParameter
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsSDK_srcRESTfulSenderRESTfulSender.cpp
mov ecx, 5
call fcn.1400262e0
jmp 0x140083c79
lea rcx, [rsp + 0x40]
call fcn.14003b780
nop
cmp qword [rbx + 0x10], 0
jne 0x140083c39
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x50]
lea r8, [rax + rax]
xor ecx, ecx
test r8, r8
je 0x140083c03
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140083bf0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.140034130
mov r8, qword [rax + 8]
test r8, r8
jne 0x140083c23
mov r8, qword [rsi + 0x18]
cmp qword [rsi + 0x18], r8
je 0x140083c6f
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.14003ada0
jmp 0x140083c6f
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.14003bb80
mov rcx, qword [rax]
add rcx, 0x30
cmp rcx, rbx
je 0x140083c6f
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140083c66
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.140025e70
nop
lea rcx, [rsp + 0x40]
call fcn.140025de0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140269300
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140086240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], rdx
mov rbx, rdx
cmp qword [r8 + 0x18], 8
mov rsi, rcx
mov r10, qword [r8 + 0x10]
mov rdx, r8
jb 0x140086268
mov rdx, qword [r8]
xor ebp, ebp
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
add r10, r10
je 0x1400862a3
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x140086290
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 8]
call fcn.140034130
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400862be
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x10]
je 0x1400862e0
add rdx, 0x30
mov rcx, rbx
call fcn.1400322c0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov qword [rbx], rbp
mov rax, rbx
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rbx, rdx
mov r10, qword [r8 + 0x10]
mov rdx, r8
mov rsi, rcx
jb 0x14008632f
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
add r10, r10
je 0x140086363
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x140086350
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x48]
call fcn.140034130
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x14008637e
mov rdx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x50]
mov qword [rbx], 0
mov qword [rbx + 8], 0
cmp rdx, rax
je 0x1400863b2
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x1400863a3
lock inc dword [rax + 8]
mov rcx, qword [rdx + 0x30]
mov qword [rbx], rcx
mov rcx, qword [rdx + 0x38]
mov qword [rbx + 8], rcx
mov rax, rbx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140087660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 7
mov r8d, 0x18
lea rdx, str.__record.created.seconds
lea rcx, [rsp + 0x60]
call fcn.140025e70
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x70]
lea r8, [rax + rax]
xor ecx, ecx
test r8, r8
je 0x140087713
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140087700
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.140034130
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140087735
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
call fcn.140025de0
cmp rbx, qword [rdi + 8]
je 0x1400877b6
cmp qword [rbx + 0x40], 0
je 0x1400877b6
call fcn.14027932c
mov rdi, rax
add rbx, 0x30
cmp qword [rbx + 0x18], 8
jb 0x140087767
mov rbx, qword [rbx]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rsp + 0x98]
mov rcx, rbx
call fcn.1402828d0
cmp rbx, qword [rsp + 0x98]
je 0x140087830
cmp dword [rdi], 0x22
je 0x14008783c
imul rcx, rax, 0x3b9aca00
mov qword [rsi], rcx
mov rax, rsi
jmp 0x14008780b
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14006cae0
call fcn.140246304
mov rbx, rax
call fcn.140246204
mov rdi, rax
call fcn.1402461e8
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rdx, rcx, 0x3b9aca00
add rdx, rax
mov rax, qword [rsp + 0x50]
sub rax, rbx
imul rcx, rax, 0x64
add rcx, rdx
mov qword [rsi], rcx
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140269300
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, str.invalid_stoull_argument
call fcn.140245df0
lea rcx, str.stoull_argument_out_of_range
call fcn.140245e38
int3
Function at 0x14008ecd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov ecx, 0x80
call fcn.1402695b8
mov rbx, rax
mov qword [rsp + 0x88], rax
xor esi, esi
mov dword [rax + 8], esi
lea rax, vtable.contextsubscriber.0
mov qword [rbx], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x20], xmm1
lea rcx, [rbx + 0x30]
lea edx, [rsi + 2]
call fcn.14024616c
lea rcx, [rsp + 0x30]
call fcn.140025de0
nop
mov eax, 9
mov word [rdi], ax
mov qword [rdi + 8], rbx
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
nop
lea rcx, [rdi + 0x18]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rbx, [rdi + 0x30]
mov qword [rsp + 0x88], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14008ee8b
mov qword [rbx + 8], rax
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x88], rbx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14008ee48
mov qword [rbx + 8], rax
mov byte [rdi + 0x50], sil
lea ecx, [rsi + 8]
call fcn.1402695b8
mov qword [rax], rdi
mov qword [rsp + 0x88], rax
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14008eee0]
xor edx, edx
xor ecx, ecx
call fcn.1402835f8
mov qword [rdi + 0x58], rax
test rax, rax
je 0x14008ee7e
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140269300
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ebx, eax
call fcn.14008f270
mov r8, rax
lea r9, str.Failed_to_create_event
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.14008f280
lea rdx, [0x140356788]
lea rcx, [rsp + 0x60]
call fcn.14026ba78
nop
mov dword [rbx], esi
mov ecx, 6
call fcn.1402463c8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14008f270
mov r8, rax
lea r9, str.Failed_to_create_event
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14008f280
lea rdx, [0x140356788]
lea rcx, [rsp + 0x30]
call fcn.14026ba78
int3
Function at 0x140095280
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x140095355
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140095355
test rdx, rdx
je 0x1400952e5
test r8, r8
je 0x1400952ea
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
mov rax, qword [0x1403125f8]
call qword [case.0x1400ac8a1.0]
test eax, eax
jne 0x1400952f1
mov byte [rdi + 8], 1
jmp 0x140095351
test r8, r8
je 0x1400952b0
mov eax, 0x8000000a
jmp 0x14009535a
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov ecx, eax
call fcn.140080248
mov qword [rsp + 0x28], rax
lea r8, str.E:BT380bd788_2e5a_4012_9f79_903f61b85e9bCoreTechMcCryptoLib_srcwindowswin_hash.cpp
lea rax, str.McCryptoLib::CMcCryptoHashWin::AddToHash
mov r9d, 0x90
lea rdx, str.__S:__d____S___s:_Error_trying_to_add_data_for_hashing
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.140091700
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov ebx, eax
mov eax, ebx
jmp 0x14009535a
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14009614c
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r9
mov r12, r8
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
mov edi, ebx
mov ebp, ebx
mov r15d, ebx
mov dword [rax + 8], ebx
lea rdx, [rax - 0x48]
call fcn.140096334
nop
cmp byte [rsp + 0xd0], bl
je 0x1400961aa
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
sub rdi, rbx
mov rbp, qword [rsi + 0x20]
mov r15d, dword [r14]
mov eax, dword [rsi + 0x78]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov dword [rsp + 0x58], eax
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0xb0]
mov qword [r14], rax
lea rcx, [rsp + 0x50]
mov rax, qword [0x1403125f8]
call qword [case.0x1400ac8a1.0]
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.14005c7a0
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140096240
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r9
mov r12, r8
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
mov edi, ebx
mov ebp, ebx
mov r15d, ebx
mov dword [rax + 8], ebx
lea rdx, [rax - 0x48]
call fcn.140096334
nop
cmp byte [rsp + 0xd0], bl
je 0x14009629e
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
sub rdi, rbx
mov rbp, qword [rsi + 0x20]
mov r15d, dword [r14]
mov eax, dword [rsi + 0x78]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
mov dword [rsp + 0x58], eax
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0xb0]
mov qword [r14], rax
lea rcx, [rsp + 0x50]
mov rax, qword [0x1403125f8]
call qword [case.0x1400ac8a1.0]
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.14005c7a0
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140098190
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x1400981c9
xor eax, eax
jmp 0x140098293
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1402bd7f8]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
test eax, eax
jns 0x1400981fb
mov edi, ebp
jmp 0x140098282
mov r9, rsi
mov r8, rbx
lea rdx, [0x1402f8040]
lea rcx, [rsp + 0x30]
call fcn.14003abd0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14009826f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009826a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400982b0
call fcn.140269844
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
test rbx, rbx
je 0x140098290
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call fcn.140277ff8
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x140098190
Function at 0x1400982c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x1400981c9
xor eax, eax
jmp 0x140098293
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1402bd7f8]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
test eax, eax
jns 0x1400981fb
mov edi, ebp
jmp 0x140098282
mov r9, rsi
mov r8, rbx
lea rdx, [0x1402f8040]
lea rcx, [rsp + 0x30]
call fcn.14003abd0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14009826f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009826a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400982b0
call fcn.140269844
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
test rbx, rbx
je 0x140098290
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call fcn.140277ff8
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x140098190

Function at 0x140099990
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rbp, r9
lea rcx, [rsp + 0x50]
mov rdi, r8
call fcn.14007e680
mov rax, qword [rdi]
mov r9, rbp
mov rsi, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp eax, 0xea
jne 0x140099a26
mov rcx, qword [rdi]
call fcn.140269844
mov qword [rdi], 0
lea rdx, [0x1402e7374]
mov ecx, dword [rsi]
call fcn.14026a000
mov rdx, qword [rsp + 0x50]
mov r9, rbp
mov qword [rdi], rax
xor r8d, r8d
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140099a4e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140099a70
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, r9
mov ebp, r8d
mov r12, rdx
mov r14, rcx
test r9, r9
je 0x140099bd4
mov edi, dword [rsp + 0x90]
cmp edi, 1
jb 0x140099bd4
xor eax, eax
mov dword [r11 + 0x20], eax
mov qword [r11 - 0x38], rax
cmp r8d, 1
jne 0x140099ad5
lea rax, [r11 + 0x20]
mov qword [r11 - 0x48], rax
lea r9, [r11 - 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140099300
jmp 0x140099af7
cmp ebp, 7
jne 0x140099b0f
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
call fcn.1400990f0
mov edi, eax
test eax, eax
jne 0x140099bc6
mov rsi, qword [rsp + 0x30]
mov edi, dword [rsp + 0x88]
jmp 0x140099b16
mov dword [rsp + 0x88], edi
lea r15d, [rdi + 0x20]
mov ecx, r15d
call fcn.140269b2c
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140099b37
lea edi, [rax + 8]
jmp 0x140099bbd
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
mov r9d, ebp
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call fcn.140099590
mov edi, eax
test eax, eax
jne 0x140099bbd
mov rdx, r12
lea rcx, [rsp + 0x88]
call fcn.14007e680
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
lea r9d, [rdi + 3]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140099bb8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140269844
nop
mov rcx, qword [rsp + 0x30]
call fcn.140269844
mov eax, edi
jmp 0x140099bd9
mov eax, 0x57
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14009b010
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x14009b063
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], 0
xor r8d, r8d
lea rcx, [0x1402bd7a8]
mov edx, 0x8000
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x38]
test eax, eax
jns 0x14009b078
test rbx, rbx
je 0x14009b063
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 0x57
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14027bb08
mov edi, eax
test rbx, rbx
je 0x14009b09d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14009c240
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
mov edi, r8d
mov rax, rdx
mov rbx, rcx
test rdx, rdx
je 0x14009c343
xor ebp, ebp
cmp bp, word [rdx]
je 0x14009c343
cmp qword [rcx + 0x50], rbp
je 0x14009c278
mov eax, 0xb7
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x60], rsi
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0xa0
mov rcx, rax
mov esi, ebp
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov rax, qword [rbx + 0x50]
mov qword [rbx + 0x50], rcx
test rax, rax
je 0x14009c2c8
cmp rax, 0xffffffffffffffff
je 0x14009c2c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
cmp rcx, 0xffffffffffffffff
jne 0x14009c2e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov qword [rbx + 0x50], rbp
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
cmp edi, 3
jne 0x14009c30a
lea r9d, [rdi - 1]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
lea eax, [rdi - 1]
cmp eax, 1
ja 0x14009c334
lea r9, [rsp + 0x78]
mov word [rsp + 0x68], 0xfeff
mov r8d, 2
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
mov eax, 0x57
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret