joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ff650
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
cmp word [0x14042c7b0], 0
jne 0x1400ff6ba
lea rbx, [0x14042c7b0]
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str.drivers_
mov edx, 0x104
mov rcx, rbx
call fcn.1402bbbd8
lea r8, str.hitmanpro37
mov edx, 0x104
mov rcx, rbx
call fcn.1402bbbd8
lea r8, str..sys
mov edx, 0x104
mov rcx, rbx
call fcn.1402bbbd8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14042c7b0]
add rsp, 0x20
pop rbx
ret

Function at 0x1400ff6d0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r13
sub rsp, 0x48
xor dil, dil
call fcn.1400ff650
mov edx, 1
lea ecx, [rdx + 5]
mov r8d, edx
mov rsi, rax
call fcn.1400ce2e0
xor r13d, r13d
mov ecx, r13d
test al, al
lea r8d, [r13 + 0xa]
setne cl
add ecx, 0x12d
movzx edx, cx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400ff73d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__d_while_trying_to_driver__resource__r_n
mov edx, eax
call fcn.1402ba358
mov al, 1
add rsp, 0x48
pop r13
pop rdi
pop rsi
pop rbx
ret
mov rdx, rax
xor ecx, ecx
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x40], r15
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
jne 0x1400ff784
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.LoadResource___failed___d__r_n
mov edx, eax
call fcn.1402ba358
jmp 0x1400ff880
mov rcx, rax
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], r12
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, r13d
mov r12, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x80
mov qword [rsp + 0x30], r13
cmp eax, 0xffffffff
mov edx, 0x1f01ff
cmove eax, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rcx, rsi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ff80a
test ebx, ebx
jne 0x1400ff7ed
call fcn.1400ffd20
jmp 0x1400ff84b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateFile___on___s__failed___d__r_n
mov rdx, rsi
mov r8d, eax
call fcn.1402bbf64
mov dil, 1
jmp 0x1400ff84b
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400ff844
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.WriteFile___on___s__failed___d__r_n
mov rdx, rsi
mov r8d, eax
call fcn.1402bbf64
mov dil, 1
jmp 0x1400ff84b
cmp dword [rsp + 0x70], r14d
je 0x1400ff858
inc ebx
cmp ebx, 2
jl 0x1400ff7a0
jmp 0x1400ff85b
xor dil, dil
mov r12, qword [rsp + 0x80]
cmp rbp, 0xffffffffffffffff
je 0x1400ff872
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
movzx eax, dil
add rsp, 0x48
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ffd20
Capabilities:
Check for time delay via gettickcount
Delete file
Delete service
Query service status
Stop service

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400ffe7a
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, str.hitmanpro37
mov r8d, 0x10024
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x1400ffe61
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400ffdb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SERVICE_CONTROL_STOP_failed__d_r_n
mov edx, eax
call fcn.1402ba358
cmp dword [rsp + 0x3c], 3
jne 0x1400ffe4f
mov qword [rsp + 0x88], rbp
mov ebp, 0x1388
nop dword [rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x50]
shr edx, 3
cmp edx, 0x3e8
jae 0x1400ffdeb
mov edx, 0x3e8
jmp 0x1400ffdf0
cmp edx, ebp
cmova edx, ebp
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1400ffe47
mov edx, dword [rsp + 0x3c]
cmp edx, 1
je 0x1400ffe47
lea rcx, str.Waiting_for_driver_to_stop__status_08x_..._r_n
call fcn.1402ba358
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x2710
ja 0x1400ffe47
cmp dword [rsp + 0x3c], 3
je 0x1400ffdd0
mov rbp, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
call fcn.1400ff650
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x70
pop rdi
ret
Function at 0x140100040
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x778]
sub rsp, 0x870
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x760], rax
lea rsi, [0x140348ca0]
mov qword [rsp + 0x30], rsi
xor edi, edi
mov qword [rsp + 0x38], rdi
xor eax, eax
mov qword [rsp + 0x40], rax
mov r8d, 0x400
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401000b0
mov qword [rsp + 0x28], rdi
test ebx, ebx
jne 0x1401000ca
mov qword [rsp + 0x20], rsi
jmp 0x1401000f1
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400d44f0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
cmp dword [rsp + 0x50], 0
jle 0x140100157
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x28], 0
jle 0x140100168
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
lea rdx, [rsp + 0x30]
lea rcx, [0x1400ffea0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsp + 0x40]
cmp dword [rsp + 0x38], 0
jle 0x140100190
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rax, rbx
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1401053c0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0xe0
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, r8
mov rbx, rdx
mov rbp, rcx
call fcn.140114320
test al, al
je 0x1401053fb
mov byte [r14], 1
mov al, 1
jmp 0x140105528
mov rdx, rbx
mov rcx, rbp
call fcn.1400f9c50
test rax, rax
je 0x140105546
mov r9, qword [rax]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0xd0], rdi
call qword [r9 + 0x30]
mov rdi, rax
test rax, rax
je 0x140105544
mov ecx, 0x10000
mov qword [rsp + 0xd8], rsi
xor ebx, ebx
call fcn.1402b9c60
mov r10, qword [rdi]
lea r9, [rsp + 0x20]
mov rdx, rax
mov r8d, 0x10000
mov rcx, rdi
mov rsi, rax
call qword [r10 + 8]
test al, al
je 0x140105495
nop word [rax + rax]
add ebx, dword [rsp + 0x20]
mov r10, qword [rdi]
mov r8d, 0x10000
mov edx, ebx
lea r9, [rsp + 0x20]
mov rcx, rdi
add rdx, rsi
sub r8d, ebx
call qword [r10 + 8]
test al, al
jne 0x140105470
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
lea r8, [rsp + 0x30]
mov edx, ebx
movups xmm0, xmmword [0x14032a958]
movups xmm1, xmmword [0x14032a968]
mov rcx, rsi
mov qword [rsp + 0x30], 0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm1
call fcn.14018d6c0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.14018d7b0
mov rcx, rsi
call fcn.1402b9c20
mov rbx, qword [rbp + 0x4e0]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14011b1e0
mov rax, qword [rbx]
mov rsi, qword [rsp + 0xd8]
cmp qword [rsp + 0x28], rax
setne al
mov byte [r14], al
mov al, 1
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0xe0
pop r14
pop rbp
pop rbx
ret
jmp 0x140105520
jmp 0x140105528
Function at 0x140105550
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0xf0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rdx
mov rsi, rcx
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140208850
test al, al
je 0x14010562d
mov edx, dword [rsp + 0x28]
mov eax, 0x10000
cmp edx, eax
cmovg edx, eax
mov qword [rsp + 0x50], rbp
movups xmm0, xmmword [0x14032a958]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [0x14032a968]
movups xmmword [rsp + 0x68], xmm1
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.14018d6c0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.14018d7b0
mov rbx, qword [rsi + 0x4e0]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14011b1e0
mov rax, qword [rbx]
cmp qword [rsp + 0x40], rax
je 0x14010562d
mov bl, 1
jmp 0x14010562f
xor bl, bl
cmp qword [rsp + 0x30], 0
je 0x140105649
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bl
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x140106470
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx ecx, word [0x14042c5a0]
lea rbx, [0x14042c5a0]
test cx, cx
jne 0x1401064b0
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx ecx, word [0x14042c5a0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1401064b4
cmp rax, 2
jb 0x140106532
cmp word [0x14042c5a2], 0x3a
jne 0x140106532
movabs rax, 0x5c003a0043
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov word [rsp + 0x48], cx
xor ecx, ecx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140106532
test dword [rsp + 0x40], 0x80000
je 0x140106532
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x60
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x60
pop rbx
ret
Function at 0x140107030
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp word [0x14042c5a0], 0
mov rdi, rcx
jne 0x14010705c
lea rdx, [0x14042c5a0]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dl, 1
mov ecx, 0x2af8
call fcn.14010c330
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x140107083
mov rcx, qword [rdi]
and eax, 0xfffffffe
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [0x14042c5a0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1401070ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1401070bf
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1401070d8
mov r8, qword [rdi]
lea rdx, [0x14042c5a0]
lea rcx, str.CopyFileW__ls_____ls_failed__d_r_n
mov r9d, eax
call fcn.1402ba358
inc ebx
cmp ebx, 0xf0
jl 0x140107090
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140108910
Capabilities:
Delete file
Set registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x14010895f
or eax, 1
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rbx, rax
test rax, rax
je 0x140108a35
xor eax, eax
mov qword [rsp + 0x40], rax
lea edx, [rax + 0x13]
lea rcx, [rsp + 0x38]
call fcn.1401ff260
mov ecx, dword [rsp + 0x40]
inc ecx
movsxd rdx, ecx
mov r9d, 0x13
lea r8, str.yyyy_MM_dd_HH:mm:ss
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, 0x13
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
call fcn.140114e00
mov rcx, rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
call fcn.1400d6f20
mov ecx, dword [rax + 0xc]
mov rdx, qword [rax]
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
lea rdx, str.LastCFU
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rsp + 0x50], 0
jle 0x140108a17
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x40], 0
jle 0x140108a28
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
xor edx, edx
mov ecx, 0x2710
call fcn.14010c330
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
call fcn.140108ac0
test al, al
jne 0x140108a66
call fcn.1401096d0
test al, al
jne 0x140108a66
call fcn.14010a040
test bl, bl
jne 0x140108a7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__d_while_trying_to_delete_the_downloaded_update_file._r_n
call fcn.1402bbf64
movzx eax, bl
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14010a760
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, rcx
xor edx, edx
mov ecx, 0x2710
call fcn.14010c330
mov rdx, qword [rdi]
test rdx, rdx
je 0x14010a8fc
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14010a7a1
test rax, rax
je 0x14010a8fc
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400d2ff0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14010a8f1
nop
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x14010a7d0
test rbx, rbx
je 0x14010a8f1
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14010a8ed
lea rsi, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x20], rsi
xor edi, edi
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x40], rdi
lea edx, [rdi + 1]
lea rcx, [rbp - 0x48]
call fcn.1401ff260
mov eax, dword [rbp - 0x40]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 1]
lea r8, [0x14034e8b4]
mov rcx, qword [rbp - 0x48]
call fcn.1402bd21c
lea edx, [rdi + 1]
lea rcx, [rbp - 0x48]
call fcn.140200570
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.1400ecd70
movzx ebx, al
cmp dword [rbp - 0x40], edi
jle 0x14010a863
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
test bl, bl
je 0x14010a8c4
cmp dword [rbp - 0x18], 0
jne 0x14010a8c4
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], edi
mov qword [rbp - 0x38], rdi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.1400eca70
test al, al
je 0x14010a89a
cmp dword [rbp - 0x40], 0
jne 0x14010a89a
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14010a8c4
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14010a8ed
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
mov rcx, qword [rbp - 0x30]
cmp dword [rbp - 0x28], 0
jle 0x14010a8fc
call fcn.1402b9c20
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14010c290
Capabilities:
Bypass mark of the web
Check if file exists
Delete file

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x250], rax
cmp word [0x14042c5a0], 0
jne 0x14010c2c8
lea rdx, [0x14042c5a0]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x14042c5a0]
lea rcx, [rsp + 0x20]
mov edx, 0x118
call fcn.1402b96f8
lea r8, str.:Zone.Identifier
lea rcx, [rsp + 0x20]
mov edx, 0x118
call fcn.1402bbbd8
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14010c30c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x268
ret

