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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x180229ec0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x58], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xd0], r15b
movups xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x18020cea0]
movdqa xmmword [rbp + 0x100], xmm1
mov byte [rbp + 0xf0], r15b
mov qword [rbp + 0x110], r15
lea rax, [0x180229108]
mov r14, qword [0x180229118]
test r14, r14
jne 0x1800c5ee9
mov rdx, qword [0x1802290f0]
lea rcx, [rbp + 0xd0]
call fcn.1800a4440
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [0x180229108]
call fcn.18000c240
mov r14, qword [0x180229118]
lea rax, [0x180229108]
cmp qword [rbp + 0xe0], 0
jne 0x1800c6013
xor sil, sil
mov rdi, qword [0x1802290f0]
mov rbx, rdi
mov r15, qword [0x1802290f8]
cmp rdi, r15
je 0x1800c5f68
mov r12, qword [reloc.WS2_32.dll_ntohs]
mov r13, qword [0x180229108]
nop
mov rdx, rax
cmp r12, 0xf
cmova rdx, r13
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800c5f3c
mov rcx, qword [rbx]
cmp r8, r14
jne 0x1800c5f4f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800c5f4f
mov sil, 1
jmp 0x1800c5f58
test sil, sil
jne 0x1800c60d7
add rbx, 0x48
cmp rbx, r15
lea rax, [0x180229108]
jne 0x1800c5f20
lea rsi, [0x180229108]
lea rax, [rbp + 0xd0]
cmp rax, rdi
je 0x1800c5f98
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800c5f88
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0xd0]
call fcn.18000c240
lea rdx, [rdi + 0x20]
lea rax, [rbp + 0xf0]
cmp rax, rdx
je 0x1800c5fc2
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800c5fb6
mov rdx, qword [rdx]
lea rcx, [rbp + 0xf0]
call fcn.18000c240
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x1800c5fd4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 0x40]
mov qword [rbp + 0x110], rcx
test rcx, rcx
je 0x1800c5fea
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
mov rcx, rsi
call fcn.18000c240
xor r15d, r15d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xb0]
call fcn.18000a270
nop
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001d470
nop
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rcx, qword [rbp + 0x90]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x70]
call fcn.1800cb520
mov edx, eax
mov esi, 4
mov edi, 0x1ff
mov r14d, 0x16d
test eax, eax
jne 0x1800c6141
mov ecx, dword [rbp + 0x80]
test cl, 1
mov eax, edi
cmovne eax, r14d
mov dword [rsp + 0x44], eax
bt ecx, 0xa
jae 0x1800c6133
mov eax, dword [rbp + 0x84]
cmp eax, 0xa000000c
jne 0x1800c6125
mov eax, esi
jmp 0x1800c6165
mov rdx, rbx
lea rcx, [rbp + 0xd0]
call fcn.1800a4440
lea rsi, [0x180229108]
cmp rsi, rbx
je 0x1800c610b
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1800c6100
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.18000c240
cmp qword [rbp + 0xe0], 0
jne 0x1800c6010
mov rdi, qword [0x1802290f0]
jmp 0x1800c5f6f
cmp eax, 0xa0000003
jne 0x1800c6133
mov eax, 0xa
jmp 0x1800c6165
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800c6165
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c6160
sub eax, 1
je 0x1800c6160
sub eax, 0x32
je 0x1800c6160
cmp eax, 0x46
mov eax, r15d
jne 0x1800c6165
mov eax, 1
mov dword [rsp + 0x40], edx
lea r12, [0x180229658]
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800c62ac
cmp eax, 1
sete bl
lea rcx, [rbp + 0x90]
call fcn.18001b9c0
test bl, bl
je 0x1800c6212
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001d470
nop
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rcx, qword [rbp + 0x90]
call fcn.1800cb388
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1800c6f83
lea rcx, [rbp + 0x90]
call fcn.18001b9c0
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001d470
nop
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rcx, qword [rbp + 0x90]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x70]
call fcn.1800cb520
mov r8d, eax
test eax, eax
jne 0x1800c62d7
mov edx, dword [rbp + 0x80]
test dl, 1
mov ecx, edi
cmovne ecx, r14d
mov dword [rsp + 0x44], ecx
bt edx, 0xa
jae 0x1800c62c9
mov eax, dword [rbp + 0x84]
cmp eax, 0xa000000c
jne 0x1800c62bb
mov eax, esi
jmp 0x1800c62fb
mov bl, 1
test edx, edx
jne 0x1800c6f2f
jmp 0x1800c618e
cmp eax, 0xa0000003
jne 0x1800c62c9
mov eax, 0xa
jmp 0x1800c62fb
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800c62fb
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c62f6
sub eax, 1
je 0x1800c62f6
sub eax, 0x32
je 0x1800c62f6
cmp eax, 0x46
mov eax, r15d
jne 0x1800c62fb
mov eax, 1
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800c642a
cmp eax, 1
setne bl
lea rcx, [rbp + 0x90]
call fcn.18001b9c0
mov rdi, 0xffffffffffffffff
test bl, bl
je 0x1800c6c2d
movdqa xmm0, xmmword [str._t0_5842:8_N_r]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x80], 1
mov rcx, r15
lea eax, [rcx + 0x55]
xor byte [rbp + rcx + 0x70], al
inc rcx
cmp rcx, 0xf
jb 0x1800c6350
mov byte [rbp + 0x80], 0
mov r13, qword [rbp + 0xc0]
lea rax, [rbp + 0x70]
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800c6375
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x1800c6f9b
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
lea r12, [rbx + r13]
mov r14d, reloc.WS2_32.dll_ntohs
lea r15, [rbp + 0x90]
movabs rdx, 0x8000000000000000
lea r8d, [r14 + 7]
cmp r12, r14
jbe 0x1800c647b
mov r14, r12
or r14, 0xf
cmp r14, rcx
jbe 0x1800c643a
mov r14, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.1800cbf7c
test rax, rax
je 0x1800c6c1f
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c6474
xor bl, bl
test r8d, r8d
jne 0x1800c6f48
jmp 0x1800c631e
cmp r14, r8
cmovb r14, r8
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800c645d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800c6f61
jmp 0x1800c6406
test rcx, rcx
je 0x1800c6471
call fcn.1800cbf7c
mov r15, rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c6474
xor r15d, r15d
mov qword [rbp + 0x90], r15
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r14
mov r8, r13
mov rdx, rax
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + r13]
mov r8, rbx
lea rdx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + r12], 0
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rax, qword [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18001d470
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x120]
call fcn.1800cb520
mov r8d, eax
test eax, eax
jne 0x1800c655e
mov edx, dword [rbp + 0x130]
test dl, 1
mov eax, 0x1ff
mov ecx, 0x16d
cmovne eax, ecx
mov dword [rsp + 0x44], eax
bt edx, 0xa
jae 0x1800c6550
mov eax, dword [rbp + 0x134]
cmp eax, 0xa000000c
je 0x1800c6583
cmp eax, 0xa0000003
jne 0x1800c6550
lea esi, [r8 + 0xa]
jmp 0x1800c6583
movzx esi, dl
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x1800c6583
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800c657e
sub eax, 1
je 0x1800c657e
sub eax, 0x32
je 0x1800c657e
cmp eax, 0x46
je 0x1800c657e
xor esi, esi
jmp 0x1800c6583
mov esi, 1
mov dword [rsp + 0x40], r8d
lea rax, [0x180229658]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test esi, esi
je 0x1800c6873
cmp esi, 1
sete bl
lea rcx, [rbp + 0x70]
call fcn.18001b9c0
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1800c6888
movdqa xmm0, xmmword [0x1801e10f0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1801e1150]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x1801e1240]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1801e1260]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1801e1230]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1801e1220]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1801e1210]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1801e1250]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1801e11f0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1801e1200]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1801e1170]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1801e1180]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1801e1140]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [str.HGI_]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1801e1160]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x40], 0x212b2562
mov dword [rbp + 0x44], 0x623f242c
mov dword [rbp + 0x48], 0x772e3b21
mov word [rbp + 0x4c], 0x100
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx + 0x55]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xfc
jb 0x1800c66b0
mov byte [rbp + 0x4d], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
lea rax, [rsp + 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800c66f0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.18000d700
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rcx, [rbp + 0x140]
call fcn.1800a2ae0
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], rsi
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x13c], edx
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0x140]
call fcn.180099fb0
lea rdx, [0x18000d060]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x148]
call fcn.18002f830
test rax, rax
jne 0x1800c67e5
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x140]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], rsi
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x148]
call fcn.180020db0
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1e8]
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 + 0x88]
cmp rdx, 0xf
jbe 0x1800c6888
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6883
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6883
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test r8d, r8d
jne 0x1800c6f67
jmp 0x1800c65ad
call fcn.1800cbd7c
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x360]
call sub.VCRUNTIME140.dll_memset
mov r12, qword [rbp + 0x60]
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1800c68af
mov rdx, qword [r12]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp + 0x360]
call fcn.18001f540
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x360], rax
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x35c], edx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x250]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x60], 0x313b3509
mov dword [rbp + 0x64], 0x722f343c
mov dword [rbp + 0x68], 0x3e2b31
mov byte [rbp + 0x6c], 1
xor ecx, ecx
nop
lea eax, [rcx + 0x55]
xor byte [rbp + rcx + 0x60], al
inc rcx
cmp rcx, 0xb
jb 0x1800c6930
mov byte [rbp + 0x6c], 0
mov r13, qword [rbp + 0xc0]
lea rax, [rbp + 0x60]
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800c6952
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x1800c6fa1
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea r15, [rbx + r13]
mov r14d, reloc.WS2_32.dll_ntohs
lea rsi, [rbp + 0x70]
cmp r15, r14
jbe 0x1800c6a40
mov r14, r15
or r14, 0xf
cmp r14, rcx
jbe 0x1800c69f6
mov r14, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800cbf7c
test rax, rax
je 0x1800c6a1f
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c6a3c
cmp r14, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800c6a26
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800c6f7d
jmp 0x1800c69d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800c6a3a
call fcn.1800cbf7c
mov rsi, rax
mov rax, qword [rsp + 0x40]
jmp 0x1800c6a3c
xor esi, esi
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r14
mov r8, r13
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r13]
mov r8, rbx
lea rdx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rdx, qword [rbp + 0x70]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp + 0x250]
call fcn.1800a2ae0
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x250], rbx
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x24c], edx
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1800c6b13
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6b0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6b0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
movdqa xmm0, xmmword [0x18020cea0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x250]
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::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x250], rbx
mov rax, qword [rbp + 0x250]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x24c], edx
lea rcx, [rbp + 0x258]
call fcn.180020db0
lea rcx, [rbp + 0x260]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x360], rax
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x35c], edx
lea rcx, [rbp + 0x370]
call fcn.180020db0
lea rcx, [rbp + 0x378]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x410]
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 + 0xa8]
cmp rdx, 0xf
jbe 0x1800c6c31
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6c26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6c26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
jmp 0x1800c6c31
mov r12, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x110]
mov qword [rbp + 0x50], rcx
test rcx, rcx
je 0x1800c6da1
mov ecx, dword [0x18022ee00]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18022de48], ecx
jg 0x1800c6fa7
mov rbx, qword [0x18022dae8]
test rbx, rbx
jne 0x1800c6c93
mov rax, qword [rbp + 0x50]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800c6d09
mov rbx, qword [rbx + 0x38]
mov qword [0x18022dae8], rbx
lea rax, [0x180229b10]
mov qword [rbp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
lea rax, [rbp + 0x4a8]
movabs rcx, 0x1d0164d8541d
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rax
mov rsi, qword [rax]
xor rsi, rcx
mov qword [rbp + 0x70], rsi
xor r14d, r14d
mov qword [rax], r14
mov ecx, r14d
lea r13, [0x1800a2540]
lea r15, [0x180000000]
mov rax, qword [0x18022de60]
test rax, rax
je 0x1800c6d3d
mov edx, r14d
cmp rax, r13
je 0x1800c6d30
inc ecx
mov edx, ecx
mov rax, qword [r15 + rcx*8 + 0x22de60]
test rax, rax
jne 0x1800c6cf1
jmp 0x1800c6d3d
lea rcx, [rbp + 0xb0]
call fcn.180009f50
nop
lea rcx, [rbp + 0xd0]
call fcn.180021140
nop
mov rcx, r12
call fcn.180009f50
jmp 0x1800c6ee0
mov rax, qword [r15 + rdx*8 + 0x22e180]
test rax, rax
jne 0x1800c6d66
mov rcx, r13
call fcn.1800c85d0
mov rcx, qword [0x18022de50]
mov qword [r15 + rcx*8 + 0x22de60], r13
mov qword [r15 + rcx*8 + 0x22e180], rax
inc rcx
mov qword [0x18022de50], rcx
lea r9, [rbp + 0x60]
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x50]
mov rcx, rbx
call rax
nop
movabs rcx, 0x1d0164d8541d
xor rsi, rcx
lea rcx, [rbp + 0x4a8]
mov qword [rcx], rsi
mov byte [0x18022de44], al
mov rcx, qword [rbp + 0x110]
jmp 0x1800c6dab
movzx eax, byte [0x18022de44]
xor r14d, r14d
test al, al
je 0x1800c6db5
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800c6dd0
mov qword [rbp + 0x68], rdi
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.18001d470
nop
mov qword [rbp + 0x60], 0
lea rax, [0x180229658]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.1800c88d0
cmp dword [rbp + 0x60], 0
jne 0x1800c6f17
lea rcx, [rbp + 0x90]
call fcn.18001b9c0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x1800c6e6f
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6e6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c6e6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cbd7c
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0xd0]
call fcn.180021140
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x1800c6ecd
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1800c6ec8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800c6f10
mov rcx, r8
call fcn.1800cbd7c
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1800cbe10
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x60]
lea rcx, str.remove_all
call fcn.18002f390
nop
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18002f390
nop
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18002f390
nop
call fcn.1800028f0
nop
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18002f390
nop
call fcn.1800028f0
nop
shr rdx, 0x20
lea r8, [rbp + 0x90]
lea rcx, str.create_directory
call fcn.18002f450
nop
call fcn.180002990
nop
call fcn.180002990
nop
lea rcx, [0x18022de48]
call fcn.1800cbf04
cmp dword [0x18022de48], 0xffffffff
jne 0x1800c6c6c
lea rcx, [0x1801230d0]
call fcn.1800cc460
lea rcx, [0x18022de48]
call fcn.1800cbe98
jmp 0x1800c6c6c