Function at 0x14004c510
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x14018bde8]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, rdx
mov qword [rbp - 0x10], rdx
mov r12, rcx
mov qword [rbp - 8], rcx
mov qword [rbp + 0x140], rdx
xor edi, edi
mov dword [rsp + 0x34], edi
lea rcx, [rbp + 0x178]
call fcn.140056f70
nop
mov dword [rbp - 0x78], 0x4f577038
mov dword [rbp - 0x74], 0x414d5147
mov word [rbp - 0x70], reloc.WLDAP32.dll_Ordinal_27
mov byte [rbp - 0x6e], 1
mov dword [rbp - 0x80], 0x4c417138
mov dword [rbp - 0x7c], 0x1001e47
mov dword [rbp - 0x68], 0x52456c38
mov dword [rbp - 0x64], 0x4b4b4a51
mov dword [rbp - 0x60], 0x15434f
mov byte [rbp - 0x5c], 1
mov dword [rsp + 0x40], 0x48577738
mov dword [rsp + 0x44], 0x1001e46
mov dword [rsp + 0x34], 0x58457438
mov word [rsp + 0x38], Ordinal_33
mov byte [rsp + 0x3a], 1
mov dword [rsp + 0x60], 0x4450666a
mov dword [rsp + 0x64], 0x464d4f1f
mov dword [rsp + 0x68], 0x4c5b4943
mov word [rsp + 0x6c], 0x100
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x34], al
inc rcx
cmp rcx, 5
jb 0x14004c5f0
mov byte [rsp + 0x3a], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x39]
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x38]
call fcn.14003e720
nop
cmp byte [rsp + 0x6d], 0
je 0x14004c645
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xc
jb 0x14004c630
mov byte [rsp + 0x6d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.14003e720
nop
lea r9, [rbp - 0x38]
lea r8, [rbp + 0xe0]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp]
call fcn.140044b00
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x14004c6c0
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c6ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c6ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14004c6ff
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c6f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c6f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14004c70c
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp]
call fcn.140046c90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x100]
call fcn.14003ed40
nop
lea rdx, [rbp + 0x178]
cmp qword [rbp + 0x190], 0x10
cmovae rdx, qword [rbp + 0x178]
mov r8, qword [rbp + 0x188]
mov rcx, rax
call fcn.140046c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xa0]
call fcn.14003efe0
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004c7c5
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140046c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x60]
call fcn.14003ed40
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14004c815
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140046c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.14003ef00
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004c865
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140046c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x14004c8ab
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.14003b43c
movdqa xmm0, xmmword [0x1400adc10]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x14004c8d7
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.14003b43c
nop
mov r8, qword [rbp + 0x78]
cmp r8, 0x10
jb 0x14004c8f1
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.14003b43c
movdqa xmm0, xmmword [0x1400adc10]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov r8, qword [rbp + 0x98]
cmp r8, 0x10
jb 0x14004c926
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.14003b43c
nop
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x14004c949
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.14003b43c
movdqa xmm0, xmmword [0x1400adc10]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0xd8]
cmp r8, 0x10
jb 0x14004c984
inc r8
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.14003b43c
nop
mov r8, qword [rbp + 0x118]
cmp r8, 0x10
jb 0x14004c9a7
inc r8
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x100]
call fcn.14003b43c
movdqa xmm0, xmmword [0x1400adc10]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], 0
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
jb 0x14004c9d9
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.14003b43c
nop
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x14004c9f3
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14003b43c
movdqa xmm0, xmmword [0x1400adc10]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x38]
call fcn.14002e2e8
mov rbx, rax
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0xe0]
call fcn.14002e2e8
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x158]
call fcn.140050250
nop
mov qword [rbp + 0x138], rdi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x148]
call fcn.140042110
nop
mov dword [rsp + 0x48], 0x52537a73
mov dword [rsp + 0x4c], 0x414443
mov byte [rsp + 0x50], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 7
jb 0x14004ca90
mov byte [rsp + 0x50], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4f]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.14003e720
nop
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbp + 0x148]
test cl, cl
jne 0x14004caea
mov byte [rbp + 0x148], 1
call fcn.140040b50
mov qword [rbp + 0x150], rax
movzx ecx, byte [rbp + 0x148]
jmp 0x14004caf1
mov rax, qword [rbp + 0x150]
cmp cl, 1
jne 0x14004cb05
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.140045bf0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x1400adc10]
movdqu xmmword [rbp + 0x1c0], xmm1
mov byte [rbp + 0x1b0], 0
mov dword [rsp + 0x34], 0x1ff58
cmp byte [rbx], 3
jne 0x14004cb45
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x1b0]
cmp rax, rdx
je 0x14004cb63
jmp 0x14004cb48
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004cb56
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1b0]
call fcn.14003b0d4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14004cba1
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cb9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cb9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
movdqa xmm0, xmmword [0x1400adc10]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400ac808]
mov qword [rbp + 0x1f0], rax
lea rax, [0x1400ac810]
mov qword [rbp + 0x200], rax
lea rcx, [rbp + 0x288]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x34], 0x1ffb8
xor r8d, r8d
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1ec], edx
lea rcx, [rbp + 0x208]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x270], rdi
mov dword [rbp + 0x278], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400a1f80
mov r14, rax
mov qword [rbp + 0x198], rax
lea r13, [rax + 0x20]
mov qword [rbp + 0x1a8], r13
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x1a0], r13
lea r8, [rbp + 0x158]
cmp qword [rbp + 0x170], 0x10
cmovae r8, qword [rbp + 0x158]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14004cccd
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x168]
mov rdx, qword [r12 + 0x268]
call fcn.1400573e0
mov rsi, r14
cmp r14, r13
je 0x14004cd64
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x14004acf0]
lea rcx, [rbp + 0x200]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rsp + 0x60]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc rsi
cmp rsi, r13
jne 0x14004cd00
xor edi, edi
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x1f0]
call fcn.140052540
lea rdx, [0x14018bd68]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x14018bd68]
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004cd99
mov rax, qword [rax]
cmp r8, qword [0x14018bd78]
jne 0x14004cdb2
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004cdb2
xor bl, bl
jmp 0x14004cdb4
mov bl, 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14004cdf2
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
test bl, bl
je 0x14004d25e
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov edx, 0xa0
lea rcx, [rbp - 0x58]
call fcn.14003b008
mov rcx, rax
mov qword [rbp - 0x58], rax
mov eax, 0x90
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 0x9f
movaps xmm0, xmmword [str.U2lnbmF0dXJlIGNoZWNrc3VtIGZhaWxlZC4gUmVxdWVzdCB3YXMgdGFtcGVyZWQgd2l0aCBvciBzZXNzaW9uIGVuZGVkIG1vc3QgbGlrZWx5LiAmIGVjaG86ICYgZWNobyBNZXNzYWdlOiA]
movups xmmword [rcx], xmm0
movaps xmm1, xmmword [0x1400accd0]
movups xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [0x1400acce0]
movups xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [0x1400accf0]
movups xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [0x1400acd00]
movups xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [0x1400acd10]
movups xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [0x1400acd20]
movups xmmword [rcx + 0x60], xmm0
movaps xmm1, xmmword [0x1400acd30]
movups xmmword [rcx + 0x70], xmm1
movaps xmm0, xmmword [0x1400acd40]
movups xmmword [rcx + 0x80], xmm0
mov byte [rcx + 0x90], 0
mov r15d, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x34], 0x1ffb9
xor r13d, r13d
mov esi, r13d
mov r12, rcx
movzx r14d, byte [rsp + 0x41]
nop dword [rax]
dec rax
mov qword [rbp - 0x18], rax
movzx ebx, byte [r12]
cmp bl, 0x3d
je 0x14004d0d1
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
test eax, eax
jne 0x14004cefd
sub bl, 0x2b
test bl, 0xfb
jne 0x14004d0d1
movzx eax, byte [r12]
mov byte [rsp + rsi + 0x40], al
inc r15d
inc rsi
inc r12
mov qword [rbp - 0x80], r12
cmp rsi, 4
jne 0x14004d0be
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
setae r13b
lea r15, [0x14018bd48]
mov rbx, r15
mov r12, qword [0x14018bd48]
cmovae rbx, r12
mov rsi, qword [0x14018bd58]
test rsi, rsi
je 0x14004cf64
movsx edx, byte [rsp + 0x40]
mov r8, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004cf64
sub rax, rbx
jmp 0x14004cf6b
mov rax, 0xffffffffffffffff
mov byte [rsp + 0x40], al
mov rbx, r15
test r13b, r13b
cmovne rbx, r12
test rsi, rsi
je 0x14004cf9b
movsx edx, byte [rsp + 0x41]
mov r8, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x14004cf9b
sub r14, rbx
jmp 0x14004cfa2
mov r14, 0xffffffffffffffff
mov byte [rsp + 0x41], r14b
test r13b, r13b
cmovne r15, r12
test rsi, rsi
je 0x14004cfd0
movsx edx, byte [rsp + 0x42]
mov r8, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14004cfd0
sub rbx, r15
jmp 0x14004cfd7
mov rbx, 0xffffffffffffffff
mov byte [rsp + 0x42], bl
lea r15, [0x14018bd48]
test r13b, r13b
cmovne r15, r12
test rsi, rsi
je 0x14004d00b
movsx edx, byte [rsp + 0x43]
mov r8, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rdx, rax
test rax, rax
je 0x14004d00b
sub rdx, r15
jmp 0x14004d012
mov rdx, 0xffffffffffffffff
mov byte [rsp + 0x43], dl
movzx ecx, r14b
shr cl, 4
and cl, 3
movzx eax, byte [rsp + 0x40]
shl al, 2
add cl, al
mov byte [rsp + 0x58], cl
movzx ecx, byte [rsp + 0x42]
shr cl, 2
and cl, 0xf
movzx eax, r14b
shl al, 4
add cl, al
mov byte [rsp + 0x59], cl
shl bl, 6
add bl, dl
mov byte [rsp + 0x5a], bl
xor r13d, r13d
mov ebx, r13d
nop word [rax + rax]
movzx r9d, byte [rsp + rbx + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rcx, rdi
jae 0x14004d093
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14004d0a4
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x60]
call fcn.14002b218
inc rbx
mov rdi, qword [rsp + 0x78]
cmp rbx, 3
jl 0x14004d060
mov r15d, r13d
mov rsi, r13
mov r12, qword [rbp - 0x80]
jmp 0x14004d0c4
movzx r14d, byte [rsp + 0x41]
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x14004ced0
test r15d, r15d
je 0x14004d1d1
movsxd r12, r15d
jle 0x14004d13b
mov rsi, r13
mov r13, qword [reloc.WS2_32.dll_ntohs]
mov r14, qword [0x14018bd58]
lea rbx, [0x14018bd48]
cmp r13, 0x10
cmovae rbx, qword [0x14018bd48]
test r14, r14
je 0x14004d122
movsx edx, byte [rsp + rsi + 0x40]
mov r8, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004d122
sub rax, rbx
jmp 0x14004d129
mov rax, 0xffffffffffffffff
mov byte [rsp + rsi + 0x40], al
inc rsi
cmp rsi, r12
jl 0x14004d0f0
movzx r14d, byte [rsp + 0x41]
movzx ecx, r14b
shr cl, 4
and cl, 3
movzx eax, byte [rsp + 0x40]
shl al, 2
add cl, al
mov byte [rsp + 0x58], cl
movzx eax, byte [rsp + 0x42]
shr al, 2
and al, 0xf
shl r14b, 4
add al, r14b
mov byte [rsp + 0x59], al
lea eax, [r15 - 1]
movsxd rsi, eax
test eax, eax
jle 0x14004d1d1
xor ebx, ebx
nop word [rax + rax]
movzx r9d, byte [rsp + rbx + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rcx, rdi
jae 0x14004d1b3
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004d1c4
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x60]
call fcn.14002b218
inc rbx
mov rdi, qword [rsp + 0x78]
cmp rbx, rsi
jl 0x14004d180
lea rdx, [rsp + 0x60]
cmp rdi, 0x10
cmovae rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x38]
call fcn.14003ebe0
mov rcx, rax
call fcn.140049b20
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14004d23a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d234
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d234
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
nop
mov edx, 0xa0
mov rcx, qword [rbp - 0x58]
call fcn.1400a197c
mov r14, qword [rbp + 0x198]
mov r15, qword [rbp - 0x10]
mov r13, qword [rbp + 0x1a8]
mov r12, qword [rbp - 8]
lea rdx, [rbp + 0x148]
lea rcx, [rsp + 0x60]
call fcn.1400447f0
mov rdx, rax
mov rcx, r12
call fcn.14004d630
movzx ecx, byte [rbp + 0x148]
test cl, cl
jne 0x14004d2a1
mov byte [rbp + 0x148], 1
call fcn.140040b50
mov qword [rbp + 0x150], rax
movzx ecx, byte [rbp + 0x148]
jmp 0x14004d2a8
mov rax, qword [rbp + 0x150]
cmp cl, 1
jne 0x14004d2c1
lea rdx, [0x14018d510]
mov rcx, rax
call fcn.140045bf0
mov rcx, rax
jmp 0x14004d2c6
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + 8]
cmp byte [rcx], 4
mov ebx, 0
cmovne rax, rbx
cmp byte [rax], bl
je 0x14004d3bb
mov dword [rsp + 0x34], 0x4e467177
mov word [rsp + 0x38], 0x100
mov ecx, ebx
nop
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x34], al
inc rcx
cmp rcx, 4
jb 0x14004d2f0
mov byte [rsp + 0x39], bl
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x38]
call fcn.14003e720
nop
movzx ecx, byte [rbp + 0x148]
test cl, cl
jne 0x14004d344
mov byte [rbp + 0x148], 1
call fcn.140040b50
mov qword [rbp + 0x150], rax
movzx ecx, byte [rbp + 0x148]
jmp 0x14004d34b
mov rax, qword [rbp + 0x150]
cmp cl, 1
jne 0x14004d35e
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140045bf0
jmp 0x14004d363
mov rax, qword [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400447f0
mov rdx, rax
mov rcx, r12
call fcn.14004d6e0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14004d3bb
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d3b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d3b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
nop
test r14, r14
je 0x14004d3f4
sub r13, r14
cmp r13, 0x1000
jb 0x14004d3e8
add r13, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14004d48c
mov r14, rcx
mov rdx, r13
mov rcx, r14
call fcn.1400a197c
nop
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1ec], edx
lea rcx, [rbp + 0x208]
call fcn.14002eed4
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x288]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 0x10
jb 0x14004d499
inc rdx
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d493
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d493
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a197c
nop
movzx edx, byte [rbp + 0x148]
lea rcx, [rbp + 0x150]
call fcn.140048f90
nop
mov rdx, qword [rbp + 0x170]
cmp rdx, 0x10
jb 0x14004d4f1
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d4ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d4ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x170], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x14004d54f
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d549
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d549
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x14004d593
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d58e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d58e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a197c
mov qword [rbp + 0x188], rbx
mov qword [rbp + 0x190], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x178], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14004d5e2
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14004d5dd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d61c
mov rcx, r8
call fcn.1400a197c
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400a1f00
mov rbx, qword [rsp + 0x450]
add rsp, 0x400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3