joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c300
Capabilities:
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400748d8]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x30], 0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov r15, r8
mov r14d, edx
mov dword [rsp + 0x38], 0x104
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rbx + 0xf]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r13, str.___a_
test eax, eax
jne 0x14000c3b0
call fcn.140038cd4
mov edi, eax
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x14000c39a
test byte [rcx + 0x1c], 1
je 0x14000c39a
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x12]
mov r9d, eax
lea r8, [0x140054b10]
call fcn.140002534
mov edx, edi
lea rcx, str.ERROR:_OpenProcessToken___Failed__X_n
call fcn.140006cb0
test edi, edi
js 0x14000c4da
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14000c824
mov edi, eax
test eax, eax
jns 0x14000c416
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x14000c3ef
test byte [rcx + 0x1c], 1
je 0x14000c3ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x140054b10]
mov edx, 0x13
mov r9d, eax
call fcn.140002534
mov edx, edi
lea rcx, str.ERROR:_RestrictTokenPrivileges___Failed__X_n
call fcn.140006cb0
mov rbx, qword [rsp + 0x40]
xor edi, edi
test rbx, rbx
je 0x14000c41b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x14000c41b
mov rbx, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
mov ecx, 0x10002
lea rdx, [rsp + 0x50]
call qword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
jne 0x14000c473
call fcn.140038cd4
mov edi, eax
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x14000c465
test byte [rcx + 0x1c], 1
je 0x14000c465
mov rcx, qword [rcx + 0x10]
lea r8, [0x140054b10]
mov edx, 0x14
mov r9d, eax
call fcn.140002534
mov edx, edi
lea rcx, str.ERROR:_GetUserNameW___Failed__X_n
call fcn.140006cb0
test edi, edi
js 0x14000c4da
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
test rbx, rbx
mov qword [rsp + 0x20], r15
mov r9d, r14d
mov rdx, rsi
cmovne rcx, rbx
call fcn.14000c51c
mov edi, eax
test eax, eax
jns 0x14000c4d8
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x14000c4c8
test byte [rcx + 0x1c], 1
je 0x14000c4c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140054b10]
mov edx, 0x15
mov r9d, eax
call fcn.140002534
mov edx, edi
lea rcx, str.ERROR:_CreateProcessFromToken___Failed__X_n
call fcn.140006cb0
jmp 0x14000c4da
xor edi, edi
test rbx, rbx
je 0x14000c4e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000c4f8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140040760
add rsp, 0x270
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000ce3c
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, edi
mov rcx, rbp
mov ebx, eax
call fcn.14003bc2c
test al, al
je 0x14000cebd
lea esi, [rdi + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
cmp esi, ecx
ja 0x14000ce85
sub ebx, eax
cmp esi, ebx
jbe 0x14000cea7
mov edx, edi
lea rcx, str.ERROR:_Process_Hand___timeout__u_n
call fcn.140006cb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x5b4
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, edi
mov rcx, rbp
mov ebx, eax
call fcn.14003bc2c
test al, al
jne 0x14000ce71
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d798
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x40
and qword [rcx], 0
lea rbx, [0x14004f714]
and qword [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
and qword [rbp + 0x40], 0
mov rsi, rcx
and qword [rbp + 0x48], 0
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpConfigOpen]
mov edi, eax
test eax, eax
jns 0x14000d822
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000d80b
test byte [rcx + 0x1c], 1
je 0x14000d80b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0xb
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140002410
mov r8d, edi
lea rcx, str.ERROR:_MpConfigOpen__ls__failed___X__n
mov rdx, rbx
call fcn.140006cb0
jmp 0x14000d9a8
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14000d831
call qword [sym.imp.mpclient.dll_MpFreeMemory]
and dword [rbp + 0x30], 0
mov dword [rbp + 0x38], 2
and qword [rsp + 0x28], 0
lea rax, [rbp + 0x40]
mov rcx, qword [rbp - 0x10]
lea r15, str.ProductAppDataPath
mov rdx, r15
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x38]
call qword [sym.imp.mpclient.dll_MpConfigGetValueAlloc]
mov edi, eax
test eax, eax
jns 0x14000d8c1
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000d8a7
test byte [rcx + 0x1c], 1
je 0x14000d8a7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0xc
mov dword [rsp + 0x28], edi
mov r9, rbx
mov qword [rsp + 0x20], r15
call fcn.14000d5f0
mov r9d, edi
lea rcx, str.ERROR:_MpConfigGetValueString__ls_ls__failed___X__n
mov r8, r15
mov rdx, rbx
call fcn.140006cb0
jmp 0x14000d9a8
mov r8, qword [rbp + 0x40]
lea r9, str.Support
lea rdx, str._s_s
lea rcx, [rbp + 0x48]
call fcn.14003b888
mov edi, eax
test eax, eax
jns 0x14000d927
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000d913
test byte [rcx + 0x1c], 1
je 0x14000d913
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0xd
mov r9d, edi
call fcn.140002534
mov edx, edi
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
mov rbx, qword [rbp + 0x48]
jmp 0x14000d99b
mov rbx, qword [rbp + 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000d993
call fcn.140038cd4
mov edi, eax
cmp eax, 0x800700b7
je 0x14000d991
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000d97d
test byte [rcx + 0x1c], 1
je 0x14000d97d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0xe
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.140002410
mov r8d, edi
lea rcx, str.ERROR:_CreateDirectoryW__ls__failed___X__n
mov rdx, rbx
call fcn.140006cb0
jmp 0x14000d99b
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
test rbx, rbx
je 0x14000d9a8
mov rcx, rbx
call fcn.140040784
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14000d9b7
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14000d9c6
call qword [sym.imp.mpclient.dll_MpConfigClose]
mov eax, edi
add rsp, 0x40
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000d9d4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
mov r12, rdx
mov rdx, rcx
mov rdi, rcx
lea rcx, [rbp - 0x10]
mov r13, r9
call fcn.14003f94c
mov ebx, eax
test eax, eax
jns 0x14000da3e
mov rcx, qword [str.___a_]
lea rsi, str.___a_
cmp rcx, rsi
je 0x14000dbae
test byte [rcx + 0x1c], 1
je 0x14000dbae
mov edx, 0x16
mov dword [rsp + 0x20], eax
jmp 0x14000db9b
mov rcx, qword [rbp - 0x10]
and qword [rbp - 0x20], 0
mov rax, qword [rcx]
movabs r10, 0xc56426dd7e555a70
mov rax, qword [rax + 0x18]
lea rdx, [rbp - 0x20]
call qword [0x14004a4e8]
lea rsi, str.___a_
jmp 0x14000db76
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000dc36
add rdx, 0x2c
xor r9d, r9d
mov r8, r12
mov rcx, rdi
call fcn.140011ce0
test eax, eax
jns 0x14000dac8
mov rcx, qword [str.___a_]
cmp rcx, rsi
je 0x14000db57
test byte [rcx + 0x1c], 1
je 0x14000db57
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x18
mov r9d, eax
call fcn.140002534
jmp 0x14000db57
mov r9, qword [rbp - 0x20]
lea rdx, [0x1400551f0]
and qword [rbp - 0x18], 0
lea rcx, [rbp - 0x18]
add r9, 0x2c
mov r8, r12
call fcn.140005f44
mov ebx, eax
test eax, eax
js 0x14000dbea
lea rax, [rbp - 0x18]
mov rcx, r13
lea rdx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.140013328
mov ebx, eax
test eax, eax
js 0x14000dbea
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x14000db57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000db4e
mov rcx, qword [str.___a_]
cmp rcx, rsi
je 0x14000db4e
test byte [rcx + 0x1c], 1
je 0x14000db4e
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xa]
mov r9, rbx
lea r8, [0x140059a88]
call fcn.1400022ac
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
movabs r10, 0xc56426dd7e555a70
mov rax, qword [rax + 0x18]
lea rdx, [rbp - 0x20]
call qword [0x14004a4e8]
mov ebx, eax
test eax, eax
jns 0x14000da6e
mov rcx, qword [str.___a_]
cmp rcx, rsi
je 0x14000dbae
test byte [rcx + 0x1c], 1
je 0x14000dbae
mov edx, 0x17
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov r9, rdi
call fcn.140002410
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14000dbce
mov rdx, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rdx + 8]
call qword [0x14004a4e8]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x14000dbae
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000dc28
mov rcx, qword [str.___a_]
cmp rcx, rsi
je 0x14000dc28
test byte [rcx + 0x1c], 1
je 0x14000dc28
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xa]
mov r9, rdi
lea r8, [0x140059a88]
call fcn.1400022ac
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x14000dbae
xor ebx, ebx
jmp 0x14000dbae
Function at 0x140011ce0
Capabilities:
Copy file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push r13
push r14
push r15
sub rsp, 0x30
and qword [rax - 0x28], 0
mov r14, r9
and qword [rax - 0x20], 0
mov r15, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [str.___a_]
lea r13, str.___a_
cmp rcx, r13
je 0x140011d40
test byte [rcx + 0x1c], 4
je 0x140011d40
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x7b
mov r9, rbp
call fcn.1400022ac
mov r9, rbp
lea rdx, [0x1400551f0]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.14003b888
mov esi, eax
test eax, eax
jns 0x140011d9f
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x140011d87
test byte [rcx + 0x1c], 1
je 0x140011d87
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x7c
mov r9d, eax
call fcn.140002534
mov edx, esi
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
mov rbx, qword [rsp + 0x20]
jmp 0x140011edf
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.14003c4c0
mov esi, eax
test eax, eax
jns 0x140011df4
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x140011de1
test byte [rcx + 0x1c], 1
je 0x140011de1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x7d
mov r9d, eax
call fcn.140002534
lea rcx, str.ERROR:_UtilExpandEnvironmentStrings___failed___X__n
mov edx, esi
call fcn.140006cb0
jmp 0x140011ecd
test r14, r14
cmovne rbp, r14
test rbx, rbx
je 0x140011e0e
mov rcx, rbx
call fcn.140040784
and qword [rsp + 0x20], 0
mov r9, rbp
lea rdx, [0x1400551f0]
mov r8, r15
lea rcx, [rsp + 0x20]
call fcn.14003b888
mov esi, eax
test eax, eax
jns 0x140011e6a
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x140011e55
test byte [rcx + 0x1c], 1
je 0x140011e55
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x7e
mov r9d, eax
call fcn.140002534
mov edx, esi
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
mov rbx, qword [rsp + 0x20]
jmp 0x140011ecd
mov rbx, qword [rsp + 0x20]
xor r8d, r8d
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140011ecb
call fcn.140038cd4
mov esi, eax
add eax, 0x7ff8fffe
cmp eax, 1
jbe 0x140011ecb
mov rcx, qword [str.___a_]
cmp rcx, r13
je 0x140011ebf
test byte [rcx + 0x1c], 1
je 0x140011ebf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x7f
mov r9d, esi
call fcn.140002534
lea rcx, str.ERROR:_CopyFileW___failed___X__n
jmp 0x140011de8
xor esi, esi
cmp qword [rsp + 0x28], 0
je 0x140011edf
mov rcx, qword [rsp + 0x28]
call fcn.140040784
test rbx, rbx
je 0x140011eec
mov rcx, rbx
call fcn.140040784
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x140013238
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
mov rdi, rcx
cmp rbx, rcx
je 0x1400132ad
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x1400132a2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140013299
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x140013299
test byte [rcx + 0x1c], 1
je 0x140013299
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0xa
mov r9, rsi
call fcn.1400022ac
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140013252
mov rbx, qword [rdi]
mov esi, 0x18
cmp rbx, rdi
je 0x1400132e5
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rdx, rsi
call fcn.140013650
mov rax, qword [rdi + 0x10]
dec rax
mov qword [rdi + 0x10], rax
cmp rbx, rdi
jne 0x1400132b7
jmp 0x1400132e9
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140013318
mov rbx, qword [rdi]
jmp 0x140013313
mov rdx, qword [rbx]
mov rcx, rbx
mov rbx, rdx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
mov rdx, rsi
call fcn.140013650
dec qword [rdi + 0x10]
cmp rbx, rdi
jne 0x1400132f3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140019440
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
and qword [rax + 8], 0
and qword [rax + 0x18], 0
test rcx, rcx
jne 0x14001955f
xor ebx, ebx
mov qword [rax + 0x20], rbx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x14005e538]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14004af50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x1400195be
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
movabs r10, 0xc2392f9178de2a70
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14004a4e8]
mov esi, eax
test eax, eax
js 0x14001957b
mov rax, qword [rsp + 0x70]
and qword [rsp + 0x70], 0
mov qword [r14], rax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14001952f
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14004a4e8]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140019551
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14004a4e8]
nop
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400195b8
jmp 0x14001946e
lea rdx, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rdx
je 0x1400195b0
test byte [rcx + 0x1c], 1
je 0x1400195b0
mov edx, 0x15
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x14005e578]
mov rcx, qword [rcx + 0x10]
call fcn.140002410
mov ecx, esi
call fcn.14003b6a4
nop
call fcn.140018c98
nop
lea rdx, str.___a_
mov rcx, qword [str.___a_]
cmp rcx, rdx
je 0x1400195ef
test byte [rcx + 0x1c], 1
je 0x1400195ef
mov edx, 0x14
mov r9d, esi
lea r8, [0x14005e578]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov ecx, esi
call fcn.14003b6a4
int3
Function at 0x14001b8ec
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400748d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor eax, eax
and dword [rsp + 0x30], eax
mov rsi, rcx
lea rcx, str._nState_of__s_service:_n
mov dword [rsp + 0x58], eax
movups xmmword [rsp + 0x38], xmm0
mov rbp, rdx
xor ebx, ebx
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
call fcn.140006e10
xor edx, edx
lea r8d, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x14001b9a2
lea r8d, [rdi + 4]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14001b9a2
lea rcx, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x38]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14001b9a2
movups xmm0, xmmword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov dword [rsi + 0x20], eax
xor esi, esi
jmp 0x14001b9ae
call fcn.140038cd4
mov esi, eax
test rdi, rdi
je 0x14001b9b7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x14001b9c5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140040760
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002db38
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov dword [rax + 8], ecx
push rdi
sub rsp, 0x20
and qword [rdx], 0
lea r8, [rax + 8]
and dword [rax + 8], 0
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14002dc5f
call fcn.140038cd4
mov ebx, eax
test eax, eax
jns 0x14002dc5f
cmp eax, 0x800700ea
jne 0x14002dc64
mov eax, dword [rsp + 0x30]
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x14002dc3a
mov ecx, eax
call qword [sym.imp.mpclient.dll_MpAllocMemory]
mov rdi, rax
test rax, rax
je 0x14002dc15
xor ebx, ebx
lea r8, [rsp + 0x30]
mov rdx, rax
lea ecx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14002dc0d
call fcn.140038cd4
mov ebx, eax
test eax, eax
jns 0x14002dc0d
mov rcx, qword [str.___a_]
lea rdx, str.___a_
cmp rcx, rdx
je 0x14002dbff
test byte [rcx + 0x1c], 1
je 0x14002dbff
mov rcx, qword [rcx + 0x10]
lea r8, [0x140064350]
mov edx, 0x56
mov r9d, eax
call fcn.140002534
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x14002dc95
mov qword [rsi], rdi
jmp 0x14002dc95
mov rcx, qword [str.___a_]
lea rdx, str.___a_
mov ebx, 0x8007000e
cmp rcx, rdx
je 0x14002dc95
test byte [rcx + 0x1c], 1
je 0x14002dc95
mov edx, 0x55
jmp 0x14002dc82
mov rcx, qword [str.___a_]
lea rdx, str.___a_
mov ebx, 0x80070216
cmp rcx, rdx
je 0x14002dc95
test byte [rcx + 0x1c], 1
je 0x14002dc95
mov edx, 0x53
jmp 0x14002dc82
mov ebx, 0x8000ffff
mov rcx, qword [str.___a_]
lea rdx, str.___a_
cmp rcx, rdx
je 0x14002dc95
test byte [rcx + 0x1c], 1
je 0x14002dc95
mov edx, 0x52
mov rcx, qword [rcx + 0x10]
lea r8, [0x140064350]
mov r9d, ebx
call fcn.140002534
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002dca8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400748d8]
xor rax, rsp
mov qword [rbp + 0x380], rax
and qword [rcx], 0
lea r8, [rsp + 0x40]
and qword [rsp + 0x38], 0
xor edi, edi
and dword [rsp + 0x30], edi
xorps xmm0, xmm0
mov r14, rdx
mov rsi, rcx
mov r13d, 0x400
xor ebx, ebx
lea r9d, [rdi + 0x10]
mov ecx, r13d
lea edx, [rdi + 0x58]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002dd89
mov eax, 0x800
test word [rsp + 0x4e], ax
je 0x14002dd89
lea r9d, [rdi + 2]
mov edx, 0x20001009
lea r8, [rsp + 0x30]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002dd89
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
lea ecx, [r13 - 1]
and ax, cx
cmp ax, 0xd
jne 0x14002dd62
cmp dword [rsp + 0x30], 8
lea eax, [rdi + 0x20]
cmove ebx, eax
jmp 0x14002dd84
mov eax, dword [rsp + 0x30]
cmp eax, 0x17
ja 0x14002dd75
mov ecx, 0x800c42
bt ecx, eax
jb 0x14002dd7f
mov edi, 1
cmp eax, 0xc
jne 0x14002dd89
mov ebx, 0x20
mov edi, 1
or ebx, edi
lea rax, [rbp + 0x170]
mov edi, 0x104
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov r8, r14
mov edx, ebx
mov qword [rsp + 0x20], rax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
jne 0x14002ddf4
call fcn.140038cd4
mov ebx, eax
mov rcx, qword [str.___a_]
lea rdx, str.___a_
cmp rcx, rdx
je 0x14002dded
test byte [rcx + 0x1c], 1
je 0x14002dded
mov edx, 0x57
mov rcx, qword [rcx + 0x10]
lea r8, [0x140064350]
mov r9d, ebx
call fcn.140002534
mov eax, ebx
jmp 0x14002de7f
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, r14
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
jne 0x14002de3e
call fcn.140038cd4
mov ebx, eax
mov rcx, qword [str.___a_]
lea rdx, str.___a_
cmp rcx, rdx
je 0x14002dded
test byte [rcx + 0x1c], 1
je 0x14002dded
mov edx, 0x58
jmp 0x14002ddda
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x170]
lea rdx, str._ls__ls
lea rcx, [rsp + 0x38]
call fcn.14003b888
mov ebx, eax
test eax, eax
jns 0x14002de75
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002dded
call fcn.140040784
jmp 0x14002dded
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140040760
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret

Function at 0x14002ffc8
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rbx, rcx
test rax, rax
je 0x14002ffdd
and dword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140030013
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140030013
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140030013
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140030013
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret