joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2710
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400448e9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rcx, [0x140237790]
call fcn.14011d448
test eax, eax
je 0x1400b2736
mov ecx, eax
call fcn.14011d578
movzx ebx, byte [0x1402376c2]
lea rcx, [0x140237790]
call fcn.14011d46c
test eax, eax
je 0x1400b2755
mov ecx, eax
call fcn.14011d578
nop
test bl, bl
je 0x1400b2774
mov rcx, qword [0x1402376c8]
test rcx, rcx
je 0x1400b2774
mov edx, 0xffffffff
add rsp, 0x30
pop rbx
jmp 0x1400448d0
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1400bb590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx r15d, r8b
mov r14, rdx
mov r10, rcx
mov r13, qword [rcx]
mov rdi, r13
mov rbx, qword [r13 + 8]
mov sil, 1
cmp byte [rbx + 0x19], 0
jne 0x1400bb619
mov rdi, rbx
test r15b, r15b
je 0x1400bb5f1
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.140024400
movzx esi, al
xor sil, 1
jmp 0x1400bb600
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.140024400
movzx esi, al
test sil, sil
je 0x1400bb60a
mov rbx, qword [rbx]
jmp 0x1400bb60e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x1400bb5d4
mov r10, qword [rsp + 0x70]
mov rbx, rdi
mov rcx, rdi
test sil, sil
je 0x1400bb6e0
cmp rdi, qword [r13]
jne 0x1400bb666
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8b, 1
lea rdx, [rsp + 0x38]
mov rcx, r10
call fcn.1400bb110
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400bb740
cmp byte [rdi + 0x19], 0
je 0x1400bb672
mov rbx, qword [rdi + 0x10]
jmp 0x1400bb6dd
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
je 0x1400bb6bf
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1400bb6b1
mov rdx, rdi
nop dword [rax + rax]
mov r8, rax
mov r9, rax
mov rcx, rdx
cmp rdx, qword [rax]
jne 0x1400bb6b1
mov rbx, rax
mov rax, qword [rax + 8]
mov rdx, rbx
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x1400bb690
cmp byte [rbx + 0x19], 0
jne 0x1400bb6e0
mov rbx, rax
mov rcx, rax
jmp 0x1400bb6e0
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400bb6dd
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400bb6d0
mov rcx, rbx
add rcx, 0x20
mov rdx, r12
call fcn.140024400
mov rcx, qword [rsp + 0x70]
test al, al
je 0x1400bb728
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9, rdi
movzx r8d, sil
lea rdx, [rsp + 0x38]
call fcn.1400bb110
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400bb740
mov rdx, qword [rsp + 0x90]
call fcn.1400c5610
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400ff080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.14015e120
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400ff120
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400ff120
call fcn.140036c30
mov ebx, eax
jmp 0x1400ff245
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400ff141
call fcn.140036c30
jmp 0x1400ff234
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400ff164
call fcn.140036c30
jmp 0x1400ff234
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400ff186
mov ebx, 0x8007000e
jmp 0x1400ff236
mov ecx, eax
test eax, eax
je 0x1400ff1bb
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400ff27d
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400ff1bb
lea rcx, [rsp + 0x70]
call fcn.1400fc3e0
jmp 0x1400ff1c5
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400ff1d8
cmp qword [rsp + 0x70], 0
jne 0x1400ff1e7
mov ebx, 0x8007000e
jmp 0x1400ff236
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400ff211
call fcn.140036c30
jmp 0x1400ff234
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.1400feba0
mov ebx, eax
test rdi, rdi
je 0x1400ff245
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400ff25c
lea rcx, [rsp + 0x70]
call fcn.1400fcf70
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14013f550
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140036c60
int3
Function at 0x140119a90
Capabilities:
Access the windows event log

Disassembly:
sub rsp, 0x28
sub edx, 1
je 0x140119afb
sub edx, 1
je 0x140119b04
sub edx, 1
je 0x140119b04
sub edx, 1
je 0x140119b04
cmp edx, 1
je 0x140119abd
lea rdx, str.Bad_service_request
add rsp, 0x28
jmp fcn.14011a110
test rcx, rcx
jne 0x140119afb
mov ecx, 0x274
mov eax, 3
xchg dword [rcx], eax
lea edx, [rcx - 4]
mov rcx, qword [0x268]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ecx, dword [0x290]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_PostThreadMessageW]
add rsp, 0x28
jmp fcn.14011a260
add rsp, 0x28
ret
Function at 0x140119e20
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.14011a0a0
test eax, eax
je 0x140119e51
mov eax, 1
jmp 0x140119f58
mov r8d, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14011a04e
cmp eax, 0x104
je 0x14011a04e
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x14011a097
mov qword [rsp + 0xaa8], rbx
xor edx, edx
mov qword [rsp + 0xab0], rsi
mov r8d, 0xf003f
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140119f71
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
call fcn.140119110
test eax, eax
jne 0x140119f2f
lea r8, str.Could_not_open_Service_Manager
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14016bd68
test eax, eax
je 0x140119f2f
cmp eax, 0xc
je 0x14011a06b
cmp eax, 0x16
je 0x14011a060
cmp eax, 0x22
je 0x14011a060
cmp eax, 0x50
jne 0x14011a055
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.14013f550
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x58], rsi
add rdi, 0x68
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov r8, rdi
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov dword [rsp + 0x30], 1
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], SafeArrayUnlock
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x14011a032
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80b
call fcn.140119110
test eax, eax
jne 0x14011a027
lea r8, str.Could_not_start_service
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14016bd68
test eax, eax
je 0x14011a027
cmp eax, 0xc
je 0x14011a08c
cmp eax, 0x16
je 0x14011a081
cmp eax, 0x22
je 0x14011a081
cmp eax, 0x50
jne 0x14011a076
xor r9d, r9d
mov r8, rdi
jmp 0x140119f36
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140119f48
xor eax, eax
jmp 0x140119f58
mov ecx, 0x80004005
call fcn.140036c60
int3
mov ecx, 0x80070057
call fcn.140036c60
int3
mov ecx, 0x8007000e
call fcn.140036c60
int3
mov ecx, 0x80004005
call fcn.140036c60
int3
mov ecx, 0x80070057
call fcn.140036c60
int3
mov ecx, 0x8007000e
call fcn.140036c60
int3
call fcn.14013fbc4
int3
Function at 0x14011a110
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov rdi, rcx
call fcn.14000b040
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x60]
mov r9d, 0xff
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call fcn.140164da8
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], si
mov qword [rsp + 0x50], rax
cmp dword [rdi + 0x28c], esi
jne 0x14011a196
lea rcx, [rsp + 0x60]
call fcn.14016bea4
lea rdx, [rdi + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14011a1e7
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea edx, [rcx + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14013f550
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x14011b430
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x80
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r14d, dl
mov rsi, rcx
call fcn.14011c240
test eax, eax
jne 0x14011b467
mov eax, 0x80004005
jmp 0x14011b5e9
mov rcx, qword [0x1403827a8]
lea rax, str.APPID
mov edx, 0x65
mov qword [rsp + 0xa0], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
lea rdi, str.FBB4E5FF_17F2_4F5A_88D9_EAC8ABB00B32
lea r9, [rsp + 0x58]
mov qword [rsp + 0x60], rdi
lea r8d, [rdx - 0x64]
movdqu xmmword [rsp + 0x68], xmm0
call fcn.1401001a0
test eax, eax
js 0x14011b5e1
mov qword [rsp + 0x98], rbx
lea r8, str.AppID
xor ebx, ebx
lea rcx, [rsp + 0x40]
mov r9d, 0x20006
mov qword [rsp + 0x48], rbx
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
call fcn.14002f7c0
test eax, eax
je 0x14011b4fb
mov ecx, eax
call fcn.1400fc500
mov ebx, eax
jmp 0x14011b5c4
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov r8, rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
call fcn.14002f630
mov rdi, qword [rsp + 0x58]
test eax, eax
je 0x14011b549
mov ecx, eax
call fcn.1400fc500
mov ebx, eax
jmp 0x14011b5b6
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14b, r14b
je 0x14011b5b6
lea r8, [rsi + 0x68]
test r8, r8
je 0x14011b5a5
mov rax, 0xffffffffffffffff
nop
cmp word [r8 + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x14011b570
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str.LocalService
mov qword [rsp + 0x20], r8
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rsi
call fcn.140119e20
test eax, eax
jne 0x14011b5b6
mov ebx, 0x80004005
test rdi, rdi
je 0x14011b5c4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x40], 0
je 0x14011b5d7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013f550
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
ret
Function at 0x14011bf70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r12d, r12d
lea r8, str.AppID
mov r15d, edx
mov qword [rsp + 0x50], r12
mov rdi, rcx
mov qword [rsp + 0x48], r12
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x48]
mov r9d, 0x20019
call fcn.14002f7c0
mov ebx, eax
test eax, eax
je 0x14011bfe6
mov dword [rdi + 0x27c], eax
jmp 0x14011c134
mov rdx, qword [rsp + 0x48]
lea r8, str.FBB4E5FF_17F2_4F5A_88D9_EAC8ABB00B32
mov r9d, 0x20019
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
call fcn.14002f7c0
mov ebx, eax
test eax, eax
jne 0x14011c11c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x64]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x60], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011c08a
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x14011c064
lea eax, [rbx + 0xd]
jmp 0x14011c08a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14011c082
test al, 1
jne 0x14011c07b
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r12w
je 0x14011c087
mov eax, SafeArrayDestroy
jmp 0x14011c08a
mov word [rbp - 0x70], r12w
mov eax, r12d
mov dword [rdi + 0x28c], r12d
test eax, eax
jne 0x14011c0e0
lea rax, [rdi + 0x68]
mov dword [rdi + 0x28c], 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
lea rax, [0x14011c780]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r12
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14011c0d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x14011c122
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x14011c10b
cmp eax, 0x80010106
jne 0x14011c122
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14011c10f
jmp 0x14011c122
mov byte [rdi + 0x62], 1
mov edx, r15d
mov rcx, rdi
call fcn.14011b670
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x30], r12
je 0x14011c134
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x48], r12
je 0x14011c146
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14013f550
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
Function at 0x14011c600
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call fcn.14011c240
test eax, eax
jne 0x14011c617
mov eax, 0x80004005
add rsp, 0x58
ret
mov qword [rsp + 0x50], rbx
lea r8, str.AppID
xor ebx, ebx
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov qword [rsp + 0x40], rbx
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
call fcn.14002f7c0
test eax, eax
je 0x14011c65a
mov ecx, eax
call fcn.1400fc500
mov ebx, eax
jmp 0x14011c6c0
mov rdx, qword [rsp + 0x38]
lea r8, str.FBB4E5FF_17F2_4F5A_88D9_EAC8ABB00B32
mov r9d, 0x20006
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rbx
call fcn.14002f7c0
test eax, eax
je 0x14011c692
mov ecx, eax
call fcn.1400fc500
jmp 0x14011c6ab
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
call fcn.14011c6e0
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x14011c6c0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x14011c6d3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret

Function at 0x14011c7f0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x1403827b1], 0
mov ebx, r9d
jne 0x14011c84e
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x20]
lea rcx, [0x140237bf0]
call fcn.14011acb0
cmp al, 1
jne 0x14011c836
mov edx, ebx
lea rcx, [0x140237bf0]
call fcn.14011bf70
cmp dword [0x140237e7c], 0
jne 0x14011c84e
cmp byte [0x140237c52], 0
je 0x14011c84e
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140142db0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140142dc3
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1401433e4
lea rdx, [0x140225210]
lea rcx, [rsp + 0x20]
call fcn.14015d59c
int3

Function at 0x14014d83c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140238f80]
xor edx, edx
jmp fcn.140142db0

Function at 0x14014e1fc
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140238f80]
jmp fcn.140142db0

Function at 0x14015a0c4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14015a180]
mov r9, qword [r9 + 8]
jmp fcn.14014b154

Function at 0x14015a158
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14015a190]
mov r9, qword [r9 + 8]
jmp fcn.14014b154
Function at 0x140172bc0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140172be0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140165874
or eax, 0xffffffff
jmp 0x140172be2
xor eax, eax
add rsp, 0x28
ret
Function at 0x180005160
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x180341bbc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1800bf500
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x180341bbc]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1800052f0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x18000530c
cmp rcx, r8
jl 0x1800052ff
mov qword [rdx + 0x80], rcx
test dword [0x18033b898], 1
je 0x18000533b
cmp byte [rsp + 0xd0], 0
je 0x18000533b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x180004e60
mov rsp, r8
jmp rax