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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400078b0
cmp r11, r10
ja 0x140007926
cmp r10, rdx
ja 0x14000793a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400078b2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140007890
jmp 0x140007914
ja 0x1400078ba
mov r11, r10
cmp rax, r8
jne 0x140007854
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400078f0
mov rdi, r8
sub ecx, edx
jns 0x14000790b
jmp 0x140007916
cmp r8, rsi
je 0x14000794b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140007916
xor al, 1
cmp rdi, rsi
jne 0x1400078d0
jmp 0x140007916
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140037a50
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140037820
ud2
lea rcx, [0x1400409f3]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140037890
ud2

Function at 0x140009202
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140009235
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14000923a
call fcn.14001c210
mov ecx, dword [0x14004fc4c]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0xa8], 1
mov qword [rcx + 0xb0], rax
mov qword [rcx + 0xb8], rdx
add rsp, 0x38
ret
Function at 0x140010460
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140004c90
cmp rax, rcx
je 0x140010485
cmp rdx, 4
jae 0x140010488
xor eax, eax
xor r8d, r8d
jmp 0x140010520
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14003b670]
movdqa xmm3, xmmword [0x14003b680]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400104b0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140010537
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140010520
ret
Function at 0x140011480
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 0x1400114db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400114db
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400114f6
cmp eax, 0x42
jne 0x1400114db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400115a6
cmp byte [r9 + r11], 0x5f
jne 0x1400115a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14001160e
mov rcx, rsi
xor edx, edx
call fcn.14000ced0
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.14000ced0
test al, al
jne 0x1400116a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140011532
lea rdx, [0x14003d86b]
mov r8d, 1
call fcn.140005220
test al, al
jne 0x1400116a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400114ea
xor r14d, r14d
lea rbx, [0x14003dc20]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140011564
cmp byte [rax + rcx], 0x45
je 0x1400116c3
sub r14, 1
jb 0x140011589
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140011589
mov r8d, 2
mov rdx, rbx
call fcn.140005220
test al, al
jne 0x1400116a1
mov rcx, rsi
call fcn.14000e6e0
test al, al
jne 0x1400116a1
mov rax, qword [rsi]
test rax, rax
jne 0x140011550
jmp 0x1400114ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140011668
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140011602
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400115ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400115db
add dl, 0xa9
jmp 0x1400115ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140011668
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140011668
movzx edx, bl
add rax, rdx
jae 0x1400115b0
jmp 0x140011668
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140011668
cmp rax, rcx
jae 0x140011665
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400116bb
cmp qword [rsi + 0x20], 0
je 0x1400116b4
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.140011480
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400114ec
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400116a9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14003dbe0]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140005220
test al, al
je 0x1400116a9
mov dil, 2
jmp 0x1400114ea
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400114ea
mov dil, 1
xor r8d, r8d
jmp 0x14001166a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400114ea
Function at 0x14001c210
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 0x14001c253
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, [0x140019ab0]
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.140037700
ud2

Function at 0x1400233a7
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x140023440
mov rdi, rax
movsxd r12, dword [rsp + 0x2c]
lea rbx, [rsp + 0x30]
mov qword [rbx], 8
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x140023425
mov r15, qword [rdi + r13]
mov rcx, r15
call fcn.14002cc64
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.140022d68
mov rcx, rbx
mov rdx, r14
call fcn.1400236bf
add r13, 8
jmp 0x1400233f5
mov rcx, rdi
call sub.kernel32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x14002344e
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002604f
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
lea rdi, [rsp + 0x90]
movaps xmmword [rdi], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
mov dword [rdi], 0x40
mov rcx, rdi
call sub.kernel32.dll_GlobalMemoryStatusEx
mov rax, qword [rdi + 8]
mov qword [rsi + 0xa0], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0xa8], rax
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x50], xmm6
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
and qword [rcx + 0x60], 0
mov edx, 0x68
call sub.psapi.dll_GetPerformanceInfo
cmp eax, 1
jne 0x140026122
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0xb0], r8
mov qword [rsi + 0xb8], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140026fb5
Capabilities:
Get disk size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
imul rbx, rdx, 0x90
xor r14d, r14d
lea rdi, [rsp + 0x28]
mov r15, rcx
cmp rbx, r14
je 0x14002701a
cmp qword [r15 + 0x78], 0
je 0x14002700a
and qword [rsp + 0x28], 0
mov rcx, qword [rsi + r14 + 0x48]
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14002700a
mov rax, qword [rsp + 0x28]
mov qword [rsi + r14 + 0x80], rax
add r15, 0x90
add r14, 0x90
jmp 0x140026fd5
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140027dfd
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
je 0x140027ec1
lea rcx, [0x140040d32]
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
test ebp, ebp
js 0x140027ec1
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.14002585e
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x140027ed0
mov qword [rdi], 2
mov rcx, rsi
call fcn.1400257e2
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140029684
Capabilities:
Parse pe header

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

Function at 0x14002daac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002d89c
Function at 0x140030b7c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140030bac
xor eax, eax
jmp 0x140030c6f
mov rbp, rbx
cmp word [rax], si
je 0x140030bd1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140030bb8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140030bb4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140030acc
movsxd r14, eax
test eax, eax
jne 0x140030c0f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x140030ba5
mov rcx, r14
call fcn.140031a30
mov rdi, rax
test rax, rax
jne 0x140030c28
xor ecx, ecx
call fcn.14002e528
jmp 0x140030c04
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140030acc
test eax, eax
jne 0x140030c59
mov rcx, rdi
call fcn.14002e528
jmp 0x140030c63
xor ecx, ecx
call fcn.14002e528
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14003412c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002fbd0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400341b6
cmp byte [rbp - 0x21], r15b
je 0x1400341b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400341ec
call fcn.140032250
test eax, eax
jne 0x1400341d8
cmp byte [rbp - 0x21], r15b
je 0x1400341d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400341ec
cmp byte [rbp - 0x21], r15b
je 0x1400341e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002f1ac
test eax, eax
jne 0x14003428c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002fbd0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003422b
cmp byte [rbp - 0x21], r15b
je 0x140034260
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140034260
call fcn.140032250
test eax, eax
jne 0x14003424c
cmp byte [rbp - 0x21], r15b
je 0x140034245
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140034260
cmp byte [rbp - 0x21], r15b
je 0x14003425d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002f1ac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14003428c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14003428f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14003429d
mov rcx, rdi
call fcn.14002e528
cmp byte [rbp + 0x3f], r15b
je 0x1400342ac
mov rcx, qword [rbp + 0x27]
call fcn.14002e528
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140006600
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1030
call fcn.14000adb0
sub rsp, rax
mov rax, qword [0x14003d018]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [0x14002a640]
call fcn.140003cb0
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.140006a40
xor edi, edi
mov rbx, rax
test rsi, rsi
je 0x1400066f3
mov rcx, rsi
test rax, rax
je 0x1400066fb
call fcn.14000f344
test eax, eax
jne 0x1400066df
nop word [rax + rax]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000f5fc
test rax, rax
jne 0x14000669e
mov rcx, rsi
call fcn.14000f370
test eax, eax
je 0x1400066c4
mov rcx, rsi
jmp 0x1400066d5
mov r9, rbx
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000fd3c
test rax, rax
je 0x1400066d2
mov rcx, rbx
call fcn.14000f370
test eax, eax
jne 0x1400066d2
mov rcx, rsi
call fcn.14000f344
test eax, eax
je 0x140006670
jmp 0x1400066df
mov rcx, rbx
call fcn.140017388
mov edi, 0xffffffff
mov rcx, rsi
call fcn.14000f2ac
mov rcx, rbx
call fcn.14000f2ac
mov eax, edi
jmp 0x140006705
test rbx, rbx
je 0x140006700
mov rcx, rbx
call fcn.14000f2ac
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000ad80
add rsp, 0x1030
pop rdi
pop rsi
pop rbx
ret

Function at 0x140007200
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.1400140b0
mov r15, rax
test rax, rax
je 0x140007313
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, r12
call fcn.14000f934
test eax, eax
js 0x140007313
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.140017938
mov rbx, rax
cmp rax, rsi
jb 0x14000730e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x140007304
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.14000f934
test eax, eax
js 0x140007304
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14000f5fc
cmp rax, rbx
jne 0x140007304
sub rbx, rsi
add rbx, 1
je 0x1400072eb
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14000c7e0
test eax, eax
je 0x1400072fd
dec rdi
sub rbx, 1
jne 0x1400072d0
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x140007270
jmp 0x140007304
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.14001409c
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x14000b82c
Capabilities:
Parse pe header

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

Function at 0x1400189c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400187c0
Function at 0x7ff638b94a90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13f0
call fcn.7ff638bfce20
sub rsp, rax
mov rax, qword [0x7ff638c1a080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x1e
lea rdx, [0x7ff638c0e5f0]
lea rcx, [rsp + 0x30]
call fcn.7ff638b998a0
nop
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov eax, 1
nop
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x54], edx
inc rax
cmp rax, 0x270
jb 0x7ff638b94b00
mov dword [rsp + 0x50], 0x270
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
call fcn.7ff638b99370
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, 4
cmp qword [rsp + 0x40], r8
cmovb r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.7ff638b998a0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x7ff638b94bdb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff638b94bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff638b94bd6
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff638bfc8ec
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.7ff638bfc640
add rsp, 0x13f0
pop rbx
ret
Function at 0x7ff638b950e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x7ff638b95103
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x6c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x7ff638b950f0
mov byte [rcx + 4], 0
mov rax, rcx
ret
Function at 0x7ff638b9a620
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x7ff638b9a681
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x7ff638b9a640
mov ecx, dword [r9]
jmp 0x7ff638b9a768
cmp ecx, 0x4e0
jb 0x7ff638b9a768
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x7ff638b9a6a0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x7ff638b9a6f0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret