joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cf60
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 0xc], 0
lea r8, [rbp - 0xc]
mov ecx, 5
xor edx, edx
call sub.KERNEL32.dll_GetComputerNameExW
mov eax, dword [rbp - 0xc]
test rax, rax
mov qword [rbp - 0x20], rax
je 0x14000cfbf
lea rdi, [rax + rax]
mov edx, 2
mov rcx, rdi
call fcn.140001bc0
test rax, rax
jne 0x14000cfc4
mov ecx, 2
mov rdx, rdi
call fcn.140045e30
ud2
mov eax, 2
lea r8, [rbp - 0xc]
mov ecx, 5
mov qword [rbp - 0x18], rax
mov rdx, rax
call sub.KERNEL32.dll_GetComputerNameExW
cmp eax, 1
jne 0x14000d016
mov rcx, qword [rbp - 0x20]
test ecx, ecx
je 0x14000d039
lea rax, [rcx + rcx]
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
nop word cs:[rax + rax]
cmp word [rdx + r8*2], 0
je 0x14000d040
inc r8
add rax, 0xfffffffffffffffe
jne 0x14000d000
mov r8, rcx
jmp 0x14000d040
mov rdx, qword [rbp - 0x20]
test edx, edx
je 0x14000d030
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.140001ba0
mov qword [rsi], 0
jmp 0x14000d079
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.14003a910
cmp qword [rbp - 0x38], 0
je 0x14000d084
mov rax, qword [rbp - 0x28]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi], xmm0
mov rdx, qword [rbp - 0x20]
test edx, edx
je 0x14000d079
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.140001ba0
mov rax, rsi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov qword [rsi], 0
mov rdx, qword [rbp - 0x20]
test edx, edx
jne 0x14000d067
jmp 0x14000d079

Function at 0x14000f5e0
Capabilities:
Get disk information

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x14000f61d
movabs rax, 0x2000000000
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400147a0
jmp 0x14000f62b
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x140012c00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rsi, r9
mov rdi, rcx
add r8, rdx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], r8
mov word [rbp], 0
mov dword [rbp + 8], 1
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x10]
call fcn.140011870
mov rax, qword [rbp + 0x70]
add rax, rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rax
mov word [rbp], 0
mov dword [rbp + 8], 1
lea rcx, [rbp - 0x30]
lea rbx, [rbp - 0x10]
mov rdx, rbx
call fcn.140011870
mov rsi, qword [rbp - 0x48]
mov qword [rbp - 0x10], 0
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
je 0x140012cd9
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140012cb8
mov rcx, qword [rbp - 0x30]
add rdx, rdx
mov r8d, 2
call fcn.140001ba0
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140012cd2
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140001ba0
xor ebx, ebx
jmp 0x140012d61
mov rcx, qword [rbp - 0x10]
mov dword [rbp + 0x10], 4
mov dword [rbp + 0x14], 0
mov rdi, qword [rbp - 0x30]
mov dword [rbp - 0x10], 0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x14]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x10]
mov qword [rbp - 0x18], rcx
mov rdx, rdi
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
test eax, eax
sete bl
mov r14d, dword [rbp + 0x14]
mov rcx, qword [rbp - 0x18]
call sub.ADVAPI32.dll_RegCloseKey
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140012d47
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140001ba0
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140012d61
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140001ba0
shl r14, 8
movzx eax, bl
or rax, r14
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x140014d60
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp + 0x18], 0x3c00
mov dword [rbp + 0x14], 0
xor r15d, r15d
lea rbx, [rbp + 0x18]
xor r14d, r14d
nop word [rax + rax]
cmp r14d, 3
jae 0x140014e6a
mov edx, dword [rbp + 0x18]
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test rax, rax
je 0x140014e02
mov rdi, rax
mov qword [rbp + 8], rax
mov byte [rbp + 0x1f], 1
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
inc r14d
mov dword [rbp + 0x14], eax
mov r15, rdi
cmp eax, 0x6f
je 0x140014da0
test eax, eax
jne 0x140014e67
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi], 0
jmp 0x140014ed4
movzx eax, byte [0x140062181]
mov ecx, 0x32
mov edx, 1
call fcn.140001b90
test rax, rax
je 0x140014ee7
mov rdi, rax
movups xmm0, xmmword [0x1400488c8]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400488b8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi], rdi
mov qword [rsi + 8], 0x32
mov qword [rsi + 0x10], 0x32
jmp 0x140014ed4
mov r15, rdi
lea rax, [rbp + 0x14]
mov qword [rbp - 0x10], rax
lea rax, [0x14003f520]
mov qword [rbp - 8], rax
lea rax, [0x140048908]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp + 8], r15
mov byte [rbp + 0x1f], 1
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x58]
call fcn.140039e80
mov rax, qword [rbp - 0x18]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], r15
mov ecx, 1
mov edx, 0x32
call fcn.140045e30
ud2
Function at 0x14001cf60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rdx + 0x10]
movzx r14d, byte [rdx + 0x18]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], r14b
movzx eax, byte [0x140062181]
mov ecx, 0x5f0
mov edx, 8
call fcn.140001b90
test rax, rax
mov qword [rbp - 8], rbx
je 0x14001d1d6
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x60]
mov qword [rbp - 0x10], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop word cs:[rax + rax]
mov eax, 1
lock xadd qword [0x140062198], rax
mov r13, rax
xor r13, rcx
lea r15, [rdx + r13]
mov rbx, r13
rol rbx, 0x10
xor rbx, r15
lea r12, [rbx + r8]
rol rbx, 0x15
add r13, r9
mov r15, r13
xor r15, r10
rol r13, 0x20
xor rax, r12
add rax, r15
rol r15, 0xd
xor r12, r11
xor r15, rax
rol rax, 0x20
xor r12, rbx
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r12, rax
xor r15, r13
rol r13, 0x20
xor rax, r11
add rax, r15
rol r15, 0xd
xor r15, rax
rol rax, 0x20
xor r13, 0xff
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r15, r13
rol r13, 0x20
xor r12, rax
add rax, r15
rol r15, 0xd
xor r15, rax
rol rax, 0x20
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r15, r13
rol r13, 0x20
xor r12, rax
add rax, r15
rol r15, 0xd
add r13, r12
rol r12, 0x10
xor r12, r13
rol r12, 0x15
xor r15, rax
add r13, r15
rol r15, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r15
xor rax, r12
xor rax, r13
je 0x14001d030
mov rdx, qword [rbp - 8]
mov rcx, qword [rdx + 0x40]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov r8, qword [rbp - 0x18]
mov qword [rsi + 0x138], r8
mov byte [rsi + 0x140], r14b
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov r8, qword [rbp - 0x10]
mov qword [rsi + 0x100], r8
mov qword [rsi + 0x108], rax
mov qword [rsi + 0x110], rcx
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x14001d1c2
mov rdx, qword [rdx + 0x50]
test rdx, rdx
je 0x14001d1c2
mov r8d, 1
call fcn.140001ba0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.140045e30
ud2
Function at 0x1400258c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
test rax, rax
je 0x1400258f6
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140025906
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x140025920
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 + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400259b0
jmp 0x14002599f
jae 0x140025a70
cmp r8, 0x201
jae 0x1400259b0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140025a08
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400259df
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400452b0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140025a31
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140025ad8
mov r8d, r14d
cmp r15, r8
jne 0x140025990
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140025afb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14002599f
jmp 0x1400259b0
cmp rsi, r8
jb 0x140025b15
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400289e0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140025ac1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001ba0
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140025aa9
jmp 0x140025ac1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140045fc0
jmp 0x140025b2a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140046410
ud2
Function at 0x14002eeb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14004c078]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14002eef4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14002ef5a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14002ef91
test eax, eax
js 0x14002ef6b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14002ef84
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140028520
mov rcx, rax
call fcn.1400233b0
mov ecx, 7
int 0x29
ud2

Function at 0x1400307f0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140030828
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.140030840
nop
add rsp, 0x38
ret

Function at 0x140030840
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x140030883
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x1400268f0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140045f10
ud2
Function at 0x140030ed0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140062181]
add eax, dword [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140001b90
test rax, rax
je 0x140030faf
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
and byte [rax], al
add byte [rcx], al
add byte [rbp + rcx*4 + 5], cl
sgdt [rax]
add byte [rcx], dh
push qword [rcx]
leave
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
jge 0x140030f9f
mov ecx, 8
mov edx, 0x10
call fcn.140045e30
ud2
Function at 0x14003e6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14003e75a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
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 0x14003e750
cmp r11, r10
ja 0x14003e7f3
cmp r10, rdx
ja 0x14003e807
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14003e752
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14003e730
jmp 0x14003e7c7
ja 0x14003e75a
mov r11, r10
cmp rax, r8
jne 0x14003e702
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14003e7cb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14003e7a0
mov r8, r10
sub ecx, r9d
jns 0x14003e7be
jmp 0x14003e7cd
cmp r10, rdx
je 0x14003e7d9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003e7cd
xor al, 1
cmp r8, rdx
jne 0x14003e780
jmp 0x14003e7cd
xor eax, eax
jmp 0x14003e7cd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140045fc0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140046490
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140046410
ud2

Function at 0x14004087c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400408c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400408c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400408c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400408c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400408c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400408c8
xor al, al
add rsp, 0x28
ret
Function at 0x140001fb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002002
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002002
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002002
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002002
cmp dword [rcx + 0x84], 0xe
jbe 0x140002002
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002004
xor al, al
add rsp, 0x28
ret

Function at 0x140001918
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001962
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001962
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001962
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001962
cmp dword [rcx + 0x84], 0xe
jbe 0x140001962
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001964
xor al, al
add rsp, 0x28
ret
Function at 0x14000147a
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000bb90]
mov dword [rax], 1
mov rax, qword [0x14000bba0]
mov dword [rax], 1
mov rax, qword [0x14000bbb0]
mov dword [rax], 1
mov rax, qword [0x14000bb80]
mov dword [rax], 1
mov rax, qword [0x14000ba40]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
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 0x140001504
mov eax, 0
jmp 0x140001585
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 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001900
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
lea r11d, [r8 - 2]
mov rbx, rcx
mov rsi, rdx
test r11d, r11d
jle 0x140001a40
mov rcx, rdx
mov rax, rbx
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
xor r10d, r10d
nop word cs:[rax + rax]
movzx edx, byte [rcx]
add rax, 4
add r10d, 3
add rcx, 3
shr dl, 2
and edx, 0x3f
movzx edx, byte [r9 + rdx]
mov byte [rax - 4], dl
movsx edx, byte [rcx - 3]
movsx edi, byte [rcx - 2]
shl edx, 4
sar edi, 4
and edx, 0x30
and edi, 0xf
or edx, edi
movsxd rdx, edx
movzx edx, byte [r9 + rdx]
mov byte [rax - 3], dl
movsx edx, byte [rcx - 2]
movsx edi, byte [rcx - 1]
shl edx, 2
sar edi, 6
and edx, 0x3c
and edi, 3
or edx, edi
movsxd rdx, edx
movzx edx, byte [r9 + rdx]
mov byte [rax - 2], dl
movzx edx, byte [rcx - 1]
and edx, 0x3f
movzx edx, byte [r9 + rdx]
mov byte [rax - 1], dl
cmp r10d, r11d
jl 0x140001930
cmp r8d, r10d
jle 0x140001a10
movsxd r11, r10d
lea rcx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub r8d, 1
lea r9, [rsi + r11]
movzx edx, byte [r9]
shr dl, 2
and edx, 0x3f
movzx edx, byte [rcx + rdx]
mov byte [rax], dl
cmp r8d, r10d
je 0x140001a20
lea r10, [rsi + r11 + 1]
movsx edx, byte [r9]
movsx r8d, byte [r10]
shl edx, 4
sar r8d, 4
and edx, 0x30
and r8d, 0xf
or edx, r8d
movsxd rdx, edx
movzx edx, byte [rcx + rdx]
mov byte [rax + 1], dl
movsx edx, byte [r10]
shl edx, 2
and edx, 0x3c
movzx edx, byte [rcx + rdx]
mov byte [rax + 2], dl
add rax, 4
mov byte [rax - 1], 0x3d
mov byte [rax], 0
add rax, 1
sub eax, ebx
pop rbx
pop rsi
pop rdi
ret
movsx edx, byte [r9]
shl edx, 4
and edx, 0x30
movzx edx, byte [rcx + rdx]
mov byte [rax + 1], dl
mov edx, 0x3d
jmp 0x140001a05
mov rax, rcx
xor r10d, r10d
jmp 0x1400019a3

Function at 0x140001a50
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
movsxd rbp, r8d
mov rsi, rcx
mov ebx, r9d
mov rdi, rdx
mov rcx, rbp
call sym.malloc
mov r9, rax
test ebp, ebp
jle 0x140001a9c
xor ecx, ecx
nop word [rax + rax]
mov eax, ecx
cdq
idiv ebx
movsxd rdx, edx
movzx eax, byte [rdi + rdx]
xor al, byte [rsi + rcx]
mov byte [r9 + rcx], al
add rcx, 1
cmp rbp, rcx
jne 0x140001a80
mov rax, r9
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140001e30
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop