joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001400
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.14000aff8
test rax, rax
je 0x140001634
mov rbx, rax
movzx eax, word [r14 + rax*2 - 2]
cmp eax, 0x5c
je 0x14000162c
cmp eax, 0x2f
je 0x14000162c
mov rax, rbx
add rax, 2
lea r15, [rbx + rbx + 4]
mov rcx, 0xffffffffffffffff
cmovns rcx, r15
call fcn.14000af24
mov rdi, rax
xor r12d, r12d
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14000c620
lea r8, [rbx + 1]
mov rcx, rdi
mov rdx, r14
call fcn.14000b134
mov rcx, rdi
call fcn.14000b17c
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov qword [rcx], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140001638
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000166b
add ebx, ebx
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000166b
lea r9, [rsp + 0x34]
mov dword [r9], 4
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000166b
lea r14, [rsp + 0x30]
mov r15d, dword [r14]
mov rcx, r15
call fcn.14000af24
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14000c620
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
mov edx, 2
mov r8, rbx
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000166b
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001595
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400015a7
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call fcn.14000b12c
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.14000b134
mov ebp, 1
cmp dword [rsp + 0x30], 0
je 0x140001603
add rsi, 0x48
xor r14d, r14d
lea rdi, str._.2x
mov r15, qword [sym.imp.USER32.dll_wsprintfW]
movzx r8d, byte [rbx + r14]
mov rcx, rsi
mov rdx, rdi
call r15
add rsi, 4
inc r14
mov eax, dword [rsp + 0x30]
cmp r14, rax
jb 0x1400015e5
mov rdi, rbx
mov rcx, rdi
call fcn.14000b12c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018ef0
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
dec rbx
jmp 0x14000144c
xor ebp, ebp
jmp 0x14000160e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000166b
mov dword [rsp + 0x20], 0xf0000008
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400014c8
xor ebp, ebp
jmp 0x140001606
Function at 0x140002750
Capabilities:
Get file size
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10048
call fcn.14001c9d0
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x10040], rax
xor r14d, r14d
mov dword [r8], r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400028ed
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400028d8
mov r12, qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r14d, r14d
mov rcx, rsi
xor edx, edx
call r12
mov r15d, eax
mov rcx, rbx
xor edx, edx
call r12
cmp r15d, 0xffffffff
je 0x1400028d8
cmp eax, 0xffffffff
je 0x1400028d8
mov r14d, 1
cmp r15d, eax
jne 0x1400028d8
cmp r15d, 0x8000
jae 0x140002929
and r15d, 0x7fff
je 0x1400028cc
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x8040]
lea r9, [rsp + 0x3c]
mov rcx, rsi
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r14d, r14d
test eax, eax
je 0x1400028d8
cmp dword [rsp + 0x3c], r15d
jne 0x1400028d8
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400028d8
cmp dword [rsp + 0x3c], r15d
jne 0x1400028d8
mov r8d, r15d
lea rcx, [rsp + 0x8040]
lea rdx, [rsp + 0x40]
call fcn.14000c520
mov r14d, 1
test eax, eax
jne 0x1400028d8
mov dword [rdi], 1
mov r14d, 1
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400028ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
inc rax
cmp rax, 2
jb 0x140002902
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.140018ef0
mov eax, r14d
add rsp, 0x10048
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, r15d
shr ebp, 0xf
lea r14, [rsp + 0x8040]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r12, r14
mov rdx, r14
mov r8d, 0x8000
lea r9, [rsp + 0x3c]
call r13
xor r14d, r14d
test eax, eax
je 0x1400028d8
cmp dword [rsp + 0x3c], 0x8000
jne 0x1400028d8
mov qword [rsp + 0x20], 0
mov rcx, rbx
lea rdx, [rsp + 0x40]
mov r8d, 0x8000
lea r9, [rsp + 0x3c]
call r13
test eax, eax
je 0x1400028d8
cmp dword [rsp + 0x3c], 0x8000
jne 0x1400028d8
mov r8d, 0x8000
mov r14, r12
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.14000c520
test eax, eax
jne 0x1400028d2
dec ebp
jne 0x14000293e
jmp 0x14000284a
Function at 0x1400046b0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
mov ecx, eax
call fcn.14000af24
mov rsi, rax
mov rcx, r15
xor edx, edx
mov r8d, ebp
mov r9, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000474b
lea r8, [rsp + 0x28]
mov qword [r8], rsi
lea rdx, [0x14002f9c2]
lea r9, [rsp + 0x24]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140004782
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
movzx edx, word [rcx + 0xa]
mov dword [r14], edx
movzx edx, word [rcx + 8]
mov dword [rbx], edx
movzx edx, word [rcx + 0xe]
mov dword [rdi], edx
movzx ecx, word [rcx + 0xc]
mov dword [rax], ecx
mov edi, 1
jmp 0x1400047c5
mov eax, dword [0x140038440]
mov ecx, dword [0x140036e78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400047e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038230]
lea rdx, str.Could_not_obtain_file_info_of_old_service.____lu_
jmp 0x1400047bb
mov eax, dword [0x140038440]
mov ecx, dword [0x140036e78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000482a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038230]
lea rdx, str.Could_not_query_file_version_info_of_old_service.____lu_
mov r8d, eax
call fcn.140009010
xor edi, edi
mov rcx, rsi
call fcn.14000b12c
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140018ef0
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x140038440]
call fcn.14000b2c0
cmp dword [0x140038440], 0xffffffff
jne 0x14000476c
mov qword [0x140038230], 0
lea rcx, [0x140002720]
call fcn.14000b458
lea rcx, [0x140038440]
call fcn.14000b328
jmp 0x14000476c
lea rcx, [0x140038440]
call fcn.14000b2c0
cmp dword [0x140038440], 0xffffffff
jne 0x1400047a7
mov qword [0x140038230], 0
lea rcx, [0x140002720]
call fcn.14000b458
lea rcx, [0x140038440]
call fcn.14000b328
jmp 0x1400047a7
Function at 0x140004870
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x140004953
mov rsi, rax
lea rdx, str.MozillaMaintenance
mov rcx, rax
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140004998
mov rdi, rax
lea r8, [rsp + 0x20]
mov rcx, rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140004926
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [rsp + 0x20]
mov r12, qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [rsp + 0x38]
call r15
cmp dword [rsp + 0x24], 1
je 0x140004926
mov eax, dword [rsp + 0x38]
add r14d, eax
add r14d, 0xa
cmp r14d, 0xea60
ja 0x140004926
mov rcx, rdi
mov rdx, rbx
call r12
test eax, eax
jne 0x1400048f7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
test eax, eax
jne 0x140004945
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x430
sete bl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400049db
mov eax, dword [0x140038440]
mov ecx, dword [0x140036e78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004a01
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038230]
lea rdx, str.Could_not_open_service_manager.____lu_
mov r8d, eax
call fcn.140009010
xor ebx, ebx
jmp 0x1400049e4
mov eax, dword [0x140038440]
mov ecx, dword [0x140036e78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004a42
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038230]
lea rdx, str.Could_not_open_service.____lu_
mov r8d, eax
call fcn.140009010
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140018ef0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140038440]
call fcn.14000b2c0
cmp dword [0x140038440], 0xffffffff
jne 0x140004978
mov qword [0x140038230], 0
lea rcx, [0x140002720]
call fcn.14000b458
lea rcx, [0x140038440]
call fcn.14000b328
jmp 0x140004978
lea rcx, [0x140038440]
call fcn.14000b2c0
cmp dword [0x140038440], 0xffffffff
jne 0x1400049bd
mov qword [0x140038230], 0
lea rcx, [0x140002720]
call fcn.14000b458
lea rcx, [0x140038440]
call fcn.14000b328
jmp 0x1400049bd
Function at 0x140005d80
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [rcx], 0
je 0x140005e8c
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005e03
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005e03
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005e03
mov eax, dword [0x140038440]
mov ecx, dword [0x140036e78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005ea7
lea rcx, [0x140038230]
lea rdx, str.Could_not_delete_service_updater_path:__ls.
mov r8, rsi
call fcn.140009010
lea rdi, [rsp + 0x20]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.14000c620
lea r8, str.updater.ini
mov rcx, rdi
mov rdx, rsi
call fcn.140009740
test eax, eax
je 0x140005e8c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005e8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005e8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005e8c
mov eax, dword [0x140038440]
mov ecx, dword [0x140036e78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005ee8
lea rcx, [0x140038230]
lea rdx, str.Could_not_delete_service_updater_INI_path:__ls.
lea r8, [rsp + 0x20]
call fcn.140009010
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140018ef0
nop
add rsp, 0x238
pop rdi
pop rsi
ret
lea rcx, [0x140038440]
call fcn.14000b2c0
cmp dword [0x140038440], 0xffffffff
jne 0x140005ded
mov qword [0x140038230], 0
lea rcx, [0x140002720]
call fcn.14000b458
lea rcx, [0x140038440]
call fcn.14000b328
jmp 0x140005ded
lea rcx, [0x140038440]
call fcn.14000b2c0
cmp dword [0x140038440], 0xffffffff
jne 0x140005e74
mov qword [0x140038230], 0
lea rcx, [0x140002720]
call fcn.14000b458
lea rcx, [0x140038440]
call fcn.14000b328
jmp 0x140005e74
Function at 0x140009010
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx], 0
je 0x14000909f
mov rdi, rdx
mov rsi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9, qword [rcx]
lea rcx, str._Warning:
mov edx, 0xd
mov r8d, 1
call fcn.140013d08
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsi]
call fcn.140001080
mov rcx, qword [rax]
mov qword [rsp + 0x20], r14
mov rdx, rbx
mov r8, rdi
xor r9d, r9d
call fcn.14000cf2c
mov r9, qword [rsi]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140013d08
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140018ef0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400097a0
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140027010]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1400097f6
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14000aff8
cmp rax, 0x105
jb 0x14000980d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140018ef0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.14000b134
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.140026480
test eax, eax
je 0x1400097f6
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000985a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400097f6
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.140026480
test eax, eax
je 0x1400097f6
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000988f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400097f6
mov esi, 1
jmp 0x1400097f6
Function at 0x140009fa0
Capabilities:
Query service status

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
xor edx, edx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x14000a0a0
mov rsi, rax
mov rcx, rax
mov rdx, rdi
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14000a0c6
mov rdi, rax
mov dword [rsp + 0x3c], 0xcf
imul ebp, ebx, 0x3e8
test ebp, ebp
je 0x14000a0f0
xor r14d, r14d
lea r15, [rsp + 0x34]
lea rbx, [rsp + 0x38]
mov r12, qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r15
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x24
call r12
test eax, eax
je 0x14000a055
cmp dword [rsp + 0x3c], 1
jne 0x14000a086
jmp 0x14000a111
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jle 0x14000a072
lea ecx, [rax - 0x425]
cmp ecx, 2
jb 0x14000a086
jmp 0x14000a162
cmp eax, 0x79
jle 0x14000a118
cmp eax, 0x41c
jne 0x14000a143
mov ecx, 0x32
call r13
add r14d, 0x32
cmp r14d, ebp
jb 0x14000a02f
mov ebx, dword [rsp + 0x3c]
jmp 0x14000a180
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x429
sete cl
xor ecx, 0xff
cmp eax, 5
mov ebx, 0xfd
cmovne ebx, ecx
jmp 0x14000a193
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x14000a0fa
cmp edi, 5
je 0x14000a12e
cmp edi, 6
jne 0x14000a13c
mov ebx, 0xec
jmp 0x14000a193
mov ebx, 0xcf
jmp 0x14000a180
cmp edi, 0x7b
je 0x14000a135
cmp edi, 0x424
jne 0x14000a13c
mov ebx, 0xee
jmp 0x14000a193
mov ebx, 1
jmp 0x14000a180
cmp eax, 5
je 0x14000a154
cmp eax, 6
je 0x14000a15b
cmp eax, 0x57
jne 0x14000a170
mov ebx, 0xdc
jmp 0x14000a17c
mov ebx, 0xeb
jmp 0x14000a193
mov ebx, 0xed
jmp 0x14000a193
mov ebx, 0xef
jmp 0x14000a193
cmp eax, 0x7a
je 0x14000a177
cmp eax, 0x7c
jne 0x14000a170
mov ebx, 0xdd
jmp 0x14000a17c
mov ebx, 0xda
jmp 0x14000a17c
mov ebx, 0xd9
jmp 0x14000a17c
cmp eax, 0x45b
jne 0x14000a170
mov ebx, 0xde
jmp 0x14000a17c
mov ebx, 0xdf
jmp 0x14000a17c
mov ebx, 0xdb
mov dword [rsp + 0x3c], ebx
mov r14, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call r14
mov rcx, rsi
call r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140018ef0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000a1c0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x468
mov esi, edx
mov rbx, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea r14, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000c620
mov rcx, r14
call fcn.1400097a0
test eax, eax
je 0x14000a236
xor edi, edi
lea r14, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000c620
lea rdx, str..status
mov rcx, rbx
mov r8, r14
call fcn.1400098a0
test eax, eax
jne 0x14000a255
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140018ef0
mov eax, edi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call fcn.140026480
test eax, eax
je 0x14000a236
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14000a236
mov rbx, rax
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, esi
call fcn.140026410
mov rcx, rdi
call fcn.140014650
mov rsi, rax
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne al
cmp dword [r14], esi
sete cl
and cl, al
movzx edi, cl
jmp 0x14000a236

Function at 0x14000a310
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, 0x102
test edx, edx
je 0x14000a3ef
mov edi, edx
mov rbx, rcx
xor r13d, r13d
lea r14, [rsp + 0x54]
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
lea r15, [rsp + 0x28]
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14000a3ac
mov r12, rax
mov dword [rsp + 0x28], 0x238
mov rcx, rax
mov rdx, r15
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000a3b6
mov rcx, rbx
mov rdx, r14
call fcn.140012670
test eax, eax
je 0x14000a3c0
mov rcx, r12
mov rdx, r15
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000a387
mov ebp, 0x490
jmp 0x14000a3c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x14000a3cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x14000a3c2
xor ebp, ebp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x490
je 0x14000a3ed
mov ecx, 0x3e8
call rsi
inc r13d
cmp r13d, edi
jne 0x14000a35b
mov esi, 0x102
jmp 0x14000a3ef
xor esi, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140018ef0
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000a490
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.14000c620
mov rcx, rdi
call fcn.14000aff8
cmp rax, 0x104
ja 0x14000a50d
lea rbx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
mov rdx, rdi
call fcn.14000b134
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [rsi], ecx
mov ebx, 1
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140018ef0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400102ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400103dc
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140010443
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010443
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010443
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010443
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010443
cmp dword [rcx + 0x84], 0xe
jbe 0x140010443
cmp dword [rcx + 0xf8], 0
je 0x140010443
mov ecx, ebx
call fcn.140010328
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14001055c
cmp dword [rbp + 0x20], 0
je 0x140010490
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140010384
int3

Function at 0x140012d20
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012d40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140010ee0
or eax, 0xffffffff
jmp 0x140012d42
xor eax, eax
add rsp, 0x28
ret
Function at 0x1406f0c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x6f0c70
movabs r10, 0x6f0c74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x1406f0c66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x1406f0c50
lea rax, [r9 + r11]
jmp rax
Function at 0x140001e8d
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14005e6a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14005e6c8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14005e712
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14005e6bd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret