joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007bf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140007cb9
cmp byte [rcx + 0x71], 0
je 0x140007cb9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140007cac
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007c68
sub eax, 1
je 0x140007c6c
cmp eax, 2
jne 0x140007cac
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140007c9a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140007cac
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x1400088e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbx, rdx
mov ecx, Ordinal_26
call fcn.14006b69c
mov r14, rax
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov qword [r14], rax
lea rcx, [r14 + 0x10]
mov byte [rcx], 1
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r14
lea rcx, [0x14008c3e8]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140008956
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14008c434]
cmp eax, 0x7fffffff
jne 0x140008977
dec eax
mov dword [0x14008c434], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rsi, qword [0x14008c3a8]
sub rsi, qword [0x14008c3a0]
sar rsi, 4
lea rcx, [0x14008c3e8]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rax, [rsp + 0x30]
mov qword [rsp + 0xd0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lock inc dword [r14 + 8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov ebx, dword [rbx]
lea rbp, [0x140002dd0]
mov qword [rsp + 0x60], rbp
lock inc dword [r14 + 8]
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x80], ebx
mov ecx, Ordinal_41
call fcn.14006b69c
mov qword [rax], rbp
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], ebx
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000a940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140008aa5
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140002870
nop
cmp dword [rsp + 0x48], 0
je 0x140008a69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140008a97
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], ebx
cmp ebx, 1
jne 0x140008a97
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140008ac0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rbp, rcx
mov ecx, Ordinal_26
call fcn.14006b69c
mov rsi, rax
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov qword [rsi], rax
lea rcx, [rsi + 0x10]
mov byte [rcx], 1
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rsi
lea rcx, [0x14008c3e8]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140008b33
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x14008c434]
cmp eax, 0x7fffffff
jne 0x140008b54
dec eax
mov dword [0x14008c434], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rdi, qword [0x14008c3a8]
sub rdi, qword [0x14008c3a0]
sar rdi, 4
lea rcx, [0x14008c3e8]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rax, [rsp + 0x30]
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lock inc dword [rsi + 8]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], rbp
lock inc dword [rsi + 8]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov ecx, Ordinal_41
call fcn.14006b69c
mov qword [rax], rbp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rax + 0x18], rdi
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000a9e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140008c70
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140002870
nop
cmp dword [rsp + 0x48], 0
je 0x140008c31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140008c5d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x140008c5d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000afc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14000aff4
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14000afe0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14000b029
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000b037
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140017260
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000b0ae
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b0a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b0a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000b0c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x14000b0f4
mov ecx, esi
lea eax, [rcx + 0x2a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14000b0e0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x14000b129
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008610
nop
cmp byte [rbx + 0xa], 0
je 0x14000b153
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x14000b140
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14000b188
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008610
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.1400111c0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000b1e1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b1db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b1db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000b221
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b21c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b21c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000b230
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14000b264
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14000b250
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14000b299
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000b2a7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140017260
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000b31e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000b330
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x14000b364
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x14000b350
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14000b399
mov r8d, listen
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000b3a7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140017260
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000b41e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b419
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000b430
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x14000b464
mov ecx, esi
lea eax, [rcx + 0x2a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14000b450
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x14000b499
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008610
nop
cmp byte [rbx + 0xd], 0
je 0x14000b4c3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xc
jb 0x14000b4b0
mov byte [rbx + 0xd], 0
lea rax, [rbx + 0xc]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14000b4f8
mov r8d, listen
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008610
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.1400111c0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000b551
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b54b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b54b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000b591
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b58c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b58c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b9f0
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x140012200
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 5], r8b
je 0x140012233
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x140012220
mov byte [rdx + 5], r8b
lea rcx, [rdx + 4]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14001225c
mov r8d, 4
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140012270
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 8], r8b
je 0x1400122a3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x140012290
mov byte [rdx + 8], r8b
lea rcx, [rdx + 7]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400122cc
mov r8d, 7
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400122e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 9], r8b
je 0x140012313
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x140012300
mov byte [rdx + 9], r8b
lea rcx, [rdx + 8]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14001233c
mov r8d, 8
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140012350
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x10], r8b
je 0x140012383
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x140012370
mov byte [rdx + 0x10], r8b
lea rcx, [rdx + 0xf]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400123ac
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400123c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xb], r8b
je 0x1400123f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2a]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x1400123e0
mov byte [rdx + 0xb], r8b
lea rcx, [rdx + 0xa]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14001241c
mov r8d, 0xa
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400124a0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14008b080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14001254d
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
jne 0x14001257c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov qword [rbx], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14006be90
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov qword [rbx], rdi
jmp 0x140012554
Function at 0x1400137f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140013813
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140013800
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x140013820
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140013848
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x140013830
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x140013850
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140013873
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x140013860
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140013880
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x1400138a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140013890
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x1400138b0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14008b080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rcx
mov byte [rsp + 0x20], dl
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
je 0x140013aa6
mov r12d, 0x5a4d
cmp word [rax], r12w
jne 0x140013aa6
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x140013aa6
movzx ebx, word [rdi + 0x14]
lea rdx, [rsp + 0x30]
add rbx, 0x18
lea rcx, [rsp + 0x21]
mov r8, rax
add rbx, rdi
call fcn.1400124a0
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x140013aa6
mov rsi, qword [rsp + 0x30]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140013aa6
cmp word [r15], r12w
jne 0x140013a94
movsxd rcx, dword [r15 + 0x3c]
add rcx, r15
cmp dword [rcx], 0x4550
jne 0x140013a94
mov eax, dword [rdi + 8]
cmp dword [rcx + 8], eax
jne 0x140013a94
movzx edx, word [rcx + 6]
cmp dx, word [rdi + 6]
jne 0x140013a94
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
xor esi, esi
mov qword [rsp + 0x80], r13
add r12, rax
xor r13b, r13b
mov r9d, esi
mov r10d, edx
test edx, edx
je 0x140013a72
nop
mov r8, rbp
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400139d3
inc rax
test ecx, ecx
jne 0x1400139c0
test edx, edx
jne 0x1400139e0
test dword [rbx + 0x24], 0x20000000
jne 0x1400139f5
inc r9d
add rbx, 0x28
add r12, 0x28
cmp r9d, r10d
jl 0x1400139b0
jmp 0x140013a72
cmp dword [rbx + 0x10], esi
jbe 0x140013a72
nop word [rax + rax]
mov eax, dword [r12 + 0x14]
mov ecx, dword [rbx + 0xc]
mov edi, esi
add rax, rdi
add rcx, rdi
add rcx, r14
movzx ebp, byte [rax + r15]
cmp byte [rcx], bpl
je 0x140013a6b
cmp byte [rsp + 0x20], 0
je 0x140013a68
mov edx, 1
mov dword [rsp + 0x24], 0x40
lea r9, [rsp + 0x28]
lea r8d, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0xc]
lea r9, [rsp + 0x24]
add rax, rdi
mov edx, 1
mov byte [rax + r14], bpl
mov ecx, dword [rbx + 0xc]
mov r8d, dword [rsp + 0x28]
add rcx, rdi
add rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r13b, 1
inc esi
cmp esi, dword [rbx + 0x10]
jb 0x140013a00
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r13b
mov r13, qword [rsp + 0x80]
jmp 0x140013aa8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14006be90
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret