joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cbb0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0xd8
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
lea r8, [0x140266c48]
lea rcx, [rsp + 0x20]
call fcn.1401bb348
cmp qword [rsp + 0x20], 0
je 0x14001ccf8
lea rcx, [rsp + 0x30]
call fcn.14002fc20
mov ecx, 0x8000
call fcn.1400315ac
mov rsi, rax
test rax, rax
je 0x14001ccf8
mov r9, qword [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x100], rbx
mov r8d, 0x8000
mov qword [rsp + 0x108], rbp
mov rcx, rax
mov qword [rsp + 0xd0], rdi
call fcn.1401c6850
test rax, rax
je 0x14001cc7d
nop
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14002fc90
mov r9, qword [rsp + 0x20]
mov edx, 1
mov r8d, 0x8000
mov rcx, rsi
call fcn.1401c6850
test rax, rax
jne 0x14001cc50
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.14002f900
lea rbx, [rsp + 0xa0]
mov rdi, r14
mov ebp, 0x20
nop
movzx r9d, byte [rbx]
lea r8, str._02x
mov edx, 4
mov rcx, rdi
call fcn.140007760
add rdi, 2
lea rbx, [rbx + 1]
sub rbp, 1
jne 0x14001cca0
mov rcx, qword [rsp + 0x20]
mov byte [r14 + 0x40], bpl
call fcn.1401bb52c
mov rcx, rsi
call fcn.1400315a4
mov rdi, qword [rsp + 0xd0]
xor eax, eax
mov rbp, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
jmp 0x14001ccfd
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0xd8
pop r14
pop rsi
ret

Function at 0x14001cd20
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0xd8
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
lea r8, [0x140266c4c]
lea rcx, [rsp + 0x20]
call fcn.1401bb2f0
cmp qword [rsp + 0x20], 0
je 0x14001ce68
lea rcx, [rsp + 0x30]
call fcn.14002fc20
mov ecx, 0x8000
call fcn.1400315ac
mov rsi, rax
test rax, rax
je 0x14001ce68
mov r9, qword [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x100], rbx
mov r8d, 0x8000
mov qword [rsp + 0x108], rbp
mov rcx, rax
mov qword [rsp + 0xd0], rdi
call fcn.1401c6850
test rax, rax
je 0x14001cded
nop
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14002fc90
mov r9, qword [rsp + 0x20]
mov edx, 1
mov r8d, 0x8000
mov rcx, rsi
call fcn.1401c6850
test rax, rax
jne 0x14001cdc0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.14002f900
lea rbx, [rsp + 0xa0]
mov rdi, r14
mov ebp, 0x20
nop
movzx r9d, byte [rbx]
lea r8, str._02x
mov edx, 4
mov rcx, rdi
call fcn.140007760
add rdi, 2
lea rbx, [rbx + 1]
sub rbp, 1
jne 0x14001ce10
mov rcx, qword [rsp + 0x20]
mov byte [r14 + 0x40], bpl
call fcn.1401bb52c
mov rcx, rsi
call fcn.1400315a4
mov rdi, qword [rsp + 0xd0]
xor eax, eax
mov rbp, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
jmp 0x14001ce6d
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0xd8
pop r14
pop rsi
ret
Function at 0x14001d7d0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x940
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x530]
mov r8d, 0x400
call fcn.1401b8eb0
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x400
call fcn.1401b8eb0
lea rcx, [rsp + 0x530]
call fcn.14001a2b0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
call fcn.1401b8eb0
mov dword [rsp + 0x50], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14001d9c1
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14001d8b6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14001d9c1
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14001d9ad
mov rbx, rdi
test rdi, rdi
je 0x14001d9ad
mov qword [rsp + 0x958], rbp
mov ebp, 0x8240
nop word [rax + rax]
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx r8d, byte [rbx + 0x19a]
movzx eax, byte [rbx + 0x19d]
movzx r10d, byte [rbx + 0x199]
movzx r9d, byte [rbx + 0x198]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], edx
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
mov dword [rsp + 0x28], r8d
lea r8, [0x1402669d8]
mov dword [rsp + 0x20], r10d
call fcn.140007760
lea rcx, [rsp + 0x130]
call fcn.14001c120
test eax, eax
jne 0x14001d963
mov byte [rsp + 0x130], al
jmp 0x14001d982
cmp byte [rsp + 0x130], 0
je 0x14001d982
mov eax, dword [rbx + 0x1a4]
cmp eax, 0xf
ja 0x14001d97d
bt ebp, eax
jb 0x14001d9a5
cmp eax, 0x47
je 0x14001d9a5
mov rbx, qword [rbx]
lea r8, [rsp + 0x60]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rsp + 0x130]
call fcn.1401c5924
test rbx, rbx
jne 0x14001d8f0
mov rbp, qword [rsp + 0x958]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x130]
call fcn.140002630
lea rcx, [rsp + 0x530]
mov ebx, eax
call fcn.140002630
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8, str.__lu__lu
mov edx, 0x104
mov rcx, rsi
call fcn.140007760
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.1401b2f00
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001deb0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001dfba
mov rcx, qword [rsp + 0x50]
lea rax, [0x1403b15d0]
mov dword [rsp + 0x28], 4
lea rdx, [0x140266fc0]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x280], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
mov rbx, rax
call fcn.1401b8eb0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x208
lea rdx, str.LAST_PATH
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x288
ret

Function at 0x14001dfe0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401b8eb0
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001e0b8
lea r8, str.6_9_5
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c574c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x208
lea rdx, str.Version
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x288
ret
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x288
ret
Function at 0x14001e0e0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401b8eb0
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001e1b8
lea r8, [0x140260f70]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1401c574c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x208
lea rdx, str.Version
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x288
ret
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x288
ret

Function at 0x140020290
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, [0x140262738]
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140020338
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x44], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
lea r9d, [rax + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140020338
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x140020338
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x68
ret
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401b2f00
add rsp, 0x68
ret
Function at 0x1400276d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x1400276e6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x140263460]
not ecx
cmp r10d, 8
jb 0x1400277d8
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x140027710
test r10d, r10d
je 0x140027800
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x1400277e0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret

Function at 0x1400280f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x14002814a
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140028136
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x24]
mov ecx, dword [r9 + 0x20]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x20]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x18]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call fcn.1401b8a50
add dword [rdi + 0x24], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140028190
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
sub rsp, 0x38
cmp byte [rcx], 0
mov r14, rdx
mov qword [rsp + 0x58], rbp
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov edi, 1
je 0x1400281e0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
mov r8d, edi
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400281da
mov byte [rbx + 0x10], dil
mov ebp, dword [rsp + 0x60]
jmp 0x140028217
mov qword [rsp + 0x68], rsi
mov esi, dword [rcx + 0x24]
mov ecx, dword [rcx + 0x20]
lea eax, [rsi + 1]
cmp eax, ecx
jbe 0x1400281f6
mov edi, ecx
sub edi, esi
mov rdx, rsi
mov r8d, edi
add rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x50]
mov ebp, edi
call fcn.1401b8a50
lea eax, [rsi + rdi]
mov rsi, qword [rsp + 0x68]
mov dword [rbx + 0x24], eax
mov rdi, qword [rsp + 0x30]
cmp ebp, 1
mov rbp, qword [rsp + 0x58]
jne 0x140028238
movzx eax, byte [rsp + 0x50]
mov dword [r14], eax
xor eax, eax
add rsp, 0x38
pop r14
pop rbx
ret
cmp byte [rbx], 0
je 0x14002822e
cmp byte [rbx + 0x10], 0
je 0x14002822e
mov eax, 0xffffffff
add rsp, 0x38
pop r14
pop rbx
ret

Function at 0x140029b40
Capabilities:
Create directory

Disassembly:
test rdx, rdx
je 0x140029c69
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x440], rax
movzx eax, word [rdx]
mov rdi, rdx
mov rbx, rcx
test ax, ax
je 0x140029c49
mov qword [rsp + 0x470], rsi
mov rcx, rdx
mov rsi, rdx
cmp ax, 0x2f
je 0x140029b94
cmp ax, 0x5c
jne 0x140029b97
mov rsi, rcx
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140029b88
cmp rsi, rdi
je 0x140029be0
sub rsi, rdi
lea rcx, [rsp + 0x20]
sar rsi, 1
mov r8, rsi
call fcn.1401d04a0
add rsi, rsi
cmp rsi, 0x208
jae 0x140029c6a
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov word [rsp + rsi + 0x20], ax
call fcn.140029b40
lea rcx, [rsp + 0x230]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140029bf0
lea rcx, [rsp + 0x230]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140029c10
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140029c20
xor edx, edx
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rsi, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401b2f00
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret
call fcn.1401b330c
int3
Function at 0x140029b49
Capabilities:
Create directory

Disassembly:
test rdx, rdx
je 0x140029c69
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x440], rax
movzx eax, word [rdx]
mov rdi, rdx
mov rbx, rcx
test ax, ax
je 0x140029c49
mov qword [rsp + 0x470], rsi
mov rcx, rdx
mov rsi, rdx
cmp ax, 0x2f
je 0x140029b94
cmp ax, 0x5c
jne 0x140029b97
mov rsi, rcx
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140029b88
cmp rsi, rdi
je 0x140029be0
sub rsi, rdi
lea rcx, [rsp + 0x20]
sar rsi, 1
mov r8, rsi
call fcn.1401d04a0
add rsi, rsi
cmp rsi, 0x208
jae 0x140029c6a
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov word [rsp + rsi + 0x20], ax
call fcn.140029b40
lea rcx, [rsp + 0x230]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140029bf0
lea rcx, [rsp + 0x230]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140029c10
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140029c20
xor edx, edx
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rsi, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401b2f00
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret
call fcn.1401b330c
int3
Function at 0x14002a100
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x348
call fcn.14003155c
mov qword [rsp + 0x68], rax
mov rsi, rax
test rax, rax
je 0x14002a13e
mov qword [rax], 0
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x138], 0xffffffff
jmp 0x14002a140
xor esi, esi
cmp qword [rsi], 0
mov qword [rsp + 0x50], rbx
jne 0x14002a244
cmp dword [rsi + 8], 0xffffffff
jne 0x14002a244
lea rbx, [rsi + 0x13c]
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
sub rbx, 2
cmp word [rbx + 2], 0
lea rbx, [rbx + 2]
jne 0x14002a172
mov eax, dword [0x140260f74]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rdi
mov dword [rbx], eax
lea r8d, [r9 + 1]
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x14002a238
mov rcx, rax
mov qword [rsp + 0x58], r14
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
mov ecx, 0x28
mov edi, eax
sete bl
call fcn.14003155c
mov r14, rax
mov byte [rax], 1
mov byte [rax + 1], bl
mov rcx, qword [rsp + 0x68]
mov qword [rax + 8], rcx
mov byte [rax + 0x10], 0
mov dword [rax + 0x14], 0
cmp edi, 1
jne 0x14002a220
mov rcx, qword [rsp + 0x68]
mov r9d, edi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [r14 + 0x14], eax
mov rcx, r14
call fcn.1400284b0
mov r14, qword [rsp + 0x58]
mov qword [rsi], rax
mov eax, dword [0x1403c0ccc]
jmp 0x14002a249
mov dword [0x1403bbd14], 0x200
jmp 0x14002a253
mov eax, 0x1000000
mov dword [0x1403bbd14], eax
test eax, eax
je 0x14002a272
mov edx, 0x348
mov rcx, rsi
call fcn.1400315ec
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x10
call fcn.14003155c
mov rbx, qword [rsp + 0x50]
mov qword [rax + 8], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rax], 1
add rsp, 0x40
pop rdi
ret
Function at 0x14002e090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10, r8
mov r9, rdx
test rdx, rdx
jne 0x14002e0a6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x140264c00]
not ecx
cmp r10, 8
jb 0x14002e194
mov r11, r10
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x14002e0d0
test r10, r10
je 0x14002e1c0
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x14002e1a0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x14002e560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [rcx + 0x20]
mov r14, rdx
mov edi, r8d
mov rbx, rcx
test rsi, rsi
je 0x14002e665
mov eax, dword [rcx + 0x28]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r15
mov r15d, dword [rbx + 0x2c]
lea ecx, [rax + rdi]
cmp ecx, r15d
jb 0x14002e64e
add r15d, r15d
cmp r15d, ecx
cmovbe r15d, ecx
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r15d
lea rcx, [rax - 1]
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x14002e5fe
movsxd rax, r15d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xf001f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x14002e61b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x300
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r8d, dword [rbx + 0x2c]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call fcn.1401b8a50
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], r15d
mov qword [rbx + 0x20], rsi
mov qword [rbx + 8], rbp
mov ecx, eax
mov r8, rdi
add rcx, rsi
mov rdx, r14
call fcn.1401b8a50
add dword [rbx + 0x28], edi
mov eax, edi
jmp 0x14002e603
mov rcx, qword [rcx]
test rcx, rcx
je 0x14002e698
xor eax, eax
lea r9, [rsp + 0x50]
mov r8d, edi
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov dword [rbx + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14002e880
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x14002e8ec
mov eax, dword [rdi + 0x94]
mov esi, dword [rdi + 0x90]
cmp eax, esi
jae 0x14002e930
sub esi, eax
lea rdx, [rcx + rax]
cmp esi, r8d
mov rcx, rbp
cmova esi, r8d
mov r8d, esi
call fcn.1401b8a50
mov ecx, dword [rdi + 0x70]
mov rdx, rbp
add dword [rdi + 0x94], esi
add dword [rdi + 0x6c], esi
mov r8d, esi
call fcn.14002e090
mov dword [rdi + 0x70], eax
mov eax, esi
jmp 0x14002e932
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x14002e929
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002e930
mov ebx, dword [rsp + 0x40]
mov rdx, rbp
add dword [rdi + 0x6c], ebx
mov r8d, ebx
mov ecx, dword [rdi + 0x70]
call fcn.14002e090
mov dword [rdi + 0x70], eax
mov eax, ebx
jmp 0x14002e932
mov dword [rdi + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14002fc20
Capabilities:
Hash data using sha256

Disassembly:
push rbx
mov eax, 0x20
call fcn.1401b39f0
sub rsp, rax
lea r8d, [rax + 0x50]
xor edx, edx
mov rbx, rcx
call fcn.1401b8eb0
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov dword [rbx + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
ret