joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400212d0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x140021310
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400213b0
jmp 0x14002139f
jae 0x14002146f
cmp r8, 0x201
jae 0x1400213b0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140021407
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x1400213df
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140049020
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140021430
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400214db
mov r8d, r13d
cmp r12, r8
jne 0x140021390
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14002150f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14002139f
jmp 0x1400213b0
cmp r14, r8
jb 0x140021529
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1400247d0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1400214c4
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140002fe0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400214af
jmp 0x1400214c4
lea rcx, str.internal_error:_entered_unreachable_codep
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14004a610
jmp 0x14002153e
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14004a9c0
ud2
Function at 0x140027f90
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.140045360
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x14002ea10]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call fcn.14002e450
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x140028180
test r15, r15
je 0x14002814c
cmp r15, 0x1000
ja 0x1400281a2
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x140028120
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1400280b0
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x140028140
add r12, rax
cmp r12, r15
je 0x140028110
jbe 0x140028060
jmp 0x14002818e
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x14002800e
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.14001b230
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
adc byte [rax], al
add byte [rbx + 0x5f], bl
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.14001b230
jmp 0x14002814c
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.14004aa30
jmp 0x1400281b6
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.14004a9c0
ud2
Function at 0x14002baf0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
mov edx, ecx
lea rcx, [rbp - 0x10]
call fcn.140036680
je 0x14002bab5
add byte [rax], al
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
invalid
je 0x14002bb50
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1400380a0
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x14002bb5c
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x14002bb86
test rdi, rdi
je 0x14002bbb2
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140002fe0
xor eax, eax
jmp case.0x140023804.355
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
invalid
je case.0x140023804.355
invalid
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140002fe0
std
invalid
jmp 0x14002bb50
xor eax, eax
jmp case.0x140023804.355

Function at 0x14002cdd0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140050a10]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14002ce08
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002ce5f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14002ce6c
xor edx, edx
xor eax, eax
jmp 0x14002ce96
cmp eax, 0x103
je 0x14002cea0
test eax, eax
js 0x14002ce7f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14002ce96
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140024080
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14001b9e0
mov ecx, 7
int 0x29
ud2
Function at 0x14002cef0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140050a10]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14002cf28
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14002cf86
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14002cfb3
test eax, eax
js 0x14002cf92
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14002cfa9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140024080
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14001b9e0
mov ecx, 7
int 0x29
ud2

Function at 0x14002db00
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0xb5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]
Function at 0x14002ef00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14002f043
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x14002f018
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x38], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14002ef80
mov eax, dword [rbp - 0x38]
mov ecx, 2
test rax, rax
je 0x14002efc2
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14002efc6
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x38], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14002efca
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14002eff4
mov rax, rbp
jmp 0x14002efd6
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14002effa
mov qword [rbp], 1
lea rax, [rbp - 8]
mov qword [rax], 0
lea rcx, [rbp - 0x38]
call fcn.14001b230
mov rcx, qword [rbp]
mov rax, qword [rbp - 8]
cmp rcx, 2
jne 0x14002f005
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x14002ef69
mov ecx, 1
jmp 0x14002ef73
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.1400490c0
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14002ef31
mov qword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.140048f90
int3
Function at 0x140034690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140036680
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x1400346ce
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r14
jmp 0x1400346f4
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.14002b250
mov rdi, qword [rbp - 0x10]
cmp rdi, r14
jne 0x14003470d
lea rcx, [rbp - 8]
call fcn.14001b230
mov qword [rsi], r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140034730
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
jmp 0x140034700
mov qword [rsi], r14
test rdi, rdi
je 0x140034700
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.140002fe0

Function at 0x1400361a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov edi, eax
Function at 0x140043ec0
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 0x140043f4a
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 0x140043f40
cmp r10, r11
jb 0x140043fc6
cmp r10, rdx
ja 0x140043fd8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x140043f42
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140043f20
jmp 0x140043fa7
ja 0x140043f4a
mov r11, r10
cmp rax, r8
jne 0x140043ee7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140043fab
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 0x140043f80
mov r8, r10
sub ecx, r9d
jns 0x140043f9e
jmp 0x140043fad
cmp r10, rdx
je 0x140043fba
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140043fad
xor al, 1
cmp r8, rdx
jne 0x140043f60
jmp 0x140043fad
xor eax, eax
jmp 0x140043fad
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.14004a4f0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14004aa30
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14004a9c0
int3

Function at 0x140045868
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400458b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400458b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400458b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400458b2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400458b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400458b4
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp - 0x48], 0x90
mov qword [rbp - 0x88], rbx
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r15
mov qword [rbp + 0x20], r8
mov dword [0x1400687b0], ecx
mov qword [0x1400687b8], rdx
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineW
add rsp, 0x20
mov rsi, rax
mov rcx, rsi
sub rsp, 0x20
call fcn.1400332f0
add rsp, 0x20
mov rdi, rax
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
mov rcx, rsi
sub rsp, 0x20
call sub.SHELL32.dll_CommandLineToArgvW
add rsp, 0x20
mov r12, rax
movsxd rcx, dword [rbp - 0x40]
shl rcx, 4
sub rsp, 0x20
lea rdx, [rbp - 0x48]
call fcn.140001260
add rsp, 0x20
mov qword [rbp - 0x30], rax
movsxd r8, dword [rbp - 0x40]
mov qword [rbp - 0x38], r8
push 0
push 0
push 0
push 0
mov r9d, edi
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
sub rsp, 0x20
call sub.KERNEL32.dll_WideCharToMultiByte
add rsp, 0x40
cdqe
mov r14, rax
mov rcx, r14
sub rsp, 0x20
lea rdx, [rbp - 0x48]
call fcn.140001260
add rsp, 0x20
mov qword [rbp - 0x20], rax
xor edi, edi
mov qword [rbp - 0x28], r14
xor r14d, r14d
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x18], eax
cmp eax, edi
jle 0x1400011ea
movsxd rbx, r14d
mov rcx, qword [r12 + rbx*8]
sub rsp, 0x20
call fcn.1400332f0
add rsp, 0x20
mov r13, rax
push 0
push 0
push 0
push 0
mov r9d, r13d
mov r8, qword [r12 + rbx*8]
xor edx, edx
mov ecx, 0xfde9
sub rsp, 0x20
call sub.KERNEL32.dll_WideCharToMultiByte
add rsp, 0x40
mov r15d, eax
movsxd rax, r15d
lea rsi, [rax + rdi]
sub rsi, rdi
mov r8, qword [rbp - 0x20]
lea rdx, [rdi + r8]
mov qword [rbp - 0x50], rbx
shl rbx, 4
mov rcx, qword [rbp - 0x30]
mov qword [rbx + rcx], rsi
mov qword [rbx + rcx + 8], rdx
test r15d, r15d
je 0x1400011dd
add rdi, rax
push 0
push 0
push r15
mov rax, qword [rbp - 0x50]
shl rax, 4
add rax, qword [rbp - 0x30]
push qword [rax + 8]
mov r9d, r13d
mov rbx, qword [rbp - 0x50]
mov r8, qword [r12 + rbx*8]
xor edx, edx
mov ecx, 0xfde9
sub rsp, 0x20
call sub.KERNEL32.dll_WideCharToMultiByte
add rsp, 0x40
inc r14d
cmp r14d, dword [rbp - 0x18]
jl 0x14000113d
mov r14, qword [rbp - 0x28]
mov rcx, r12
sub rsp, 0x20
call sub.KERNEL32.dll_LocalFree
add rsp, 0x20
mov dword [rbp - 0x40], 0
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp - 0x30]
mov qword [rbp - 8], rbx
mov r8, qword [rbp + 0x20]
mov rdx, r14
lea rcx, [rbp - 0x10]
sub rsp, 0x20
call fcn.1400012c0
add rsp, 0x20
mov rbx, qword [rbp - 0x88]
mov rsi, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x78]
mov r12, qword [rbp - 0x70]
mov r13, qword [rbp - 0x68]
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x58]
mov rsp, rbp
pop rbp
ret
Function at 0x140008d90
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov rdi, qword [rdx]
mov rsi, qword [rdx + 8]
mov rax, rdi
shr rax, 2
mov dword [rbp - 8], ecx
mov qword [rbp - 0x10], rdi
lea rdi, [rsi + rax*4]
cmp rsi, rdi
je 0x140008e0a
mov rcx, rsi
call fcn.14000d4e0
mov ebx, eax
imul edx, ebx, 0xcc9e2d51
mov ebx, edx
rol edx, 0xf
mov ebx, edx
imul r8d, ebx, 0x1b873593
mov ebx, r8d
xor dword [rbp - 8], ebx
mov r9d, dword [rbp - 8]
rol r9d, 0xd
mov dword [rbp - 8], r9d
lea r9d, [r9 + r9*4]
lea r10d, [r9 - 0x19ab949c]
mov dword [rbp - 8], r10d
add rsi, 4
cmp rsi, rdi
jne 0x140008dc2
mov rdi, qword [rbp - 0x10]
xor ecx, ecx
mov r11, rdi
and r11, 3
cmp r11, 1
je 0x140008e3e
cmp r11, 2
je 0x140008e35
cmp r11, 3
je 0x140008e2e
jmp 0x140008e5d
movzx ecx, byte [rsi + 2]
shl ecx, 0x10
movzx edx, byte [rsi + 1]
shl edx, 8
xor ecx, edx
movzx r8d, byte [rsi]
xor ecx, r8d
imul eax, ecx, 0xcc9e2d51
mov ecx, eax
rol eax, 0xf
mov ecx, eax
imul ebx, ecx, 0x1b873593
mov ecx, ebx
xor dword [rbp - 8], ecx
xor dword [rbp - 8], edi
movzx ecx, word [rbp - 6]
xor ecx, dword [rbp - 8]
imul edx, ecx, 0x85ebca6b
mov dword [rbp - 8], edx
shr edx, 0xd
xor edx, dword [rbp - 8]
imul esi, edx, 0xc2b2ae35
mov dword [rbp - 8], esi
movzx eax, word [rbp - 6]
xor dword [rbp - 8], eax
mov eax, dword [rbp - 8]
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov rsp, rbp
pop rbp
ret

Function at 0x14000af50
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x140
mov qword [rbp - 0x118], rbx
mov qword [rbp - 0x110], rsi
mov qword [rbp - 0x108], rdi
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rsi, rcx
call fcn.14000b060
mov qword [rbp - 0x100], rax
cmp rax, 0xffffffffffffffff
jne 0x14000af8f
ud2
lea rax, str.Aborting_from
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x80], 0xe
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rcx + 8]
mov rax, qword [rcx]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rbx, [0x14005bca0]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], 1
mov rdx, rsi
lea rdi, [rbp - 0xc0]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], 0x40
lea rcx, [rbp - 0x20]
call fcn.1400037a0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rax, [0x14005e180]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
lea rsi, [rbp - 0x80]
mov rdx, qword [rsi + 8]
mov rax, qword [rsi]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
xor ecx, ecx
mov qword [rbp - 0x120], rcx
mov r9, rcx
mov r8d, dword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x100]
call sub.KERNEL32.dll_WriteFile
add rsi, 0x10
lea rax, [rbp - 0x20]
cmp rsi, rax
jb 0x14000b019
call fcn.140034bc4
int3
Function at 0x14000b3f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
cmp qword [0x140068c98], 0
jne 0x14000b5dc
lea rcx, str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x140068c98], rax
test rax, rax
je 0x14000b5e8
lea rdx, str.SymInitialize
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c10], rax
lea rdx, str.SymCleanup
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c18], rax
lea rdx, str.StackWalk64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c20], rax
lea rdx, str.SymGetOptions
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c28], rax
lea rdx, str.SymSetOptions
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c30], rax
lea rdx, str.SymFunctionTableAccess64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c38], rax
lea rdx, str.SymGetLineFromAddr64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c40], rax
lea rdx, str.SymGetModuleBase64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c48], rax
lea rdx, str.SymGetModuleInfo64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c50], rax
lea rdx, str.SymGetSymFromAddr64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c58], rax
lea rdx, str.UnDecorateSymbolName
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c60], rax
lea rdx, str.SymLoadModule64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c68], rax
lea rdx, str.SymGetSearchPath
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c70], rax
lea rdx, str.SymSetSearchPath
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c78], rax
lea rdx, str.SymUnloadModule64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c80], rax
lea rdx, str.SymRegisterCallback64
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c88], rax
lea rdx, str.ImagehlpApiVersion
mov rcx, qword [0x140068c98]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x140068c90], rax
lea rax, [0x140068c10]
mov rsp, rbp
pop rbp
ret
xor eax, eax
mov rsp, rbp
pop rbp
ret