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

Disassembly:
push rdi
push r13
sub rsp, 0x38
mov r13, rcx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14003ee17
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
lea ecx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x58], rbp
xor ebx, ebx
mov qword [rsp + 0x60], rsi
xor esi, esi
movups xmmword [rax], xmm0
mov rax, qword [r13 + 0x20]
mov ebp, dword [rsi + rax]
test ebp, ebp
je 0x14003ee73
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14003eee8
cmp qword [rdi], 0
jne 0x14003ee5d
mov qword [rdi], rax
jmp 0x14003ee65
mov rax, qword [rdi + 8]
mov qword [rax + 8], rcx
mov dword [rcx], ebp
mov qword [rcx + 8], 0
mov qword [rdi + 8], rcx
inc ebx
add rsi, 4
cmp ebx, 0x102
jb 0x14003ee30
mov rcx, qword [rdi]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test rcx, rcx
je 0x14003ef6c
nop dword [rax]
mov rax, qword [rcx + 8]
mov ebx, dword [rcx]
mov qword [rdi], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor esi, esi
xor ebp, ebp
imul r12, rbx, 0x40c
mov r15d, ebx
mov r14, r12
mov rcx, qword [r13 + 0x20]
mov ebx, dword [r14 + rcx]
cmp ebx, 0xffffffff
jne 0x14003ef15
mov eax, dword [rcx + r12 + 0x408]
imul rax, rax, 0x103
add rax, rbp
mov eax, dword [rcx + rax*4]
mov dword [r14 + rcx], eax
jmp 0x14003ef4b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp ebx, r15d
je 0x14003ef4b
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14003ef9b
cmp qword [rdi], 0
jne 0x14003ef35
mov qword [rdi], rax
jmp 0x14003ef3d
mov rcx, qword [rdi + 8]
mov qword [rcx + 8], rax
mov dword [rax], ebx
mov qword [rax + 8], 0
mov qword [rdi + 8], rax
inc esi
inc rbp
add r14, 4
cmp esi, 0x102
jb 0x14003eec0
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14003eea0
mov rcx, rdi
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov r15, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x38
pop r13
pop rdi
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14004aab0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push r13
sub rsp, 0xd0
mov rbx, rcx
mov r13d, r8d
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14004aae6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
mov qword [rbx + 0x48], rax
mov edx, dword [rbx]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
mov r8d, r13d
mov qword [rsp + 0x100], rbp
call fcn.140034ea0
test eax, eax
je 0x14004acce
cmp dword [rsp + 0xa8], 0
je 0x14004acce
mov ecx, dword [rbx + 8]
mov ebp, 1
mov eax, dword [rbx]
mov dword [rsp + 0xf0], ecx
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xb8], r14
mov r14d, eax
sub r14d, ecx
mov qword [rsp + 0xb0], r15
mov r15d, dword [rbx + 4]
add eax, 0x28
mov ecx, eax
cmove ecx, ebp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14004ab7f
lea ecx, [rbp + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____out_of_memory__aborting_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov r8d, dword [rbx]
mov rcx, rdi
mov rdx, qword [rbx + 0x10]
mov qword [rsp + 0xc0], r12
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rsp + 0xf0]
lea r12d, [r15 + 0x28]
add r12, rdi
mov r8d, r14d
mov rcx, r12
mov qword [rbx + 0x38], rdi
add rdx, rdi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
lea rdx, [rdi + r15]
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
mov qword [rdx + 0x20], rax
lea eax, [r15 + 0x28]
add eax, r14d
mov dword [rbx + 0x28], eax
test r13d, r13d
je 0x14004abfa
cmp r13d, ebp
jne 0x14004ac00
mov rcx, qword [rsp + 0xf8]
mov eax, dword [rcx]
mov dword [rdi], eax
movzx eax, word [rcx + 4]
mov word [rdi + 4], ax
mov word [rdi + 0xc], 0xdd86
jmp 0x14004ac00
mov dword [rdi], reloc.WS2_32.dll_socket
mov byte [rdx], 0x60
lea eax, [r15 + 4]
mov edx, r14d
lea ecx, [r15 + 6]
shr edx, 8
mov byte [rax + rdi], dl
lea eax, [r15 + 5]
mov byte [rax + rdi], r14b
movzx eax, byte [rsp + 0x40]
mov byte [rcx + rdi], al
cmp dword [rsp + 0x40], ebp
jne 0x14004ac3f
mov byte [rcx + rdi], 0x3a
test r14d, r14d
je 0x14004ac3f
cmp byte [r12], 8
jne 0x14004ac3f
mov byte [r12], 0x80
lea eax, [r15 + 7]
mov r8d, r13d
mov byte [rax + rdi], 0xff
lea r9, [rsp + 0x20]
mov edx, dword [rbx + 0x28]
mov rcx, rdi
call fcn.140034ea0
mov r12, qword [rsp + 0xc0]
test eax, eax
je 0x14004acb7
cmp dword [rsp + 0xa8], 0
je 0x14004acb7
mov eax, dword [rsp + 0x38]
mov r14, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x100]
mov dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0x90]
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0xa0]
mov dword [rbx + 0x34], eax
add rsp, 0xd0
pop r13
pop rsi
pop rbx
ret
lea rdx, str.____FAILED:_bad_packet_template_n
xor ecx, ecx
call fcn.14004d730
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.ERROR:_bad_packet_template_n
xor ecx, ecx
call fcn.14004d730
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14004e3ec
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14016a080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x14059ec68], eax
jle 0x1400cf191
lea rcx, [0x14059ec68]
call fcn.140143000
cmp dword [0x14059ec68], 0xffffffff
jne 0x1400cf191
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
lea ecx, [rbx + 0x20]
call fcn.140143078
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], reloc.WS2_32.dll_select
mov qword [rbp + Ordinal_35], 0x1f
movups xmm0, xmmword [0x140155318]
movups xmmword [rax], xmm0
movzx ecx, word [0x140155328]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bl
lea r8, [rbp + 7]
mov rdx, qword [0x14059e898]
mov rcx, rdi
call fcn.1400cf6b0
mov qword [0x14059ed30], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400cf185
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf17f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cf17f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140142f50
nop
lea rcx, [0x14059ec68]
call fcn.140142f94
mov r8, qword [0x14059ed30]
test r8, r8
jne 0x1400cf26c
mov dword [rbp - 0x49], 0xfc06fc7d
mov dword [rbp - 0x45], 0xfc09fc75
mov dword [rbp - 0x41], 0xfc4afc6c
mov dword [rbp - 0x3d], 0xfc41fc45
mov dword [rbp - 0x39], 0xfc4bfc4b
mov dword [rbp - 0x35], 0xfc45fc10
mov dword [rbp - 0x31], 0xfc13fc5d
mov dword [rbp - 0x2d], 0xfc5cfc52
mov dword [rbp - 0x29], 0xfc53fc58
mov dword [rbp - 0x25], 0xfc74fc18
mov dword [rbp - 0x21], 0xfc6efc57
mov dword [rbp - 0x1d], 0xfc50fc52
mov dword [rbp - 0x19], 0xfc4ffc5f
mov dword [rbp - 0x15], 0xfc2efc0c
mov dword [rbp - 0x11], 0xfc28fc21
mov dword [rbp - 0xd], 0xfc21fc21
mov dword [rbp - 9], 0xfc26fc16
mov dword [rbp - 5], 0xfc2cfc2f
mov dword [rbp - 1], 0xfc39
mov byte [rbp + 3], 1
mov ecx, 0x3da
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x25
jb 0x1400cf230
mov byte [rbp + 3], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400d4d70
lea rdx, [0x1400d4f50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x1400cf280
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, [rbp + 0x27]
mov rcx, rdi
call fcn.1400d6360
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140142f30
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400cf2a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14016a080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x14059ec40], eax
jle 0x1400cf3af
lea rcx, [0x14059ec40]
call fcn.140143000
cmp dword [0x14059ec40], 0xffffffff
jne 0x1400cf3af
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
lea ecx, [rbx + 0x20]
call fcn.140143078
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x27], reloc.WS2_32.dll_select
mov qword [rbp + 0x2f], Ordinal_35
movups xmm0, xmmword [str.MmFreePagesFromMdl]
movups xmmword [rax], xmm0
movzx ecx, word [0x140155340]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bl
lea r8, [rbp + 0x17]
mov rdx, qword [0x14059e898]
mov rcx, rdi
call fcn.1400cf6b0
mov qword [0x14059ed08], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400cf3a3
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf39d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cf39d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140142f50
nop
lea rcx, [0x14059ec40]
call fcn.140142f94
mov r8, qword [0x14059ed08]
test r8, r8
jne 0x1400cf48c
mov dword [rbp - 0x39], 0xfc06fc7d
mov dword [rbp - 0x35], 0xfc09fc75
mov dword [rbp - 0x31], 0xfc4afc6c
mov dword [rbp - 0x2d], 0xfc41fc45
mov dword [rbp - 0x29], 0xfc4bfc4b
mov dword [rbp - 0x25], 0xfc45fc10
mov dword [rbp - 0x21], 0xfc13fc5d
mov dword [rbp - 0x1d], 0xfc5cfc52
mov dword [rbp - 0x19], 0xfc53fc58
mov dword [rbp - 0x15], 0xfc74fc18
mov dword [rbp - 0x11], 0xfc7dfc57
mov dword [rbp - 0xd], 0xfc58fc4e
mov dword [rbp - 9], 0xfc6ffc5b
mov dword [rbp - 5], 0xfc26fc21
mov dword [rbp - 1], 0xfc30fc27
mov dword [rbp + 3], 0xfc37fc02
mov dword [rbp + 7], 0xfc2afc29
mov dword [rbp + 0xb], 0xfc2dfc05
mov dword [rbp + 0xf], 0xfc26
mov byte [rbp + 0x13], 1
mov ecx, 0x3da
nop dword [rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x25
jb 0x1400cf450
mov byte [rbp + 0x13], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400d4d70
lea rdx, [0x1400d4f50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x1400cf49b
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.1400d6a00
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140142f30
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cf4c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400cf688
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14059ece8], eax
jle 0x1400cf5b7
lea rcx, [0x14059ece8]
call fcn.140143000
cmp dword [0x14059ece8], 0xffffffff
jne 0x1400cf5b7
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], 0xa
mov qword [rbp + 0x4f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ExFreePool]
movsd qword [rbp + 0x37], xmm0
movzx eax, word [0x140155350]
mov word [rbp + 0x3f], ax
mov byte [rbp + 0x41], 0
lea r8, [rbp + 0x37]
mov rdx, qword [0x14059e898]
mov rcx, rdi
call fcn.1400cf6b0
mov qword [0x14059ecb0], rax
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0xf
jbe 0x1400cf5ab
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cf5a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cf5a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140142f50
nop
lea rcx, [0x14059ece8]
call fcn.140142f94
mov r8, qword [0x14059ecb0]
test r8, r8
jne 0x1400cf68c
mov dword [rbp - 0x19], 0xfc06fc7d
mov dword [rbp - 0x15], 0xfc09fc75
mov dword [rbp - 0x11], 0xfc4afc6c
mov dword [rbp - 0xd], 0xfc41fc45
mov dword [rbp - 9], 0xfc4bfc4b
mov dword [rbp - 5], 0xfc45fc10
mov dword [rbp - 1], 0xfc13fc5d
mov dword [rbp + 3], 0xfc5cfc52
mov dword [rbp + 7], 0xfc53fc58
mov dword [rbp + 0xb], 0xfc7cfc18
mov dword [rbp + 0xf], 0xfc7afc42
mov dword [rbp + 0x13], 0xfc51fc50
mov dword [rbp + 0x17], 0xfc5cfc51
mov dword [rbp + 0x1b], 0xfc35fc21
mov dword [rbp + 0x1f], 0xfc13fc27
mov dword [rbp + 0x23], 0xfc2afc2b
mov dword [rbp + 0x27], 0xfc2a
xor eax, eax
mov byte [rbp + 0x2b], 1
mov edx, 0x3da
nop dword [rax]
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x19], cx
inc rax
cmp rax, 0x21
jb 0x1400cf650
mov byte [rbp + 0x2b], 0
lea rdx, [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400d4d70
lea rdx, [0x1400d4f50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x1400cf699
mov r9, rbx
xor edx, edx
mov rcx, rdi
call fcn.1400d7080
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400d0350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400d0548
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x14059ed00], eax
jle 0x1400d0462
lea rcx, [0x14059ed00]
call fcn.140143000
cmp dword [0x14059ed00], 0xffffffff
jne 0x1400d0462
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], reloc.WS2_32.dll_ntohs
lea ecx, [rbx + 0x20]
call fcn.140143078
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], reloc.WS2_32.dll_setsockopt
mov qword [rbp + 0x3f], Ordinal_35
movups xmm0, xmmword [str.ExReleaseResourceLite]
movups xmmword [rax], xmm0
mov ecx, dword [0x140155388]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x14015538c]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], bl
lea r8, [rbp + 0x27]
mov rdx, qword [0x14059e898]
mov rcx, rsi
call fcn.1400cf6b0
mov qword [0x14059ec88], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x1400d0456
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d0450
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d0450
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140142f50
nop
lea rcx, [0x14059ed00]
call fcn.140142f94
mov r8, qword [0x14059ec88]
test r8, r8
jne 0x1400d054c
mov dword [rbp - 0x39], 0xfc06fc7d
mov dword [rbp - 0x35], 0xfc09fc75
mov dword [rbp - 0x31], 0xfc4afc6c
mov dword [rbp - 0x2d], 0xfc41fc45
mov dword [rbp - 0x29], 0xfc4bfc4b
mov dword [rbp - 0x25], 0xfc45fc10
mov dword [rbp - 0x21], 0xfc13fc5d
mov dword [rbp - 0x1d], 0xfc5cfc52
mov dword [rbp - 0x19], 0xfc53fc58
mov dword [rbp - 0x15], 0xfc7cfc18
mov dword [rbp - 0x11], 0xfc69fc42
mov dword [rbp - 0xd], 0xfc51fc59
mov dword [rbp - 9], 0xfc5efc5b
mov dword [rbp - 5], 0xfc24fc33
mov dword [rbp - 1], 0xfc26fc10
mov dword [rbp + 3], 0xfc2afc37
mov dword [rbp + 7], 0xfc35fc33
mov dword [rbp + 0xb], 0xfc2cfc2b
mov dword [rbp + 0xf], 0xfc22fc06
mov dword [rbp + 0x13], 0xfc28fc38
mov word [rbp + 0x17], bx
mov byte [rbp + 0x19], 1
mov ecx, 0x3da
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x28
jb 0x1400d0510
mov byte [rbp + 0x19], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400d4d70
lea rdx, [0x1400d4f50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x1400d0559
mov r9, rdi
xor edx, edx
mov rcx, rsi
call fcn.1400d7d70
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d0fb0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1030
call fcn.1401439d0
sub rsp, rax
mov rax, qword [0x14016a080]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r12, r9
mov r14, r8
test r8, r8
je 0x1400d1075
mov r9d, 0x1000
lea rdx, [rsp + 0x20]
call fcn.1400ce3e0
test al, al
je 0x1400d1075
lea r13, str.PAGE
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rbx + r13], 0
jne 0x1400d1010
movsxd rax, dword [rsp + 0x5c]
lea rcx, [rsp + 0x20]
add rcx, rax
xor esi, esi
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx ebp, word [rcx + 6]
add r15, rax
test ebp, ebp
je 0x1400d1075
nop dword [rax]
lea rcx, [rsi + rsi*4]
mov r8, rbx
lea rdi, [r15 + rcx*8]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400d106f
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x1400d1061
cmp rbx, rax
je 0x1400d10a2
inc esi
cmp esi, ebp
jb 0x1400d1040
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140142f30
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1030
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x1400d1075
mov ecx, dword [rdi + 8]
lea rax, [rsp + rax + 0x20]
test rax, rax
je 0x1400d1075
test ecx, ecx
je 0x1400d1075
test r12, r12
je 0x1400d10c3
mov dword [r12], ecx
lea rcx, [rsp + 0x20]
sub rax, rcx
add rax, r14
jmp 0x1400d1077
Function at 0x1400d10d0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.1401439d0
sub rsp, rax
mov rax, qword [0x14016a080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r12, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x1400d111c
mov rdx, rbp
jmp 0x1400d1230
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.1400ce3e0
test al, al
je 0x1400d1114
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x1400d1160
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x1400d1205
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400d11ce
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x1400d11c0
cmp rdi, rax
je 0x1400d11de
inc esi
cmp esi, r14d
jae 0x1400d1205
lea rdx, str.PAGE
jmp 0x1400d11a0
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1400d1205
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x1400d1205
test ecx, ecx
je 0x1400d1205
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x1400d1208
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r14, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.1400d0ea0
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140142f30
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret

Function at 0x1400d3510
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x76], 0
je 0x1400d3538
xor eax, eax
mov r8d, 0x3da
nop
movzx edx, ax
sub dx, r8w
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x3a
jb 0x1400d3520
mov byte [rcx + 0x76], 0
ret

Function at 0x1400d3540
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
je 0x1400d3568
xor eax, eax
mov r8d, 0x3da
nop
movzx edx, ax
sub dx, r8w
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x35
jb 0x1400d3550
mov byte [rcx + 0x6c], 0
ret

Function at 0x1400d3570
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x74], 0
je 0x1400d3598
xor eax, eax
mov r8d, 0x3da
nop
movzx edx, ax
sub dx, r8w
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x39
jb 0x1400d3580
mov byte [rcx + 0x74], 0
ret

Function at 0x1400d35a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6e], 0
je 0x1400d35c8
xor eax, eax
mov r8d, 0x3da
nop
movzx edx, ax
sub dx, r8w
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x36
jb 0x1400d35b0
mov byte [rcx + 0x6e], 0
ret