joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400771a0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140077348
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140077205
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140077205
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140077205
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14007723c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140077292
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140077292
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140077292
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140077292
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140077292
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140076c50
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400772f4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140057e80
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140077020
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140077340
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140057e80
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140078ab0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1403839c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140078b45
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140078ba6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140057e80
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14008ba60
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140078c61
sub ecx, 1
je 0x140078cd4
sub ecx, 1
je 0x140078c10
cmp ecx, 1
je 0x140078bf3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14009210c]
call fcn.140057e80
jmp 0x140078cd4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400787e0
test eax, eax
je 0x140078cd4
jmp 0x140078b7a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140078cd4
sub rax, rsi
cmp rax, rbp
jae 0x140078cd4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140058000
jmp 0x140078cd4
cmp r8d, 4
jle 0x140078cd4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140078cd4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140057da0
mov esi, eax
test eax, eax
je 0x140078cb3
mov edx, 5
mov rcx, rbx
call fcn.1400797a0
mov eax, esi
jmp 0x140078b7a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140062250
mov rcx, r14
call fcn.140062530
test eax, eax
je 0x140078b78
mov edx, 5
mov rcx, rbx
call fcn.1400797a0
mov eax, Ordinal_45
jmp 0x140078b7a
Function at 0x14008b430
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14008b472
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14008b4b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14008b512
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14008b4d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14008b553
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400a33ea]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400a33eb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14008b520
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14008c4e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008c52a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008c52a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008c52a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008c52a
cmp dword [rcx + 0x84], 0xe
jbe 0x14008c52a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008c52c
xor al, al
add rsp, 0x28
ret
Function at 0x1416feb0c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rsi, rdx
mov r12, rcx
test r8d, r8d
je 0x1416fecf5
mov r8d, dword [rdx + 0xc]
test r8d, r8d
je 0x1416fecf5
xor edi, edi
mov r9, rdx
mov qword [rbp + 0xa8], rdi
mov eax, dword [r9 + 0x10]
mov r13d, dword [r9]
add rax, r12
mov ebx, r8d
add r13, r12
add rbx, r12
mov qword [rsp + 0x30], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
test rax, rax
jne 0x1416feb8a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.1416f68ec
test r15, r15
je 0x1416fec98
mov rax, qword [r13]
xor r14d, r14d
xor ebx, ebx
test rax, rax
je 0x1416fec77
mov rsi, qword [rsp + 0x30]
mov rdi, r13
jns 0x1416febc7
movzx r13d, ax
jmp 0x1416febcf
lea r13, [r12 + 2]
add r13, rax
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movsxd rcx, r14d
mov qword [rsi + rcx*8], rax
test rax, rax
jne 0x1416fec56
cmp dword [0x1417084f0], 1
jne 0x1416fec56
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.1416f68ec
lea rcx, [rsp + 0x40]
call fcn.1416fee5c
lea rdx, [0x1416f5898]
lea rcx, [rsp + 0x40]
call fcn.1416f6910
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.1416f6910
lea rcx, [rsp + 0x40]
call fcn.1416f6938
mov rcx, qword [0x141708490]
lea r9, [rbp + 0xa0]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc rbx
inc r14d
mov rax, qword [rdi + rbx*8]
test rax, rax
jne 0x1416febbf
mov rdi, qword [rbp + 0xa8]
mov rsi, qword [rbp + 0x98]
inc rdi
mov qword [rbp + 0xa8], rdi
lea rax, [rdi + rdi*4]
lea r9, [rsi + rax*4]
mov r8d, dword [r9 + 0xc]
test r8d, r8d
jne 0x1416feb55
jmp 0x1416fecf5
lea rcx, [rsp + 0x40]
call fcn.1416fee5c
lea rdx, [0x1416f5878]
lea rcx, [rsp + 0x40]
call fcn.1416f6910
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1416f6910
cmp dword [0x1417084f0], 1
jne 0x1416fecf5
lea rcx, [rsp + 0x40]
call fcn.1416f6938
mov rcx, qword [0x141708490]
lea r9, [rbp + 0xa0]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x190]
xor eax, eax
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1416fed58
Capabilities:
Read file via mapping

