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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x140022c1c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x140022c1c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x140022c1c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x140022cc8
cmp byte [rdx], 0xed
jne 0x140022cd1
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x140022cd1
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x140022c61
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x140022dbb
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.140015980
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x140022de0
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x140022d6e
test rdi, rdi
je 0x140022d60
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x140022cf8
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x140022d60
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x140022cf0
cmp r10b, 0xe0
jb 0x140022cda
cmp r10b, 0xed
jne 0x140022d2f
cmp r8, rax
je 0x140022d60
lea r8, [r9 + 2]
cmp r8, rax
je 0x140022d60
cmp byte [r9 + 1], 0x9f
ja 0x140022d5c
add r9, 3
mov r8, r9
jmp 0x140022cf0
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x140022cf0
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x140022cf0
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x140022d8e
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.140031100
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x140022d6b
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.140031100
mov rdx, r15
jmp 0x140022c7c
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140031100
mov rbx, qword [rsi + 0x10]
jmp 0x140022cb9
Function at 0x140030904
Capabilities:
Parse pe header

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

Function at 0x140013334
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x13d8
call fcn.140011fd0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call fcn.140002d24
mov dword [rsp + 0x34], eax
mov edx, 1
mov dword [rsp + 0x13b4], 0xffffffff
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, 0x270
jb 0x140001200
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
call fcn.140002b50
mov ecx, eax
imul rax, rcx, 0xfa1
cmp eax, 0x71e
ja 0x14000125b
lea rcx, [rsp + 0x30]
call fcn.140002b50
mov ecx, eax
imul rax, rcx, 0xfa1
cmp eax, 0x71f
jb 0x140001241
shr rax, 0x20
lea rcx, [rsp + 0x20]
sub rax, 0x7ffff448
xor rax, 0xffffffff80000000
mov qword [rsp + 0x20], rax
call fcn.140002490
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140002f80
add rsp, 0x13d8
ret
Function at 0x1400012a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
xor ebp, ebp
movsx r14d, r8b
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov rbx, rcx
mov qword [rcx + 0x18], rbp
mov r15, rdx
cmp qword [rdx + 0x18], 0xf
movd xmm6, r14d
punpcklbw xmm6, xmm6
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
mov qword [rsp + 0x28], rcx
jbe 0x1400012f0
mov r15, qword [rdx]
mov rsi, qword [rdx + 0x10]
movabs rdi, 0x7fffffffffffffff
cmp rsi, rdi
ja 0x140001467
cmp rsi, 0xf
ja 0x140001325
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
movups xmm0, xmmword [r15]
movups xmmword [rcx], xmm0
jmp 0x1400013b5
mov rax, rsi
or rax, 0xf
cmp rax, rdi
jbe 0x140001361
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002fa0
mov rcx, rax
test rax, rax
je 0x14000145b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000139b
mov ecx, 0x16
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14000137e
mov rax, rbp
jmp 0x14000139b
cmp rcx, 0x1000
jb 0x140001396
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001461
jmp 0x14000133f
call fcn.140002fa0
lea r8, [rsi + 1]
mov qword [rbx], rax
mov rdx, r15
mov qword [rbx + 0x10], rsi
mov rcx, rax
mov qword [rbx + 0x18], rdi
call fcn.1400125c0
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x1400013ca
mov r8, qword [rbx]
mov rdx, r8
mov rax, r8
jmp 0x1400013d0
mov rax, rbx
mov rdx, rbx
add rdx, qword [rbx + 0x10]
mov rcx, rdx
sub rcx, r8
cmp r8, rdx
cmova rcx, rbp
test rcx, rcx
je 0x14000142f
cmp rcx, 0x40
jb 0x14000142f
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rax]
add rbp, 0x40
xorps xmm0, xmm6
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm6
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm0, xmm6
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
xorps xmm0, xmm6
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp rbp, rcx
jne 0x1400013f0
cmp rax, rdx
je 0x14000143f
xor byte [rax], r14b
inc rax
cmp rax, rdx
jne 0x140001434
movaps xmm6, xmmword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140008b98
int3
call fcn.140001100
int3
call fcn.1400011a0
int3
Function at 0x140002b50
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 0x140002bb1
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 0x140002b70
mov ecx, dword [r9]
jmp 0x140002c9b
cmp ecx, 0x4e0
jb 0x140002c9b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140002bd0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140002c20
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

Function at 0x14000395c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000985b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000985b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000985b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000985b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000985b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000985b
cmp dword [rcx + 0xf8], 0
je 0x14000985b
mov ecx, ebx
call fcn.140009900
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400096f4
nop
cmp dword [rbp + 0x20], 0
jne 0x1400098bc
call fcn.14000d24c
cmp eax, 1
jne 0x1400098ac
xor dl, dl
jmp 0x1400098b6
call fcn.14000d218
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400098c7
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400098d0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400097ec

Function at 0x1400099d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400097ec
Function at 0x14000ccc0
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 0x14000ccf0
xor eax, eax
jmp 0x14000cdb3
mov rbp, rbx
cmp word [rax], si
je 0x14000cd15
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ccfc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ccf8
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.14000cbe0
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14000cd56
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000cce9
call fcn.14000b0e0
mov rdi, rax
test rax, rax
jne 0x14000cd6c
xor ecx, ecx
call fcn.14000b1c0
jmp 0x14000cd4b
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.14000cbe0
test eax, eax
jne 0x14000cd9d
mov rcx, rdi
call fcn.14000b1c0
jmp 0x14000cda7
xor ecx, ecx
call fcn.14000b1c0
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 0x14000ff9c
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.14000bc98
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140010026
cmp byte [rbp - 0x21], r15b
je 0x140010021
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001005c
call fcn.14000ac6c
test eax, eax
jne 0x140010048
cmp byte [rbp - 0x21], r15b
je 0x140010040
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001005c
cmp byte [rbp - 0x21], r15b
je 0x140010059
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.14000b22c
test eax, eax
jne 0x1400100fc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000bc98
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001009b
cmp byte [rbp - 0x21], r15b
je 0x1400100d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400100d0
call fcn.14000ac6c
test eax, eax
jne 0x1400100bc
cmp byte [rbp - 0x21], r15b
je 0x1400100b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400100d0
cmp byte [rbp - 0x21], r15b
je 0x1400100cd
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.14000b22c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400100fc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400100ff
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001010d
mov rcx, rdi
call fcn.14000b1c0
cmp byte [rbp + 0x3f], r15b
je 0x14001011c
mov rcx, qword [rbp + 0x27]
call fcn.14000b1c0
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 0x140011e80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011ea8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011ea8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400e09bf
Capabilities:
Get graphical window text

Disassembly:
jmp 0x14011d2d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x798
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x14e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7b8]
mov rax, qword [0x1409d3c80]
xor rax, rbp
mov qword [rbp + 0x768], rax
lea rcx, [0x1409f313b]
call fcn.1400e5ded
nop
mov dword [rbp + 4], 0x100
mov r8d, 0x100
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x790]
call qword [sym.imp.USER32.dll_GetWindowTextW]
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x248]
call fcn.1400e1f86
nop
lea rax, [rbp + 0x4f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x514]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x4f4]
movzx r8d, byte [rbp + 0x514]
movzx edx, byte [rbp + 0x534]
lea rcx, [rbp + 0x4d0]
call fcn.1400f28d0
mov rcx, rax
call fcn.1400e1554
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.1400e3fb1
cmp rax, 0xffffffffffffffff
jne 0x14011d4f6
lea rax, [rbp + 0x594]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x5b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x594]
movzx r8d, byte [rbp + 0x5b4]
movzx edx, byte [rbp + 0x5d4]
lea rcx, [rbp + 0x560]
call fcn.1400f2d70
mov rcx, rax
call fcn.1400e63c4
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.1400e3fb1
cmp rax, 0xffffffffffffffff
jne 0x14011d4f6
lea rax, [rbp + 0x634]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x654]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x634]
movzx r8d, byte [rbp + 0x654]
movzx edx, byte [rbp + 0x674]
lea rcx, [rbp + 0x600]
call fcn.1400f3310
mov rcx, rax
call fcn.1400e63c4
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.1400e3fb1
cmp rax, 0xffffffffffffffff
jne 0x14011d4f6
lea rax, [rbp + 0x6d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x6f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x6d4]
movzx r8d, byte [rbp + 0x6f4]
movzx edx, byte [rbp + 0x714]
lea rcx, [rbp + 0x6a0]
call fcn.1400f3900
mov rcx, rax
call fcn.1400e06b8
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.1400e3fb1
cmp rax, 0xffffffffffffffff
je 0x14011d512
mov byte [rbp + 0x734], 1
lea rcx, [rbp + 0x248]
call fcn.1400e4fd8
movzx eax, byte [rbp + 0x734]
jmp 0x14011d52c
mov byte [rbp + 0x754], 0
lea rcx, [rbp + 0x248]
call fcn.1400e4fd8
movzx eax, byte [rbp + 0x754]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400e4d5d
mov rax, rdi
mov rcx, qword [rbp + 0x768]
xor rcx, rbp
call fcn.1400e2d2d
lea rsp, [rbp + 0x778]
pop rdi
pop rbp
ret
Function at 0x1400e0ff5
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1401050a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1409f312b]
call fcn.1400e5ded
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1401050de
mov rcx, qword [rbp + 0x100]
call fcn.1400e12d4
nop
jmp 0x1401050fa
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1401050fa
mov rcx, qword [rbp + 0x100]
call fcn.1400e2daf
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400e1063
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14016d810
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14016d838
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14016d882
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14016d82d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x1400e153b
Capabilities:
Terminate process

Disassembly:
jmp 0x140106450
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1409f310a]
call fcn.1400e5ded
nop
cmp qword [rbp + 0xe8], 0
je 0x1401064a2
cmp qword [rbp + 0xe8], 0xffffffffffffffff
je 0x1401064a2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xe8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 8], 0
je 0x1401064c2
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
je 0x1401064f6
mov edx, 0xffffffff
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400e29f9
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401dde20
mov rax, rcx
neg rcx
test rax, 7
je 0x1401dde3d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401dde98
test al, 7
jne 0x1401dde30
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401dde51
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401ddec2
test dh, dh
je 0x1401ddebc
shr rdx, 0x10
test dl, dl
je 0x1401ddeb6
test dh, dh
je 0x1401ddeb0
shr rdx, 0x10
test dl, dl
je 0x1401ddeaa
test dh, dh
je 0x1401ddea4
shr edx, 0x10
test dl, dl
je 0x1401dde9e
test dh, dh
jne 0x1401dde51
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400e2a44
Capabilities:
Query environment variable

Disassembly:
jmp 0x140281d90
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140281910
lea rcx, [rsp + 0x20]
call fcn.140281960
movzx eax, al
test eax, eax
jne 0x140281dd5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140281940
mov rax, qword [rsp + 0x40]
jmp 0x140281ecf
lea rcx, [rsp + 0x20]
call fcn.140281a60
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140281a00
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, [0x1402e88a0]
mov edx, 2
mov rcx, rax
call fcn.1400e2e36
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400e22dd
lea rcx, [rsp + 0x28]
call fcn.1400e33b8
movzx eax, al
test eax, eax
jne 0x140281e6f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400e4ae2
lea rcx, [rsp + 0x20]
call fcn.140281940
mov rax, qword [rsp + 0x50]
jmp 0x140281ecf
lea rcx, [rsp + 0x20]
call fcn.140281a60
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400e5cd5
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400e2d5a
lea rcx, [rsp + 0x28]
call fcn.1400e67e3
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400e4ae2
lea rcx, [rsp + 0x20]
call fcn.140281940
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret