joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180072710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x18007279a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x180072790
cmp r11, r10
ja 0x180072816
cmp r10, rdx
ja 0x180072828
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x180072792
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x180072770
jmp 0x1800727f7
ja 0x18007279a
mov r11, r10
cmp rax, r8
jne 0x180072737
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1800727fb
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1800727d0
mov r8, r10
sub ecx, r9d
jns 0x1800727ee
jmp 0x1800727fd
cmp r10, rdx
je 0x18007280a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1800727fd
xor al, 1
cmp r8, rdx
jne 0x1800727b0
jmp 0x1800727fd
xor eax, eax
jmp 0x1800727fd
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.18007a640
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.18007aba0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.18007ab30
int3
Function at 0x180078d20
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x180093eed]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x180078d7e
mov rdi, rax
lea rdx, [0x180093f0e]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180078d7e
mov rsi, rax
lea rdx, [0x180093f1c]
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180078d7e
mov rdi, rax
xor ebx, ebx
jmp 0x180078e00
lea rcx, [0x180093ea8]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x180078e73
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180078e73
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180078e73
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180078e73
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x180078e73
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1800b2351]
mov ecx, 0x18
mov edx, 8
call fcn.180006080
test rax, rax
je 0x180078e78
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1800b2440], rcx
je 0x180078e67
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x180078e50
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.180006090
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.180078cf0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.18007a550
ud2
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14010eed0]
mov dword [rax], 1
mov rax, qword [0x14010eee0]
mov dword [rax], 1
mov rax, qword [0x14010eef0]
mov dword [rax], 1
mov rax, qword [0x14010ee80]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140080430
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1400ea590
sub rsp, rax
xor eax, eax
xor edx, edx
xor esi, esi
mov r14d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x80], ax
mov r12, rcx
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x2e]
mov word [rsp + 0x30], dx
test dil, dil
je 0x1400804d9
nop dword [rax]
mov rax, r14
lea rbx, [rbp + rsi*2]
sub rax, rsi
cmp word [rbp + rsi*2], 0
je 0x14008049e
nop dword [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x140080490
test rax, rax
je 0x1400fb470
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r13
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [r12 + rsi]
test dil, dil
jne 0x140080478
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140080508
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140080520
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
xor esi, esi
mov r13d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x30], ax
mov rbp, rcx
mov r14, rdx
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x2e]
test dil, dil
je 0x1400805c1
nop word [rax + rax]
mov rax, r13
lea rbx, [r15 + rsi*2]
sub rax, rsi
cmp word [r15 + rsi*2], 0
je 0x140080586
nop word [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x140080578
test rax, rax
je 0x1400fb476
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [rbp + rsi]
test dil, dil
jne 0x140080560
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400e0800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1401232c9], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1400e0888
lea rdx, [0x14010adba]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400e08f0
mov rbx, qword [0x140123180]
jmp 0x1400e0845
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1400e0840
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400cf9d0
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x140123180], rax
mov ebx, dword [rax]
mov qword [0x140123180], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x140123180], rdx
call fcn.1400df930
cmp eax, ebx
jne 0x1400e0958
mov byte [0x1401232c9], 1
jmp 0x1400e081c
cmp byte [0x1401232c8], 0
jne 0x1400e0833
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x140123c28], rax
call rbx
mov qword [0x140123c20], rax
call rbx
mov qword [0x140123c18], rax
call rbx
mov qword [0x140123c10], rax
call rbx
mov qword [0x140123c08], rax
call rbx
mov qword [0x140123c00], rax
call rbx
mov qword [0x140123bf8], rax
call rbx
mov byte [0x1401232c8], 1
mov qword [0x140123bf0], rax
jmp 0x1400e0833
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1400e9270
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400fa9f0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400fa9f0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1400e9f42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1401240e8]
test eax, eax
je 0x1400e9fda
lea rax, [0x1401240c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1401240f0]
mov qword [rbp - 8], rax
jmp 0x1400e9fbe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400e9fb2
cmp qword [rbp - 0x10], 0
je 0x1400e9fb2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400e9f78
lea rax, [0x1401240c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400e9fdb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400ea0e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400ea108
mov eax, 0
jmp 0x1400ea156
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400ea131
mov eax, 0
jmp 0x1400ea156
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400ea151
mov eax, 0
jmp 0x1400ea156
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400ea15c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400ea1da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400ea1d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400ea1d1
mov rax, qword [rbp - 8]
jmp 0x1400ea1ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400ea1a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140024680
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, rdx
mov r14d, r8d
mov rdi, rdx
mov dword [rsp + 0x38], r14d
cqo
mov byte [rsp + 0x30], 0
idiv r14
mov r15, rcx
mov r12d, r8d
mov r13, rax
xor ebx, ebx
mov eax, r8d
mov esi, ebx
shl eax, 0x11
mov dword [rsp + 0x34], eax
lea ecx, [rax + 0x38]
call fcn.1400648f0
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0x20000
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, r15
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140024779
cmp dword [rsp + 0x48], 0x20000
jne 0x140024779
inc rsi
lea ecx, [r14 - 1]
add rbp, 0x20000
cmp rsi, rcx
jne 0x140024728
lea rdx, [rdi - 0x20000]
jmp 0x140024736
cmp rsi, r12
je 0x140024767
mov rdx, r13
imul rdx, rsi
mov edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, 0x20000
mov rdx, rbp
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140024702
jmp 0x140024779
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r8d, dword [rsp + 0x34]
lea r9, [0x1400ffaf8]
mov r14, qword [rsp + 0x40]
mov ebp, 0x20000
mov rcx, r14
mov esi, r8d
lea rdx, [r8 + r14]
call fcn.14003f940
lea ecx, [rax + 0x38]
lea rax, [rsi + 0x38]
cmp rcx, rax
jne 0x14002486b
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r14
mov rcx, r15
mov rsi, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140024836
nop
cmp dword [rsp + 0x48], ebp
jne 0x140024831
mov ecx, dword [rsp + 0x38]
inc rsi
add r14, 0x20000
dec ecx
cmp rsi, rcx
jne 0x1400247f7
lea rdx, [rdi - 0x20000]
add ebp, 0x38
jmp 0x140024805
cmp rsi, r12
je 0x140024831
mov rdx, r13
imul rdx, rsi
mov edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400247d0
mov r14, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, 0x78
lea rdx, [0x1400ffa80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x30]
mov edx, 1
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [rsp + 0x30], ecx
mov rcx, r14
call fcn.14006459c
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140064540
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002a3c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
lea rbx, [rcx + 0x18]
mov qword [rsp + 0x38], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.140064560
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0x40]
lea edx, [rbp + 2]
call fcn.140066a54
nop
lea rcx, [rdi + 0x90]
call fcn.140066624
nop
mov byte [rdi + 0xd8], bpl
mov esi, ebp
mov qword [rsp + 0x30], rdi
lea r15, [0x14002a1a0]
mov qword [rsp + 0x38], r15
nop
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x14002a4af
mov ecx, 0x10
call fcn.140064560
mov qword [rax], rdi
mov qword [rax + 8], r15
mov qword [rsp + 0x50], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14002d980]
xor edx, edx
xor ecx, ecx
call fcn.14009d9b4
mov qword [rbx], rax
test rax, rax
je 0x14002a4f5
add qword [rdi + 8], 0x10
jmp 0x14002a4c4
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call fcn.14002c8a0
inc esi
cmp esi, 6
jb 0x14002a460
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140064540
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov dword [r14], ebp
mov ecx, 6
call fcn.14006680c
int3
Function at 0x14002aa00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebp, ebp
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 1
jb 0x14002ac57
cmp qword [rcx + 0x18], 8
jb 0x14002aa50
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400d8b58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea rcx, [rsp + 0x40]
call fcn.140029800
nop
lea r9, [0x1400fa638]
cmp qword [0x1400fa650], 8
cmovae r9, qword [0x1400fa638]
mov rdi, qword [0x1400fa648]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14002aae2
lea rax, [rsi + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.14008c050
lea rax, [rsi + rdi]
mov word [rbx + rax*2], bp
lea rax, [rsp + 0x40]
jmp 0x14002aaf7
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14002d400
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14002ab6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ab65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ac5d
call fcn.14006459c
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002abe7
lea rdx, [0x1400fa618]
cmp qword [0x1400fa630], 0x10
cmovae rdx, qword [0x1400fa618]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x60]
mov r8d, dword [0x1400fa628]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002ac28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ac23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ac51
call fcn.14006459c
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140064540
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400987f4
int3
call fcn.1400217a0
int3
call fcn.1400987f4
int3
Function at 0x14002b1e0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14008c700
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x14002b32c
lea rbx, [rsp + 0x50]
cmp word [rsp + 0x50], si
je 0x14002b32c
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov r8d, 2
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140028870
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14002b2bc
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], si
add qword [rdi + 8], 0x20
jmp 0x14002b2ce
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14002cb00
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14002b307
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b302
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b354
call fcn.14006459c
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14002b310
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jmp 0x14002b264
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140064540
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400987f4
int3
Function at 0x14002c8a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, r9
mov qword [rsp + 0x58], r8
mov rbx, rdx
mov r15, rcx
mov rdx, qword [rcx]
mov r14, rbx
sub r14, rdx
mov rax, qword [rcx + 8]
sub rax, rdx
sar rax, 4
movabs r9, 0xfffffffffffffff
cmp rax, r9
je 0x14002cada
lea r8, [rax + 1]
mov qword [rsp + 0x48], r8
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
sar rcx, 4
mov rdx, rcx
shr rdx, 1
mov rax, r9
sub rax, rdx
cmp rcx, rax
ja 0x14002cad4
lea rax, [rdx + rcx]
mov rsi, r8
cmp rax, r8
cmovae rsi, rax
cmp rsi, r9
ja 0x14002cad4
mov rcx, rsi
shl rcx, 4
mov qword [rsp + 0x38], rsi
cmp rcx, 0x1000
jb 0x14002c97c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002cad4
mov rcx, rax
call fcn.140064560
test rax, rax
je 0x14002cae0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14002c99c
test rcx, rcx
je 0x14002c995
call fcn.140064560
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
jmp 0x14002c9a1
xor edi, edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
and r14, 0xfffffffffffffff0
lea r13, [r14 + rdi]
lea r14, [r13 + 0x10]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x30], r14
mov ecx, 0x10
call fcn.140064560
mov r9, rax
mov rax, qword [r12]
mov qword [r9], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [r9 + 8], rax
mov qword [rsp + 0x58], r9
lea r12, [r13 + 8]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0
lea r8, [0x14002d980]
xor edx, edx
xor ecx, ecx
call fcn.14009d9b4
mov qword [r13], rax
test rax, rax
je 0x14002cae6
mov qword [rsp + 0x30], r13
mov rdx, qword [r15 + 8]
mov rax, qword [r15]
cmp rbx, rdx
jne 0x14002ca48
cmp rax, rdx
je 0x14002ca97
mov rcx, rdi
sub rcx, rax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rax + rcx], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x14002ca30
jmp 0x14002ca97
cmp rax, rbx
je 0x14002ca69
mov rcx, rdi
sub rcx, rax
xorps xmm0, xmm0
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
movups xmmword [rax + rcx], xmm1
add rax, 0x10
cmp rax, rbx
jne 0x14002ca53
mov qword [rsp + 0x30], rdi
mov rax, qword [r15 + 8]
cmp rbx, rax
je 0x14002ca97
sub r14, rbx
nop word [rax + rax]
xorps xmm0, xmm0
movups xmm1, xmmword [rbx]
movups xmmword [rbx], xmm0
movups xmmword [rbx + r14], xmm1
add rbx, 0x10
cmp rbx, rax
jne 0x14002ca80
mov r9, rsi
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, r15
call fcn.14002d600
mov rax, r13
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140064540
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140021700
int3
call fcn.14002d5e0
int3
call fcn.1400987f4
nop
mov dword [r12], 0
mov ecx, 6
call fcn.14006680c
int3