joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f3ae8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1402864f8]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14027f394]
test eax, eax
je 0x1400f3b45
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f394]
test eax, eax
jne 0x1400f3b4e
call fcn.14000b370
test eax, eax
je 0x1400f3b6a
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140278418]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400f3b75
xor eax, eax
jmp 0x1400f3c08
test rbx, rbx
jne 0x1400f3b95
lea rcx, str.ImageList_LoadImageW
call fcn.14001c220
mov rbx, rax
test rax, rax
je 0x1400f3bd4
mov qword [0x1402864f8], rax
mov rcx, rbx
call fcn.1401af16c
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400f3bea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f3bec
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f3c05
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x14010b55c
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14010b72c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14010b76e
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x14010bbf8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14010bcca
test rbx, rbx
je 0x14010bcd0
test r9, r9
je 0x14010bcd6
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010bcb3
cmp dword [rsp + 0x48], 3
jne 0x14010bcb3
test eax, eax
jne 0x14010bcb3
cmp dword [rdi], eax
je 0x14010bcb3
mov ecx, dword [rdi]
call fcn.140007ba8
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010bca7
cmp dword [rsp + 0x48], 3
jne 0x14010bca7
test eax, eax
jne 0x14010bca7
mov eax, 1
jmp 0x14010bcb5
mov rcx, qword [rbx]
call fcn.140007ba0
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140007bd4
int3
call fcn.140007bd4
int3
call fcn.140007bd4
int3

Function at 0x14010c000
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010c011
xor eax, eax
jmp 0x14010c03f
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14010c048
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010c059
xor eax, eax
jmp 0x14010c07d
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14015b504
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140287be0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f394]
test eax, eax
je 0x14015b54f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f394]
test eax, eax
jne 0x14015b558
call fcn.14000b370
test eax, eax
je 0x14015b574
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278418]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015b57c
xor eax, eax
jmp 0x14015b5e1
test rbx, rbx
jne 0x14015b59c
lea rcx, str.ChooseColorW
call fcn.140038b74
mov rbx, rax
test rax, rax
je 0x14015b5af
mov qword [0x140287be0], rax
mov rcx, rbx
call fcn.1401af16c
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14015b5c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14015b5c6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015b5df
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401ae35c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402890b8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f394]
test eax, eax
je 0x1401ae3a7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f394]
test eax, eax
jne 0x1401ae3b0
call fcn.14000b370
test eax, eax
je 0x1401ae3cc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278418]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401ae3d4
xor eax, eax
jmp 0x1401ae439
test rbx, rbx
jne 0x1401ae3f4
lea rcx, str.PrintDlgW
call fcn.140038b74
mov rbx, rax
test rax, rax
je 0x1401ae407
mov qword [0x1402890b8], rax
mov rcx, rbx
call fcn.1401af16c
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401ae41c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401ae41e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401ae437
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401b5354
Capabilities:
Parse pe 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 r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401b5128
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b5128
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b5128
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b5128
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b5128
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b5128
cmp dword [rcx + 0xf8], esi
je 0x1401b5128
mov ecx, r14d
call fcn.1401b5270
mov ecx, 2
call fcn.1401c4a18
nop
cmp byte [0x140289938], 0
jne 0x1401b51f2
mov r15d, 1
mov eax, r15d
xchg dword [0x140289928], eax
test ebx, ebx
jne 0x1401b519b
mov rdi, qword [0x140279960]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140289930]
cmp rcx, rax
je 0x1401b5192
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400c1760]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140289bd0]
jmp 0x1401b51a7
cmp ebx, r15d
jne 0x1401b51ad
lea rcx, [0x140289be8]
call fcn.1401c22dc
nop
test ebx, ebx
jne 0x1401b51c4
lea rdx, [0x1401dac28]
lea rcx, [0x1401dac08]
call fcn.1401c1d14
lea rdx, [0x1401dac38]
lea rcx, [0x1401dac30]
call fcn.1401c1d14
movzx eax, byte [0x140289938]
test esi, esi
cmove eax, r15d
mov byte [0x140289938], al
jmp 0x1401b51f2
mov ecx, 2
call fcn.1401c4a6c
test esi, esi
jne 0x1401b5209
mov ecx, r14d
call fcn.1401b5224
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401b50b8
Function at 0x140004000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
and rsp, 0xfffffffffffffff0
movabs rcx, 0x140004062
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryA
call qword [rax]
movabs rdx, 0x14000406b
mov rcx, rax
movabs rax, sym.imp.KERNEL32.dll_GetProcAddress
call qword [rax]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9, rcx
movabs r8, 0x140004078
mov rdx, rcx
call rax
leave
jmp loc.140001000
Function at 0x180002860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180002893
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800028d9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800028d4
nop
cmp rbx, rcx
jae 0x1800028d9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x1800028c0
cmp rbx, rcx
jb 0x1800028dd
xor eax, eax
jmp 0x1800028e9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000cfc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov eax, dword [0x180084c80]
test eax, eax
je 0x18000d013
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x18000d01c
call fcn.18000d3b0
test eax, eax
je 0x18000d032
lea rdx, [rsp + 0x60]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18000d039
xor eax, eax
jmp 0x18000d0e4
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x18000d0c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18000d0e1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x18000d100
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180084c80]
test eax, eax
je 0x18000d14a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x18000d153
call fcn.18000d3b0
test eax, eax
je 0x18000d169
lea rdx, [rsp + 0x58]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18000d16d
xor eax, eax
jmp 0x18000d1b1
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test eax, eax
sete dil
test edi, edi
je 0x18000d196
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18000d1af
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x18000d230
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov word [rsp + 0x20], bx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180084c80]
test eax, eax
je 0x18000d26f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x18000d278
call fcn.18000d3b0
test eax, eax
je 0x18000d28e
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18000d293
movzx eax, bx
jmp 0x18000d2d5
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx edi, ax
mov word [rsp + 0x20], ax
mov esi, ebx
test di, di
sete sil
test esi, esi
je 0x18000d2b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x18000d2d2
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, di
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18000d2f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x50], rbx
mov eax, dword [0x180084c80]
test eax, eax
je 0x18000d331
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x18000d33a
call fcn.18000d3b0
test eax, eax
je 0x18000d350
lea rdx, [rsp + 0x50]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18000d354
xor eax, eax
jmp 0x18000d395
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test eax, eax
sete dil
test edi, edi
je 0x18000d37a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18000d393
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18000f410
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x18007fea0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x40], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.18003bd90
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.180002360
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x18000f48e
mov ecx, 0x80004005
call fcn.1800020c0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x40]
test rax, 0xffffffffffff0000
jne 0x18000f4ce
movzx ebx, cx
xor edx, edx
mov ecx, ebx
call fcn.180002010
test rax, rax
je 0x18000f4fb
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
call fcn.180002450
jmp 0x18000f4fb
lea rax, [rsp + 0x40]
or rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x18000f4e0
mov r8d, ecx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180002760
nop
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18003bc80
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x180010dc0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rdi
push r14
push r15
sub rsp, 0x28
mov r15, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
test rcx, rcx
je 0x18001102b
test r8, r8
je 0x18001102b
test r9, r9
je 0x18001102b
mov qword [rsp + 0x50], rbp
mov ebp, dword [rsp + 0x70]
mov ecx, r14d
mov edx, ebp
call fcn.180011040
cmp dword [r15], eax
jge 0x180010e20
xor eax, eax
mov rbp, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
xor r8d, r8d
mov eax, 0x55555556
mov qword [rsp + 0x20], r13
mov r9d, r8d
lea r11d, [r8 + 0x13]
mov r10d, r8d
imul r14d
mov r12d, edx
mov eax, 0x6bca1af3
shr r12d, 0x1f
add r12d, edx
lea r13d, [r12*4]
imul r13d
mov esi, edx
sar esi, 5
mov eax, esi
shr eax, 0x1f
add esi, eax
js 0x180010f57
mov r15d, ebp
and r15d, 2
cmp r8d, esi
jne 0x180010e90
imul ecx, esi, 0x4c
mov eax, r13d
sub eax, ecx
cdq
and edx, 3
lea r11d, [rdx + rax]
sar r11d, 2
test r11d, r11d
jle 0x180010f13
mov ebp, r11d
lea r13, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx]
shl edx, 8
add rdi, 4
add rbx, 3
or edx, ecx
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r13]
mov byte [rdi - 4], al
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r13]
mov byte [rdi - 3], al
mov eax, edx
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r13]
mov byte [rdi - 2], al
mov eax, edx
shr eax, 0x14
and eax, 0x3f
movzx eax, byte [rax + r13]
mov byte [rdi - 1], al
dec rbp
jne 0x180010ea0
lea r13d, [r12*4]
lea r9d, [r9 + r11*4]
test r15d, r15d
jne 0x180010f29
mov word [rdi], 0xa0d
add rdi, 2
add r9d, 2
inc r10d
cmp r10d, esi
jle 0x180010e7a
mov ebp, dword [rsp + 0x70]
test r9d, r9d
je 0x180010f52
test r15d, r15d
mov r15, qword [rsp + 0x68]
jne 0x180010f57
sub rdi, 2
sub r9d, 2
jmp 0x180010f57
mov r15, qword [rsp + 0x68]
mov r13, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
lea eax, [r12 + r12*2]
mov r12, qword [rsp + 0x60]
sub r14d, eax
je 0x180011013
lea r10d, [r14 + 1]
test r10d, r10d
je 0x180011013
test r14d, r14d
jle 0x180010f8c
movzx r8d, byte [rbx]
inc rbx
shl r8d, 8
cmp r14d, 1
jle 0x180010f9f
movzx eax, byte [rbx]
or r8d, eax
inc rbx
shl r8d, 8
cmp r14d, 2
jle 0x180010faf
movzx eax, byte [rbx]
or r8d, eax
shl r8d, 8
test r10d, r10d
jle 0x180010ff2
mov edx, r10d
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
inc rdi
shl r8d, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r15]
mov byte [rdi - 1], al
dec rdx
jne 0x180010fd0
mov r15, qword [rsp + 0x68]
add r9d, r10d
test bpl, 1
jne 0x180011013
mov edx, 4
sub edx, r10d
test edx, edx
jle 0x180011010
mov ecx, edx
mov eax, 0x3d
rep stosb byte [rdi], al
add r9d, edx
mov rbp, qword [rsp + 0x50]
mov dword [r15], r9d
mov eax, 1
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rbx
ret
Function at 0x180011480
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180011550
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180084c80]
test eax, eax
je 0x18001158f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180084c80]
test eax, eax
jne 0x180011598
call fcn.18000d3b0
test eax, eax
je 0x1800115ae
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800115b2
xor eax, eax
jmp 0x1800115f4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov esi, ebx
test rax, rax
sete sil
test esi, esi
je 0x1800115d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x1800115f1
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sar r8, 1
add r8, r8
je 0x180017c34
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180017c20
mov rcx, rax
shr rcx, 0x20
xor eax, ecx
ret