joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a410
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, rdx
xor edi, edi
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x14000a47b
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 4], eax
lea rax, [0x1400296c8]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000a4c2
mov qword [rbx + 0x20], 0xffffffffffffffff
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 4], eax
lea rax, [0x1400296d8]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov eax, eax
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rbx + 0x20], rax
lea r8d, [r9 + 2]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x14000a51c
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 4], eax
lea rax, [0x1400296e8]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14000a576
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x28]
mov dword [rbx + 4], eax
lea rax, [0x140029700]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov byte [rbx], dil
mov rax, rbx
mov dword [rbx + 4], edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a6b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a6f5
xor al, al
jmp 0x14000a742
cmp word [rbx], 0
je 0x14000a70d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a700
cmp word [rsp + 0x30], 0
je 0x14000a73b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a763
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a720
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b7c0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fe34
int3
Function at 0x14000ae80
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x140033de0]
test rcx, rcx
je 0x14000aebb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000aeae
mov rcx, qword [0x140033de0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140033de0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140033e38], 0
je 0x14000afae
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400298f0]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140033e40]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af8f
test al, 0x10
je 0x14000af8f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000af35
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c0b4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c0fe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c0fe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c0fe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c0fe
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c0fe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c100
xor al, al
add rsp, 0x28
ret

Function at 0x14000fe28
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fc93
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fc93
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fc93
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fc93
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fc93
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fc93
cmp dword [rcx + 0xf8], 0
je 0x14000fc93
mov ecx, ebx
call fcn.14000fd44
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fb20
nop
cmp dword [rbp + 0x20], 0
je 0x14000fce1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fcec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fc24
Function at 0x140019808
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001988f
mov rsi, rbx
cmp word [rax], bp
je 0x14001984e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019838
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019834
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016ee4
mov rdi, rax
test rax, rax
je 0x14001987c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400204c0
mov rbp, rdi
xor ecx, ecx
call fcn.140015ff4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b9fc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001ba12
mov al, 1
jmp 0x14001ba72
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001ba23
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001ba70
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019b50
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001ba70
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001ba70
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001ba70
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001ba72
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001fd30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001fd58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001fd58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400151c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rsi
mov dword [rsp - 0x10], 0x2a6d118b
nop
sub rsp, 8
jmp 0x1400152c6
mov dword [rsp - 0x28], ebp
lea ebx, [r8 + 1]
movsx r9d, byte [rax + rdx]
mov edx, 0x6d374a52
jmp 0x14001529b
and ecx, 0xedb88320
xor ecx, eax
call fcn.140015a20
mov r12, r12
shr edi, 5
shr edi, 2
jmp 0x1400152b2
mov edi, ecx
cmp r8d, 1
mov rsp, rsp
jae 0x1400152e7
mov eax, r8d
mov qword [rsp + 0x30], rbx
jmp 0x1400151d7
add rsp, 8
mov rdi, qword [rsp - 8]
jmp fcn.1400151c0
movzx eax, r9b
mov ecx, eax
shr eax, 1
and ecx, 1
xchg r12, r12
neg ecx
jmp 0x1400151ee
add edx, 0x31e90e7b
xor edx, 0x2e7cb916
add edx, 0x60bd663
jmp 0x14001525f
xor edx, 0x552b1bd1
xor r9d, ecx
xchg rsi, rsi
jmp 0x140015233
mov dword [rsp - 0x20], esi
xchg rdx, rbx
mov rdx, qword [rsp + 0x30]
xchg rdx, rbx
mov rsi, qword [rsp + 0x38]
jmp 0x140015289
mov dword [rsp - 0x34], 0x5333f626
sub rsp, 0xffffffffffffffe0
nop
jmp 0x140015225
sub edx, 0x66a25981
xor edx, 0x11b468a9
xor edx, 0x385a7678
jmp 0x140015248
shr edi, 1
mov r8d, ebx
xchg r11, r11
xor eax, edi
mov rdx, rsi
mov ecx, eax
jmp 0x140015270
mov qword [rsp], rdi
nop
sub rsp, 0x4a55c4ed
add rsp, 0x4a55c4cd
xchg rdx, rsi
mov rdx, rsi
xchg rsi, rdx
jmp 0x140015209
xchg rdi, rsi
mov rdi, qword [rsp + 0x38]
xchg rdi, rsi
mov eax, edi
neg rsp
add rsp, 0xffffffffffffffe0
neg rsp
jmp 0x140015303
nop
mov rdi, qword [rsp]
add rsp, 8
jmp 0x140015311
ret
Function at 0x14008bc50
Capabilities:
Enumerate processes

Disassembly:
xchg rbx, rdx
mov qword [rsp + 0x10], rdx
xchg rbx, rdx
nop
sub rsp, 8
mov qword [rsp], rsi
jmp 0x14008bce6
xor edx, edx
lea ecx, [rdx + 2]
mov dword [rsp - 0x1c], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xchg r9, rax
mov rsi, r9
jmp 0x14008be1f
nop
movabs rax, 0xffffffff1071ff33
sub rax, 0xc3d0187
add rax, 0x79440673
jmp 0x14008bd3a
mov qword [rsp + 0x170], rsi
xchg rdi, rsi
mov r8d, 0x2015158
add r8d, 0x57423d60
xor r8d, 0xd93efd2
xor r8d, 0x3c4d9d05
jmp 0x14008bd5b
inc rax
xchg rcx, rcx
cmp byte [rcx + rax], 0
jne 0x14008bcc8
cmp qword [rbx + 0x18], 0x10
mov dword [rsp - 0x1c], ebx
jmp 0x14008be04
add rsp, 0xf932763
sub rsp, 0xf9328c3
mov rax, qword [0x1402557f0]
xor rax, rsp
mov dword [rsp - 0x18], ecx
mov qword [rsp + 0x150], rax
mov rbx, rdx
jmp 0x14008bc69
xchg rcx, rcx
mov dword [rsp + 0x20], 0x20caf045
sub dword [rsp + 0x20], 0xd85e7be
add dword [rsp + 0x20], 0x3c4a2a77
xor dword [rsp + 0x20], 0x4a53d405
jmp 0x14008be31
xor rax, 0x16fd1f2a
sub rax, 0x448eeeb7
add rax, 0x7fffffff
add rax, 0x590ad382
nop dword [rax]
jmp 0x14008bcc8
sub r8d, 0x1bbea1cb
xor r8d, 0xc69184e
sub r8d, 0x40b641be
lea rcx, [rsp + 0x24]
call fcn.1400eb440
lea rdx, [rsp + 0x20]
jmp 0x14008bd12
mov dword [rsp - 0x38], 0x4bed1216
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14008be98
nop dword [rax]
mov dword [rsp - 0x30], esi
lea rcx, [rsp + 0x4c]
jmp 0x14008bc81
mov dword [rsp - 0x44], esi
test eax, eax
jne 0x14008be63
mov cl, 0x33
add cl, 0x17
xor cl, 0x72
jmp 0x14008bdc3
add cl, 0xc
xor cl, 0x76
sub cl, 0x31
jmp 0x14008be65
je 0x14008bed2
xor edx, edx
xchg rdi, rsi
jmp 0x14008bc9d
mov rcx, qword [rbx]
cmp r8, rax
mov dword [rsp - 0x2c], 0x41047043
jne 0x14008be63
lea rdx, [rsp + 0x4c]
call fcn.1400eb990
jmp 0x14008bdaa
xchg r14, rbx
mov rcx, r14
xchg rbx, r14
mov r8, qword [rbx + 0x10]
xchg r9, r9
jb 0x14008bde4
jmp 0x14008bde1
xchg r9, rax
test rax, rax
mov dword [rsp - 0x18], 0x6d6ffcdb
jmp 0x14008bdd1
add dword [rsp + 0x20], 0x66cea66a
sub dword [rsp + 0x20], 0x4c86bbf0
xor dword [rsp + 0x20], 0x302393ab
xor dword [rsp + 0x20], 0x26070f15
sub dword [rsp + 0x20], 0x36004c9b
mov rcx, rsi
xor edi, edi
jmp 0x14008bd84
xor cl, cl
test cl, cl
xchg r12, r12
lea eax, [rdi + 1]
jmp 0x14008beed
mov rsi, qword [rsp]
add rsp, 8
ret
cmove eax, edi
xchg rdx, rdx
mov edi, eax
jmp 0x14008be88
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14008bda0
xchg rdx, rdx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x14008bec7
mov r10, r10
mov rbx, qword [rsp + 0x178]
add rsp, 0x7859d44d
sub rsp, 0x7859d2ed
nop
jmp 0x14008be72
mov rcx, rcx
mov rdi, qword [rsp + 0x170]
xchg r12, rcx
mov r12, qword [rsp + 0x150]
xchg r12, rcx
xor rcx, rsp
call fcn.1400e8cf0
jmp 0x14008bea8
lea rdx, [rsp + 0x20]
xchg r13, rsi
mov rcx, r13
xchg rsi, r13
jmp 0x14008be7b
Function at 0x1400a6240
Capabilities:
Create thread

Disassembly:
push rbx
neg rsp
sub rsp, 0xffffffffffffffb0
neg rsp
mov rax, qword [0x1402557f0]
jmp 0x1400a63d9
lea rcx, [0x1400a54e0]
mov dword [rsp - 0x34], edx
mov qword [rax + 8], rcx
xchg r13, rax
jmp 0x1400a63fd
lea r8, [0x1400a50a0]
xchg rsi, rsi
xor edx, edx
xor ecx, ecx
call fcn.1400f65a8
jmp 0x1400a6362
add dword [rsp + 0x20], 0x1e655fd1
sub dword [rsp + 0x20], 0x3db4246b
xor dword [rsp + 0x20], 0xaa68c73
xchg r9, rax
mov rax, r9
xchg r9, rax
jmp 0x1400a626e
movaps xmmword [r8 + 0x30], xmm0
xchg rsp, r8
lea rcx, [rsp + 0x30]
call fcn.1400e7e94
test eax, eax
jmp 0x1400a6383
jne 0x1400a6417
xchg r12, rsp
movaps xmm0, xmmword [r12 + 0x30]
xchg r12, rsp
xchg rdi, rbx
movups xmmword [rdi + 0x1b0], xmm0
jmp 0x1400a63bd
call fcn.1400e8cf0
nop
add rsp, 0x1a3949cc
sub rsp, 0x1a39497c
jmp 0x1400a63f2
mov ecx, 0x725902fc
sub ecx, 0x1672b6e2
xor ecx, 0x1bee8175
sub ecx, 0x1a6cd93
add ecx, 0x29f294b9
sub ecx, 0x68549485
call fcn.1400e8b94
jmp 0x1400a63a3
xchg rcx, r15
mov r15, qword [rsp + 0x48]
xchg r15, rcx
xor rcx, rsp
mov dword [rsp - 0x38], 0x2ced4c5a
jmp 0x1400a62e4
mov dword [rsp + 0x20], 0x5f3f1fa0
add dword [rsp + 0x20], 0xadd6a85
sub dword [rsp + 0x20], 0x40273918
jmp 0x1400a6286
xchg rcx, rax
mov qword [rsp + 0x30], rcx
xchg rcx, rax
test rax, rax
mov rbp, rbp
je 0x1400a6420
cmp dword [rbx + 0x1b8], 0
jmp 0x1400a62c3
mov dword [rsp - 0x30], ebp
jne 0x1400a6498
xorps xmm0, xmm0
xchg rbx, r8
movups xmmword [r8 + 0x1b0], xmm0
xchg rbx, r8
jmp 0x1400a632a
mov r10, r10
test rax, rax
je 0x1400a6267
xchg r8, rbx
mov qword [rax], r8
xchg rbx, r8
jmp 0x1400a6258
xchg rdi, rbx
cmp dword [rbx + 0x1b8], 0
je 0x1400a6435
mov dword [rsp - 0x34], esp
xchg r8, rsp
jmp 0x1400a62aa
xchg r8, r8
xor rax, rsp
mov qword [rsp + 0x48], rax
xchg rcx, rdi
mov rbx, rdi
xchg rdi, rcx
jmp 0x1400a62fd
nop
add rsp, 8
mov rbx, qword [rsp - 8]
ret
mov qword [rsp + 0x40], r13
xchg r13, rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp - 0xc], ebx
jmp 0x1400a6345
call fcn.1400f6008
mov rdi, rdi
nop
mov dword [rsp + 0x38], 0x442d2fc3
xor dword [rsp + 0x38], 0x44ba6177
jmp 0x1400a64c1
mov ecx, 0x3428577a
xor ecx, 0x6ce9a8bb
add ecx, 0x1766f406
sub ecx, 0x3b66d7f7
sub ecx, 0x2feb2e98
xor ecx, 0x2f7b2f83
jmp 0x1400a645d
add ecx, 0x2a7d43a
sub ecx, 0x2e5596f4
call fcn.1400e8230
jmp 0x1400a6493
add ecx, 0x2fd4b1cc
xor ecx, 0x3bed8c5b
sub ecx, 0x5fb53c4e
call fcn.1400e8230
mov rdi, rdi
nop
jmp 0x1400a6435
mov dword [rsp - 0x2c], esp
int3
mov ecx, eax
call fcn.1400e81f4
xchg r12, r12
int3
xor dword [rsp + 0x38], 0x5c02913
mov ecx, 0x3ec3fcd2
xor ecx, 0x990c7b9
sub ecx, 0x2cf3d28
jmp 0x1400a6473
add dword [rsp + 0x38], 0x6d894799
sub dword [rsp + 0x38], 0x5ccad775
sub dword [rsp + 0x38], 0xb9595c5
jmp 0x1400a64a3
Function at 0x1400addc0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r9b, reloc.WS2_32.dll_select
test r8d, r8d
je 0x1400adde4
nop word [rax + rax]
xor byte [rdx], r9b
lea ecx, [rax + 0xb]
add r9b, cl
lea rdx, [rdx + 1]
inc eax
cmp eax, r8d
jb 0x1400addd0
ret

Function at 0x1400ae510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
jb 0x1400ae51e
mov rdx, qword [rdx]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x1400aec70
Capabilities:
Modify service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor dil, dil
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x1400aed2f
mov r8d, 0xf003f
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x1400aed2f
mov qword [rsp + 0x90], rbp
lea r8, [rsp + 0x60]
mov ebp, 1
mov rcx, rax
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ControlService]
xor eax, eax
lea r8d, [rbp + 3]
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov r9d, edx
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp eax, ebp
movzx edi, dil
cmove edi, ebp
mov rbp, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r11, [rsp + 0x80]
movzx eax, dil
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400af430
Capabilities:
Get disk information
Get storage device properties

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movsx ebx, cl
lea rcx, [rax + 8]
mov byte [rax + 8], bl
mov word [rax + 9], 0x5c3a
mov byte [rax + 0xb], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.0x1400af471.0
lea rcx, [0x140000000]
mov eax, eax
mov edx, dword [rcx + rax*4 + 0xaf580]
add rdx, rcx
jmp rdx
mov eax, 3
add rsp, 0x90
pop rbx
ret
mov eax, dword [0x14011d7d0]
lea rcx, [rsp + 0x50]
movsd xmm0, qword [str..X:]
xor r9d, r9d
mov dword [rsp + 0x58], eax
xor edx, edx
movzx eax, word [0x14011d7d4]
mov qword [rsp + 0xb0], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
movsd qword [rsp + 0x50], xmm0
lea r8d, [rdi + 3]
mov word [rsp + 0x5c], ax
mov word [rsp + 0x58], bx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rdi
lea r9d, [rdi + 0xc]
mov rbx, rax
mov qword [rsp + 0x44], rdi
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x28
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov rcx, rbx
cmovne edi, dword [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 7
mov rdi, qword [rsp + 0xb0]
je case.0x1400af471.2
mov eax, 2
add rsp, 0x90
pop rbx
ret
mov eax, 1
add rsp, 0x90
pop rbx
ret
mov eax, 4
add rsp, 0x90
pop rbx
ret
mov eax, 5
add rsp, 0x90
pop rbx
ret
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x1400bbf50
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x20
mov r11, rcx
movzx r10d, r8b
movabs rsi, 0x100000001b3
mov ebx, r9d
mov eax, r8d
movabs rbp, 0xcbf29ce484222325
xor r10, rbp
shr eax, 8
imul r10, rsi
movzx r9d, al
mov rdi, rdx
mov rdx, qword [r11 + 0x100e8]
xor r10, r9
imul r10, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor r10, rcx
mov eax, r8d
mov rcx, qword [r11 + 0x10110]
imul r10, rsi
shr rax, 0x18
xor r10, rax
imul r10, rsi
and rcx, r10
shl rcx, 4
add rcx, qword [r11 + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400bc0c0
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x1400bc005
cmp rax, rcx
je 0x1400bc0c0
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x1400bbff2
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400bc0c0
movzx ecx, byte [rsp + 0x49]
mov r11, qword [rax + 0x30]
mov r9, qword [rax + 0x20]
movzx r8d, bl
xor r8, rbp
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4a]
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4b]
imul r8, rsi
xor r8, rcx
imul r8, rsi
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rdx, qword [r11 + r10*8 + 8]
mov rcx, rdx
cmp rdx, r9
je 0x1400bc0c0
mov rax, qword [r11 + r10*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400bc07e
nop dword [rax]
cmp rcx, rax
je 0x1400bc0c0
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x1400bc070
test rcx, rcx
cmove rcx, r9
cmp rcx, r9
je 0x1400bc0c0
add r8, r8
mov rax, qword [r11 + r8*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400bc0b3
cmp rdx, rax
je 0x1400bc0b1
mov rdx, qword [rdx + 8]
cmp ebx, dword [rdx + 0x10]
jne 0x1400bc096
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400bc0c5
xor edx, edx
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400bc0c5
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140020520
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bd510
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x50
mov rsi, rcx
movzx r10d, dl
movabs r11, 0x100000001b3
mov eax, edx
shr eax, 8
movabs rdi, 0xcbf29ce484222325
xor r10, rdi
mov rbx, r9
imul r10, r11
mov r9d, r8d
movzx r8d, al
mov eax, edx
xor r10, r8
shr eax, 0x10
mov r8, qword [rsi + 0x100e8]
imul r10, r11
movzx ecx, al
xor r10, rcx
mov eax, edx
mov rcx, qword [rsi + 0x10110]
imul r10, r11
shr rax, 0x18
xor r10, rax
imul r10, r11
and rcx, r10
shl rcx, 4
add rcx, qword [rsi + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x1400bd687
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x1400bd5c2
nop dword [rax]
cmp rax, rcx
je 0x1400bd687
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400bd5b0
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x1400bd687
movzx ecx, byte [rsp + 0x71]
movzx r8d, r9b
xor r8, rdi
mov rdi, qword [rax + 0x30]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x72]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x73]
imul r8, r11
xor r8, rcx
imul r8, r11
mov r11, qword [rax + 0x20]
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rcx, qword [rdi + r10*8 + 8]
mov rdx, rcx
cmp rcx, r11
jne 0x1400bd62e
add rax, 0x18
lea rdx, [rsp + 0x20]
mov rcx, rax
jmp 0x1400bd6a9
mov r10, qword [rdi + r10*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400bd647
cmp rdx, r10
je 0x1400bd620
mov rdx, qword [rdx + 8]
cmp r9d, dword [rdx + 0x10]
jne 0x1400bd638
add rax, 0x18
test rdx, rdx
cmove rdx, r11
cmp rdx, r11
je 0x1400bd624
add r8, r8
mov rax, qword [rdi + r8*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400bd67e
cmp rcx, rax
je 0x1400bd67c
mov rcx, qword [rcx + 8]
cmp r9d, dword [rcx + 0x10]
jne 0x1400bd664
test rcx, rcx
cmove rcx, r11
jmp 0x1400bd6b6
xor ecx, ecx
test rcx, rcx
cmove rcx, r11
jmp 0x1400bd6b6
lea rcx, [rsi + 0x100e0]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.1400b7810
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x18
lea r8, [rsp + 0x70]
call fcn.1400b75c0
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, rbx
je 0x1400bd6d5
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x1400bd6d0
mov rdx, qword [rbx]
call fcn.140019590
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140020520
mov r8d, dword [rsp + 0x70]
mov r9, rax
mov edx, dword [rsp + 0x68]
mov rcx, rsi
call fcn.1400bc0f0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret