joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d85f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x1802040c0], esi
je 0x1800d8641
nop
cmp rbx, 0x20
jae 0x1800d862a
xor ecx, ecx
jmp 0x1800d862c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1802040c0], esi
jne 0x1800d8620
cmp qword [0x1802040c8], r15
je 0x1800d8746
test rdi, rdi
jne 0x1800d865f
call fcn.1800d8230
mov esi, eax
jmp 0x1800d874b
mov ecx, dword [0x1802053dc]
mov ebx, r15d
test ecx, ecx
je 0x1800d8685
mov r8, qword [0x1802053d0]
mov rax, r8
cmp rdi, qword [rax]
je 0x1800d868f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800d8676
mov esi, 4
jmp 0x1800d874b
cmp ebx, 0xffffffff
je 0x1800d8685
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800d873f
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800d7f70
mov esi, eax
test eax, eax
jne 0x1800d874b
mov ecx, ebx
call fcn.1800d8150
mov esi, eax
cmp qword [rsp + 0x20], r15
je 0x1800d874b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800d8729
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800d871a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800d86f0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802040c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800d874b
mov esi, 5
jmp 0x1800d874b
mov esi, 2
xchg dword [0x1802040c0], r15d
mov rbx, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800e7400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, qword [0x180204348]
call qword [0x180204360]
mov rdi, qword [rax + 0xa8]
movups xmm0, xmmword [str.WTLPUU_LKV4]
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [0x1801a0c70]
mov dword [rsp + 0x40], eax
cmp byte [0x1801a0c73], 0
je 0x1800e75ac
xor ecx, ecx
cmp dword [0x1801c8570], 2
jl 0x1800e7574
movdqa xmm4, xmmword [0x1801a5470]
movdqa xmm3, xmmword [0x1801a5a80]
movdqa xmm5, xmmword [str.1111222277778888::::]
movdqa xmm0, xmmword [0x1801a5660]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x1801a5540]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1800e7490
cmp ecx, 0x14
jge 0x1800e75ac
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x14
jl 0x1800e7580
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800e75d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.180012450
nop
mov r8, rdi
lea rdx, [rsp + 0x48]
mov ecx, 3
call rbx
nop
lea rcx, [rsp + 0x48]
call fcn.180004520
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
Function at 0x1800e7fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov edi, edx
mov ebx, ecx
call qword [0x180204358]
mov r14, qword [rax + 0x1b0]
movss xmm0, dword [r14 + 0x10]
mulss xmm0, dword [0x1801a50ec]
addss xmm0, dword [r14 + 8]
mulss xmm0, dword [0x1801a50ac]
cvttss2si eax, xmm0
mov dword [rsp + 0x38], eax
movss xmm0, dword [r14 + 0x14]
mulss xmm0, dword [0x1801a50ec]
addss xmm0, dword [r14 + 0xc]
mulss xmm0, dword [0x1801a50ac]
cvttss2si ecx, xmm0
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], edi
cmp eax, ebx
jne 0x1800e806a
cmp ecx, edi
je 0x1800e8204
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1800ecad0
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
cmp rdi, rbp
je 0x1800e81c3
xor esi, esi
mov rbx, rdi
movabs r15, 0x2492492492492493
movss xmm6, dword [0x1801a5234]
nop word [rax + rax]
mov r9, qword [rbx]
mov r8, r9
shr r8, 0x20
inc rsi
mov rax, r15
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rcx, rax, 7
cmp rsi, rcx
je 0x1800e80fb
mov rax, rbp
sub rax, rdi
sar rax, 3
cmp rsi, rax
jne 0x1800e8179
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rax
movd xmm1, r9d
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rsp + 0x70], xmm1
movss dword [rsp + 0x74], xmm0
call qword [0x180204360]
test rax, rax
je 0x1800e8179
mov rax, qword [rax + 0xa8]
test rax, rax
je 0x1800e8179
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x38
lea rdx, [rsp + 0x58]
mov ecx, 4
call qword [0x1802043f0]
nop
add rbx, 8
cmp rbx, rbp
jne 0x1800e80c0
movd xmm0, dword [rsp + 0x30]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
addss xmm0, dword [0x1801a51ec]
movss dword [r14 + 8], xmm0
mov rax, qword [rsp + 0x30]
shr rax, 0x20
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
addss xmm0, dword [0x1801a5178]
movss dword [r14 + 0xc], xmm0
test rdi, rdi
je 0x1800e8204
mov rdx, qword [rsp + 0x50]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800e81fc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e81fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18015bd38
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18015b9a0
mov rbx, qword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800ec920
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 0x1800ec981
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 0x1800ec940
mov ecx, dword [r9]
jmp 0x1800eca6b
cmp ecx, 0x4e0
jb 0x1800eca6b
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 0x1800ec9a0
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 0x1800ec9f0
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 0x180110d80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.18015c100
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180111860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x180110df9
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18015b9a0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x180110e10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x10
call fcn.18015c100
mov r9, rax
mov eax, dword [rbx]
mov dword [r9], eax
mov qword [r9 + 8], rdi
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x180111900]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x180110e9c
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18015b9a0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180111160
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
jbe 0x180111195
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
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.180010710
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 0x1801112d4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18011124d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801112c3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18011128a
mov r10, qword [rdx]
cmp r10, rax
je 0x180111284
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 0x1801112c3
cmp r9, rdx
je 0x18011129f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1801112e5
cmp r9, rdx
jne 0x180111290
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 0x180111200
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 0x1801112c3

Function at 0x180111310
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.18015c100
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x180111860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x180111386
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18015b9a0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1801113a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rsi, rcx
xor ebp, ebp
mov ecx, 0x30
call fcn.18015c100
mov r9, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov eax, dword [rdi]
mov dword [r9 + 0x20], eax
lea rax, [0x1800e7ab0]
mov qword [r9 + 0x28], rax
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
lea r8, [0x180111890]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x180111454
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18015b9a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180134c60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov rsi, rcx
mov rbx, qword [rsp + 0x70]
xor ebp, ebp
mov ecx, 0x38
call fcn.18015c100
mov r9, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov rax, qword [rdi]
mov qword [r9 + 0x20], rax
mov rax, qword [0x180204370]
mov qword [r9 + 0x28], rax
lea rax, [0x180062070]
mov qword [r9 + 0x30], rax
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
lea r8, [0x180135b10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x180134d35
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18015b9a0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180137d60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov rbx, qword [rdx + 8]
mov rcx, qword [rdx]
add rbx, rcx
mov qword [rbp - 0x38], rcx
cmp rcx, rbx
jae 0x180137df2
nop word [rax + rax]
mov r8d, 0x10
lea rdx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov byte [rbp - 0x40], al
mov rdx, qword [rbp - 0x20]
cmp rdx, qword [rbp - 0x18]
je 0x180137dd5
mov byte [rdx], al
inc qword [rbp - 0x20]
jmp 0x180137de2
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.180066470
mov rcx, qword [rbp - 0x38]
inc rcx
mov qword [rbp - 0x38], rcx
cmp rcx, rbx
jb 0x180137db0
mov dword [rbp - 0x30], 0
mov rdx, qword [rbp - 0x20]
sub rdx, qword [rbp - 0x28]
lea r9, [rbp - 0x30]
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180137e52
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180137e4e
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180137eb2
call fcn.18015bd38
xor al, al
jmp 0x180137ec1
mov rbx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne bl
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180137ebe
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180137eb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180137eb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18015bd38
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18015b9a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18014db10
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x18014db47
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x18014db30
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x18014dc38
sub rcx, r10
cmp r9, 8
jb 0x18014dc19
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x18014dba0
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x18014dc38
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x18014dc20
test r8d, r8d
sete al
ret
Function at 0x18014dc40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r9, r9
je 0x18014ddd6
cmp r9, 4
jb 0x18014dc7a
mov r10, r9
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r9, rax
mov eax, dword [rdx]
add rdx, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub r10, 1
jne 0x18014dc61
xor r11d, r11d
test r9, r9
je 0x18014ddd6
cmp r9, 8
jb 0x18014ddad
lea r10, [rcx - 1]
lea rax, [r8 - 1]
add r10, r9
add rax, r9
cmp rcx, rax
ja 0x18014dcac
cmp r10, r8
jae 0x18014ddad
lea rax, [rdx - 1]
add rax, r9
cmp rcx, rax
ja 0x18014dcc1
cmp r10, rdx
jae 0x18014ddad
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x18014dd67
mov r10, r9
mov qword [rsp + 0x18], rsi
and r10d, 0x3f
mov rbx, r9
sub rbx, r10
mov rdi, rdx
lea rax, [r8 + 0x10]
sub rdi, r8
mov rsi, rcx
sub rsi, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdi + rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r11, rbx
jb 0x18014dd00
mov rsi, qword [rsp + 0x18]
cmp r10, 8
jb 0x18014dd9f
mov r10, r9
and r10, 0xfffffffffffffff8
mov rbx, rdx
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r11, r10
jb 0x18014dd80
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x18014ddd6
sub rdx, r8
lea r10, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub r9, 1
jne 0x18014ddc0
add rsp, 8
ret