joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x14000273e
add rcx, 0x48
call fcn.140009ee0
test eax, eax
jne 0x140002742
xor r9d, r9d
mov dword [rbx + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140002652
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x140002742
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x140002683
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x140002742
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x1400026b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x140002742
lea rcx, [rbx + 0x30]
mov r8d, edi
mov edx, edi
call fcn.140009ea0
test eax, eax
jne 0x140002742
xor r9d, r9d
mov r8d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x1400026f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x140002742
lea rax, [rsp + 0x40]
mov dword [rbx + 4], 1
mov qword [rsp + 0x28], rax
mov r9, rsi
mov r8, rbp
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.140033ca4
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140002738
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x140002742
mov dword [rbx], 1
xor eax, eax
jmp 0x140002747
mov eax, 0xc
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140005b50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r11, qword [rsp + 0x48]
mov ebp, r8d
movzx r10d, word [rcx]
mov r13, r9
movzx r8d, word [rcx + 2]
mov eax, r10d
shr rax, 4
xor r10, 0x7f0
shr r10, 4
mov r15d, edx
mov rbx, rcx
mov rsi, r13
mov r14d, dword [r11 + rax*4]
mov eax, r8d
shr rax, 4
xor r8, 0x7f0
shr r8, 4
mov r12d, dword [r11 + rax*4]
mov eax, dword [r11 + r8*4]
add eax, dword [r11 + r10*4]
add r12d, dword [r11 + r10*4]
mov dword [rsp + 0x48], eax
xor r9d, r9d
nop dword [rax + rax]
cmp r9d, ebp
jae 0x140005d10
xor r10d, r10d
lea edi, [r15*8]
mov r8d, r9d
or r8d, 8
nop dword [rax + rax]
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr rax, 1
neg ecx
shr r8d, 1
sar rcx, 4
add rax, rdi
and ecx, 0x7f
movzx edx, word [rbx + rax*2 + 4]
shr rdx, 4
xor rdx, rcx
add r10d, dword [r11 + rdx*4]
cmp r8d, 1
jne 0x140005bf0
lea eax, [r10 + r14]
inc r9d
mov dword [rsi], eax
add rsi, 4
cmp r9d, 8
jb 0x140005bd0
cmp r9d, 0x10
jae 0x140005ca7
lea rsi, [r9*4]
add rsi, r13
cmp r9d, ebp
jae 0x140005d10
xor r10d, r10d
lea r8d, [r9 - 8]
or r8d, 8
nop dword [rax]
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr rax, 1
neg ecx
shr r8d, 1
sar rcx, 4
add rax, rdi
and ecx, 0x7f
movzx edx, word [rbx + rax*2 + 0x104]
shr rdx, 4
xor rdx, rcx
add r10d, dword [r11 + rdx*4]
cmp r8d, 1
jne 0x140005c60
lea eax, [r10 + r12]
inc r9d
mov dword [rsi], eax
add rsi, 4
cmp r9d, 0x10
jb 0x140005c45
cmp r9d, ebp
jae 0x140005d10
mov esi, dword [rsp + 0x48]
lea rdi, [r9*4]
add rdi, r13
nop dword [rax + rax]
xor r10d, r10d
lea eax, [r9 - 0x10]
bts eax, 8
nop dword [rax + rax]
mov edx, eax
mov ecx, eax
and edx, 1
shr rcx, 1
neg edx
shr eax, 1
sar rdx, 4
and edx, 0x7f
movzx r8d, word [rbx + rcx*2 + 0x204]
shr r8, 4
xor r8, rdx
add r10d, dword [r11 + r8*4]
cmp eax, 1
jne 0x140005cd0
lea eax, [r10 + rsi]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, ebp
jb 0x140005cc0
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140007f00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor ebx, ebx
lea rdi, [rcx + 0x33e1c]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx + 0x344c6]
lea rdi, [rdi + 4]
shr rax, 4
mov r9d, ebx
and r9d, 1
mov r11d, ebx
mov edx, r9d
shr r11d, 1
neg edx
or r9d, 2
sar rdx, 4
mov r8d, r11d
and edx, 0x7f
shr r11d, 1
xor rdx, rax
and r8d, 1
mov eax, r8d
inc ebx
neg eax
sar rax, 4
mov r10d, dword [rcx + rdx*4 + 0x3276c]
and eax, 0x7f
movzx edx, word [rcx + r9*2 + 0x344c4]
add r9d, r9d
shr rdx, 4
or r9d, r8d
xor rdx, rax
mov r8d, r11d
and r8d, 1
shr r11d, 1
mov eax, r8d
and r11d, 1
neg eax
add r10d, dword [rcx + rdx*4 + 0x3276c]
movzx edx, word [rcx + r9*2 + 0x344c4]
sar rax, 4
and eax, 0x7f
shr rdx, 4
xor rdx, rax
lea eax, [r9 + r9]
or eax, r8d
add r10d, dword [rcx + rdx*4 + 0x3276c]
movzx edx, word [rcx + rax*2 + 0x344c4]
mov eax, r11d
shr rdx, 4
neg eax
sar rax, 4
and eax, 0x7f
xor rdx, rax
mov edx, dword [rcx + rdx*4 + 0x3276c]
add edx, r10d
mov dword [rdi - 4], edx
cmp ebx, 0x10
jb 0x140007f20
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [rcx + 0x33e5c], 0
ret
Function at 0x1400085c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor esi, esi
lea r8, [rcx + 0x248]
mov qword [rcx + 0x3d5b0], rsi
lea rdi, [rcx + 0x2d4]
mov qword [rcx + 0x3d5a8], rsi
mov rbx, rcx
mov qword [rcx + 0x288], rsi
mov edx, esi
mov qword [rcx + 0x2a8], 4
mov qword [rcx + 0x270], rsi
mov dword [rcx + 0x284], 0x20
mov qword [rcx + 0x2b8], 1
mov ecx, edx
lea rdi, [rdi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rdi - 4], eax
cmp edx, 0x100
jb 0x140008620
mov qword [rbx + 0x178], rsi
lea rdx, [rsp + 0x20]
mov dword [rbx + 0x1c0], esi
mov rcx, rbx
mov qword [rbx + 0x200], rsi
mov qword [rbx + 0x1d0], rsi
mov qword [rbx + 0x1d8], rsi
mov qword [rbx + 0x1e0], rsi
mov qword [rbx + 0x1e8], rsi
mov qword [rbx + 0x1f0], rsi
mov qword [rbx + 0x1f8], rsi
mov dword [rbx + 0x80], esi
mov qword [rbx + 0xc0], rsi
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xb8], rsi
mov qword [rbx + 0x240], r8
mov qword [rsp + 0x20], 5
mov qword [rsp + 0x44], rsi
mov dword [rsp + 0x4c], 0xffffffff
mov qword [rsp + 0x3c], 0xffffffffffffffff
mov qword [rsp + 0x34], 0xffffffffffffffff
mov qword [rsp + 0x2c], 0xffffffffffffffff
mov dword [rsp + 0x28], 0xffffffff
call fcn.140005040
mov r8d, 2
mov word [rbx + 0x3076c], 0x100
mov r9d, r8d
nop
mov ecx, r8d
mov edx, 1
sar ecx, 1
dec ecx
shl edx, cl
test edx, edx
je 0x1400087b7
lea rdi, [rbx + 0x3076c]
movzx eax, r8b
add rdi, r9
mov ecx, edx
rep stosb byte [rdi], al
add r9, rdx
inc r8d
cmp r8d, 0x1a
jl 0x140008790
mov edi, 8
mov r8d, edi
nop dword [rax + rax]
mov eax, edi
mov edx, esi
mov ecx, 4
nop dword [rax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x1400087fb
nop dword [rax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x1400087f0
sub rcx, 1
jne 0x1400087e0
mov rax, r8
mov ecx, SHCreateDirectory
shr rax, 4
sub ecx, edx
add edi, 0x10
add r8, 0x10
mov dword [rbx + rax*4 + 0x3276c], ecx
cmp edi, 0x800
jb 0x1400087d0
mov qword [rbx + 0x33e78], rsi
mov qword [rbx + 0x3d5f8], rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000c2f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rdx]
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [rax + 0x50]
cmp ecx, dword [rbx + 8]
jne 0x14000c45b
xor edx, edx
mov dword [rbx + 0xc], 1
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140031700
mov rax, qword [rdi]
movzx edx, word [rax + 0x38]
mov rcx, qword [rax + 0x40]
mov eax, 0x206
cmp dx, ax
jae 0x14000c365
movzx r8d, dx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400318c0
jmp 0x14000c3cf
lea rdx, [rsp + 0x40]
mov eax, 4
nop
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rax, 1
jne 0x14000c370
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
mov dword [rsp + 0x30], 0xec5c
mov edx, 0xec79
mov word [rsp + 0x34], dx
mov ecx, 0xec2f
mov word [rsp + 0x36], cx
mov eax, 0xec00
mov word [rsp + 0x38], ax
xor eax, eax
mov word [rsp + 0x3a], dx
xor r9d, r9d
mov word [rsp + 0x3c], cx
mov r8d, r9d
mov word [rsp + 0x3e], ax
movzx eax, word [rsp + 0x34]
movzx ecx, word [rsp + r8*2 + 0x34]
mov eax, dword [rsp + 0x30]
movzx edx, ax
mov eax, ecx
xor eax, edx
mov word [rsp + r8*2 + 0x34], ax
inc r8
cmp r8, 5
jb 0x14000c411
mov rdx, qword [rbx + 0x18]
lea rax, [rsp + 0x40]
mov rcx, qword [rbx + 0x10]
lea r8, [rsp + 0x34]
mov word [rsp + 0x3e], r9w
lea r9, [rbx + 0x20]
mov qword [rsp + 0x20], rax
call fcn.14000b530
xor eax, eax
jmp 0x14000c460
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002fb30
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x14000c4c0
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x518], rbx
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r15, r8
mov r12d, edx
mov r14, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov ebx, r13d
mov qword [rsp + 0x40], rbx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.140031700
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x2060000
lea r9, [rsp + 0x20]
lea r8d, [r13 + 0x18]
lea rdx, [rsp + 0x28]
lea ecx, [r13 + 0x58]
call qword [r14 + 8]
cmp eax, 0xc0000004
jne 0x14000c5c9
movzx eax, word [rsp + 0x32]
add ax, ax
mov word [rsp + 0x32], ax
movzx edi, ax
lea rcx, [rdi + 2]
call fcn.14002fd4c
mov rsi, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x14000c591
call fcn.14002fb54
lea r8, [rdi + 2]
xor edx, edx
mov rcx, rsi
call fcn.140031700
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x30], r13w
lea r9, [rsp + 0x20]
mov r8d, 0x18
lea rdx, [rsp + 0x28]
lea ecx, [r8 + 0x40]
call qword [r14 + 8]
cmp eax, 0xc0000004
je 0x14000c560
test eax, eax
js 0x14000c5f7
cmp word [rsp + 0x30], 0
je 0x14000c67f
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14000c67f
mov rcx, r15
call fcn.1400104a0
test eax, eax
jne 0x14000c73c
lea rax, vtable.PathFinder.0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x7c], r13d
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0x208
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14000c100
mov edi, dword [rsp + 0x7c]
lea rax, vtable.IVisitor_struct__SYSTEM_PROCESS_INFORMATION____ptr64_.0
mov qword [rsp + 0x70], rax
test rbx, rbx
je 0x14000c653
mov rcx, rbx
call fcn.14002fb54
mov eax, edi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14002fb30
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x58], 0xe53d
mov eax, dword [rsp + 0x58]
xor eax, 0x53
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x58]
inc ax
xor eax, 0x79
mov word [rsp + 0x5e], ax
mov eax, dword [rsp + 0x58]
add ax, 2
xor eax, 0x73
mov word [rsp + 0x60], ax
mov eax, dword [rsp + 0x58]
add ax, 3
xor eax, 0x74
mov word [rsp + 0x62], ax
mov eax, dword [rsp + 0x58]
add ax, 4
xor eax, 0x65
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x58]
add ax, 5
xor eax, 0x6d
mov word [rsp + 0x66], ax
xor eax, eax
mov word [rsp + 0x68], ax
movzx eax, word [rsp + 0x5c]
mov rax, r13
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rsp + rax*2 + 0x5c]
mov r8d, dword [rsp + 0x58]
add r8d, eax
xor r8d, ecx
mov word [rsp + rax*2 + 0x5c], r8w
inc rax
cmp rax, 6
jb 0x14000c700
mov word [rsp + 0x68], r13w
lea r8, [rsp + 0x5c]
mov edx, 0x208
mov rcx, r15
call fcn.14000a1a0
mov rbx, qword [rsp + 0x40]
mov edi, 1
jmp 0x14000c646
Function at 0x14000cb30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x5c0
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov rdi, qword [rcx + 0xb0]
mov r15, r9
mov rbx, qword [rsp + 0x628]
mov r14, r8
mov r12, qword [rsp + 0x620]
mov rbp, rdx
mov rsi, rcx
cmp rdi, 0xffffffffffffffff
je 0x14000cc3c
mov eax, dword [0x140063df8]
mov dword [rsp + 0x40], 0x270
mov dword [rsp + 0x44], 0x345821ab
mov dword [rsp + 0x4c], 0x313
test eax, eax
jne 0x14000cba9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
imul eax, eax, 0x343fd
lea r9, [rsp + 0x30]
mov r8d, 0x270
mov qword [rsp + 0x58], rbp
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x60], r14
mov rcx, rdi
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
add eax, 0x269ec3
mov qword [rsp + 0x20], 0
sar eax, 0x10
and eax, 0x7fff
mov dword [0x140063df8], eax
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000cc3c
mov eax, dword [rsp + 0x48]
not eax
cmp dword [rsp + 0x2b8], eax
jne 0x14000cc3c
mov eax, dword [rsp + 0x2bc]
test eax, eax
jns 0x14000cc2e
cmp eax, 0x8000000d
jne 0x14000cc3c
test rbx, rbx
je 0x14000cc79
mov eax, dword [rsp + 0x2c0]
jmp 0x14000cc76
lea rax, [rsp + 0x38]
mov r9, r12
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call qword [rsi + 0x38]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x14000cc6c
cmp eax, 0x8000000d
je 0x14000cc6c
xor eax, eax
jmp 0x14000cc7e
test rbx, rbx
je 0x14000cc79
mov rax, qword [rsp + 0x38]
mov qword [rbx], rax
mov eax, 1
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.14002fb30
add rsp, 0x5c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000cfa0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, r8
mov ebx, edx
mov qword [rbp - 0x29], rcx
test edx, edx
jne 0x14000d041
mov eax, 0x4e
mov word [rbp + 0x2f], ax
mov eax, 0x69
mov word [rbp + 0x31], ax
mov eax, 0x71
mov word [rbp + 0x33], ax
mov eax, 0x6a
mov word [rbp + 0x35], ax
xor edx, edx
mov word [rbp + 0x37], dx
movzx eax, word [rbp + 0x2f]
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbp + rdx*2 + 0x2f]
sub ecx, 5
mov word [rbp + rdx*2 + 0x2f], cx
inc rdx
cmp rdx, 4
jb 0x14000d010
lea r8, [rbp + 0x2f]
mov edx, 0x208
mov rcx, rdi
call fcn.14000a1a0
mov eax, 1
jmp 0x14000d197
lea eax, [rdx - 4]
test eax, 0xfffffffb
je 0x14000d0f4
mov r9d, ebx
mov edx, 0x410
call fcn.14000c780
mov qword [rbp - 0x21], rax
test rax, rax
jne 0x14000d092
mov r9d, ebx
mov edx, 0x1000
mov rcx, qword [rbp - 0x29]
call fcn.14000c780
mov qword [rbp - 0x21], rax
test rax, rax
jne 0x14000d092
mov r8, rdi
mov edx, ebx
mov rcx, qword [rbp - 0x29]
call fcn.14000c4c0
jmp 0x14000d197
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x11], rcx
mov byte [rbp - 9], 0
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm0
mov r9, rdi
mov rdx, rax
mov rcx, qword [rbp - 0x29]
call fcn.14000c7f0
test eax, eax
je 0x14000d0d4
lea rcx, [rbp - 1]
call fcn.14000f560
mov eax, 1
jmp 0x14000d197
mov r8, rdi
mov edx, ebx
mov rcx, qword [rbp - 0x29]
call fcn.14000c4c0
mov ebx, eax
lea rcx, [rbp - 1]
call fcn.14000f560
mov eax, ebx
jmp 0x14000d197
mov dword [rbp + 0x17], 0xcee2
mov eax, dword [rbp + 0x17]
xor eax, 0x53
mov word [rbp + 0x1b], ax
mov eax, dword [rbp + 0x17]
inc ax
xor eax, 0x79
mov word [rbp + 0x1d], ax
mov eax, dword [rbp + 0x17]
add ax, 2
xor eax, 0x73
mov word [rbp + 0x1f], ax
mov eax, dword [rbp + 0x17]
add ax, 3
xor eax, 0x74
mov word [rbp + 0x21], ax
mov eax, dword [rbp + 0x17]
add ax, 4
xor eax, 0x65
mov word [rbp + 0x23], ax
mov eax, dword [rbp + 0x17]
add ax, 5
xor eax, 0x6d
mov word [rbp + 0x25], ax
xor eax, eax
mov word [rbp + 0x27], ax
movzx eax, word [rbp + 0x1b]
xor edx, edx
mov r8d, edx
nop dword [rax]
movzx eax, word [rbp + r8*2 + 0x1b]
mov ecx, dword [rbp + 0x17]
add ecx, r8d
xor ecx, eax
mov word [rbp + r8*2 + 0x1b], cx
inc r8
cmp r8, 6
jb 0x14000d160
mov word [rbp + 0x27], dx
lea r8, [rbp + 0x1b]
mov edx, 0x208
mov rcx, rdi
call fcn.14000a1a0
mov eax, 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002fb30
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x14000fea0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x5c0
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov eax, dword [0x140063df8]
mov rbx, rcx
mov dword [rsp + 0x40], 0x270
mov dword [rsp + 0x44], 0x345821ab
mov dword [rsp + 0x4c], 0x306
test eax, eax
jne 0x14000fee6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
imul eax, eax, 0x343fd
lea r9, [rsp + 0x30]
mov r8d, 0x270
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov rcx, rbx
add eax, 0x269ec3
sar eax, 0x10
and eax, 0x7fff
mov dword [0x140063df8], eax
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000ff56
mov eax, dword [rsp + 0x48]
not eax
cmp dword [rsp + 0x2b8], eax
jne 0x14000ff56
cmp dword [rsp + 0x2bc], 0
jl 0x14000ff56
mov eax, 1
jmp 0x14000ff58
xor eax, eax
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.14002fb30
add rsp, 0x5c0
pop rbx
ret

Function at 0x14000ff80
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp word [r8 + 2], 0x3a
mov rsi, r8
mov rdi, rcx
je 0x14000ffbf
mov ecx, 0xe0010002
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14001006d
mov eax, dword [0x14005436c]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x20]
movzx eax, word [0x140054370]
mov word [rsp + 0x24], ax
movzx eax, word [r8]
mov qword [rsp + 0x268], rbx
mov ebx, 0x104
mov r8d, ebx
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
dec eax
cmp eax, 0x103
ja 0x140010058
lea r8, [rsp + 0x30]
mov rax, rdi
sub r8, rdi
lea rcx, [rbx + 0x7ffffefa]
test rcx, rcx
je 0x140010035
movzx edx, word [r8 + rax]
test dx, dx
je 0x140010035
mov word [rax], dx
add rax, 2
sub rbx, 1
jne 0x140010012
lea rdx, [rax - 2]
test rbx, rbx
lea r8, [rsi + 4]
mov rcx, rdi
cmovne rdx, rax
xor eax, eax
mov word [rdx], ax
call fcn.14000b480
mov eax, 1
jmp 0x140010065
mov ecx, 0xe001000b
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002fb30
mov rsi, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x140010770
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x140010853
mov r8d, 4
lea rdx, str.___
mov rcx, rbx
call fcn.140037b5c
test eax, eax
jne 0x1400107d1
lea r8, [rbx + 8]
jmp 0x140010846
mov r8d, 0xc
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.140036b74
test eax, eax
jne 0x14001080a
lea r8, [rsp + 0x20]
mov edx, 0x208
mov rcx, rdi
call fcn.14000a1a0
lea r8, [rbx + 0x16]
mov rcx, rdi
call fcn.14000b480
jmp 0x140010853
mov r8d, 9
lea rdx, str.Windows_
mov rcx, rbx
call fcn.140036b74
test eax, eax
jne 0x140010843
lea r8, [rsp + 0x20]
mov edx, 0x208
mov rcx, rdi
call fcn.14000a1a0
lea r8, [rbx + 0x10]
mov rcx, rdi
call fcn.14000b480
jmp 0x140010853
mov r8, rbx
mov edx, 0x208
mov rcx, rdi
call fcn.14000a1a0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14002fb30
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x140011f00
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov edx, pe_nt_image_headers64
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebx, ebx
je 0x140011fb3
lea rcx, [rsp + 0x48]
call fcn.140011c40
nop
mov ecx, 0x78
mov r9d, 0x38
cmp qword [rax], 0
cmove r9d, ecx
add r9, rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
lea r8d, [rcx - 0x75]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011f95
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140011fa5
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp qword [rdi + 8], 0xffffffffffffffff
jne 0x140012024
mov eax, 0xe0010006
jmp 0x140012026
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rbx + 3]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140012024
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 3]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140012024
mov eax, 0xe0010005
jmp 0x140012026
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret