joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c230
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows

Disassembly:
jmp 0x14000c230
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4e8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 1
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14000c2cd
jmp 0x14000c42f
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14000c2f2
jmp 0x14000c42f
mov r9, qword [rbp + 0x4b0]
lea r8, str._ws
mov edx, 0x104
mov rcx, qword [rbp + 0x68]
call fcn.140001226
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x14000c346
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000c33c
mov dword [rbp + 4], 1
jmp 0x14000c42f
lea rax, [rbp + 0xdc]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x4b0]
lea r8, [0x14001d2b8]
mov edx, 0x104
mov rcx, qword [rbp + 0x88]
call fcn.140001226
mov eax, dword [rbp + 0xb0]
and eax, 0x10
test eax, eax
je 0x14000c3c9
lea rdx, [0x140020f50]
lea rcx, [rbp + 0xdc]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
je 0x14000c3ae
lea rdx, [0x140020f54]
lea rcx, [rbp + 0xdc]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14000c3b0
jmp 0x14000c3f4
mov rcx, qword [rbp + 0x88]
call fcn.140001541
test eax, eax
jne 0x14000c3c7
mov dword [rbp + 0x24], 0
jmp 0x14000c3f4
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000c3f4
mov rdx, qword [rbp + 0x88]
lea rcx, str.____Failed_to_delete_file:__ws_r_n
call fcn.140001037
mov dword [rbp + 0x24], 0
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000c346
cmp dword [rbp + 0x24], 0
je 0x14000c428
mov rcx, qword [rbp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14000c428
jmp 0x14000c42f
mov dword [rbp + 4], 1
cmp qword [rbp + 0x48], 0
je 0x14000c447
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x14000c447
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x68]
call fcn.1400010a5
lea rcx, [rbp + 0x88]
call fcn.1400010a5
cmp dword [rbp + 4], 0
jne 0x14000c475
mov rdx, qword [rbp + 0x4b0]
lea rcx, str.____Failed_to_delete_directory:__ws_r_n
call fcn.140001037
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140020460]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret
Function at 0x14000cc30
Capabilities:
Access pe header

Disassembly:
jmp 0x14000cc30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0x1000
mov qword [rbp + 0x48], 0
mov qword [rbp + 0xa8], 0
mov edx, 0x1000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14000ccd4
jmp 0x14000cd8d
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14000ccf6
jmp 0x14000cd8d
mov dword [rbp + 0x84], 0
jmp 0x14000cd10
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x84], eax
jae 0x14000cd8d
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x108]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x1a8]
mov rcx, rax
call sub.ucrtbased.dll_strcmp
test eax, eax
jne 0x14000cd88
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x1a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x1b0]
mov qword [rcx], rax
mov rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x68]
mov ecx, dword [rcx + 0x10]
mov dword [rax], ecx
mov dword [rbp + 4], 1
jmp 0x14000cd8d
jmp 0x14000cd02
lea rcx, [rbp + 0xa8]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400202c0]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14000d570
Capabilities:
Get common file path

Disassembly:
jmp 0x14000d570
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0x105
mov qword [rbp + 0x48], 0
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14000d5ee
jmp 0x14000d62f
mov rdx, qword [rbp + 0x48]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14000d605
jmp 0x14000d62f
mov r9, qword [rbp + 0x140]
xor r8d, r8d
lea rdx, [0x14001ca1c]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14000d628
jmp 0x14000d62f
mov dword [rbp + 4], 1
lea rcx, [rbp + 0x48]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001f6c0]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14000d7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x14000d7e0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov dword [rbp + 0x84], 0
movzx eax, word [rbp + 0x180]
mov r8d, 0xa
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14000d857
jmp 0x14000d8ce
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x14000d876
jmp 0x14000d8ce
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14000d891
jmp 0x14000d8ce
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14000d8aa
jmp 0x14000d8ce
mov rax, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov rax, qword [rbp + 0x190]
mov ecx, dword [rbp + 0x84]
mov dword [rax], ecx
mov dword [rbp + 4], 1
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14000d920
Capabilities:
Get file version info

Disassembly:
jmp 0x14000d920
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xc8], 0
mov edx, 0x80
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x14000d9ba
jmp 0x14000dae3
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 0x1c0]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x14000d9dd
jmp 0x14000dae3
mov eax, dword [rbp + 0x44]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14000da02
jmp 0x14000dae3
mov dword [rbp + 0x24], 0
mov r9, qword [rbp + 0x68]
mov r8d, dword [rbp + 0x44]
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x1c0]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14000da2e
jmp 0x14000dae3
lea r9, [rbp + 0xa4]
lea r8, [rbp + 0x88]
lea rdx, [0x14002100c]
mov rcx, qword [rbp + 0x68]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14000da5a
jmp 0x14000dae3
mov rax, qword [rbp + 0x88]
cmp dword [rax], 0xfeef04bd
je 0x14000da6d
jmp 0x14000dae3
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
and eax, 0xffff
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 0xc]
shr ecx, 0x10
and ecx, 0xffff
mov rdx, qword [rbp + 0x88]
mov edx, dword [rdx + 8]
and edx, 0xffff
mov r8, qword [rbp + 0x88]
mov r8d, dword [r8 + 8]
shr r8d, 0x10
and r8d, 0xffff
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, r8d
lea r8, [0x140021010]
mov edx, 0x40
mov rcx, qword [rbp + 0xc8]
call fcn.140001226
mov dword [rbp + 4], 1
lea rcx, [rbp + 0x68]
call fcn.1400010a5
cmp dword [rbp + 4], 0
jne 0x14000dafe
lea rcx, [rbp + 0xc8]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140020630]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x14000e250
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000e250
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
mov qword [rbp + 0x88], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14000e309
jmp 0x14000e3b5
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14000e33f
jmp 0x14000e3b5
mov eax, dword [rbp + 0x64]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14000e364
jmp 0x14000e3b5
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14000e39d
jmp 0x14000e3b5
mov rax, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x88]
mov qword [rax], rcx
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
jne 0x14000e3d2
cmp qword [rbp + 0x88], 0
je 0x14000e3d2
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rbp + 0x48], 0
je 0x14000e3e3
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rbp + 0x24]
call fcn.140001131
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14000eb80
Capabilities:
Get common file path

Disassembly:
jmp 0x14000eb80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov edx, 0x20a
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14000ebf7
jmp 0x14000ec3c
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x14000ec0e
jmp 0x14000ec3c
mov r9, qword [rbp + 0x28]
lea r8, str._wsTemp
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call fcn.140001226
mov rax, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
jne 0x14000ec4b
lea rcx, [rbp + 0x28]
call fcn.1400010a5
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140020340]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14000f2c0
Capabilities:
Set registry value

Disassembly:
jmp 0x14000f2c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov eax, eax
shl rax, 1
mov dword [rbp + 0x64], eax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14000f378
jmp 0x14000f3b9
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14000f3b2
jmp 0x14000f3b9
mov dword [rbp + 4], 1
cmp qword [rbp + 0x48], 0
je 0x14000f3ca
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rbp + 0x24]
call fcn.140001131
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ff40]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14000f460
Capabilities:
Start service

Disassembly:
jmp 0x14000f460
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp + 0x88], rax
lea r8, [rbp + 0x28]
mov edx, 0x14
mov rcx, qword [rbp + 0x1a0]
call fcn.140001474
test eax, eax
jne 0x14000f4ec
jmp 0x14000f5ef
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000f509
jmp 0x14000f5ef
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.140001154
test eax, eax
jne 0x14000f524
jmp 0x14000f5ef
cmp dword [rbp + 0x1a8], 0
je 0x14000f5e8
cmp dword [rbp + 0x4c], 4
je 0x14000f5c1
xor edx, edx
mov eax, dword [rbp + 0x60]
mov ecx, 0xa
div ecx
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0x3e8
jae 0x14000f565
mov dword [rbp + 0xa4], 0x3e8
jmp 0x14000f57b
cmp dword [rbp + 0xa4], 0x2710
jbe 0x14000f57b
mov dword [rbp + 0xa4], 0x2710
mov ecx, dword [rbp + 0xa4]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.140001154
test eax, eax
jne 0x14000f59a
jmp 0x14000f5c1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [rbp + 0x88]
cmp rax, 0x1388
jbe 0x14000f5bc
mov ecx, 0x5b4
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000f5c1
jmp 0x14000f531
cmp dword [rbp + 0x4c], 4
jne 0x14000f5d3
mov dword [rbp + 0x174], 1
jmp 0x14000f5dd
mov dword [rbp + 0x174], 0
mov eax, dword [rbp + 0x174]
mov dword [rbp + 4], eax
jmp 0x14000f5ef
mov dword [rbp + 4], 1
cmp qword [rbp + 0x28], 0
je 0x14000f600
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14000f6b0
Capabilities:
Stop service