Disassembly:
sub rsp, 0x458
call fcn.1416fee14
mov r8d, 0x208
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x141708238], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [0x141708238]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x141708240], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [0x141708240]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rcx, dword [0x1417084f8]
add rax, rcx
add rsp, 0x458
ret
Function at 0x1416ff4e8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rbx, qword [rcx]
xor r14d, r14d
mov esi, r14d
mov rdi, rdx
mov r12, rcx
call fcn.1416ff460
mov rcx, rbx
call fcn.1416ff724
mov rcx, rdi
mov rbx, rax
call fcn.1416ff724
xor edx, edx
mov qword [rbp - 0x41], rax
lea r8d, [r14 + 0x58]
mov r13, rax
lea rcx, [rbp - 0x39]
call fcn.1416f68ec
lea r8, [rbp - 0x39]
mov rcx, rbx
lea edx, [r14 + 5]
call fcn.1416ff258
mov r15d, eax
cmp eax, 5
jb 0x1416ff6f1
mov r8, qword [rbp - 0x31]
mov rcx, rbx
mov rdx, qword [rbp - 0x39]
call fcn.1416ff77c
mov rsi, rax
test rax, rax
je 0x1416ff6f1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [r14 + 0x40]
mov dword [rbp + 0x7f], r14d
mov rdi, rax
mov dword [rbp + 0x77], r14d
lea rax, [rbp + 0x7f]
mov rcx, rdi
mov r8d, r15d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1416ff6d2
lea rax, [rbp + 0x77]
mov rdx, rsi
lea r9d, [r14 + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1416ff6a7
lea r12, [rsi + 0x38]
mov rdx, rbx
sub rdx, r12
mov r8, rsi
sub r8, r12
mov rcx, r12
mov r9d, r15d
mov al, byte [rdx + rcx]
mov byte [rcx], al
mov byte [r8 + rcx + 0x58], al
inc rcx
sub r9, 1
jne 0x1416ff5ee
lea rdx, [r15 + rbx]
lea rcx, [r15 + r12]
call fcn.1416ff41c
lea r8, [rbp - 0x39]
mov rdx, rbx
mov rcx, r12
call fcn.1416ff4ac
mov rcx, rbx
mov rax, r13
sub rcx, r13
sub rax, rbx
cmp r13, rbx
cmovb rax, rcx
cmp rax, 0x7fff0000
jbe 0x1416ff65b
mov rdx, qword [rbp - 0x41]
lea r13, [rsi + 0x18]
mov rcx, r13
call fcn.1416ff41c
sub rax, rsi
mov rdx, r13
mov rcx, rdi
lea r8, [rax - 0x18]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rdx, r13
mov rcx, rbx
call fcn.1416ff41c
mov rax, qword [rbp - 0x41]
mov r8, r15
mov rdx, r12
mov qword [rsi + 0x10], rax
mov rcx, rdi
mov dword [rsi + 8], r15d
mov qword [rsi], rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rbp + 0x77]
lea rax, [rbp + 0x77]
mov r8d, 0x78
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r12, qword [rbp + 0x67]
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rbp + 0x7f]
lea rax, [rbp + 0x7f]
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp qword [rsi], r14
je 0x1416ff6e1
lea rax, [rsi + 0x38]
mov qword [r12], rax
jmp 0x1416ff6f1
mov edx, 1
mov rcx, rsi
call fcn.1416ff8cc
mov rsi, r14
lea rcx, [0x141708258]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0xe8]
test rsi, rsi
setne r14b
mov eax, r14d
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1416ff77c
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
xor edi, edi
cmp dword [0x141708254], 0x40
jae 0x1416ff8aa
xorps xmm0, xmm0
lea rbx, [rcx + rdx]
add rcx, r8
mov rbp, 0xfffffffffff80000
cmp rcx, 0xffffffff80000000
movups xmmword [rsp + 0x20], xmm0
lea rax, [rcx + 0x7ff80000]
lea rcx, [r11 - 0x68]
cmovb rbp, rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 0x80000000
lea rsi, [rbx - 0x7fff0000]
cmp rbx, rax
lea r14d, [rdi + 1]
cmovb rsi, r14
cmp rsi, rbp
jae 0x1416ff8aa
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1416ff87a
cmp dword [rsp + 0x70], 0x10000
jne 0x1416ff868
mov rax, qword [rsp + 0x68]
cmp rax, 0x78
jb 0x1416ff86d
mov edx, dword [rsp + 0x48]
mov ecx, edx
cmp rax, rdx
jb 0x1416ff86d
lea eax, [rdx - 1]
mov r8d, 0x3000
xor edx, edx
add rax, rsi
div rcx
mov edx, 0x78
imul rcx, rax
lea r9d, [rdx - 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x1416ff87f
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
add rsi, rax
cmp rsi, rbp
jb 0x1416ff803
test rdi, rdi
je 0x1416ff8aa
lea rdx, [0x141708280]
xor eax, eax
mov rcx, rdx
cmp qword [rcx], 0
je 0x1416ff89f
add eax, r14d
add rcx, 8
cmp eax, 0x40
jb 0x1416ff88b
jmp 0x1416ff8aa
add dword [0x141708254], r14d
mov qword [rdx + rax*8], rdi
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1417069e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x141706adb
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x141706ae3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x141706b1a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x141706af0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x141706b45
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x141706b6b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x141706b50
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret
Function at 0x140001060
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rcx
movdqa xmm0, xmmword [rdx]
aeskeygenassist xmm0, xmm0, 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x140006e90
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x150
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x6c], 1
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe8], 0
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rax
call fcn.140001ce0
mov ecx, 5
mul rcx
mov qword [rsp + 0x60], rax
seto al
test al, 1
jne 0x140007166
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x6c]
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
xor r8d, r8d
lea r9, [rsp + 0x78]
mov dword [rsp + 0x20], 0x3000
mov dword [rsp + 0x28], eax
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov r9d, 4
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
call fcn.140007180
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov r9d, 1
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov r9d, 0x10
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x128], 0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x120], rax
mov r8, qword [rsp + 0x120]
mov r11, qword [rsp + 0x70]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov r10, qword [rsp + 0xa0]
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x148], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
lea rcx, [rsp + 0x80]
mov edx, 0x2000000
mov r9, 0xffffffffffffffff
xor esi, esi
xor esi, esi
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x108], 0
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0x100]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
nop
add rsp, 0x150
pop rsi
ret
lea rcx, str.attempt_to_multiply_with_overflowInvalidLengthunsafe_precondition_s__violated:_ptr::sub_ptr_requires__self___origin__rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6librarycore_srciter_adaptersenumerate.rs
lea r8, str.srcmain.rs
mov edx, 0x21
call fcn.1400322e0
int3
Function at 0x14001d470
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x14001d510
jmp 0x14001d4ff
jae 0x14001d5cf
cmp r8, 0x201
jae 0x14001d510
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x14001d567
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14001d53f
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.1400316d0
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
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 0x14001d590
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001d649
mov r8d, r13d
cmp r12, r8
jne 0x14001d4f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001d67d
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14001d4ff
jmp 0x14001d510
cmp r14, r8
jb 0x14001d697
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.14001e7a0
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x14001d632
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.14000d870
mov rax, rsi
add rsp, 0x498
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 + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x14001d61d
jmp 0x14001d632
lea rcx, str.internal_error:_entered_unreachable_code_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs_
mov edx, 0x28
call fcn.1400322e0
jmp 0x14001d6ac
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.1400326c0
ud2