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

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14003e489
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, [0x14020cca0]
call fcn.1400fff28
test eax, eax
je 0x14009e8e6
mov ecx, eax
call fcn.140100058
movzx ebx, byte [0x14020cbd2]
lea rcx, [0x14020cca0]
call fcn.1400fff4c
test eax, eax
je 0x14009e905
mov ecx, eax
call fcn.140100058
nop
test bl, bl
je 0x14009e924
mov rcx, qword [0x14020cbd8]
test rcx, rcx
je 0x14009e924
mov edx, 0xffffffff
add rsp, 0x30
pop rbx
jmp 0x14003e470
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1400a6660
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 0x1400a66e9
mov rdi, rbx
test r15b, r15b
je 0x1400a66c1
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.140021c70
movzx esi, al
xor sil, 1
jmp 0x1400a66d0
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.140021c70
movzx esi, al
test sil, sil
je 0x1400a66da
mov rbx, qword [rbx]
jmp 0x1400a66de
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x1400a66a4
mov r10, qword [rsp + 0x70]
mov rbx, rdi
mov rcx, rdi
test sil, sil
je 0x1400a67b0
cmp rdi, qword [r13]
jne 0x1400a6736
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.1400a61e0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400a6810
cmp byte [rdi + 0x19], 0
je 0x1400a6742
mov rbx, qword [rdi + 0x10]
jmp 0x1400a67ad
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
je 0x1400a678f
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1400a6781
mov rdx, rdi
nop dword [rax + rax]
mov r8, rax
mov r9, rax
mov rcx, rdx
cmp rdx, qword [rax]
jne 0x1400a6781
mov rbx, rax
mov rax, qword [rax + 8]
mov rdx, rbx
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x1400a6760
cmp byte [rbx + 0x19], 0
jne 0x1400a67b0
mov rbx, rax
mov rcx, rax
jmp 0x1400a67b0
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400a67ad
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400a67a0
mov rcx, rbx
add rcx, 0x20
mov rdx, r12
call fcn.140021c70
mov rcx, qword [rsp + 0x70]
test al, al
je 0x1400a67f8
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.1400a61e0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400a6810
mov rdx, qword [rsp + 0x90]
call fcn.1400af6f0
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 0x1400e4f90
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 [0x140200d38]
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.140140210
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 0x1400e5030
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 0x1400e5030
call fcn.1400e3610
mov ebx, eax
jmp 0x1400e5155
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400e5051
call fcn.1400e3610
jmp 0x1400e5144
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 0x1400e5074
call fcn.1400e3610
jmp 0x1400e5144
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 0x1400e5096
mov ebx, 0x8007000e
jmp 0x1400e5146
mov ecx, eax
test eax, eax
je 0x1400e50cb
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400e518d
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400e50cb
lea rcx, [rsp + 0x70]
call fcn.1400e34f0
jmp 0x1400e50d5
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400e50e8
cmp qword [rsp + 0x70], 0
jne 0x1400e50f7
mov ebx, 0x8007000e
jmp 0x1400e5146
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 0x1400e5121
call fcn.1400e3610
jmp 0x1400e5144
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.1400e4ab0
mov ebx, eax
test rdi, rdi
je 0x1400e5155
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400e516c
lea rcx, [rsp + 0x70]
call fcn.1400e3af0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140121cc0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1400e3640
int3
Function at 0x1400fc670
Capabilities:
Access the windows event log

Disassembly:
sub rsp, 0x28
sub edx, 1
je 0x1400fc6db
sub edx, 1
je 0x1400fc6e4
sub edx, 1
je 0x1400fc6e4
sub edx, 1
je 0x1400fc6e4
cmp edx, 1
je 0x1400fc69d
lea rdx, str.Bad_service_request
add rsp, 0x28
jmp fcn.1400fccd0
test rcx, rcx
jne 0x1400fc6db
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.1400fce20
add rsp, 0x28
ret
Function at 0x1400fc9e0
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.1400fcc60
test eax, eax
je 0x1400fca11
mov eax, 1
jmp 0x1400fcb18
mov r8d, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400fcc0e
cmp eax, 0x104
je 0x1400fcc0e
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 0x1400fcc57
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 0x1400fcb31
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
call fcn.1400fbd30
test eax, eax
jne 0x1400fcaef
lea r8, str.Could_not_open_Service_Manager
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14014dda4
test eax, eax
je 0x1400fcaef
cmp eax, 0xc
je 0x1400fcc2b
cmp eax, 0x16
je 0x1400fcc20
cmp eax, 0x22
je 0x1400fcc20
cmp eax, 0x50
jne 0x1400fcc15
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.140121cc0
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], SafeArrayAccessData
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x1400fcbf2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80b
call fcn.1400fbd30
test eax, eax
jne 0x1400fcbe7
lea r8, str.Could_not_start_service
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14014dda4
test eax, eax
je 0x1400fcbe7
cmp eax, 0xc
je 0x1400fcc4c
cmp eax, 0x16
je 0x1400fcc41
cmp eax, 0x22
je 0x1400fcc41
cmp eax, 0x50
jne 0x1400fcc36
xor r9d, r9d
mov r8, rdi
jmp 0x1400fcaf6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x1400fcb08
xor eax, eax
jmp 0x1400fcb18
mov ecx, 0x80004005
call fcn.1400e3640
int3
mov ecx, 0x80070057
call fcn.1400e3640
int3
mov ecx, 0x8007000e
call fcn.1400e3640
int3
mov ecx, 0x80004005
call fcn.1400e3640
int3
mov ecx, 0x80070057
call fcn.1400e3640
int3
mov ecx, 0x8007000e
call fcn.1400e3640
int3
call fcn.14012231c
int3
Function at 0x1400fccd0
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 [0x140200d38]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov rdi, rcx
call fcn.14000ab80
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.140146e38
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], si
mov qword [rsp + 0x50], rax
cmp dword [rdi + 0x28c], esi
jne 0x1400fcd56
lea rcx, [rsp + 0x60]
call fcn.14014dee0
lea rdx, [rdi + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400fcda7
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.140121cc0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400fdc70
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x80
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r14d, dl
mov rsi, rcx
call fcn.1400febb0
test eax, eax
jne 0x1400fdca7
mov eax, 0x80004005
jmp 0x1400fde29
mov rcx, qword [0x140357730]
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.1400e6090
test eax, eax
js 0x1400fde21
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.14002bdb0
test eax, eax
je 0x1400fdd3b
mov ecx, eax
call fcn.1400e3630
mov ebx, eax
jmp 0x1400fde04
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.14002bc30
mov rdi, qword [rsp + 0x58]
test eax, eax
je 0x1400fdd89
mov ecx, eax
call fcn.1400e3630
mov ebx, eax
jmp 0x1400fddf6
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14b, r14b
je 0x1400fddf6
lea r8, [rsi + 0x68]
test r8, r8
je 0x1400fdde5
mov rax, 0xffffffffffffffff
nop
cmp word [r8 + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x1400fddb0
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.1400fc9e0
test eax, eax
jne 0x1400fddf6
mov ebx, 0x80004005
test rdi, rdi
je 0x1400fde04
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x40], 0
je 0x1400fde17
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.140121cc0
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
ret
Function at 0x1400fe900
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 [0x140200d38]
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.14002bdb0
mov ebx, eax
test eax, eax
je 0x1400fe976
mov dword [rdi + 0x27c], eax
jmp 0x1400feac4
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.14002bdb0
mov ebx, eax
test eax, eax
jne 0x1400feaac
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 0x1400fea1a
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x1400fe9f4
lea eax, [rbx + 0xd]
jmp 0x1400fea1a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400fea12
test al, 1
jne 0x1400fea0b
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r12w
je 0x1400fea17
mov eax, SafeArrayDestroy
jmp 0x1400fea1a
mov word [rbp - 0x70], r12w
mov eax, r12d
mov dword [rdi + 0x28c], r12d
test eax, eax
jne 0x1400fea70
lea rax, [rdi + 0x68]
mov dword [rdi + 0x28c], 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
lea rax, [0x1400ff2b0]
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 0x1400fea68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x1400feab2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x1400fea9b
cmp eax, 0x80010106
jne 0x1400feab2
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400fea9f
jmp 0x1400feab2
mov byte [rdi + 0x62], 1
mov edx, r15d
mov rcx, rdi
call fcn.1400fdeb0
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x30], r12
je 0x1400feac4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x48], r12
je 0x1400fead6
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.140121cc0
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 0x1400fef70
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call fcn.1400febb0
test eax, eax
jne 0x1400fef87
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.14002bdb0
test eax, eax
je 0x1400fefca
mov ecx, eax
call fcn.1400e3630
mov ebx, eax
jmp 0x1400ff030
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.14002bdb0
test eax, eax
je 0x1400ff002
mov ecx, eax
call fcn.1400e3630
jmp 0x1400ff01b
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
call fcn.1400ff210
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x1400ff030
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x1400ff043
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 0x1400ff320
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x140357739], 0
mov ebx, r9d
jne 0x1400ff37e
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x20]
lea rcx, [0x14020d0e0]
call fcn.1400fd780
cmp al, 1
jne 0x1400ff366
mov edx, ebx
lea rcx, [0x14020d0e0]
call fcn.1400fe900
cmp dword [0x14020d36c], 0
jne 0x1400ff37e
cmp byte [0x14020d142], 0
je 0x1400ff37e
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140125458
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14012546b
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.140125a78
lea rdx, [0x1401fc2a0]
lea rcx, [rsp + 0x20]
call fcn.14013f6c8
int3

Function at 0x14012fce4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14020e420]
xor edx, edx
jmp fcn.140125458

Function at 0x140130678
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14020e420]
jmp fcn.140125458

Function at 0x14013c278
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, [0x14013c334]
mov r9, qword [r9 + 8]
jmp fcn.14012d69c

Function at 0x14013c30c
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, [0x14013c344]
mov r9, qword [r9 + 8]
jmp fcn.14012d69c
Function at 0x140154b94
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140154bb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401478f4
or eax, 0xffffffff
jmp 0x140154bb6
xor eax, eax
add rsp, 0x28
ret
Function at 0x180002b68
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x60
and dword [rax - 0x48], 0
mov rdi, rcx
mov r8d, dword [0x1802d31c0]
mov sil, dl
movaps xmmword [rax - 0x18], xmm6
movss xmm6, dword [0x180169454]
mov dword [rax - 0x40], 0xff
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x1803098a0], eax
jg 0x180002d39
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov rcx, rbx
movabs r14, 0x100000001b3
movzx eax, byte [rsp + rdx + 0x70]
inc rdx
xor rcx, rax
imul rcx, r14
cmp rdx, 8
jb 0x180002bdf
mov rax, qword [0x180309890]
mov rdx, qword [0x180309878]
and rax, rcx
mov r9, qword [0x180309868]
add rax, rax
mov rcx, qword [rdx + rax*8 + 8]
cmp rcx, r9
je 0x180002c30
mov r8, qword [rdx + rax*8]
jmp 0x180002c28
cmp rcx, r8
je 0x180002c30
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x180002c1f
jmp 0x180002c32
xor ecx, ecx
test rcx, rcx
mov rax, r9
cmovne rax, rcx
cmp rax, r9
jne 0x180002cb3
and dword [rsp + 0x38], 0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
call fcn.1800034cc
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x70]
inc rcx
xor rbx, rax
imul rbx, r14
cmp rcx, 8
jb 0x180002c5c
and rbx, qword [0x180309890]
mov rdx, qword [0x180309878]
add rbx, rbx
mov rax, qword [0x180309868]
mov rcx, qword [rdx + rbx*8 + 8]
cmp rcx, rax
je 0x180002caa
mov r8, qword [rdx + rbx*8]
jmp 0x180002ca2
cmp rcx, r8
je 0x180002caa
mov rcx, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
jne 0x180002c99
jmp 0x180002cac
xor ecx, ecx
test rcx, rcx
cmovne rax, rcx
mov rcx, qword [0x1802d3a90]
lea r8, [rax + 0x18]
mov edx, dword [r8]
subss xmm6, dword [rcx + 0x18]
mulss xmm6, dword [0x180169554]
test sil, sil
je 0x180002ce8
cmp edx, 0xff
jge 0x180002cfe
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm6
jmp 0x180002cf7
test edx, edx
jle 0x180002cfe
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm0, xmm6
cvttss2si edx, xmm0
mov dword [r8], edx
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
lea rcx, [rsp + 0x20]
mov rsi, qword [r11 + 0x20]
lea rax, [rsp + 0x28]
mov rdi, qword [r11 + 0x28]
test edx, edx
cmovns rcx, r8
cmp edx, 0xff
cmovle rax, rcx
mov eax, dword [rax]
mov dword [r8], eax
mov rsp, r11
pop r14
ret
lea rcx, [0x1803098a0]
call fcn.18007489c
cmp dword [0x1803098a0], 0xffffffff
jne 0x180002bc6
mov ecx, 0x20
call fcn.1800747b8
xorps xmm0, xmm0
lea rcx, [0x180309878]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
and qword [0x180309878], 0
mov qword [0x180309868], rax
movdqa xmmword [0x180309880], xmm0
mov qword [0x180309890], 7
mov qword [0x180309898], 8
mov dword [0x180309860], 0x3f800000
call fcn.180003148
lea rcx, [0x1800e0904]
call fcn.180074c6c
lea rcx, [0x1803098a0]
call fcn.180074830
jmp 0x180002bc6