joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aeba0
Capabilities:
Get number of processors

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov rdi, qword [rcx + 8]
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
je 0x1400aec0a
test rax, rax
je 0x1400aec16
movups xmm6, xmmword [rax + 0x20]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x1400aec19
xor ecx, ecx
call fcn.140102ac0
test rax, rax
jne 0x1400aebf8
xorps xmm6, xmm6
lea rdi, [rsi + 0x10]
movzx eax, byte [rsi + 0x80]
lea ecx, [rax - 3]
movzx edx, cl
lea r8, [rdx + 1]
xor ecx, ecx
cmp dl, 2
cmovb rcx, r8
cmp rcx, 1
je 0x1400aec50
test rcx, rcx
jne 0x1400aec8e
cmp al, 2
je 0x1400aec8e
mov rcx, rdi
call fcn.14004f6a0
jmp 0x1400aec8e
cmp qword [rdi], 0
je 0x1400aec8e
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400aec8e
mov rax, qword [rsi + 0x20]
call qword [rax]
mov rax, qword [rsi + 0x20]
cmp qword [rax + 8], 0
je 0x1400aec8e
mov r8, qword [rsi + 0x18]
cmp qword [rax + 0x10], 0x11
jb 0x1400aec7f
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rdi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov byte [rsi + 0x80], 3
mov eax, dword [rsp + 0x29]
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 0x84], ecx
mov dword [rsi + 0x81], eax
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400aed1e
xor ecx, ecx
call fcn.140102ac0
test rax, rax
je 0x1400aed27
movups xmmword [rax + 0x20], xmm6
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1400af710
Capabilities:
Get number of processors

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rdi, qword [rcx + 8]
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
je 0x1400af769
test rax, rax
je 0x1400af775
movups xmm6, xmmword [rax + 0x20]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x1400af778
xor ecx, ecx
call fcn.140102ac0
test rax, rax
jne 0x1400af757
xorps xmm6, xmm6
lea rdi, [rsi + 0x10]
movzx eax, byte [rsi + 0x80]
lea ecx, [rax - 3]
movzx edx, cl
lea r8, [rdx + 1]
xor ecx, ecx
cmp dl, 2
cmovb rcx, r8
cmp rcx, 1
je 0x1400af7af
test rcx, rcx
jne 0x1400af7ed
cmp al, 2
je 0x1400af7ed
mov rcx, rdi
call fcn.14004f6a0
jmp 0x1400af7ed
cmp qword [rdi], 0
je 0x1400af7ed
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400af7ed
mov rax, qword [rsi + 0x20]
call qword [rax]
mov rax, qword [rsi + 0x20]
cmp qword [rax + 8], 0
je 0x1400af7ed
mov r8, qword [rsi + 0x18]
cmp qword [rax + 0x10], 0x11
jb 0x1400af7de
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rdi + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
movups xmm3, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov byte [rsi + 0x80], 4
mov eax, dword [rsp + 0x29]
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 0x84], ecx
mov dword [rsi + 0x81], eax
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400af87d
xor ecx, ecx
call fcn.140102ac0
test rax, rax
je 0x1400af886
movups xmmword [rax + 0x20], xmm6
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1400d1900
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
lea rax, [r8 + 0xb]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r8
mov word [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.1400c7df0
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x1400d1976
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400d1aad
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x800
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400d1aad
mov rbx, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov r14, qword [rsp + 0x60]
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x34]
lea r12, [rsp + 0x38]
nop dword [rax + rax]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400d1a08
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rax, rdx
cmp rax, r8
jae 0x1400d19c0
mov rcx, r12
call fcn.14014e0b0
mov rbx, qword [rsp + 0x40]
jmp 0x1400d19c0
test eax, eax
jne 0x1400d1a39
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400d1a8f
movabs rax, 0xde00000002
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x38], 0
jne 0x1400d1a50
jmp 0x1400d1a62
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x38], 0
je 0x1400d1a62
mov rcx, qword [0x1401e4bf8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x58], 0
je 0x1400d1a7e
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x58], 0
jne 0x1400d1a6a
jmp 0x1400d1a7e
mov ecx, 0x800
mov edx, 1
call fcn.140144b00
ud2
Function at 0x1400e1f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400e1fbb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400e1fbb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400e1fd6
cmp eax, 0x42
jne 0x1400e1fbb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400e2086
cmp byte [r9 + r11], 0x5f
jne 0x1400e2086
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400e20ee
mov rcx, rsi
xor edx, edx
call fcn.1400dd150
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400dd150
test al, al
jne 0x1400e2181
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400e2012
lea rdx, [0x1401a188b]
mov r8d, 1
call fcn.140008560
test al, al
jne 0x1400e2181
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400e1fca
xor r14d, r14d
lea rbx, [0x1401a1c56]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400e2044
cmp byte [rax + rcx], 0x45
je 0x1400e21aa
sub r14, 1
jb 0x1400e2069
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400e2069
mov r8d, 2
mov rdx, rbx
call fcn.140008560
test al, al
jne 0x1400e2181
mov rcx, rsi
call fcn.1400e21c0
test al, al
jne 0x1400e2181
mov rax, qword [rsi]
test rax, rax
jne 0x1400e2030
jmp 0x1400e1fca
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1400e2148
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400e20e2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400e20cc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400e20bb
add dl, 0xa9
jmp 0x1400e20ca
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1400e2148
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1400e2148
movzx edx, bl
add rax, rdx
jae 0x1400e2090
jmp 0x1400e2148
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1400e2148
cmp rax, rcx
jae 0x1400e2145
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400e2189
cmp qword [rsi + 0x20], 0
je 0x1400e21b6
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1400e1f60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400e1fcc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400e2198
lea rax, [0x1401a1c21]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140008560
test al, al
je 0x1400e2198
mov dil, 2
jmp 0x1400e1fca
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x1400e2153
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400e1fca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400e1fca
xor edi, edi
jmp 0x1400e1fca
Function at 0x1400eb730
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400eb7a9
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0x103
je 0x1400eb7e0
test eax, eax
js 0x1400eb7ba
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400eb7d3
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, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, [0x1401a6e98]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xa8], 0
lea rax, [0x1401d1ba8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
lea rax, [0x1400088c0]
mov qword [rsp + 0x70], rax
lea rax, str.fatal_runtime_error:
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x78]
call fcn.1400e9730
mov rcx, rax
call fcn.1400e9890
mov ecx, 7
int 0x29
ud2
Function at 0x1400eee80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1400eeeb0
test ecx, ecx
jne 0x1400eef00
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400eeebc
test ecx, ecx
jne 0x1400eef00
mov rcx, rdi
call fcn.1400eed60
movzx eax, al
test bpl, bpl
jne 0x1400eef07
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400eeef3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400ef078]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400eeef3.2
xor eax, eax
test bpl, bpl
je 0x1400eeecc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400ef059
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400eef3a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400eefb9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1400eef80
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1400eef9b
inc rax
dec rdi
cmp rax, 1
jne 0x1400eef60
jmp 0x1400eefb9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1400eef9b
cmp ebx, 0x5c
je 0x1400eef9b
inc rax
dec rdi
cmp rax, 1
jne 0x1400eef80
jmp 0x1400eefb9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400ef067
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400eefe3
mov al, 9
cmp rdx, 2
je 0x1400eefe7
cmp rdx, 1
jne 0x1400eeff7
cmp byte [r8], 0x2e
jne 0x1400eeff7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400eeff7
mov al, 0xa
jmp 0x1400eeff7
cmp byte [r8], 0x2e
jne 0x1400eeff7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1400eeef3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1400eeef3.2
mov ecx, 2
jmp case.0x1400eeef3.2
lea r8, str.library_std_srcpath.rs
call fcn.140144ea0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140144ea0
ud2
Function at 0x1400f2220
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400f2292
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0xc0000011
jne 0x1400f22a1
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400f22d9
cmp eax, 0x103
je 0x1400f22e3
test eax, eax
js 0x1400f22be
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1400f22d9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, [0x1401a6e98]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xa8], 0
lea rax, [0x1401d1ba8]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
lea rax, [0x1400088c0]
mov qword [rsp + 0x70], rax
lea rax, str.fatal_runtime_error:
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x78]
call fcn.1400e9730
mov rcx, rax
call fcn.1400e9890
mov ecx, 7
int 0x29
ud2
Function at 0x1400f4f20
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e8
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1401e4c00]
cmp rax, 3
jne 0x1400f5049
cmp rbx, 0x17f
ja 0x1400f505b
lea rcx, [rsp + 0x68]
mov rdx, r14
mov r8, rbx
call fcn.140137a60
mov byte [rsp + rbx + 0x68], 0
lea r8, [rbx + 1]
cmp rbx, 0xe
ja 0x1400f4f99
lea rcx, [rbx + 1]
xor eax, eax
xor edx, edx
nop
cmp byte [rsp + rdx + 0x68], 0
je 0x1400f4fac
inc rdx
cmp rcx, rdx
jne 0x1400f4f80
mov rdx, r8
test rax, rax
jne 0x1400f4fb6
jmp 0x1400f5012
lea rdx, [rsp + 0x68]
xor ecx, ecx
call fcn.140009100
test rax, rax
jne 0x1400f4fb6
jmp 0x1400f5012
mov eax, 1
test rax, rax
je 0x1400f5012
cmp rdx, rbx
jne 0x1400f5012
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x68]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400f5026
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400f5039
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400f503c
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14014cc20
cmp rbx, 0x17f
jbe 0x1400f4f58
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14014cc90
Function at 0x1400f5a10
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 rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x1400f5a5d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400f5b1c
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400f5b1c
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400f5bc0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400f5b0e
mov rcx, qword [r14]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x10], r14
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
cmp qword [rax + 8], 0
je 0x1400f5ae7
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x1400f5ad8
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 0x10
mov edx, 8
call fcn.140144b00
ud2

Function at 0x1400f5d20
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 0x1400f5d63
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, [fcn.1400f0370]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140144de0
ud2
Function at 0x140127330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x1401273c6
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet_________________t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14014f6c0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi + 0x18]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140027720
test rdi, rdi
je 0x140127446
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x30]
jmp 0x14012745e
mov rdx, qword [rsi + 0x18]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140127556
mov r9, qword [rsi + 8]
test r9, r9
je 0x1401275e8
mov rcx, qword [rsi]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x140127565
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x140127420
add r8, rcx
cmp r9, 8
jae 0x14012756e
jmp 0x1401275e8
movzx eax, byte [rsi]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140027720
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1401275e8
movzx edx, byte [rsi]
xor rax, rdx
imul rax, rcx
jmp 0x1401275e8
mov r8, rcx
cmp r9, 8
jb 0x1401275e8
add rcx, r9
nop word cs:[rax + rax]
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140127580
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret