joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800aab20
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1800aacc8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1800aab85
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1800aab85
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800aab85
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1800aabbc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1800aac12
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800aac12
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800aac12
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800aac12
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800aac12
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1800aa5d0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1800aac74
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180086d50
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1800aa9a0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800aacc0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180086d50
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1800ac430
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1800ef080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1800ac4c5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1800ac526
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.180086d50
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800bffb0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1800ac5e1
sub ecx, 1
je 0x1800ac654
sub ecx, 1
je 0x1800ac590
cmp ecx, 1
je 0x1800ac573
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1800d4c84]
call fcn.180086d50
jmp 0x1800ac654
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1800ac160
test eax, eax
je 0x1800ac654
jmp 0x1800ac4fa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800ac654
sub rax, rsi
cmp rax, rbp
jae 0x1800ac654
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.180086ed0
jmp 0x1800ac654
cmp r8d, 4
jle 0x1800ac654
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1800ac654
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.180086c70
mov esi, eax
test eax, eax
je 0x1800ac633
mov edx, 5
mov rcx, rbx
call fcn.1800ad120
mov eax, esi
jmp 0x1800ac4fa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.180095550
mov rcx, r14
call fcn.180095830
test eax, eax
je 0x1800ac4f8
mov edx, 5
mov rcx, rbx
call fcn.1800ad120
mov eax, Ordinal_45
jmp 0x1800ac4fa
Function at 0x1800bf3f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [0x1800ef020]
mov rdi, rax
test rax, rax
jne 0x1800bf432
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800bf479
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800bf4d2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1800bf490
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800bf513
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1800d44cb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1800d44cc]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800bf4e0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1800bf530
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800bf56a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800bf56f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800bf5b8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1800bf5b8
dec r8
sub rdx, 1
jne 0x1800bf59e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140035750
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 [0x1400d0080]
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 [0x14090c068], eax
jle 0x140035861
lea rcx, [0x14090c068]
call fcn.1400a9400
cmp dword [0x14090c068], 0xffffffff
jne 0x140035861
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.1400a9478
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], reloc.WS2_32.dll_select
mov qword [rbp + Ordinal_35], 0x1f
movups xmm0, xmmword [0x1400bb338]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400bb348]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bl
lea r8, [rbp + 7]
mov rdx, qword [0x14090bc98]
mov rcx, rdi
call fcn.140035d80
mov qword [0x14090c130], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140035855
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003584f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003584f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
nop
lea rcx, [0x14090c068]
call fcn.1400a9394
mov r8, qword [0x14090c130]
test r8, r8
jne 0x140035939
mov dword [rbp - 0x49], 0x15f9158c
mov dword [rbp - 0x45], 0x15fa1584
mov dword [rbp - 0x41], 0x15bd159d
mov dword [rbp - 0x3d], 0x15b215b4
mov dword [rbp - 0x39], 0x158415ba
mov dword [rbp - 0x35], 0x159615c1
mov dword [rbp - 0x31], 0x15c4158c
mov dword [rbp - 0x2d], 0x158f1583
mov dword [rbp - 0x29], 0x158c1589
mov dword [rbp - 0x25], 0x15a715c9
mov dword [rbp - 0x21], 0x15b91586
mov dword [rbp - 0x1d], 0x15831583
mov dword [rbp - 0x19], 0x1580158e
mov dword [rbp - 0x15], 0x159d15bd
mov dword [rbp - 0x11], 0x159f1590
mov dword [rbp - 0xd], 0x15921590
mov dword [rbp - 9], 0x159915a7
mov dword [rbp - 5], 0x159f159e
mov dword [rbp - 1], 0x1588
mov byte [rbp + 3], 1
mov ecx, 0x15d7
nop
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x25
jb 0x140035900
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.14003b430
lea rdx, [0x14003b610]
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 0x14003594d
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, [rbp + 0x27]
mov rcx, rdi
call fcn.14003c9e0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400a9330
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140035970
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 [0x1400d0080]
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 [0x14090c040], eax
jle 0x140035a7f
lea rcx, [0x14090c040]
call fcn.1400a9400
cmp dword [0x14090c040], 0xffffffff
jne 0x140035a7f
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.1400a9478
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 [0x1400bb360]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bl
lea r8, [rbp + 0x17]
mov rdx, qword [0x14090bc98]
mov rcx, rdi
call fcn.140035d80
mov qword [0x14090c108], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140035a73
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035a6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
nop
lea rcx, [0x14090c040]
call fcn.1400a9394
mov r8, qword [0x14090c108]
test r8, r8
jne 0x140035b59
mov dword [rbp - 0x39], 0x15f9158c
mov dword [rbp - 0x35], 0x15fa1584
mov dword [rbp - 0x31], 0x15bd159d
mov dword [rbp - 0x2d], 0x15b215b4
mov dword [rbp - 0x29], 0x158415ba
mov dword [rbp - 0x25], 0x159615c1
mov dword [rbp - 0x21], 0x15c4158c
mov dword [rbp - 0x1d], 0x158f1583
mov dword [rbp - 0x19], 0x158c1589
mov dword [rbp - 0x15], 0x15a715c9
mov dword [rbp - 0x11], 0x15aa1586
mov dword [rbp - 0xd], 0x158b159f
mov dword [rbp - 9], 0x15a0158a
mov dword [rbp - 5], 0x15951590
mov dword [rbp - 1], 0x15871596
mov dword [rbp + 3], 0x158415b3
mov dword [rbp + 7], 0x15951598
mov dword [rbp + 0xb], 0x159e15b4
mov dword [rbp + 0xf], 0x1597
mov byte [rbp + 0x13], 1
mov ecx, 0x15d7
nop dword [rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x25
jb 0x140035b20
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.14003b430
lea rdx, [0x14003b610]
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 0x140035b68
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.14003d070
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400a9330
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035b90
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 0x140035d55
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14090c0e8], eax
jle 0x140035c87
lea rcx, [0x14090c0e8]
call fcn.1400a9400
cmp dword [0x14090c0e8], 0xffffffff
jne 0x140035c87
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 [0x1400bb370]
mov word [rbp + 0x3f], ax
mov byte [rbp + 0x41], 0
lea r8, [rbp + 0x37]
mov rdx, qword [0x14090bc98]
mov rcx, rdi
call fcn.140035d80
mov qword [0x14090c0b0], rax
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0xf
jbe 0x140035c7b
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035c75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
nop
lea rcx, [0x14090c0e8]
call fcn.1400a9394
mov r8, qword [0x14090c0b0]
test r8, r8
jne 0x140035d59
mov dword [rbp - 0x19], 0x15f9158c
mov dword [rbp - 0x15], 0x15fa1584
mov dword [rbp - 0x11], 0x15bd159d
mov dword [rbp - 0xd], 0x15b215b4
mov dword [rbp - 9], 0x158415ba
mov dword [rbp - 5], 0x159615c1
mov dword [rbp - 1], 0x15c4158c
mov dword [rbp + 3], 0x158f1583
mov dword [rbp + 7], 0x158c1589
mov dword [rbp + 0xb], 0x15af15c9
mov dword [rbp + 0xf], 0x15ad1593
mov dword [rbp + 0x13], 0x15821581
mov dword [rbp + 0x17], 0x15931580
mov dword [rbp + 0x1b], 0x15861590
mov dword [rbp + 0x1f], 0x15a41596
mov dword [rbp + 0x23], 0x1599159a
mov dword [rbp + 0x27], 0x159b
xor eax, eax
mov byte [rbp + 0x2b], 1
mov edx, 0x15d7
nop dword [rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x19], cx
inc rax
cmp rax, 0x21
jb 0x140035d20
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.14003b430
lea rdx, [0x14003b610]
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 0x140035d66
mov r9, rbx
xor edx, edx
mov rcx, rdi
call fcn.14003d6f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140036a20
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 0x140036c15
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x14090c100], eax
jle 0x140036b32
lea rcx, [0x14090c100]
call fcn.1400a9400
cmp dword [0x14090c100], 0xffffffff
jne 0x140036b32
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.1400a9478
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 [0x1400bb3a8]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1400bb3ac]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], bl
lea r8, [rbp + 0x27]
mov rdx, qword [0x14090bc98]
mov rcx, rsi
call fcn.140035d80
mov qword [0x14090c088], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x140036b26
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036b20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036b20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a9350
nop
lea rcx, [0x14090c100]
call fcn.1400a9394
mov r8, qword [0x14090c088]
test r8, r8
jne 0x140036c19
mov dword [rbp - 0x39], 0x15f9158c
mov dword [rbp - 0x35], 0x15fa1584
mov dword [rbp - 0x31], 0x15bd159d
mov dword [rbp - 0x2d], 0x15b215b4
mov dword [rbp - 0x29], 0x158415ba
mov dword [rbp - 0x25], 0x159615c1
mov dword [rbp - 0x21], 0x15c4158c
mov dword [rbp - 0x1d], 0x158f1583
mov dword [rbp - 0x19], 0x158c1589
mov dword [rbp - 0x15], 0x15af15c9
mov dword [rbp - 0x11], 0x15be1593
mov dword [rbp - 0xd], 0x15821588
mov dword [rbp - 9], 0x1591158a
mov dword [rbp - 5], 0x15971582
mov dword [rbp - 1], 0x159115a1
mov dword [rbp + 3], 0x15991586
mov dword [rbp + 7], 0x158a1582
mov dword [rbp + 0xb], 0x159f159a
mov dword [rbp + 0xf], 0x159515b7
mov dword [rbp + 0x13], 0x159b1589
mov word [rbp + 0x17], bx
mov byte [rbp + 0x19], 1
mov ecx, 0x15d7
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x28
jb 0x140036be0
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.14003b430
lea rdx, [0x14003b610]
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 0x140036c26
mov r9, rdi
xor edx, edx
mov rcx, rsi
call fcn.14003e3e0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140037670
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.1400a9dd0
sub rsp, rax
mov rax, qword [0x1400d0080]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r12, r9
mov r14, r8
test r8, r8
je 0x140037735
mov r9d, 0x1000
lea rdx, [rsp + 0x20]
call fcn.140034ac0
test al, al
je 0x140037735
lea r13, str.PAGE
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rbx + r13], 0
jne 0x1400376d0
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 0x140037735
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 0x14003772f
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140037721
cmp rbx, rax
je 0x140037762
inc esi
cmp esi, ebp
jb 0x140037700
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400a9330
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 0x140037735
mov ecx, dword [rdi + 8]
lea rax, [rsp + rax + 0x20]
test rax, rax
je 0x140037735
test ecx, ecx
je 0x140037735
test r12, r12
je 0x140037783
mov dword [r12], ecx
lea rcx, [rsp + 0x20]
sub rax, rcx
add rax, r14
jmp 0x140037737
Function at 0x140037790
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.1400a9dd0
sub rsp, rax
mov rax, qword [0x1400d0080]
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 0x1400377dc
mov rdx, rbp
jmp 0x1400378f0
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.140034ac0
test al, al
je 0x1400377d4
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 0x140037820
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 0x1400378c5
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 0x14003788e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140037880
cmp rdi, rax
je 0x14003789e
inc esi
cmp esi, r14d
jae 0x1400378c5
lea rdx, str.PAGE
jmp 0x140037860
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1400378c5
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x1400378c5
test ecx, ecx
je 0x1400378c5
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x1400378c8
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.140037560
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a9330
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret

Function at 0x140039bd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x76], 0
je 0x140039bf5
xor eax, eax
mov r8d, 0x15d7
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x3a
jb 0x140039be0
mov byte [rcx + 0x76], 0
ret

Function at 0x140039c00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
je 0x140039c25
xor eax, eax
mov r8d, 0x15d7
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x35
jb 0x140039c10
mov byte [rcx + 0x6c], 0
ret

Function at 0x140039c30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x74], 0
je 0x140039c55
xor eax, eax
mov r8d, 0x15d7
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x39
jb 0x140039c40
mov byte [rcx + 0x74], 0
ret

Function at 0x140039c60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6e], 0
je 0x140039c85
xor eax, eax
mov r8d, 0x15d7
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x36
jb 0x140039c70
mov byte [rcx + 0x6e], 0
ret