joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140088d30
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0xe8
xorps xmm0, xmm0
mov dword [rax - 0x78], 0x68
lea rcx, [rax - 0x78]
movups xmmword [rax - 0x70], xmm0
movups xmmword [rax - 0x60], xmm0
movups xmmword [rax - 0x50], xmm0
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
movups xmmword [rax - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140088dcb
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x60]
add rsp, 0xe8
ret
xor eax, eax
add rsp, 0xe8
ret

Function at 0x140088de0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x140088f0e
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov edi, 1
cmp dword [rsp + 0x30], edi
jle 0x140088e8f
lea rbx, [rsi + 8]
nop dword [rax]
mov rdx, qword [rbx]
lea rcx, [rsp + 0x38]
call fcn.140012e60
lea rdx, [0x1400eff9c]
lea rcx, [rsp + 0x38]
call fcn.140012e60
inc edi
lea rbx, [rbx + 8]
cmp edi, dword [rsp + 0x30]
jl 0x140088e60
mov rbx, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], 0
mov r9, rbx
lea r8, [rsp + 0x40]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x1f
setg dil
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140088ee5
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14009c570
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140007f00
int3

Function at 0x140088fc0
Capabilities:
Delete registry key
Delete service
Query service status
Stop service

Disassembly:
lea rcx, [rdx + 0xf0]
cmp qword [rcx + 0x18], 8
jb 0x140088fd1
mov rcx, qword [rcx]
jmp fcn.140088fe0
Function at 0x140088fe0
Capabilities:
Delete registry key
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400890a5
mov r8d, 0xf01ff
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140089097
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140089086
cmp dword [rsp + 0x54], 1
je 0x140089074
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140089086
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x140089097
mov sil, 1
jmp 0x140089089
xor sil, sil
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400891a1
test rbx, rbx
je 0x1400890a5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x1400891d5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, [0x1400eff20]
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x1400890eb
movzx edx, dx
lea rcx, [rsp + 0x20]
call fcn.140006660
jmp 0x140089108
mov rax, rbx
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400890f0
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400068f0
nop
lea r8, [rsp + 0x20]
lea rdx, str.SystemCurrentControlSetServices
lea rcx, [rsp + 0x38]
call fcn.14000c7b0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006020
nop
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
sete sil
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140089165
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140089184
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400891a1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
test rdi, rdi
je 0x1400891af
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009c570
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140007f00
int3
Function at 0x14008a120
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rbx, rcx
test rdx, rdx
jne 0x14008a15e
lea rdx, [rcx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14008a145
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14008a15e
xor al, al
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor esi, esi
mov edi, esi
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x90], rsi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14008a27d
mov dword [rsp + 0x58], esi
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], esi
test rdi, rdi
je 0x14008a27d
mov rbx, qword [rbx]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], al
jne 0x14008a279
nop dword [rax + rax]
lea rdx, [rbx + 0x20]
mov eax, dword [rdx + 0x50]
mov rcx, qword [rdx + 0x48]
mov r9d, dword [rdx + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x14008a209
mov rdx, qword [rdx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14008a24a
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14008a245
cmp rbx, qword [rax + 0x10]
jne 0x14008a245
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14008a232
mov rbx, rax
jmp 0x14008a26f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14008a26f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14008a260
cmp byte [rbx + 0x19], 0
je 0x14008a1f0
mov bl, 1
jmp 0x14008a27f
xor bl, bl
test rdi, rdi
je 0x14008a292
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14008af80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov dword [rbp - 0x49], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x45], xmm0
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
mov qword [rbp + 0x1b], rax
mov dword [rbp + 0x23], eax
call fcn.14002db10
test al, al
je 0x14008afed
lea rcx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
call fcn.140008370
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xor r14d, r14d
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x3f], r14
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14008b015
mov rbx, qword [rax]
movabs rdi, 0x7ffffffffffffffe
cmp rsi, rdi
ja 0x14008b1bc
mov qword [rbp + 0x3f], 7
cmp rsi, 8
jae 0x14008b043
mov qword [rbp + 0x37], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x27], xmm0
jmp 0x14008b08b
mov rax, rsi
or rax, 7
cmp rax, rdi
ja 0x14008b05e
mov rdi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
lea rcx, [rbp + 0x27]
call fcn.1400037f0
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rdi
lea r8, [rsi*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.14009d3c0
nop
mov rdi, qword [rbp + 0x37]
mov rcx, qword [rbp + 0x3f]
mov rax, rcx
sub rax, rdi
cmp rax, 0xd
jb 0x14008b0d2
lea rax, [rdi + 0xd]
mov qword [rbp + 0x37], rax
lea rbx, [rbp + 0x27]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x27]
lea rcx, [rbx + rdi*2]
mov r8d, 0x1a
lea rdx, str._taskschd.msc
call fcn.14009d3c0
mov word [rbx + rdi*2 + 0x1a], r14w
jmp 0x14008b0f5
mov qword [rsp + 0x20], 0xd
lea r9, str._taskschd.msc
movzx r8d, byte [rbp - 0x59]
mov edx, 0xd
lea rcx, [rbp + 0x27]
call fcn.140007950
lea rax, str.open
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x19], 1
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
call fcn.14002db10
test al, al
je 0x14008b138
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14008b179
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b1b6
call fcn.14009bfe4
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], r14w
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14009c570
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400a3080
int3
call fcn.140003690
int3
Function at 0x140090450
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [rcx + 0x100]
mov rbx, rcx
nop
test al, al
je 0x1400904eb
mov rcx, qword [rcx + 0xc0]
test rcx, rcx
je 0x1400904eb
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x1400904eb
mov rcx, qword [rbx + 0x118]
mov edx, 1
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xc0]
xor edi, edi
mov qword [rbx + 0x118], rdi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
lea rdx, [rbx + 0x68]
xchg byte [rbx + 0x100], al
mov rcx, qword [rbx + 0xc8]
test rbx, rbx
cmove rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rbx + 8]
lea edx, [rdi + 5]
call qword [sym.imp.USER32.dll_KillTimer]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1400932f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
sub dword [0x140133e9c], 1
jne 0x14009332e
mov rcx, qword [0x140133cf8]
test rcx, rcx
je 0x14009332e
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rdx, qword [0x140133cf8]
test eax, eax
cmovne rdx, rdi
mov qword [0x140133cf8], rdx
mov rcx, qword [rbx + 0x118]
mov edx, 0xc8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140093359
mov rcx, qword [rbx + 0x118]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x30]
mov dword [rax], edi
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140094480
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rsi, rcx
mov rdi, 0xffffffffffffffff
lea r9d, [rdi + 3]
mov r8, rdi
mov edx, 0x100c
mov rcx, qword [rcx + 0xb8]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x14009463a
movsxd rcx, eax
mov rax, qword [rsi + 0xe8]
mov rcx, qword [rax + rcx*8]
add rcx, rcx
mov rax, qword [rsi + 0xd0]
mov rbx, qword [rax + rcx*8]
add rbx, 0x60
cmp qword [rbx + 0x18], 8
jb 0x1400944e7
mov rbx, qword [rbx]
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x140094651
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
test rbx, rbx
je 0x14009453c
cmp rbx, 0x10000
jae 0x14009452a
movzx edx, bx
lea rcx, [rsp + 0xa0]
call fcn.140006660
jmp 0x140094552
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140094530
jmp 0x14009453e
xor eax, eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.1400068f0
nop
mov edx, 0x22
lea rcx, [rsp + 0xa0]
call fcn.14001c4a0
lea rcx, [rsp + 0xa0]
call fcn.14002fdc0
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsi + 8]
cmp eax, 0xffffffff
jne 0x140094591
lea rdx, str.File_does_not_exist.
jmp 0x14009460b
mov dword [rsp + 0x20], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x24], xmm0
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [rsp + 0x84], rax
mov dword [rsp + 0x8c], eax
lea rax, str.properties
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0xc
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14009461b
lea rdx, str.Failed_to_show_file_properties
mov rcx, qword [rsi + 8]
mov r9d, 0x10
lea r8d, [r9 + 0x71]
call fcn.140055b80
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14009463a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140007f00
int3
Function at 0x140095ba0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 0xd0]
mov rbx, rcx
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rcx, rdx
je 0x140095bd4
mov r8, rdi
call fcn.140007ca0
mov rax, qword [rdi]
mov qword [rdi + 8], rax
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140095be2
mov qword [rdi + 0x20], rax
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi]
sar rax, 4
cmp rax, 0x40
jae 0x140095c00
mov edx, 0x40
mov rcx, rdi
call fcn.140053e50
mov rax, qword [rdi + 0x28]
sub rax, qword [rdi + 0x18]
sar rax, 3
cmp rax, 0x40
jae 0x140095c20
mov edx, 0x40
lea rcx, [rdi + 0x18]
call fcn.140081fa0
mov rcx, qword [rbx + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x102f
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rbx + 0xc0], 0
je 0x140095c85
mov eax, 1
xchg byte [rbx + 0x100], al
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x140095c5f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r8, [0x14008d410]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x118], rax
call fcn.14006e460
lea rdx, str.CheckVirusTotal
mov rcx, rax
call fcn.14008e040
test eax, eax
je 0x140095cb4
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov r8d, 0x1388
lea edx, [r9 + 5]
call qword [sym.imp.USER32.dll_SetTimer]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [0x140133cf8]
test rcx, rcx
je 0x140095dd2
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rcx, qword [0x140133d00]
mov qword [0x140133cf8], rbx
test rcx, rcx
je 0x140095deb
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov qword [0x140133d00], rdi
call fcn.140061f10
mov rdx, qword [0x140133cf8]
xor r8d, r8d
mov rcx, rax
call fcn.140062520
call fcn.140061f10
mov rdx, qword [0x140133d00]
mov r8b, 1
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140062520
Function at 0x1400983a0
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rdx + 0x128]
test rbx, rbx
jne 0x1400983ce
xor al, al
jmp 0x1400984d8
lea rdx, [rsp + 0x50]
mov ecx, 0x104
add rbx, 0x20
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x1400daab8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1400983c7
mov qword [rsp + 0x280], rsi
lea r8, str..txt
mov edx, 0x104
mov qword [rsp + 0x290], rdi
lea rcx, [rsp + 0x50]
call fcn.1400b35d0
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140098472
lea r9d, [rsi + 0x10]
xor ecx, ecx
lea r8d, [r9 + 0x71]
lea rdx, str.Failed_to_create_temporary_file
call fcn.140055b80
xor al, al
jmp 0x1400984c8
mov r8d, dword [rbx + 0x10]
add r8d, r8d
cmp qword [rbx + 0x18], 8
jb 0x140098483
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov dword [rsp + 0x28], 0xa
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
mov rsi, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x270
pop rbx
ret
Function at 0x140098a70
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rdx + 0x128]
test rbx, rbx
je 0x140098bc5
lea rdx, [rsp + 0x50]
mov ecx, 0x104
add rbx, 0x20
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x1400daab8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140098bc5
mov qword [rsp + 0x280], rsi
lea r8, str..txt
mov edx, 0x104
mov qword [rsp + 0x290], rdi
lea rcx, [rsp + 0x50]
call fcn.1400b35d0
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140098b6a
lea r9d, [rsi + 0x10]
xor ecx, ecx
lea r8d, [r9 + 0x71]
lea rdx, str.Failed_to_create_temporary_file
call fcn.140055b80
xor al, al
mov rsi, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x270
pop rbx
ret
mov r8d, dword [rbx + 0x10]
add r8d, r8d
cmp qword [rbx + 0x18], 8
jb 0x140098b7b
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov dword [rsp + 0x28], 0xa
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
jmp 0x140098b41
xor al, al
jmp 0x140098b51

Function at 0x140099d10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
test rcx, rcx
je 0x140099d7e
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rax
lea r8, [0x1400e1328]
mov qword [rsp + 0x28], rcx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], 0
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140099d7e
mov dword [rbx], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x50]
call rax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x180
pop rbx
ret
Function at 0x1400bfce0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400bfcf6
mov al, 1
jmp 0x1400bfd56
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400bfd07
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400bfd54
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c191c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bfd54
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400bfd54
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400bfd54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400bfd56
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400c1074
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400c10fb
mov rsi, rbx
cmp word [rax], bp
je 0x1400c10ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c10a4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c10a0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b8c7c
mov rdi, rax
test rax, rax
je 0x1400c10e8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14009d3c0
mov rbp, rdi
xor ecx, ecx
call fcn.1400b89e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c3e30
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400b8608
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400c3ed1
cmp ebx, dword [rsp + 0x30]
je 0x1400c3eca
test esi, esi
je 0x1400c3eca
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c3ea5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c3eb2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c3e8f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c3eb6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c3ed3
mov eax, 1
jmp 0x1400c3ed3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret