joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400120f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011398
movzx eax, al
test eax, eax
jne 0x140012110
mov ecx, 7
call fcn.140011316
nop
mov byte [rsp + 0x20], 0
call fcn.14001132a
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012134
mov ecx, 7
call fcn.140011316
nop
jmp 0x14001218c
cmp dword [0x14001d868], 0
jne 0x140012187
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012168
mov eax, 0xff
jmp 0x140012291
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011320
mov dword [0x14001d868], 2
jmp 0x14001218c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011302
call fcn.14001129e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400121e9
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400121e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112d0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001221d
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x14001221d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011357
nop
call fcn.140012340
mov dword [rsp + 0x28], eax
call fcn.14001127b
movzx eax, al
test eax, eax
jne 0x14001223c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001224b
call fcn.140011361
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140012291
add rsp, 0x68
ret
Function at 0x140002680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x48
mov r11, rcx
mov r10, rdx
xor ecx, ecx
cmp r8, 0xffffffffffffffff
jne 0x1400026c5
movzx eax, byte [rdx]
mov r8d, ecx
test al, al
je 0x1400026b7
nop dword [rax]
imul ecx, ecx, 0x1003f
inc r8
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + r8]
test al, al
jne 0x1400026a0
mov edx, ecx
test r8, r8
jne 0x1400026f2
xor eax, eax
add rsp, 0x48
ret
mov rdx, rcx
test r8, r8
je 0x1400026b7
nop dword [rax]
movzx eax, byte [rdx + r10]
test al, al
je 0x1400026eb
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x1400026d0
jmp 0x1400026b7
mov ecx, 0x11
mov edx, ecx
mov eax, r9d
mov qword [rsp + 0x40], rbx
xor eax, ecx
mov qword [rsp + 0x20], r10
mov ebx, 0xffffffff
mov dword [rsp + 0x28], r8d
cmp r9d, ebx
mov dword [rsp + 0x30], r9d
lea rcx, [r11 + 0x110]
cmove eax, edx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call fcn.1400035b0
test rax, rax
je 0x140002733
mov ebx, dword [rax + 0xc]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret

Function at 0x14000d4b0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
mov rax, rdx
test r9, r9
je 0x14000d4de
cmp r8, 0xffffffffffffffff
jne 0x14000d4d0
inc r8
cmp byte [rdx + r8], 0
jne 0x14000d4c6
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000eb60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, word [r8 + 0x1c]
lea r15, [r9 - 1]
mov r14, rcx
add r15, rax
movzx ecx, byte [r8 + 0x1e]
mov rbp, r9
shr r15, cl
mov ecx, 0x68
lea r12d, [r15 + 0x3f]
shr r12d, 6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xorps xmm0, xmm0
mov edi, 1
mov rbx, rax
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x14000ece2
mov ecx, r12d
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x14000ecd9
test byte [r14], dil
je 0x14000ec07
mov r8d, 7
lea rcx, [rsp + 0x20]
mov rdx, rbp
call sym.Anti_TZ.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x28]
mov edi, eax
mov r13d, 4
jmp 0x14000ec40
test rbp, rbp
jne 0x14000ec13
mov edi, 2
jmp 0x14000ec36
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14000ec36
mov qword [rsp + 0x20], rax
xor edi, edi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test edi, edi
jne 0x14000ecd0
mov eax, dword [r14]
shr eax, 2
test al, 1
je 0x14000ec67
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x14000ec67
mov eax, dword [r14 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov r8d, r12d
xor edx, edx
shl r8, 4
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x80]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x20]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + r12*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r15d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r15d
mov qword [rbx + 0x58], rsi
jmp 0x14000ece4
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011470
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x14054bdd8], 0
jne 0x140011554
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.140010830
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x14054bd40], xmm0
movaps xmmword [0x14054bd50], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x14054bd70], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x14054bd90], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x14054bd60], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x14054bd80], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x14054bda0], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x14054bdb0], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x14054bdc0], xmm0
movsd qword [0x14054bdd0], xmm1
mov dword [0x14054bdd8], 1
lea rax, [0x14054bd40]
add rsp, 0xf0
pop rbp
ret

Function at 0x140011630
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
mov eax, r8d
shr eax, 2
test al, 1
je 0x14001164e
shr r8d, 1
and r8d, 1
inc r8d
shl r8d, 5
jmp 0x14001166b
test r8b, 3
je 0x140011665
shr r8d, 1
and r8d, 1
lea r8d, [r8*2 + 2]
jmp 0x14001166b
mov r8d, 1
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov ecx, 2
test eax, eax
cmovne ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140011840
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14054b530]
test eax, eax
jne 0x1400118a6
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x14054bde0], rax
mov eax, 1
xchg dword [0x14054b530], eax
mov rax, qword [0x14054bde0]
add rsp, 0x58
ret
Function at 0x14001d0d0
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 0x14001d131
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 0x14001d0f0
mov ecx, dword [r9]
jmp 0x14001d21b
cmp ecx, 0x4e0
jb 0x14001d21b
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 0x14001d150
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 0x14001d1a0
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 0x14001d700
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001d8ad
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001d5b0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001d876
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001d7f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001d865
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001d82d
mov r10, qword [rdx]
cmp r10, rax
je 0x14001d827
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14001d865
cmp r9, rdx
je 0x14001d841
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001d887
cmp r9, rdx
jne 0x14001d832
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14001d7a0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001d865
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14001e400
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13d8
call fcn.14015f220
sub rsp, rax
mov rax, qword [0x14054a2c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
lea rcx, [rsp + 0x20]
call fcn.14001e580
mov dword [rsp + 0x13b4], 0xffffffff
mov ecx, 1
mov edx, dword [rax]
mov dword [rsp + 0x34], edx
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x14001e440
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
call fcn.14001d0d0
mov ecx, eax
lea rdx, [rcx + rcx*4]
test edx, edx
jne 0x14001e495
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001d0d0
mov ecx, eax
lea rdx, [rcx + rcx*4]
cmp edx, 1
jb 0x14001e480
shr rdx, 0x20
sub edx, 0x8000
xor edx, 0xffff8000
je 0x14001e559
sub edx, 1
je 0x14001e53a
sub edx, 1
je 0x14001e51b
sub edx, 1
je 0x14001e4fc
cmp edx, 1
je 0x14001e4dd
xor eax, eax
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14015f280
add rsp, 0x13d8
ret
lea rax, [0x1401615d0]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14015f280
add rsp, 0x13d8
ret
lea rax, [0x1401615c0]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14015f280
add rsp, 0x13d8
ret
lea rax, [0x1401615b0]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14015f280
add rsp, 0x13d8
ret
lea rax, [0x1401615a0]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14015f280
add rsp, 0x13d8
ret
lea rax, [0x140161590]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14015f280
add rsp, 0x13d8
ret
Function at 0x14001e8a0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.14015f220
sub rsp, rax
mov rax, qword [0x14054a2c0]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rdi, rcx
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
movzx esi, dl
call fcn.14001e580
mov dword [rbp + 0x12d4], 0xffffffff
mov r8d, dword [rax]
mov eax, 1
mov dword [rsp + 0x54], r8d
nop word [rax + rax]
mov ecx, r8d
shr ecx, 0x1e
xor ecx, r8d
imul r8d, ecx, 0x6c078965
add r8d, eax
mov dword [rsp + rax*4 + 0x54], r8d
inc rax
cmp rax, 0x270
jb 0x14001e910
mov rbx, qword [rdi + 0x10]
lea r9, [rsp + 0x40]
mov r8d, 4
mov dword [rsp + 0x50], 0x270
mov rcx, rbx
movsxd rdx, dword [rbx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001ea5e
lea rcx, [rsp + 0x50]
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 2], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 8], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 6], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x16], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x12], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x14], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x18], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0xc], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0xa], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x24], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x26], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x1a], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rbx + 0x10], ax
call fcn.14001d0d0
mov word [rbx + 0xe], ax
test sil, sil
je 0x14001ea3f
movsxd r8, dword [rbx + 0x3c]
xor edx, edx
mov rcx, qword [rdi + 0x10]
sub r8, 0x40
add rcx, 0x40
call sub.VCRUNTIME140.dll_memset
movsxd rdx, dword [rbx + 0x3c]
lea r9, [rsp + 0x40]
mov rcx, qword [rdi + 0x10]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001ea86
mov al, 1
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.14015f280
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x28]
call fcn.14001cb10
lea rdx, [0x1403bb1a0]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400202c0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x10
cmp dword [0x14054be00], 0
jne 0x1400204c3
mov rax, qword gs:[0x60]
xor r15d, r15d
mov edx, r15d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x1400204cf
nop word [rax + rax]
mov r10, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x14002033d
lea rdx, [r10 + rcx]
mov ecx, dword [r10 + rcx + 0xc]
mov eax, dword [rcx + r10]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14002033d
mov eax, dword [rcx + r10 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140020349
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140020300
test rdx, rdx
je 0x1400204cf
mov r11d, dword [rdx + 0x18]
mov qword [rsp + 0x20], rbx
mov ebx, r15d
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x38], rdi
add rsi, r10
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r12
add rdi, r10
mov qword [rsp], r14
add rbp, r10
mov r12d, 0x775a
lea r14, [0x14054be00]
nop word [rax + rax]
lea eax, [r11 - 1]
mov r9d, dword [rdi + rax*4]
add r9, r10
cmp word [r9], r12w
jne 0x140020404
mov edx, r15d
mov r8d, 0x28c5192f
mov rax, r9
nop dword [rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc edx
add ecx, eax
mov eax, edx
add rax, r9
xor r8d, ecx
cmp byte [rax], r15b
jne 0x1400203c0
mov edx, ebx
lea eax, [r11 - 1]
add rdx, rdx
inc ebx
mov dword [r14 + rdx*8 + 8], r8d
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [r14 + rdx*8 + 0xc], eax
mov qword [r14 + rdx*8 + 0x10], r15
cmp ebx, 0x258
je 0x14002040a
add r11d, 0xffffffff
jne 0x1400203a0
mov r12, qword [rsp + 8]
lea eax, [rbx - 1]
mov rbp, qword [rsp + 0x28]
mov r11d, r15d
mov dword [0x14054be00], ebx
test eax, eax
je 0x1400204b0
nop dword [rax + rax]
mov ecx, ebx
mov eax, r15d
sub ecx, r11d
cmp ecx, 1
je 0x1400204a5
nop dword [rax]
lea r10d, [rax + 1]
mov r9d, eax
add r9, r9
mov r8d, r10d
add r8, r8
mov esi, dword [r14 + r9*8 + 0xc]
mov edi, dword [r14 + r8*8 + 0xc]
cmp esi, edi
jbe 0x140020496
mov eax, dword [r14 + r8*8 + 8]
mov edx, dword [r14 + r9*8 + 8]
mov rcx, qword [r14 + r9*8 + 0x10]
mov dword [r14 + r9*8 + 8], eax
mov rax, qword [r14 + r8*8 + 0x10]
mov qword [r14 + r9*8 + 0x10], rax
mov dword [r14 + r9*8 + 0xc], edi
mov dword [r14 + r8*8 + 8], edx
mov dword [r14 + r8*8 + 0xc], esi
mov qword [r14 + r8*8 + 0x10], rcx
mov ebx, dword [0x14054be00]
mov ecx, ebx
mov eax, r10d
sub ecx, r11d
dec ecx
cmp r10d, ecx
jb 0x140020440
inc r11d
lea eax, [rbx - 1]
cmp r11d, eax
jb 0x140020430
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp]
mov eax, 1
add rsp, 0x10
pop r15
ret
xor eax, eax
add rsp, 0x10
pop r15
ret
Function at 0x1400204e0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x951d2d
call fcn.140020270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140020520
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc192d11b
call fcn.140020270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140020560
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x752f54ba
call fcn.140020270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400205a0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xb930717
call fcn.140020270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x14006dd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.14006d790
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14006dd90
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x14006de13
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x14006ddb5
mov dword [rsp + 0x28], 1
jmp 0x14006ddbd
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14006ddce
mov dword [rsp + 0x2c], 0
jmp 0x14006ddd6
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006ddf9
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006dbd0
jmp 0x14006de0e
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.14006dbd0
jmp 0x14006dd86
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006dbd0
add rsp, 0x48
ret
Function at 0x14015fcec
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000a300
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14000a33d
test rdx, rdx
je 0x14000a33d
mov rax, qword [rax]
cmp rax, r9
jne 0x14000a320
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret