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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801491e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800358ed
xor eax, eax
jmp 0x180035a42
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x180035918
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x180035918
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x180035a42
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180035a35
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18003595b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180035986
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180035a3a
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800359f5
sub eax, 1
je 0x1800359f5
cmp eax, 2
jne 0x180035a35
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180035a3a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180035a23
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x180035a35
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x180035a3a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18010a550
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x180035c20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x180035c43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x180035c30
mov byte [rcx + 0x1a], 0
ret
Function at 0x180035c50
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 + 0x1a], r8b
je 0x180035c83
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x19
jb 0x180035c70
mov byte [rdx + 0x1a], r8b
lea rcx, [rdx + 0x19]
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 0x180035cac
mov r8d, Ordinal_30
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180035cc0
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 + 0x2b], r8b
je 0x180035cf3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x2a
jb 0x180035ce0
mov byte [rdx + 0x2b], r8b
lea rcx, [rdx + 0x2a]
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 0x180035d1c
mov r8d, Ordinal_46
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180035f30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x180035f53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x180035f40
mov byte [rcx + 0x21], 0
ret

Function at 0x1800370f0
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 0x180037123
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x180037110
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 0x18003714c
mov r8d, 4
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037160
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 + 0x12], r8b
je 0x180037193
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x11
jb 0x180037180
mov byte [rdx + 0x12], r8b
lea rcx, [rdx + 0x11]
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 0x1800371bc
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180037350
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 + 0x11], r8b
je 0x180037383
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x10
jb 0x180037370
mov byte [rdx + 0x11], r8b
lea rcx, [rdx + 0x10]
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 0x1800373ac
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800373c0
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 + 0xf], r8b
je 0x1800373f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xe
jb 0x1800373e0
mov byte [rdx + 0xf], r8b
lea rcx, [rdx + 0xe]
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 0x18003741c
mov r8d, recv
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037430
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 0x180037463
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x180037450
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 0x18003748c
mov r8d, 0xa
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800374a0
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 0x1800374d3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x1800374c0
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 0x1800374fc
mov r8d, 8
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037510
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 0x180037543
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x180037530
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 0x18003756c
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180037580
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 + 0xd], r8b
je 0x1800375b3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xc
jb 0x1800375a0
mov byte [rdx + 0xd], r8b
lea rcx, [rdx + 0xc]
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 0x1800375dc
mov r8d, recv
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800375f0
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 + 0xe], r8b
je 0x180037623
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xd
jb 0x180037610
mov byte [rdx + 0xe], r8b
lea rcx, [rdx + 0xd]
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 0x18003764c
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037660
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x180037683
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x180037670
mov byte [rcx + 4], 0
ret

Function at 0x180037690
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 + 4], r8b
je 0x1800376c3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 3
jb 0x1800376b0
mov byte [rdx + 4], r8b
lea rcx, [rdx + 3]
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 0x1800376ec
mov r8d, 3
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037700
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 + 0x14], r8b
je 0x180037733
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x13
jb 0x180037720
mov byte [rdx + 0x14], r8b
lea rcx, [rdx + 0x13]
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 0x18003775c
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180037770
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 + 0xa], r8b
je 0x1800377a3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 9
jb 0x180037790
mov byte [rdx + 0xa], r8b
lea rcx, [rdx + 9]
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 0x1800377cc
mov r8d, 9
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800377e0
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 + 0xc], r8b
je 0x180037813
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xb
jb 0x180037800
mov byte [rdx + 0xc], r8b
lea rcx, [rdx + 0xb]
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 0x18003783c
mov r8d, recv
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037850
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 + 0x13], r8b
je 0x180037883
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x12
jb 0x180037870
mov byte [rdx + 0x13], r8b
lea rcx, [rdx + 0x12]
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 0x1800378ac
mov r8d, reloc.WS2_32.dll_select
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037a40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x180037a63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1d
jb 0x180037a50
mov byte [rcx + 0x1e], 0
ret

Function at 0x180037a70
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 + 3], r8b
je 0x180037aa3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 2
jb 0x180037a90
mov byte [rdx + 3], r8b
lea rcx, [rdx + 2]
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 0x180037acc
mov r8d, 2
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180037ae0
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 + 6], r8b
je 0x180037b13
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 5
jb 0x180037b00
mov byte [rdx + 6], r8b
lea rcx, [rdx + 5]
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 0x180037b3c
mov r8d, 5
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180037b50
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 + 0x15], r8b
je 0x180037b83
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x14
jb 0x180037b70
mov byte [rdx + 0x15], r8b
lea rcx, [rdx + 0x14]
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 0x180037bac
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800381e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x180038203
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x1800381f0
mov byte [rcx + 8], 0
ret

Function at 0x180038210
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 0x180038243
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x180038230
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 0x18003826c
mov r8d, 7
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180038290
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 + 7], r8b
je 0x1800382c3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0xb]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 6
jb 0x1800382b0
mov byte [rdx + 7], r8b
lea rcx, [rdx + 6]
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 0x1800382ec
mov r8d, 6
mov rcx, rbx
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180039610
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801491e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800396e3
cmp byte [rcx + 0x71], 0
je 0x1800396e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1800396df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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 0x1800396a4
sub eax, 1
je 0x1800396a8
cmp eax, 2
jne 0x1800396df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18010a550
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800396d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1800396df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003968c
xor al, al
jmp 0x18003968c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18010a550
add rsp, 0x60
pop rbx
ret

Function at 0x18003faf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0x13], dl
je 0x18003fb34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0xb]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x12
jb 0x18003fb20
mov byte [r8 + 0x13], dl
add r8, 0x12
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x18003fb60
mov r8d, reloc.WS2_32.dll_select
mov rdx, r9
mov rcx, r10
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003fb70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xc], dl
je 0x18003fbb4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0xb]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xb
jb 0x18003fba0
mov byte [r8 + 0xc], dl
add r8, 0xb
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x18003fbe0
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003fbf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 7], dl
je 0x18003fc34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0xb]
xor byte [rax + r8], cl
inc rax
cmp rax, 6
jb 0x18003fc20
mov byte [r8 + 7], dl
add r8, 6
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x18003fc60
mov r8d, 6
mov rdx, r9
mov rcx, r10
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003fc70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xa], dl
je 0x18003fcb4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0xb]
xor byte [rax + r8], cl
inc rax
cmp rax, 9
jb 0x18003fca0
mov byte [r8 + 0xa], dl
add r8, 9
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x18003fce0
mov r8d, 9
mov rdx, r9
mov rcx, r10
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003fcf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 8], dl
je 0x18003fd34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0xb]
xor byte [rax + r8], cl
inc rax
cmp rax, 7
jb 0x18003fd20
mov byte [r8 + 8], dl
add r8, 7
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x18003fd60
mov r8d, 7
mov rdx, r9
mov rcx, r10
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003fd70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 4], dl
je 0x18003fdb4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0xb]
xor byte [rax + r8], cl
inc rax
cmp rax, 3
jb 0x18003fda0
mov byte [r8 + 4], dl
add r8, 3
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x18003fde0
mov r8d, 3
mov rdx, r9
mov rcx, r10
call fcn.18003a430
mov rax, rbx
add rsp, 0x30
pop rbx
ret