joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a6050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov r9, qword [r8 + 0x20]
mov rdi, r8
add r8, 0x10
mov rsi, rdx
mov r10, rcx
cmp qword [r8 + 0x18], 0x10
jb 0x1400a607f
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r9, r9
je 0x1400a60b4
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x1400a60a0
mov r8, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], rdi
jne 0x1400a60f1
cmp qword [rcx], rdi
jne 0x1400a60e7
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rcx + r8 + 8], rax
jmp 0x1400a60fc
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1400a60fc
cmp qword [rcx], rdi
jne 0x1400a6101
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r10 + 0x10]
call fcn.1400091f0
mov rcx, rdi
call fcn.1400dbae0
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a6ba0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov r15, r9
mov r14d, r8d
mov rbx, rdx
mov r13, rcx
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x408]
mov rsi, qword [rsp + 0x410]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400a6df4
lea rdx, [rsp + 0x290]
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
mov byte [rdx + rbx], cl
lea rbx, [rbx + 1]
test cl, cl
jne 0x1400a6c30
mov edx, 0x5c
lea rcx, [rsp + 0x290]
call fcn.1401421b8
test rax, rax
je 0x1400a6c59
mov byte [rax + 1], 0
xor eax, eax
mov edi, dword [rsp + 0x418]
test byte [rsp + 0x40], 0x10
jne 0x1400a6dab
inc edi
mov dword [rsp + 0x418], edi
test r15, r15
je 0x1400a6c97
mov r8d, dword [rsp + 0x420]
mov edx, edi
mov rcx, qword [rsp + 0x28]
call r15
test eax, eax
je 0x1400a6dd8
xor eax, eax
mov ebx, 1
mov dword [rsp + 0x20], ebx
cmp dword [r13 + 0x1378], 0
je 0x1400a6ccf
lea rdx, str.snapshot
lea rcx, [rsp + 0x6c]
call fcn.1400f7f00
lea rcx, [rsp + 0x6c]
cmp rcx, rax
mov eax, 0
cmove ebx, eax
mov dword [rsp + 0x20], ebx
test ebx, ebx
je 0x1400a6dab
mov dword [rsp + 0x24], eax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x180]
call fcn.140141ad0
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x290]
mov byte [rsp + rcx + 0x180], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400a6d00
lea rax, [rsp + 0x180]
dec rax
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1400a6d22
lea r8, [rsp + 0x6c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400a6d40
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x180]
call fcn.1400a7120
mov r8, rax
test rax, rax
je 0x1400a6dab
cmp r14d, 2
je 0x1400a6d88
cmp dword [rax + 0x176], r14d
je 0x1400a6d88
mov edx, 0x332
mov rcx, rax
call fcn.1401139ac
jmp 0x1400a6dab
mov rax, qword [rax + 0x32a]
add qword [rsi + 0x110], rax
lea rcx, [rsi + 0x118]
mov rdx, r8
call fcn.1400f2cc0
inc dword [rsi + 0x10c]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x40]
call fcn.140141ad0
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, 0
jne 0x1400a6c62
lea rcx, [rsi + 0x118]
mov edx, 0x124
call fcn.1400f3380
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400a6e08
test rdi, rdi
je 0x1400a6e01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov edi, dword [rsp + 0x418]
mov eax, edi
jmp 0x1400a6e13
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400a7770
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rax, rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a77df
nop dword [rax]
test byte [rsp + 0x30], 0x10
jne 0x1400a77cd
inc ebx
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400a77c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov eax, ebx
jmp 0x1400a77f1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
Function at 0x1400a8b60
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rbx, rcx
call fcn.1400a7590
nop
cmp qword [rbx + 0x358], 0
je 0x1400a8c40
cmp dword [rbx + 0x28], 0
je 0x1400a8ba2
mov rcx, rbx
call fcn.1400ac200
xor edx, edx
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov rcx, qword [rbx + 0x358]
call fcn.1400a9450
cmp dword [rbx + 0x338], 0
jne 0x1400a8bea
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov qword [rbx + 0x358], rdi
mov rcx, qword [rbx + 0x368]
test rcx, rcx
je 0x1400a8c1b
mov rax, qword [rcx]
lea edx, [rdi + 1]
call qword [rax]
mov qword [rbx + 0x368], rdi
mov eax, dword [rbx + 0x184]
cmp eax, 7
je 0x1400a8c2b
cmp eax, 0x12
jne 0x1400a8c42
test esi, esi
je 0x1400a8c37
cmp dword [rbx + 0x338], edi
jne 0x1400a8c42
mov dword [rbx + 0x24], 1
jmp 0x1400a8c42
xor edi, edi
mov rcx, qword [rbx + 0x360]
test rcx, rcx
je 0x1400a8c5f
mov edx, 0x5c
call fcn.1401139ac
mov qword [rbx + 0x360], rdi
jmp 0x1400a8c68
lea rcx, [rbx + 0x168]
xor edx, edx
mov r8d, 0x1d0
call fcn.140141ad0
mov qword [rbx + 0x358], rdi
mov dword [rbx + 0x338], edi
mov qword [rbx + 0x340], rdi
mov qword [rbx + 0x348], rdi
mov qword [rbx + 0x350], 0
mov dword [rbx + 0x20], edi
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x360], rdi
mov dword [rbx + 0x370], edi
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.1400abb30
Function at 0x1400a9450
Capabilities:
Get common file path
Timestomp file

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
cmp dword [reloc.WSOCK32.dll_accept], 0
je 0x1400a9556
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x60]
call fcn.1400f7c20
lea rcx, [rsp + 0x60]
dec rcx
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400a94b0
movsd xmm0, qword [0x1402101d8]
movsd qword [rcx], xmm0
mov eax, dword [0x1402101e0]
mov dword [rcx + 8], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a9556
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1400a954c
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x1400a9580
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov dword [rsp + 0x28], r9d
test r8d, r8d
je 0x1400a96d0
test r9d, r9d
je 0x1400a96d0
mov ecx, dword [rsp + 0x28]
call fcn.140113934
mov rdi, rax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x28]
mov rcx, rdi
cmp ebx, eax
je 0x1400a96b8
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8, rsi
lea rdx, [rsp + 0x20]
call fcn.1400e10f0
mov esi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400a96a7
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x28]
cmp dword [rsp + 0x28], 0x100
cmovbe rax, rcx
mov ebx, dword [rax]
mov ecx, ebx
call fcn.140113934
mov r14, rax
mov r8d, ebx
mov edx, 0xcd
mov rcx, rax
call fcn.140141ad0
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.1401420f0
test eax, eax
jne 0x1400a9691
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.140141ad0
lea r8, [r15 + 0x3c]
lea rdx, str.DecompressData:_Memory_Sanity_Check_Failed__file__s_n
lea rcx, [rsp + 0x50]
call fcn.1400a61e0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or esi, 0xffffffff
mov dword [rsp + 0x30], esi
mov rcx, r14
call fcn.1401139ac
test esi, esi
jne 0x1400a96a7
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
je 0x1400a96c4
mov rcx, rdi
call fcn.1401139ac
xor edi, edi
mov qword [rsp + 0x38], rdi
jmp 0x1400a96c4
mov r8, rax
mov rdx, rsi
call fcn.1401415b0
nop
jmp 0x1400a96cb
mov rax, rdi
jmp 0x1400a96d2
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140113910
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400aae10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400aaeda
test r8, r8
je 0x1400aaeda
cmp qword [rcx + 0x358], 0
je 0x1400aaeda
xor edi, edi
call fcn.1400a7590
nop
mov rcx, rsi
call fcn.140113934
mov r15, rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, esi
mov rdx, rax
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400aaeb8
mov eax, dword [rsp + 0x68]
cmp rax, rsi
jne 0x1400aaeb8
mov dword [rsp + 0x20], 1
mov r9, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1400aac20
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rcx, r15
call fcn.1401139ac
nop
jmp 0x1400aaecd
mov rcx, rbx
call fcn.1400abb30
mov rax, rdi
jmp 0x1400aaedc
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1400aaef0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400aaf1c
xor eax, eax
jmp 0x1400aaf9b
cmp dword [rcx + 0x34], 0
jne 0x1400aaf28
cmp dword [rdx + 0x54], 0x44
jb 0x1400aaf18
cmp dword [rdx + 0x48], 0
jl 0x1400aaf18
xor edx, edx
mov rcx, qword [rcx + 0x358]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [rdi + 0x50], eax
ja 0x1400aaf18
cmp dword [rdi + 0x4c], eax
ja 0x1400aaf18
xor esi, esi
mov rcx, rbx
call fcn.1400a7590
nop
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rdi + 0x4c]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400aaf84
mov r8d, dword [rdi + 0x54]
mov edx, dword [rdi + 0x50]
mov rcx, rbx
call fcn.1400aae10
mov rsi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400aaf90
mov rcx, rbx
call fcn.1400abb30
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ab040
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x30], rdi
call fcn.1400a7590
nop
cmp dword [rbx + 0x180], edi
je 0x1400ab10b
mov dword [rsp + 0x58], edi
mov ecx, dword [rbx + 0x17c]
call fcn.140113934
mov rsi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx + 0x174]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, dword [rbx + 0x17c]
mov rdx, rsi
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ab102
mov r8d, dword [rbx + 0x17c]
cmp dword [rsp + 0x58], r8d
jne 0x1400ab102
mov r9d, dword [rbx + 0x180]
mov rdx, rsi
mov rcx, rbx
call fcn.1400a9580
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400ab102
mov ecx, dword [rbx + 0x178]
mov dword [rbx + 0x350], ecx
mov rcx, rsi
call fcn.1401139ac
nop
jmp 0x1400ab117
mov rcx, rbx
call fcn.1400abb30
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ab5b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x30], rdi
call fcn.1400a7590
nop
cmp dword [rbx + 0x180], edi
je 0x1400ab69e
mov dword [rsp + 0x68], edi
mov ecx, dword [rbx + 0x17c]
call fcn.140113934
mov rsi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx + 0x174]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, dword [rbx + 0x17c]
mov rdx, rsi
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ab695
mov r8d, dword [rbx + 0x17c]
cmp dword [rsp + 0x68], r8d
jne 0x1400ab695
mov r9d, dword [rbx + 0x180]
mov rdx, rsi
mov rcx, rbx
call fcn.1400a9580
mov r14, rax
test rax, rax
je 0x1400ab695
mov r8d, dword [rbx + 0x178]
mov rdx, rsi
mov ecx, dword [rbx + 0x170]
call fcn.1400ac5b0
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400ab68d
mov ecx, dword [rbx + 0x178]
mov dword [rbx + 0x350], ecx
mov rcx, r14
call fcn.1401139ac
mov rcx, rsi
call fcn.1401139ac
nop
jmp 0x1400ab6aa
mov rcx, rbx
call fcn.1400abb30
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400abc10
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
cmp dword [rcx + 0x20], esi
je 0x1400abd85
mov dword [rcx + 0x20], esi
mov ebx, esi
mov qword [rsp + 0x68], rbx
cmp rbx, 3
jae 0x1400abc5d
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.1400a75b0
inc rbx
jmp 0x1400abc40
lea rcx, [rdi + 0x12e0]
mov edx, 1
call fcn.1400f2f30
lea rcx, [rdi + 0x1348]
mov edx, 1
call fcn.1400f2f30
mov rdx, qword [rdi + 0x1308]
test rdx, rdx
je 0x1400abd0f
lea rax, [0x140311af8]
cmp rax, rdx
je 0x1400abd0f
lea rcx, [rsp + 0x30]
call fcn.1400f2a90
nop
lea rcx, [rsp + 0x30]
call fcn.1400f31e0
mov rbx, rax
test rax, rax
je 0x1400abccf
mov rcx, rax
call fcn.1400a6930
mov edx, 0x18
mov rcx, rbx
call fcn.1401139ac
jmp 0x1400abca6
xor edx, edx
mov rcx, qword [rdi + 0x1308]
call fcn.1400f2f30
mov rbx, qword [rdi + 0x1308]
test rbx, rbx
je 0x1400abcfe
mov rcx, rbx
call fcn.1400f2ab0
mov edx, 0x28
mov rcx, rbx
call fcn.1401139ac
mov qword [rdi + 0x1308], rsi
lea rcx, [rsp + 0x30]
call fcn.1400f2b30
cmp dword [rdi + 0x24], 0
je 0x1400abd4c
mov rcx, qword [rdi + 0x12d8]
test rcx, rcx
je 0x1400abd4c
mov dword [rdi + 0x24], esi
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400abd45
xor edx, edx
mov rcx, qword [rdi + 0x12d8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rdi + 0x12d8], rsi
mov rbx, qword [rdi + 0x1380]
test rbx, rbx
je 0x1400abd74
mov rcx, rbx
call fcn.1400a6930
mov edx, 0x18
mov rcx, rbx
call fcn.1401139ac
mov qword [rdi + 0x1380], rsi
mov rcx, rdi
call fcn.1400abea0
mov esi, 1
mov dword [rsp + 0x20], esi
mov eax, esi
jmp 0x1400abd8d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400abf10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, r9
mov r14d, r8d
mov r15, rdx
mov rbx, rcx
call fcn.1400a7590
nop
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8d, r14d
mov rdx, r15
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400abfa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x1400abfa0
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8d, r14d
mov rdx, r15
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400abfa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
jmp 0x1400abfb2
mov rcx, rbx
call fcn.1400abb30
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400ac620
Capabilities:
Read file on windows

Disassembly:
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov r14, r8
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
test rcx, rcx
je 0x1400ac707
test rdx, rdx
je 0x1400ac707
test r8, r8
je 0x1400ac707
mov ecx, esi
lea r12, [0x1402102f8]
mov dword [rsp + 0x34], ecx
cmp ecx, 1
jae 0x1400ac705
mov ebx, ecx
shl rbx, 5
mov eax, dword [rbx + r12]
cmp dword [rdx + 8], eax
jne 0x1400ac6fe
mov ecx, dword [rbx + r12 + 4]
call fcn.140113934
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov r8d, dword [rbx + r12 + 4]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1400ac6f4
mov eax, dword [rsp + 0x78]
cmp dword [rbx + r12 + 4], eax
jne 0x1400ac6f4
mov rcx, rdi
call qword [rbx + r12 + reloc.WSOCK32.dll_htonl]
test eax, eax
je 0x1400ac6f4
mov rdx, r14
mov rcx, rdi
call qword [rbx + r12 + reloc.WS2_32.dll_recv]
mov esi, eax
mov dword [rsp + 0x30], eax
mov rcx, rdi
call fcn.1401139ac
jmp 0x1400ac705
inc ecx
jmp 0x1400ac672
jmp 0x1400ac70f
xor eax, eax
jmp 0x1400ac711
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
ret

Function at 0x1400af6d0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov esi, r9d
mov r14d, r8d
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rax - 0x30], r12
lea ecx, [r12 + 0x34]
call fcn.140113934
mov rbx, rax
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov dword [rbx + 0x30], eax
mov dword [rbx], 0x3500
mov dword [rbx + 4], reloc.WSOCK32.dll_gethostbyname
movups xmm0, xmmword [r15 + 0x66c]
movups xmmword [rbx + 0xc], xmm0
mov dword [rbx + 0x1c], edi
mov eax, dword [rsp + 0xa8]
mov dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0xa0]
mov dword [rbx + 0x30], eax
test rdi, rdi
je 0x1400af778
lea rcx, [rsp + 0x50]
call fcn.1401541c8
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], r14d
mov dword [rbx + 0x28], esi
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x40], r12d
lea r9, [rbx + 8]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
lea rcx, [0x140211378]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
nop
mov rax, rbx
jmp 0x1400af7c8
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400b0170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x30
sub r8, rdx
mov r14, rdx
sar r8, 2
test r8, r8
je 0x1400b0371
mov r9, qword [rcx + 8]
sub r9, qword [rcx]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], rbp
sar r9, 2
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], rdi
cmp r8, 0x26f
jb 0x1400b01bd
mov eax, ntohs
jmp 0x1400b01eb
cmp r8, 0x44
jb 0x1400b01ca
mov eax, 7
jmp 0x1400b01eb
cmp r8, 0x27
jb 0x1400b01d7
mov eax, 5
jmp 0x1400b01eb
cmp r8, 7
jb 0x1400b01e4
mov eax, 3
jmp 0x1400b01eb
lea rax, [r8 - 1]
shr rax, 1
mov r10, r8
lea rbx, [r9 + 1]
sub r10, rax
shr r10, 1
lea rdx, [r10 + rax]
mov qword [rsp + 0x48], rdx
cmp r8, r9
jbe 0x1400b0209
mov rbx, r8
xor esi, esi
mov qword [rsp + 0x10], r12
mov qword [rsp], r15
mov eax, 0x8b8b8b8b
mov rdi, r14
mov rcx, r8
rep stosd dword [rdi], eax
test rbx, rbx
je 0x1400b02d3
mov qword [rsp + 8], r13
nop
xor edx, edx
lea rax, [rsi + r10]
div r8
mov r12d, dword [r14 + rdx*4]
lea r15, [r14 + rdx*4]
xor edx, edx
mov rax, rsi
div r8
lea r13, [r14 + rdx*4]
mov rdi, rdx
lea rax, [rsi - 1]
xor edx, edx
div r8
mov ecx, dword [r14 + rdx*4]
xor ecx, r12d
xor ecx, dword [r13]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul r11d, eax, 0x19660d
test rsi, rsi
jne 0x1400b027c
mov rax, r9
jmp 0x1400b029d
cmp rsi, r9
ja 0x1400b029a
xor edx, edx
lea rax, [rsi - 1]
div r9
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov eax, dword [rax + rdx*4]
add rax, rdi
jmp 0x1400b029d
mov rax, rdi
lea ecx, [rax + r11]
xor edx, edx
lea eax, [r12 + r11]
mov dword [r15], eax
mov rax, qword [rsp + 0x48]
add rax, rsi
inc rsi
div r8
add dword [r14 + rdx*4], ecx
mov dword [r13], ecx
cmp rsi, rbx
jb 0x1400b0230
mov rdx, qword [rsp + 0x48]
mov r13, qword [rsp + 8]
lea rbp, [rbx + r8]
cmp rsi, rbp
jae 0x1400b0354
lea r15, [r10 + 1]
lea r12, [rdx + 1]
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
lea rbx, [rsi - 1]
lea rax, [r15 + rbx]
div r8
mov r10d, dword [r14 + rdx*4]
lea r11, [r14 + rdx*4]
xor edx, edx
mov rax, rsi
div r8
mov rax, rbx
inc rsi
mov r9, rdx
xor edx, edx
div r8
mov ecx, dword [r14 + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [r14 + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
lea rax, [r12 + rbx]
div r8
xor r10d, ecx
mov edi, ecx
sub edi, r9d
mov dword [r11], r10d
xor dword [r14 + rdx*4], edi
mov dword [r14 + r9*4], edi
cmp rsi, rbp
jb 0x1400b02f0
mov r12, qword [rsp + 0x10]
mov r15, qword [rsp]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x18]
add rsp, 0x30
pop r14
ret
Function at 0x1400b3da0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rdx]
mov rbx, rdx
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400b3de0
cmp dword [rsp + 0x38], 0x103
jne 0x1400b3de0
mov rcx, qword [rbx]
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x20
pop rbx
ret