Function at 0x14010c330
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movzx ebp, dl
mov r14d, ecx
xor bl, bl
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov r8d, eax
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14010c407
lea rax, [rsp + 0x90]
lea r9d, [rdi + 0x30]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x90], edi
mov qword [rsp + 0x20], rax
call qword [0x14042bbe8]
mov ecx, 0x1f0fff
test eax, eax
cmove rdi, qword [rsp + 0x58]
xor edx, edx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14010c3fc
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14010c3d3
mov rcx, rdi
mov bl, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14010c3fe
test bpl, bpl
je 0x14010c3f1
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14010c3fe
mov bl, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x60]
movzx eax, bl
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14010efc0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov ebx, edx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
cmp byte [0x14042c578], r14b
jne 0x14010f05f
mov byte [0x14042c578], 1
lea r9d, [r14 + 5]
lea rbp, [0x14042c580]
mov r8, rbp
lea edx, [r14 + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r9d, [r14 + 5]
lea rsi, [0x14042c540]
mov r8, rsi
lea edx, [r14 + 0xe]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [0x14042c558], 3
mov qword [0x14042c568], rbp
mov qword [0x14042c560], rsi
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14000b500
nop
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14042c550]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jle 0x14010f0e8
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14010f0a4
mov qword [rdi + 8], r14
test ebx, ebx
jne 0x14010f0c2
lea rax, [0x140348ca0]
mov qword [rdi], rax
jmp 0x14010f0e4
mov edx, ebx
mov rcx, rdi
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x50]
mov rcx, qword [rdi]
call fcn.1402bd21c
mov edx, ebx
jmp 0x14010f126
mov qword [rdi + 8], r14
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x14010f100
lea rax, [0x140348ca0]
mov qword [rdi], rax
jmp 0x14010f126
mov rcx, rdi
call fcn.1401ff260
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.1402bd21c
mov edx, dword [rsp + 0x3c]
mov rcx, rdi
call fcn.140200570
nop
cmp dword [rsp + 0x38], 0
jle 0x14010f140
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140110960
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
lea rcx, str.SeShutdownPrivilege
call fcn.1400ff510
xor edx, edx
xor ecx, ecx
lea r9d, [rdx + 1]
lea r8d, [rdx + 5]
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test eax, eax
je 0x1401109a8
mov rax, qword [0x14042bb58]
test rax, rax
je 0x1401109a1
mov byte [rax + 0x265], 1
mov al, 1
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x1401109b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x14042bb58]
test rbx, rbx
je 0x140110a01
mov eax, dword [0x14041c4a0]
cmp eax, 0xffffffff
jne 0x1401109fc
call fcn.140113300
test al, al
je 0x1401109e6
mov dword [0x14041c4a0], 1
add rsp, 0x20
pop rbx
ret
cmp qword [rbx + 0x2f0], 0
jne 0x1401109d6
mov dword [0x14041c4a0], 0
jmp 0x140110a01
cmp eax, 1
je 0x140110a14
call fcn.140110ba0
test al, al
jne 0x140110a14
add rsp, 0x20
pop rbx
jmp 0x140110a20
add rsp, 0x20
pop rbx
ret
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edi, edi
mov qword [rsp + 0x48], rdi
lea edx, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 0xc]
lea r8, [0x14034d958]
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
lea edx, [rdi + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140110ab0
mov qword [rsp + 0x38], rdi
test ebx, ebx
jne 0x140110ad1
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
jmp 0x140110af8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x38], 0
jle 0x140110b2c
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x48], 0
jle 0x140110b3d
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, [0x14034d978]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [rsp + 0x58], 0
jle 0x140110b72
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret