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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1400e1088]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x120], rdx
mov qword [rbp + 0x128], r8
xor r15d, r15d
mov dword [rsp + 0x50], r15d
cmp byte [0x14018f0e0], r15b
jne 0x14005f339
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x30]
call fcn.140049b30
lea rcx, [rbp - 0x30]
call fcn.14005b470
lea rcx, [rbp + 0x198]
call fcn.1400687b0
nop
mov dword [rsp + 0x68], 0x48524b05
mov dword [rsp + 0x6c], 0x4e405a42
mov word [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x58], 0x4b444a05
mov dword [rsp + 0x5c], 0x1001542
mov dword [rbp - 0x78], 0x55405705
mov dword [rbp - 0x74], 0x44464154
mov dword [rbp - 0x70], 0x104842
mov byte [rbp - 0x6c], 1
mov dword [rsp + 0x60], 0x4f524c05
mov dword [rsp + 0x64], 0x1001543
mov dword [rsp + 0x50], 0x55445405
mov dword [rsp + 0x54], 0x1001554
mov dword [rsp + 0x78], 0x43565105
mov dword [rsp + 0x7c], 0x47484655
mov dword [rbp - 0x80], 0x100114e
mov dword [rbp + 0x160], 0x43555d57
mov dword [rbp + 0x164], 0x4d46441a
mov dword [rbp + 0x168], 0x1004242
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x30]
call fcn.14004d3a0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005f405
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140049c90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x78]
call fcn.14004ce30
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14005f451
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140049c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x58]
call fcn.14004ce30
nop
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0x10
cmovae rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
mov rcx, rax
call fcn.140049c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x38]
call fcn.14004d510
nop
lea rdx, [rbx + 0x258]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005f50b
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140049c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x18]
call fcn.14004ce30
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005f55a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140049c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x50]
call fcn.14004d1a0
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005f5b2
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140049c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1b8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1c8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 0x38]
cmp r8, 0x10
jb 0x14005f5f8
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140049d80
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8, qword [rbp + 0x158]
cmp r8, 0x10
jb 0x14005f62c
inc r8
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.140049d80
nop
mov r8, qword [rbp + 0x30]
cmp r8, 0x10
jb 0x14005f646
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.140049d80
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov r8, qword [rbp + 0xb0]
cmp r8, 0x10
jb 0x14005f67a
inc r8
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x98]
call fcn.140049d80
nop
mov r8, qword [rbp + 0x50]
cmp r8, 0x10
jb 0x14005f694
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.140049d80
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov r8, qword [rbp + 0xd0]
cmp r8, 0x10
jb 0x14005f6c8
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140049d80
nop
mov r8, qword [rbp + 0x70]
cmp r8, 0x10
jb 0x14005f6e2
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.140049d80
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov r8, qword [rbp + 0xf0]
cmp r8, 0x10
jb 0x14005f716
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.140049d80
nop
mov r8, qword [rbp + 0x90]
cmp r8, 0x10
jb 0x14005f733
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.140049d80
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov r8, qword [rbp + 0x10]
cmp r8, 0x10
jb 0x14005f764
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.140049d80
nop
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x14005f77e
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140049d80
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
lea rax, [rbp - 8]
mov qword [rbp + 0x118], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 8]
call fcn.140048fb0
mov r14, rax
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], r15
lea rdi, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rdi, qword [rbp + 0x1b8]
movabs rax, 0x7fffffffffffffff
mov rsi, qword [rbp + 0x1c8]
cmp rsi, 0x10
jae 0x14005f800
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x140], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x14005f872
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14005f84d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140060271
mov rcx, rax
call fcn.1400b4294
mov rcx, rax
test rax, rax
je 0x14005f846
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14005f85c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14005f859
call fcn.1400b4294
jmp 0x14005f85c
mov rax, r15
mov qword [rbp + 0x140], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], rbx
mov r8, r14
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x178]
call fcn.140061680
nop
mov qword [rbp + 0x110], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xd8]
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x130]
call fcn.140050f50
nop
mov dword [rsp + 0x40], 0x5556414e
mov dword [rsp + 0x44], 0x4c4f46
mov byte [rsp + 0x48], 1
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x23]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x14005f8e0
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov r8d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140049b30
nop
mov rbx, qword [rsp + 0x40]
movzx ecx, byte [rbp + 0x130]
test cl, cl
jne 0x14005f94a
mov byte [rbp + 0x130], 1
call fcn.14004f1e0
mov qword [rbp + 0x138], rax
movzx ecx, byte [rbp + 0x130]
jmp 0x14005f951
mov rax, qword [rbp + 0x138]
cmp cl, 1
jne 0x14005f965
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400551a0
mov rbx, rax
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x140], 0
mov dword [rsp + 0x50], 0x7eb00
cmp byte [rbx], 3
jne 0x14005f9a4
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x140]
cmp rax, rdx
je 0x14005f9c2
jmp 0x14005f9a7
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005f9b5
mov rdx, qword [rdx]
lea rcx, [rbp + 0x140]
call fcn.140049b30
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14005fa00
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f9fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f9fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3dcc
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b9860]
mov qword [rbp + 0x1e0], rax
lea rax, [0x1400b9868]
mov qword [rbp + 0x1f0], rax
lea rcx, [rbp + 0x278]
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 + 0x50], 0x7f700
xor r8d, r8d
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x1e0]
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 + 0x1e0]
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 + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
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 + 0x1f8], rax
mov qword [rbp + 0x260], r15
mov dword [rbp + 0x268], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b4294
mov r14, rax
mov qword [rbp + 0x160], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x170], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x168], r15
lea r8, [rbp + 0x178]
cmp qword [rbp + 0x190], 0x10
cmovae r8, qword [rbp + 0x178]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x278]
cmp qword [rcx + 0x18], 0x10
jb 0x14005fb2f
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x188]
mov rdx, qword [rax + 0x288]
call fcn.140068c20
mov rsi, r14
cmp r14, r15
je 0x14005fbbb
nop dword [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x14005cc80]
lea rcx, [rbp + 0x1f0]
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 rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x78]
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, r15
jne 0x14005fb60
lea rdi, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [section..data]
xor esi, esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r9
mov byte [rbp - 0x50], sil
mov dword [rsp + 0x50], 0x7f702
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov ecx, dword [rbp + 0x268]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14005fc3a
mov rax, qword [rbp + 0x238]
mov r8, qword [rax]
test r8, r8
je 0x14005fc3a
mov rax, qword [rbp + 0x218]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x260]
cmovb r8, qword [rbp + 0x260]
sub r8, rdx
jmp 0x14005fc72
test cl, 4
jne 0x14005fc6a
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005fc6a
mov rax, qword [rbp + 0x210]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x248]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14005fc72
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14005fc84
lea rcx, [rbp - 0x50]
call fcn.140049b30
mov r9, qword [rbp - 0x38]
lea rdx, [rbp - 0x50]
mov r8, qword [rbp - 0x50]
cmp r9, 0x10
cmovae rdx, r8
movsx ebx, byte [rdx + 7]
movsx eax, byte [rdi + 7]
xor ebx, eax
movsx ecx, byte [rdx + 6]
movsx eax, byte [rdi + 6]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 5]
movsx eax, byte [rdi + 5]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 4]
movsx eax, byte [rdi + 4]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 3]
movsx eax, byte [rdi + 3]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 2]
movsx eax, byte [rdi + 2]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 1]
movsx eax, byte [rdi + 1]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx]
movsx eax, byte [rdi]
xor ecx, eax
or ebx, ecx
cmp r9, 0x10
jb 0x14005fd2a
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14005fd22
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fd22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400b3dcc
test ebx, ebx
je 0x14005fd9a
mov rcx, qword [rbp + 0x150]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x6b
jb 0x14006026b
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], WSASetLastError
lea r9, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea r8, [rbp + 0x140]
movzx edx, byte [rbp - 0x58]
lea rcx, [rbp - 8]
call fcn.140053e80
lea rcx, [rbp - 8]
call fcn.14005b470
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x78]
call fcn.1400539c0
mov rdx, rax
mov rdi, qword [rbp - 0x10]
mov rcx, rdi
call fcn.14005ed30
mov dword [rsp + 0x40], 0x45465150
mov dword [rsp + 0x44], 0x5a5b42
mov byte [rsp + 0x48], 1
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x23]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x14005fde0
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140049b30
nop
movzx ecx, byte [rbp + 0x130]
test cl, cl
jne 0x14005fe45
mov byte [rbp + 0x130], 1
call fcn.14004f1e0
mov qword [rbp + 0x138], rax
movzx ecx, byte [rbp + 0x130]
jmp 0x14005fe4c
mov rax, qword [rbp + 0x138]
cmp cl, 1
jne 0x14005fe62
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1400551a0
mov rcx, rax
jmp 0x14005fe67
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rsi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14005feb3
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005feae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005feae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3dcc
test bl, bl
je 0x14005ffaa
mov dword [rsp + 0x50], 0x49434a4a
mov word [rsp + 0x54], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx + 0x23]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 4
jb 0x14005fed0
mov byte [rsp + 0x55], 0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140049b30
nop
movzx eax, byte [rbp + 0x130]
test al, al
jne 0x14005ff38
mov byte [rbp + 0x130], 1
call fcn.14004f1e0
mov rcx, rax
mov qword [rbp + 0x138], rax
movzx eax, byte [rbp + 0x130]
jmp 0x14005ff3f
mov rcx, qword [rbp + 0x138]
cmp al, 1
jne 0x14005ff4e
lea rdx, [rbp - 0x50]
call fcn.1400551a0
jmp 0x14005ff53
mov rax, qword [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400539c0
mov rdx, rax
mov rcx, rdi
call fcn.14005ede0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14005ffaa
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ffa4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ffa4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3dcc
nop
test r14, r14
je 0x14005ffe3
sub r15, r14
cmp r15, 0x1000
jb 0x14005ffd7
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14006007b
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.1400b3dcc
nop
mov rax, qword [rbp + 0x1e0]
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 + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
call fcn.140054660
lea rcx, [rbp + 0x200]
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 + 0x278]
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 + 0x158]
cmp rdx, 0x10
jb 0x140060088
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060082
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060082
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.1400b3dcc
nop
movzx edx, byte [rbp + 0x130]
lea rcx, [rbp + 0x138]
call fcn.1400597d0
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x1400600e0
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400600db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400600db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3dcc
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x178], 0
mov rax, qword [rbp + 0x1d0]
cmp rax, 0x10
jb 0x14006013f
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060139
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3dcc
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0x10
jb 0x140060183
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006017e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006017e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3dcc
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x198], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1400601d8
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1400601d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006025d
mov rcx, r8
call fcn.1400b3dcc
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140060222
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x14006021d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140060264
mov rcx, r8
call fcn.1400b3dcc
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400b3b10
mov rbx, qword [rsp + 0x448]
add rsp, 0x3f0
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14003c2f0
nop
call fcn.14003c230
int3