joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001944
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13b0
call fcn.14015ff50
sub rsp, rax
lea rcx, [rsp + 0x13c0]
call fcn.1400017e0
or dword [rsp + 0x13a4], 0xffffffff
mov ecx, 1
mov r8d, 0x270
mov edx, dword [rax]
mov dword [rsp + 0x24], edx
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r8
jb 0x140001979
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r8d
lea rcx, [rsp + 0x13c0]
mov dword [rsp + 0x13c0], 0x40000
call fcn.1400051c0
movsx ecx, ax
test ecx, ecx
je 0x1400019f9
sub ecx, 1
je 0x1400019f0
sub ecx, 1
je 0x1400019e7
sub ecx, 1
je 0x1400019de
cmp ecx, 1
je 0x1400019d5
xor eax, eax
jmp 0x140001a00
lea rax, [0x1403a6778]
jmp 0x140001a00
lea rax, [0x1403a6798]
jmp 0x140001a00
lea rax, [0x1403a6748]
jmp 0x140001a00
lea rax, [0x1403a6768]
jmp 0x140001a00
lea rax, [0x1403a6718]
add rsp, 0x13b0
pop rbx
ret
Function at 0x140001f78
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14054c670]
mov edx, dword [rdx + 8]
mov r8d, 0x40
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001ff3
mov ecx, dword [rbx + 8]
call fcn.140001cac
mov rdi, rax
test rax, rax
je 0x140001fca
mov r8d, dword [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rbx + 8]
lea r9, [0x14054c670]
mov r8d, dword [0x14054c670]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001ff3
and dword [0x14054c670], 0
mov al, 1
jmp 0x140001ff5
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002000
Capabilities:
Allocate or change rwx memory
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea r14, [rcx + 8]
mov r8, r14
mov edx, dword [rcx]
mov ecx, dword [rcx + 4]
call fcn.140020640
test eax, eax
jne 0x1400021eb
mov rdi, qword [rbx + 0x18]
mov r12, qword [rbx + 0x20]
jmp 0x1400021d0
mov rsi, qword [rdi]
mov qword [rbp + 0x50], rsi
mov r13d, dword [rsi + 0xc]
add r13, qword [rbx + 0x10]
mov edx, dword [rsi + 0x10]
lea r9, [0x14054c674]
mov r8d, 0x40
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400021eb
mov r8d, dword [rsi + 0x10]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r9, r13
mov rdx, r13
mov rcx, qword [r14]
call fcn.140020df0
mov r8, rax
mov qword [rbp + 0x40], rax
xor r15d, r15d
test rax, rax
je 0x1400021a2
xor r14d, r14d
mov rsi, qword [rbp + 0x48]
mov ecx, dword [r14 + rsi]
sub ecx, 0xde
cmp ecx, 1
ja 0x140002187
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
mov rsi, qword [r14 + rsi + 8]
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x24], r15d
xor eax, eax
mov rdx, qword [rbp - 0x18]
mov dword [rbp - 0x28], eax
cmp byte [rsi], 0xcc
je 0x1400020ea
cmp byte [rsi], 0xf1
jne 0x140002121
mov qword [rbp - 0x40], rsi
cmp rdx, qword [rbp - 0x10]
je 0x140002106
movups xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rdx], xmm0
add rdx, 0x10
mov qword [rbp - 0x18], rdx
jmp 0x14000211a
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.140005cec
mov rdx, qword [rbp - 0x18]
mov eax, dword [rbp - 0x28]
inc eax
inc rsi
jmp 0x1400020dd
cmp eax, 1
jbe 0x140002149
lea rcx, [rbx + 0x48]
mov rdx, qword [rbx + 0x50]
lea r8, [rbp - 0x30]
cmp rdx, qword [rbx + 0x58]
je 0x140002144
call fcn.140006314
add qword [rbx + 0x50], 0x28
jmp 0x140002149
call fcn.1400059a8
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140002183
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000217e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021e4
call fcn.14015f0e0
mov r8, qword [rbp + 0x40]
inc r15
add r14, 0xf0
cmp r15, r8
jb 0x1400020a6
mov rsi, qword [rbp + 0x50]
lea r14, [rbx + 8]
mov rdx, r8
mov rcx, qword [rbp + 0x48]
call fcn.1400215b0
mov edx, dword [rsi + 0x10]
lea r9, [0x14054c674]
mov r8d, dword [0x14054c674]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400021eb
add rdi, 0x20
cmp rdi, r12
jne 0x140002040
and dword [0x14054c674], 0
mov al, 1
jmp 0x1400021ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003260
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rdi, rcx
mov esi, 4
mov rbx, qword [rax]
mov eax, dword [rsi + rbx]
cmp dword [0x14054c730], eax
jle 0x1400032ba
lea rcx, [0x14054c730]
call fcn.14015ed1c
cmp dword [0x14054c730], 0xffffffff
jne 0x1400032ba
mov rax, qword [rdi + 0x10]
lea rcx, [0x14054c730]
mov qword [0x14054c6a8], rax
call fcn.14015ecb0
mov eax, dword [rsi + rbx]
cmp dword [0x14054c6d0], eax
jle 0x1400032fc
lea rcx, [0x14054c6d0]
call fcn.14015ed1c
cmp dword [0x14054c6d0], 0xffffffff
jne 0x1400032fc
mov rax, qword [0x14054c6a8]
lea rcx, [0x14054c6d0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [rdi + 0x10]
mov qword [0x14054c708], rdx
call fcn.14015ecb0
mov eax, dword [rsi + rbx]
cmp dword [0x14054c718], eax
jle 0x140003348
lea rcx, [0x14054c718]
call fcn.14015ed1c
cmp dword [0x14054c718], 0xffffffff
jne 0x140003348
mov rax, qword [0x14054c708]
lea rcx, [0x14054c718]
movzx edx, word [rax + 0x14]
mov rax, qword [0x14054c708]
add rax, 0x18
add rdx, rax
mov qword [0x14054c6e8], rdx
call fcn.14015ecb0
mov rax, qword [0x14054c708]
xor edi, edi
mov ebx, edi
cmp di, word [rax + 6]
jae 0x1400033e6
lea esi, [rdi + 0x28]
mov rcx, qword [0x14054c6e8]
lea r9, [0x14054c668]
mov r8d, 4
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003413
mov rax, qword [0x14054c6e8]
lea r9, [0x14054c668]
xorps xmm0, xmm0
xor ecx, ecx
mov rdx, rsi
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov r8d, dword [0x14054c668]
mov rcx, qword [0x14054c6e8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003413
mov rax, qword [0x14054c6e8]
inc rbx
add rax, rsi
mov qword [0x14054c6e8], rax
mov rax, qword [0x14054c708]
movzx ecx, word [rax + 6]
cmp rbx, rcx
jb 0x140003360
mov dword [0x14054c668], edi
mov al, 1
mov qword [0x14054c6a8], rdi
mov qword [0x14054c708], rdi
mov qword [0x14054c6e8], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x140003403
Function at 0x1400051c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, 0x8000
mov rsi, rdx
mov edi, ebx
xor bx, word [rcx + 2]
xor di, word [rcx]
movzx ecx, bx
movzx eax, di
sub ecx, eax
cmp ecx, 0xffff
mov rcx, rdx
jne 0x140005201
call fcn.140006434
mov ecx, eax
jmp 0x140005244
sub bx, di
inc bx
call fcn.140006434
mov ecx, eax
movzx ebp, bx
imul rcx, rbp
movzx r8d, bx
cmp ecx, r8d
jae 0x140005240
xor edx, edx
mov eax, r8d
neg eax
div r8d
mov ebx, edx
cmp ecx, edx
jae 0x140005240
mov rcx, rsi
call fcn.140006434
mov ecx, eax
imul rcx, rbp
cmp ecx, ebx
jb 0x14000522e
shr rcx, 0x20
mov rbx, qword [rsp + 0x30]
add cx, di
mov rbp, qword [rsp + 0x38]
mov eax, 0xffff8000
mov rsi, qword [rsp + 0x40]
xor ax, cx
add rsp, 0x20
pop rdi
ret
Function at 0x140005e84
Capabilities:
Encode data using xor
Hash data using fnv

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 r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x140005eb3
mov rax, qword [0x14054c650]
and rax, r15
add rax, rax
mov rcx, qword [0x14054c638]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x14054c628]
cmp rbx, r14
jne 0x140005eff
mov rbx, r14
mov rbp, r14
jmp 0x140005f45
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x140005f11
cmp rbx, rdx
je 0x140005f3f
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140005f08
mov qword [rsi], rbx
mov byte [rsi + 8], 0
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, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x14054c630], rax
jne 0x140005f66
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x14054c628]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.14015ed94
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov r8, qword [0x14054c630]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140005fac
cvtsi2ss xmm0, rcx
jmp 0x140005fc1
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14054c658]
xorps xmm1, xmm1
test rcx, rcx
js 0x140005fd7
cvtsi2ss xmm1, rcx
jmp 0x140005fec
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14054c620]
jbe 0x140006054
call fcn.1400060f4
mov rcx, qword [0x14054c650]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x14054c638]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x14054c628]
cmp rax, rbx
je 0x140006040
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x140006038
mov rbx, rax
cmp rax, r8
je 0x140006097
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14000602c
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x14054c630]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x14054c630], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x14054c650]
and rax, r15
add rax, rax
mov rcx, qword [0x14054c638]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x14054c628]
jne 0x14000609e
mov qword [rcx + rax*8], rdi
jmp 0x1400060b0
mov qword [rsp + 0x20], rax
jmp 0x140006045
cmp r8, rbp
jne 0x1400060a9
mov qword [rcx + rax*8], rdi
jmp 0x1400060b5
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400060b5
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x140005f1d
Function at 0x1400060f4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14054c630]
xorps xmm0, xmm0
add rcx, 1
js 0x140006115
cvtsi2ss xmm0, rcx
jmp 0x14000612a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x14054c620]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1403b64c8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14000615c
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14000615c
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x14054c658]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x140006191
cmp rdx, 0x200
jae 0x14000618e
shl rdx, 3
cmp rdx, rcx
jae 0x140006191
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x1400061ba
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x14054c628]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14054c638]
lea rdx, [rdi + rdi]
call fcn.140005080
mov rax, qword [0x14054c628]
lea r9, [rdi - 1]
mov qword [0x14054c650], r9
mov qword [0x14054c658], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140006308
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x140006222
mov rdi, qword [0x14054c638]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x140006260
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1400062ce
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1400062a3
mov r10, qword [r10]
cmp r10, rax
je 0x140006259
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 0x140006259
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x1400062e2
cmp qword [rdi + r11*8], r10
jne 0x140006299
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x140006308
mov r9, qword [0x14054c650]
jmp 0x140006212
mov r10, qword [r10]
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 0x1400062ce
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006434
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140006498
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
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 0x140006458
mov ecx, dword [r9]
jmp 0x140006575
cmp ecx, 0x4e0
jb 0x140006575
lea r10, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [r10]
mov r11d, 0x7fffffff
mov eax, edi
mov r8, r10
add r10, 4
mov edi, dword [r10]
mov edx, edi
xor edx, eax
and edx, r11d
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 rsi, 1
jne 0x1400064b9
lea r10, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [r10]
mov eax, edi
mov r8, r10
mov edx, eax
add r10, 4
mov edi, dword [r10]
xor edx, edi
and edx, r11d
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 rsi, 1
jne 0x140006503
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r11d
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 rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
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
ret

Function at 0x14000fce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x48
mov r11, rcx
mov r10, rdx
xor ecx, ecx
cmp r8, 0xffffffffffffffff
jne 0x14000fd25
movzx eax, byte [rdx]
mov r8d, ecx
test al, al
je 0x14000fd17
nop dword [rax]
imul ecx, ecx, 0x1003f
inc r8
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + r8]
test al, al
jne 0x14000fd00
mov edx, ecx
test r8, r8
jne 0x14000fd52
xor eax, eax
add rsp, 0x48
ret
mov rdx, rcx
test r8, r8
je 0x14000fd17
nop dword [rax]
movzx eax, byte [rdx + r10]
test al, al
je 0x14000fd4b
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x14000fd30
jmp 0x14000fd17
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.140010c10
test rax, rax
je 0x14000fd93
mov ebx, dword [rax + 0xc]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x140011630
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
movzx eax, word [r8 + 0x1c]
lea r12, [r9 - 1]
mov r15, rcx
mov qword [rsp + 0x38], r8
movzx ecx, byte [r8 + 0x1e]
add r12, rax
shr r12, cl
mov r14, r9
mov ecx, 0x68
mov qword [rsp + 0x40], rdx
lea r13d, [r12 + 0x3f]
shr r13d, 6
mov dword [rsp + 0x20], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor esi, esi
xorps xmm0, xmm0
mov ebp, 1
mov rbx, rax
mov edi, ebp
movups xmmword [rsp + 0x28], xmm0
test rax, rax
je 0x1400116c4
mov ecx, r13d
mov eax, 8
add rcx, rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x28]
mov rsi, rax
xor r13d, r13d
test rsi, rsi
je 0x140011738
test byte [r15], dil
je 0x1400116f3
mov r8d, 7
lea rcx, [rsp + 0x28]
mov rdx, r14
call sym.ConsoleApplication1.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 + 0x30]
mov edi, eax
mov r13d, 4
jmp 0x140011742
test r14, r14
jne 0x140011709
mov rdx, qword [rsp + 0x28]
mov edi, 2
mov qword [rsp + 0x30], rdx
jmp 0x140011742
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001172c
mov qword [rsp + 0x28], rax
xor edi, edi
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rdx
jmp 0x140011742
psrldq xmm0, 8
movq rdx, xmm0
test rbx, rbx
je 0x1400117e6
test rsi, rsi
je 0x1400117f9
test edi, edi
jne 0x1400117eb
mov eax, dword [r15]
shr eax, 2
test bpl, al
je 0x14001177c
mov rcx, r14
shr rcx, 2
test rcx, rcx
je 0x14001177c
mov eax, dword [r15 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov edi, dword [rsp + 0x20]
xor edx, edx
mov r8d, edi
mov rcx, rsi
shl r8, 4
call fcn.14015fd92
mov rax, qword [rsp + 0x38]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x28]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + rdi*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x40]
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], r14
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r12d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r12d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r12d
mov qword [rbx + 0x58], rsi
jmp 0x140011809
test rsi, rsi
je 0x140011802
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140011802
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
cmovne ebp, edi
mov eax, ebp
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013ff0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14054b240]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp dword [0x14054c618], 0
jne 0x1400140e6
xorps xmm0, xmm0
mov word [rsp + 0x20], 2
xor eax, eax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x22], xmm0
mov dword [rbp + 9], eax
movups xmmword [rbp - 0x77], xmm0
mov word [rbp + 0xd], ax
movups xmmword [rbp - 0x67], xmm0
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
call fcn.140013390
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rbp - 0x79]
mov eax, dword [rbp + 0x37]
movaps xmmword [0x14054c580], xmm0
movaps xmmword [0x14054c590], xmm1
movaps xmm1, xmmword [rbp - 0x59]
movaps xmmword [0x14054c5b0], xmm1
movaps xmm1, xmmword [rbp - 0x39]
movaps xmmword [0x14054c5d0], xmm1
movaps xmm1, xmmword [rbp - 0x19]
mov dword [rbp - 0x69], eax
movaps xmm0, xmmword [rbp - 0x69]
movaps xmmword [0x14054c5a0], xmm0
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [0x14054c5c0], xmm0
movaps xmm0, xmmword [rbp - 0x29]
movaps xmmword [0x14054c5e0], xmm0
movaps xmm0, xmmword [rbp - 9]
movaps xmmword [0x14054c5f0], xmm1
movsd xmm1, qword [rbp + 7]
movaps xmmword [0x14054c600], xmm0
movsd qword [0x14054c610], xmm1
mov dword [0x14054c618], 1
lea rax, [0x14054c580]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14015f420
add rsp, 0x100
pop rbp
ret

Function at 0x140014400
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14054b240]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x14054c680]
test eax, eax
jne 0x140014475
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
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 + 0x20], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
mov qword [0x14054c770], rax
mov eax, 1
xchg dword [0x14054c680], eax
mov rax, qword [0x14054c770]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015f420
add rsp, 0x68
ret

Function at 0x1400174d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
mov rax, rdx
test r9, r9
je 0x1400174fe
cmp r8, 0xffffffffffffffff
jne 0x1400174f0
inc r8
cmp byte [rdx + r8], 0
jne 0x1400174e6
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 0x14006dc80
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.14006d6d0
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 0x14006dcd0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x14006dd53
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x14006dcf5
mov dword [rsp + 0x28], 1
jmp 0x14006dcfd
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14006dd0e
mov dword [rsp + 0x2c], 0
jmp 0x14006dd16
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006dd39
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006db10
jmp 0x14006dd4e
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.14006db10
jmp 0x14006dcc6
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006db10
add rsp, 0x48
ret
Function at 0x14015fb40
Capabilities:
Parse pe header

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