Disassembly:
jmp 0x14000f6b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e556]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp + 0x88], rax
lea r8, [rbp + 0x28]
mov edx, 0x24
mov rcx, qword [rbp + 0x1a0]
call fcn.140001474
test eax, eax
jne 0x14000f73c
jmp 0x14000f856
lea r8, [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000f75d
jmp 0x14000f856
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.140001154
test eax, eax
jne 0x14000f778
jmp 0x14000f856
cmp dword [rbp + 0x1a8], 0
je 0x14000f84f
mov rdx, qword [rbp + 0x1a0]
lea rcx, str.___Stopping_service__ws..._r_n
call fcn.140001037
cmp dword [rbp + 0x4c], 1
je 0x14000f828
xor edx, edx
mov eax, dword [rbp + 0x60]
mov ecx, 0xa
div ecx
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0x3e8
jae 0x14000f7cc
mov dword [rbp + 0xa4], 0x3e8
jmp 0x14000f7e2
cmp dword [rbp + 0xa4], 0x2710
jbe 0x14000f7e2
mov dword [rbp + 0xa4], 0x2710
mov ecx, dword [rbp + 0xa4]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.140001154
test eax, eax
jne 0x14000f801
jmp 0x14000f828
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [rbp + 0x88]
cmp rax, 0x1388
jbe 0x14000f823
mov ecx, 0x5b4
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000f828
jmp 0x14000f798
cmp dword [rbp + 0x4c], 1
jne 0x14000f83a
mov dword [rbp + 0x174], 1
jmp 0x14000f844
mov dword [rbp + 0x174], 0
mov eax, dword [rbp + 0x174]
mov dword [rbp + 4], eax
jmp 0x14000f856
mov dword [rbp + 4], 1
cmp qword [rbp + 0x28], 0
je 0x14000f867
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rbp + 4], 0
jne 0x14000f880
mov rdx, qword [rbp + 0x1a0]
lea rcx, str.____Failed_to_stop_service__ws._r_n
call fcn.140001037
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14000ff90
Capabilities:
Create thread

Disassembly:
jmp 0x14000ff90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002e688]
call fcn.140001645
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140001677]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001001c
jmp 0x140010062
mov rax, qword [rbp + 0x140]
mov edx, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001005b
mov edx, 0x1388
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.ole32.dll_CoCancelCall]
mov rcx, qword [rbp + 0x140]
mov dword [rcx + 4], eax
mov ecx, 0x5b4
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140010062
mov dword [rbp + 4], 1
lea rcx, [rbp + 0x28]
call fcn.140001113
cmp dword [rbp + 4], 0
jne 0x14001007d
lea rcx, str.____Unexpected_error_or_timeout_while_trying_to_create_a_remote_TaskHandler_instance._r_n
call fcn.140001037
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140010e60
Capabilities:
Create thread

Disassembly:
jmp 0x140010e60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140028018]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14002e688]
call fcn.140001645
mov dword [rbp + 4], 0
mov dword [rbp + 0xa4], 0
mov qword [rbp + 0xc8], 0
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x1c0]
call fcn.14000169a
test eax, eax
jne 0x140010ee3
jmp 0x140011003
mov rax, qword [rbp + 0x1c0]
cmp dword [rax], 0
jne 0x140010ef9
jmp 0x140011003
mov r8d, 0x28
xor edx, edx
lea rcx, [rbp + 0x48]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x1c0]
mov rax, qword [rax + 0x40]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x1c0]
mov rax, qword [rax + 0x48]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x1c0]
mov eax, dword [rax + 0x3c]
mov dword [rbp + 0x58], eax
mov rax, qword [rbp + 0x1c0]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
sub rax, 8
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x48]
lea r8, [0x140001221]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140010f8e
jmp 0x140011003
mov rax, qword [rbp + 0x1c0]
mov edx, dword [rax + 0x18]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140010fd3
mov edx, 0x1388
mov ecx, dword [rbp + 0x84]
call qword [sym.imp.ole32.dll_CoCancelCall]
mov rcx, qword [rbp + 0x1c0]
mov dword [rcx + 4], eax
mov ecx, 0x5b4
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140011003
lea rdx, [rbp + 0xa4]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140010fef
jmp 0x140011003
cmp dword [rbp + 0xa4], 0
je 0x140010ffc
jmp 0x140011003
mov dword [rbp + 4], 1
lea rcx, [rbp + 0xc8]
call fcn.140001113
cmp dword [rbp + 4], 0
jne 0x140011027
mov edx, dword [rbp + 0xa4]
lea rcx, str.____Failed_to_write_DLL_search_path_flag_in_remote_process__thread_exit_code:_0x_08x_._n_r_n
call fcn.140001037
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140021740]
call fcn.140001546
mov eax, edi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14000132a
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret