joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b378
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x130
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c8590]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
call fcn.14004ab28
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140048744
nop
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140048e60
test eax, eax
jne 0x14004b3e5
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbx
call fcn.14000cc2c
test eax, eax
sete bl
lea rcx, [rsp + 0x30]
call fcn.140037714
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400056f0
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop rbp
ret
Function at 0x140051c54
Capabilities:
Hash data using fnv

Disassembly:
push rbp
mov rbp, rsp
mov r9, rdx
movabs rax, 0xcccccccccccccccd
xor r10d, r10d
mov r8d, 0x811c9dc5
mul qword [rdx + 0x10]
shr rdx, 3
inc rdx
cmp qword [r9 + 0x10], r10
jbe 0x140051ca6
cmp qword [r9 + 0x18], 8
jb 0x140051c8b
mov rax, qword [r9]
jmp 0x140051c8e
mov rax, r9
movzx eax, word [rax + r10*2]
imul r8, r8, 0x1000193
add r10, rdx
xor r8, rax
cmp r10, qword [r9 + 0x10]
jb 0x140051c7f
mov rdx, qword [rcx + 0x40]
mov rax, rdx
and rax, r8
cmp qword [rcx + 0x48], rax
ja 0x140051cc3
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
pop rbp
ret
Function at 0x14005cf54
Capabilities:
Prepare http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, r9
mov rbx, rcx
test r9, r9
jne 0x14005cf7a
lea eax, [r9 + 0x57]
jmp 0x14005d079
and qword [r9], 0
mov al, byte [rcx + 0xc8]
neg al
sbb ecx, ecx
xor r9d, r9d
and ecx, 0x800000
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbx + 0xa8]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
test eax, eax
je 0x14005cfd5
lea r8, [rsp + 0x78]
lea rdx, str.CWinHttpHelperBase::CreateRequest_failed_in_WinHttpOpenRequest__error__d
mov ecx, 2
call fcn.14005d8d0
cmp qword [rdi], 0
jne 0x14005cfe6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14005d079
cmp byte [rbx + 0xca], 0
je 0x14005cff9
or dword [rbx + 0xc0], 0x17e0c00
mov r8d, dword [rbx + 0xc0]
mov rdx, qword [rbx + 0xd0]
mov rcx, qword [rdi]
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
jne 0x14005d03f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
test eax, eax
je 0x14005d079
lea r8, [rsp + 0x78]
lea rdx, str.CWinHttpHelperBase::CreateRequest_failed_in_WinHttpSetStatusCallback__error__d
mov ecx, 2
call fcn.14005d960
jmp 0x14005d075
mov rcx, qword [rdi]
mov r9d, 8
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x25]
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x14005cfdb
cmp byte [rbp + 0x30], 0
jne 0x14005d075
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.14005d1c0
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14005d1c0
Capabilities:
Set http header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov r14, rdx
mov rdx, qword [rcx + 0x78]
lea rcx, [rax - 0x28]
call fcn.14005d3fc
lea rcx, [rsp + 0x20]
call fcn.14005df60
test al, al
je 0x14005d2ab
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x14005d2ab
mov edi, dword [rsp + 0x30]
cmp edi, 1
jbe 0x14005d2ab
add edi, 0xb
cmp edi, 0x3fffffff
ja 0x14005d229
lea rcx, [rdi + rdi]
jmp 0x14005d22d
or rcx, 0xffffffffffffffff
xor edx, edx
call fcn.14002d1f4
mov rbx, rax
test rax, rax
je 0x14005d2ab
test edi, edi
jle 0x14005d257
lea r8, str.Cookie:
movsxd rdx, edi
or r9, 0xffffffffffffffff
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_wcsncpy_s]
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.140009f3c
lea rcx, [0x1400e31d4]
mov r8d, edi
mov rdx, rbx
call fcn.140009f3c
mov r9d, 0xa0000000
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14005d2a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov edi, eax
call fcn.14002d25c
jmp 0x14005d2ad
mov rcx, rbx
call fcn.14002d25c
xor edi, edi
lea rcx, [rsp + 0x20]
call fcn.14005d478
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
mov eax, edi
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x140061620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
test byte [0x14017cb40], 0x20
mov rbx, rcx
je 0x140061652
mov rcx, qword [0x14017cb48]
mov r9d, r8d
mov r8d, edx
lea rdx, [0x1400fe2a8]
call fcn.140094fd0
mov ecx, 0x1c135e
call fcn.14002cdf4
prefetchw byte [rbx + 0x10]
mov rax, qword [rbx + 0x10]
mov r8d, 0x7f000
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x30]
mov ecx, edx
shr ecx, 0xc
dec ecx
shl ecx, 0xc
xor ecx, edx
and ecx, r8d
xor edx, ecx
mov dword [rsp + 0x30], edx
mov rcx, qword [rsp + 0x30]
lock cmpxchg qword [rbx + 0x10], rcx
je 0x1400616c2
mov edx, eax
mov qword [rsp + 0x30], rax
mov rcx, rax
shr edx, 0xc
dec edx
shl edx, 0xc
xor edx, eax
and edx, r8d
xor edx, eax
mov dword [rsp + 0x30], edx
mov rdx, qword [rsp + 0x30]
lock cmpxchg qword [rbx + 0x10], rdx
cmp rax, rcx
jne 0x140061695
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
Function at 0x14006220c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
push rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x34]
mov edi, edx
mov rbx, rcx
test eax, eax
jne 0x140062231
mov eax, 0x80004005
jmp 0x140062417
cmp byte [rcx + 0x254], 0
jne 0x140062415
mov rcx, qword [rcx + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x14017caf8]
je 0x140062277
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test eax, eax
je 0x140062277
mov ecx, 0x1c1417
call fcn.14002cdf4
lea rcx, [rbx + 0x60]
mov edx, 0x2710
call fcn.14006ca68
test rax, rax
je 0x1400622ef
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov eax, edi
test edi, edi
je 0x1400622d5
dec eax
je 0x1400622cb
dec eax
je 0x1400622d5
dec eax
je 0x1400622b5
mov ecx, 0x1c1418
call fcn.14002cdf4
jmp 0x140062227
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140062227
mov eax, 0x80004004
jmp 0x140062417
neg edi
lea rcx, [rbx + 0x60]
sbb edx, edx
and edx, 0x4e21
dec edx
call fcn.14006ca68
test rax, rax
jne 0x1400622cb
mov rcx, qword [rbx + 0x38]
mov byte [rbx + 0x254], 1
mov rax, qword [rcx]
call qword [rax + 0x48]
lea rdi, [rbx + 0x1d0]
cmp qword [rdi + 0x10], 0
je 0x140062344
mov rax, qword [rdi]
test rax, rax
je 0x140062344
jmp 0x140062333
mov rcx, qword [rsp + 0x40]
mov dl, 1
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400646fc
test al, al
jne 0x140062318
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140062352
call fcn.1400747fc
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140062361
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x140062372
call fcn.140072898
lea rdi, [rbx + 0xd0]
cmp qword [rdi + 0x10], 0
je 0x1400623b1
mov rax, qword [rdi]
test rax, rax
je 0x1400623b1
jmp 0x1400623a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400646fc
test al, al
jne 0x14006238a
lea rdi, [rbx + 0x150]
cmp qword [rdi + 0x10], 0
je 0x1400623e5
mov rax, qword [rdi]
test rax, rax
je 0x1400623e5
jmp 0x1400623d4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400646fc
test al, al
jne 0x1400623c9
cmp dword [rbx + 0x250], 0
je 0x140062415
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x14017caf8]
jne 0x14006240b
call qword [sym.imp.ole32.dll_CoUninitialize]
and dword [rbx + 0x250], 0
jmp 0x140062415
mov ecx, 0x1c141d
call fcn.14002cdf4
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140062528
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x28]
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140062551
xor al, al
jmp 0x14006256c
mov rcx, rdi
call fcn.14006257c
cmp rax, rbx
je 0x14006256a
mov ecx, 0x1c1449
call fcn.14002cdf4
jmp 0x14006254d
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret

Function at 0x14006257c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1400625c6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x14017caf8]
jne 0x1400625c6
mov rdx, qword [rbx + 0x48]
mov rcx, rbx
call fcn.140062528
test al, al
je 0x1400625c6
mov rax, qword [rbx + 0x48]
jmp 0x1400625c9
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
Function at 0x140068a94
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rsi, r8
mov rdi, rcx
mov r8, rdx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor ebx, ebx
mov qword [rdi], rax
test rsi, rsi
je 0x140068ada
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, ebx
cmp eax, 0xb7
setne dl
mov dword [rsi], edx
cmp qword [rdi], rbx
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret

Function at 0x14006c664
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
push rbx
sub rsp, 0x38
xor ebx, ebx
cmp dword [0x14017cc70], ebx
jne 0x14006c716
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareMicrosoftOffice15.0CommonDebug
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006c6fb
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.EnableWaitTracking
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x50]
test eax, eax
cmovne ecx, ebx
mov dword [rsp + 0x50], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r11d, dword [rsp + 0x50]
jmp 0x14006c6fe
mov r11d, ebx
test r11d, r11d
mov dword [0x14017cc70], 1
setne bl
mov dword [0x14017cc74], ebx
jmp 0x14006c71c
mov ebx, dword [0x14017cc74]
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
ret
Function at 0x14006cc48
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
mov rbp, rsp
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r13, rdx
xor r14d, r14d
or r8d, 0xffffffff
xor edx, edx
mov rsi, r9
mov ebx, r14d
mov dword [rax + 0x20], r14d
mov rdi, rcx
call fcn.14006347c
mov r15, qword [rbp + 0x30]
test r15, r15
je 0x14006cc94
mov qword [r15], r14
mov eax, dword [rsi]
test eax, eax
je 0x14006cca4
mov ebx, 0x80004005
jmp 0x14006cd30
cmp byte [rdi + 0x4c], r14b
je 0x14006cc9a
inc dword [rdi + 0x48]
test byte [rdi + 0x48], 0x3f
jne 0x14006ccbd
xor edx, edx
mov rcx, rdi
call fcn.14006ca68
lea rcx, [rdi + 0x30]
call fcn.14006cde4
mov rsi, rax
test rax, rax
jne 0x14006ccd5
mov ebx, 0x8007000e
jmp 0x14006cd30
and qword [rax], rbx
lea rax, [rsp + 0x78]
mov r9, r12
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14006cd1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14006cd27
mov ebx, 0x80004005
jmp 0x14006cd27
mov qword [rsi], rax
test r15, r15
je 0x14006cd25
mov qword [r15], rax
xor esi, esi
test rsi, rsi
je 0x14006cd30
dec qword [rdi + 0x38]
mov rcx, rdi
call fcn.1400634e4
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x14006e404
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
prefetchw byte [rcx + 0x20]
mov edx, dword [rcx + 0x20]
mov r8d, edx
mov eax, edx
and r8d, 0xffffc000
add r8d, 0x4000
xor r8d, edx
and r8d, 0xfffc000
xor edx, r8d
lock cmpxchg dword [rcx + 0x20], edx
mov edx, eax
jne 0x14006e40f
pop rbp
ret
Function at 0x14006f50c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
and qword [rsp + 0x58], rdi
cmp byte [rcx + 0x10], dil
je 0x14006f53b
mov edi, 0x80004005
jmp 0x14006f64d
mov eax, dword [rcx + 0x58]
cmp eax, dword [rcx + 0x54]
ja 0x14006f56a
mov rcx, qword [rcx + 0x48]
lea edx, [rax + 5]
shl rdx, 3
call fcn.14005e934
test rax, rax
jne 0x14006f562
mov edi, 0x8007000e
jmp 0x14006f64d
add dword [rbx + 0x58], 5
mov qword [rbx + 0x48], rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14006f79c
test eax, eax
jns 0x14006f582
mov edi, eax
jmp 0x14006f620
cmp qword [rbx + 0x60], rdi
jne 0x14006f592
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx + 0x60], rax
mov rsi, qword [rsp + 0x58]
lock inc dword [rsi + 0xc24]
mov r14, qword [rsp + 0x58]
lea r8, [0x14006f85c]
xor edx, edx
lea rax, [r14 + 0xbf8]
mov r9, r14
xor ecx, ecx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14006f5fc
or eax, 0xffffffff
lock xadd dword [rsi + 0xc24], eax
mov rbx, qword [rsp + 0x58]
dec eax
jne 0x14006f5f5
test rbx, rbx
je 0x14006f5f5
mov rcx, rbx
call fcn.14006eba8
mov rcx, rbx
call fcn.14005e9a0
mov edi, 0x80004005
jmp 0x14006f625
mov qword [r14 + 0xbf0], rax
mov ecx, dword [rbx + 0x54]
mov rax, qword [rbx + 0x48]
mov qword [rax + rcx*8], r14
inc dword [rbx + 0x54]
and qword [rsp + 0x58], rdi
mov eax, 0x3e
lock xadd dword [rbx + 0x50], eax
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006f64d
or ecx, 0xffffffff
lock xadd dword [rbx + 0xc24], ecx
dec ecx
jne 0x14006f64d
mov rcx, qword [rsp + 0x58]
call fcn.14006eba8
mov rcx, qword [rsp + 0x58]
call fcn.14005e9a0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x14007547c
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400c8590]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rcx
test dl, dl
je 0x1400754b4
mov edx, 1
mov dword [rsp + 0x24], 0x20
mov dword [rsp + 0x20], edx
jmp 0x1400754e5
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x30], 0x60001
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], 0xd
mov dword [rsp + 0x44], 0x20
mov qword [rsp + 0x48], rcx
mov edx, 3
lea rcx, [rsp + 0x20]
mov r8d, 0x10
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
setne al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400056f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret

Function at 0x140079864
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov esi, r9d
mov r14d, r8d
mov edi, edx
mov rbx, rcx
xor r15d, r15d
test rcx, rcx
je 0x14007992b
test edx, edx
jle 0x14007992b
mov word [rcx], r15w
cmp edx, 0x104
jl 0x14007992b
mov r9d, edx
mov r8, rcx
mov edx, r14d
lea rcx, [0x14017cc80]
call fcn.140079a00
test eax, eax
je 0x140079930
cmp eax, 2
jne 0x1400798d7
mov eax, 0x80004005
jmp 0x140079930
mov eax, r14d
bts eax, 0xf
mov edx, r14d
test esi, esi
cmovne edx, eax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test eax, eax
js 0x140079930
mov edx, edi
mov rcx, rbx
call fcn.14000b798
nop
mov r8, rbx
mov edx, r14d
lea rcx, [0x14017cc80]
call fcn.14007994c
nop
mov eax, esi
jmp 0x140079930
mov eax, 0x80070057
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x14007b354
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rdi, rcx
mov qword [rsp + 0x30], r14
mov edx, dword [rdi + 0x94]
mov esi, dword [rdi + 0x58]
mov ecx, dword [rdi + 0x44]
sub esi, dword [rdi + 0x9c]
add ecx, 0xfffffefa
add ecx, ebx
sub esi, edx
cmp edx, ecx
jb 0x14007b403
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call sub.MSVCR100.dll_memcpy
mov r8d, dword [rdi + 0x74]
mov rax, qword [rdi + 0x68]
sub dword [rdi + 0x98], ebx
sub dword [rdi + 0x94], ebx
sub dword [rdi + 0x84], ebx
lea rdx, [rax + r8*2]
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, ebx
jb 0x14007b3d4
sub eax, ebx
jmp 0x14007b3d6
xor eax, eax
mov word [rdx], ax
dec r8d
jne 0x14007b3c4
mov rax, qword [rdi + 0x60]
mov edx, ebx
lea rcx, [rax + rbx*2]
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, ebx
jb 0x14007b3f8
sub eax, ebx
jmp 0x14007b3fa
xor eax, eax
mov word [rcx], ax
dec edx
jne 0x14007b3e8
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x14007b4f2
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.14007b58c
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x14007b46b
mov eax, dword [rdi + 0x94]
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rdi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rdi + 0x7c]
mov dword [rdi + 0x70], r8d
cmp r9d, 0x106
jae 0x14007b481
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x14007b376
mov ecx, dword [rdi + 0x1718]
mov esi, dword [rdi + 0x58]
cmp ecx, esi
jae 0x14007b4f2
mov ebx, dword [rdi + 0x94]
add ebx, r9d
cmp ecx, ebx
jae 0x14007b4c4
sub esi, ebx
mov eax, 0x102
mov ecx, ebx
cmp esi, eax
cmova esi, eax
add rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, esi
call sub.MSVCR100.dll_memset
lea r11d, [rsi + rbx]
mov dword [rdi + 0x1718], r11d
jmp 0x14007b4f2
lea eax, [rbx + 0x102]
cmp ecx, eax
jae 0x14007b4f2
sub ebx, ecx
sub esi, ecx
mov eax, 0x102
add ebx, eax
cmp ebx, esi
cmova ebx, esi
add rcx, qword [rdi + 0x50]
xor edx, edx
mov r8d, ebx
call sub.MSVCR100.dll_memset
add dword [rdi + 0x1718], ebx
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
Function at 0x140081b7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
movzx r10d, word [rcx]
xor ebx, ebx
mov r11d, edx
mov r9, rcx
mov eax, 0xec5b
mov r8d, ebx
jmp 0x140081bbf
inc r8d
cmp r8d, r11d
ja 0x140081bc5
add eax, eax
mov edx, eax
movzx ecx, ax
sar edx, 0x10
mov eax, edx
or eax, ecx
movzx ecx, r10w
xor eax, ecx
add r9, 2
movzx r10d, word [r9]
test r10w, r10w
jne 0x140081b9b
mov rbx, qword [rsp + 0x10]
pop rbp
ret

Function at 0x140082034
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400c8590]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call sub.MSVCR100.dll_memset
lea r8d, [rbx + 0x2b]
lea rdx, [rsp + 0x20]
xor r9d, r9d
xor ecx, ecx
mov word [rdi], bx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400820ae
cmp word [rsp + 0x20], bx
je 0x1400820ae
lea rdx, str.Microsoft_Shared
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8, rdi
call fcn.140081f44
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400056f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x14008213c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push rbp
mov rbp, rsp
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
lea rax, [r11 - 0x20]
mov r14, r9
mov rsi, r8
mov r9d, 0x20019
xor r8d, r8d
mov qword [r11 - 0x38], rax
mov edi, 0x16
mov qword [r11 - 0x20], r15
mov ebx, r15d
mov dword [r11 - 0x28], r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140082220
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140082220
mov ecx, dword [rsp + 0x30]
cmp rcx, qword [rbp + 0x30]
ja 0x140082220
add rcx, rcx
call qword [sym.imp.MSVCR100.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140082220
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140082220
mov eax, dword [rsp + 0x30]
mov rdx, qword [rbp + 0x30]
mov r8, rbx
shr rax, 1
mov rcx, r14
mov word [rbx + rax*2 - 2], r15w
mov r9d, dword [rsp + 0x30]
call qword [sym.imp.MSVCR100.dll_wcsncpy_s]
mov edi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140082235
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
test rbx, rbx
je 0x140082243
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_free]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, edi
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret