joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003ad50
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp edx, 1
jne 0x18003aef7
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x1f], rax
mov dword [rbp - 0x31], 0xf4f0f5f5
mov dword [rbp - 0x2d], 0x100faf0
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rbp + rcx - 0x31], al
inc rcx
cmp rcx, 6
jb 0x18003ada0
mov byte [rbp - 0x2a], bl
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov r8d, 6
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x29]
call fcn.180040f40
nop
mov dword [rbp - 0x39], 0x8e958d
mov byte [rbp - 0x35], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 3
jb 0x18003adf0
mov byte [rbp - 0x35], 0
mov qword [rbp - 9], rbx
mov qword [rbp + 7], rbx
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov r8d, 3
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.180040f40
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18001d890
test al, al
je 0x18003aef7
movdqa xmm0, xmmword [0x180139e00]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0xa8a5a789
mov dword [rbp - 0x15], 0x100bba0
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx - 0x46]
xor byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0x16
jb 0x18003ae60
mov byte [rbp - 0x12], 0
movdqa xmm0, xmmword [0x1801393a0]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x100b8b9
nop dword [rax + rax]
lea eax, [rbx - 0x46]
xor byte [rbp + rbx - 9], al
inc rbx
cmp rbx, 0x12
jb 0x18003ae90
mov byte [rbp + 0xa], 0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x18003aec0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rbp + 0x27]
call fcn.18000efa0
nop
call fcn.18001b7b0
test al, al
je 0x18003af19
call fcn.1800290c0
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x29]
call fcn.18003f330
mov rcx, rax
call fcn.18003a4a0
nop
lea rcx, [rbp + 0x27]
call fcn.180040e40
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180112f90
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret
lea rcx, [rbp + 0x27]
call fcn.180040e40
xor eax, eax
jmp 0x18003aefc

Function at 0x18003af30
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 + 0x3f], r8b
je 0x18003af63
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x3e
jb 0x18003af50
mov byte [rdx + 0x3f], r8b
lea rcx, [rdx + 0x3e]
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 0x18003af8c
mov r8d, 0x3e
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003b0f0
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 + 0x43], r8b
je 0x18003b123
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x42
jb 0x18003b110
mov byte [rdx + 0x43], r8b
lea rcx, [rdx + 0x42]
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 0x18003b14c
mov r8d, 0x42
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b160
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 + 0x1d], r8b
je 0x18003b193
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1c
jb 0x18003b180
mov byte [rdx + 0x1d], r8b
lea rcx, [rdx + 0x1c]
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 0x18003b1bc
mov r8d, Ordinal_33
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b1d0
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 + 0x38], r8b
je 0x18003b203
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x37
jb 0x18003b1f0
mov byte [rdx + 0x38], r8b
lea rcx, [rdx + 0x37]
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 0x18003b22c
mov r8d, gethostname
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b240
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 + 0x32], r8b
je 0x18003b273
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x31
jb 0x18003b260
mov byte [rdx + 0x32], r8b
lea rcx, [rdx + 0x31]
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 0x18003b29c
mov r8d, Ordinal_50
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b2b0
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 + 0x28], r8b
je 0x18003b2e3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x27
jb 0x18003b2d0
mov byte [rdx + 0x28], r8b
lea rcx, [rdx + 0x27]
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 0x18003b30c
mov r8d, Ordinal_41
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003b320
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 + 0x20], r8b
je 0x18003b353
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1f
jb 0x18003b340
mov byte [rdx + 0x20], r8b
lea rcx, [rdx + 0x1f]
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 0x18003b37c
mov r8d, Ordinal_33
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b390
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 + 0x18], r8b
je 0x18003b3c3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x17
jb 0x18003b3b0
mov byte [rdx + 0x18], r8b
lea rcx, [rdx + 0x17]
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 0x18003b3ec
mov r8d, reloc.WS2_32.dll_socket
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b400
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 + 0x19], r8b
je 0x18003b433
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x18
jb 0x18003b420
mov byte [rdx + 0x19], r8b
lea rcx, [rdx + 0x18]
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 0x18003b45c
mov r8d, Ordinal_26
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b6b0
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 + 0x27], r8b
je 0x18003b6e3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x26
jb 0x18003b6d0
mov byte [rdx + 0x27], r8b
lea rcx, [rdx + 0x26]
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 0x18003b70c
mov r8d, Ordinal_41
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b720
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x23], 0
je 0x18003b743
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x46]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x22
jb 0x18003b730
mov byte [rcx + 0x23], 0
ret

Function at 0x18003b750
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x18003b773
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x46]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x18003b760
mov byte [rcx + 0x1f], 0
ret
Function at 0x18003b780
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 + 0x1f], r8b
je 0x18003b7b3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1e
jb 0x18003b7a0
mov byte [rdx + 0x1f], r8b
lea rcx, [rdx + 0x1e]
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 0x18003b7dc
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b7f0
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 + 0x1f], r8b
je 0x18003b823
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x1e
jb 0x18003b810
mov byte [rdx + 0x1f], r8b
lea rcx, [rdx + 0x1e]
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 0x18003b84c
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003bb50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18003bb87
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18003bba8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18003bbaa
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18003bc03
test ecx, ecx
jle 0x18003bbe3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18003bc03
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18003bc03
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18003bc30
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18003bc52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18003bc68
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18003bc84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003bc86
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x18003bcc0
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18003bd67
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x18003bcfb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x18003bd41
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18003bd80
cmp rbx, rax
ja 0x18003bd10
mov r8, rdi
test rdi, rdi
je 0x18003bd67
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x18003bd6a
Function at 0x18003c160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003c18d
xor eax, eax
jmp 0x18003c2e2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18003c1b8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18003c1b8
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 0x18003c2e2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003c2d5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18003c1fb
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 0x18003c226
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 0x18003c2da
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 0x18003c295
sub eax, 1
je 0x18003c295
cmp eax, 2
jne 0x18003c2d5
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 0x18003c2da
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003c2c3
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 0x18003c2d5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18003c2da
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180112f90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x18003c4c0
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 + 0x26], r8b
je 0x18003c4f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x25
jb 0x18003c4e0
mov byte [rdx + 0x26], r8b
lea rcx, [rdx + 0x25]
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 0x18003c51c
mov r8d, Ordinal_41
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003c530
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x18003c553
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x46]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x18003c540
mov byte [rcx + 0x1a], 0
ret

Function at 0x18003c560
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 0x18003c593
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x19
jb 0x18003c580
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 0x18003c5bc
mov r8d, Ordinal_30
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c5d0
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 0x18003c603
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x2a
jb 0x18003c5f0
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 0x18003c62c
mov r8d, Ordinal_46
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c7b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x18003c7d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x46]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x18003c7c0
mov byte [rcx + 0x21], 0
ret

Function at 0x18003c7e0
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 + 0x21], r8b
je 0x18003c813
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x20
jb 0x18003c800
mov byte [rdx + 0x21], r8b
lea rcx, [rdx + 0x20]
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 0x18003c83c
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d990
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 0x18003d9c3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x18003d9b0
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 0x18003d9ec
mov r8d, 4
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003db90
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 + 0x17], r8b
je 0x18003dbc3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x16
jb 0x18003dbb0
mov byte [rdx + 0x17], r8b
lea rcx, [rdx + 0x16]
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 0x18003dbec
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dc00
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 0x18003dc33
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x12
jb 0x18003dc20
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 0x18003dc5c
mov r8d, reloc.WS2_32.dll_select
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dc70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x18003dc93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x46]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x18003dc80
mov byte [rcx + 0x14], 0
ret

Function at 0x18003dca0
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 0x18003dcd3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x13
jb 0x18003dcc0
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 0x18003dcfc
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dd10
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 0x18003dd43
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xe
jb 0x18003dd30
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 0x18003dd6c
mov r8d, recv
mov rcx, rbx
call fcn.180040f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret