Function at 0x1800ca8d0
Capabilities:
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 [0x180230100]
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 [0x180212870]
movdqa xmmword [rbp + 0x100], xmm1
mov byte [rbp + 0xf0], r15b
mov qword [rbp + 0x110], r15
lea rax, [0x18022f108]
mov r14, qword [0x18022f118]
test r14, r14
jne 0x1800ca9b9
mov rdx, qword [0x18022f0f0]
lea rcx, [rbp + 0xd0]
call fcn.1800a8300
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [0x18022f108]
call fcn.18000c2c0
mov r14, qword [0x18022f118]
lea rax, [0x18022f108]
cmp qword [rbp + 0xe0], 0
jne 0x1800caae3
xor sil, sil
mov rdi, qword [0x18022f0f0]
mov rbx, rdi
mov r15, qword [0x18022f0f8]
cmp rdi, r15
je 0x1800caa38
mov r12, qword [reloc.WS2_32.dll_ntohs]
mov r13, qword [0x18022f108]
nop
mov rdx, rax
cmp r12, 0xf
cmova rdx, r13
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800caa0c
mov rcx, qword [rbx]
cmp r8, r14
jne 0x1800caa1f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800caa1f
mov sil, 1
jmp 0x1800caa28
test sil, sil
jne 0x1800caba7
add rbx, 0x48
cmp rbx, r15
lea rax, [0x18022f108]
jne 0x1800ca9f0
lea rsi, [0x18022f108]
lea rax, [rbp + 0xd0]
cmp rax, rdi
je 0x1800caa68
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800caa58
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0xd0]
call fcn.18000c2c0
lea rdx, [rdi + 0x20]
lea rax, [rbp + 0xf0]
cmp rax, rdx
je 0x1800caa92
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800caa86
mov rdx, qword [rdx]
lea rcx, [rbp + 0xf0]
call fcn.18000c2c0
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x1800caaa4
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 0x1800caaba
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.18000c2c0
xor r15d, r15d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xb0]
call fcn.18000a2f0
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.18001ed80
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.1800cfff0
mov edx, eax
mov esi, 4
mov edi, 0x1ff
mov r14d, 0x16d
test eax, eax
jne 0x1800cac11
mov ecx, dword [rbp + 0x80]
test cl, 1
mov eax, edi
cmovne eax, r14d
mov dword [rsp + 0x44], eax
bt ecx, 0xa
jae 0x1800cac03
mov eax, dword [rbp + 0x84]
cmp eax, 0xa000000c
jne 0x1800cabf5
mov eax, esi
jmp 0x1800cac35
mov rdx, rbx
lea rcx, [rbp + 0xd0]
call fcn.1800a8300
lea rsi, [0x18022f108]
cmp rsi, rbx
je 0x1800cabdb
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1800cabd0
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.18000c2c0
cmp qword [rbp + 0xe0], 0
jne 0x1800caae0
mov rdi, qword [0x18022f0f0]
jmp 0x1800caa3f
cmp eax, 0xa0000003
jne 0x1800cac03
mov eax, 0xa
jmp 0x1800cac35
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800cac35
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800cac30
sub eax, 1
je 0x1800cac30
sub eax, 0x32
je 0x1800cac30
cmp eax, 0x46
mov eax, r15d
jne 0x1800cac35
mov eax, 1
mov dword [rsp + 0x40], edx
lea r12, [0x18022f650]
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800cad7c
cmp eax, 1
sete bl
lea rcx, [rbp + 0x90]
call fcn.18001c120
test bl, bl
je 0x1800cace2
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.18001ed80
nop
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rcx, qword [rbp + 0x90]
call fcn.1800cfe58
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1800cba53
lea rcx, [rbp + 0x90]
call fcn.18001c120
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.18001ed80
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.1800cfff0
mov r8d, eax
test eax, eax
jne 0x1800cada7
mov edx, dword [rbp + 0x80]
test dl, 1
mov ecx, edi
cmovne ecx, r14d
mov dword [rsp + 0x44], ecx
bt edx, 0xa
jae 0x1800cad99
mov eax, dword [rbp + 0x84]
cmp eax, 0xa000000c
jne 0x1800cad8b
mov eax, esi
jmp 0x1800cadcb
mov bl, 1
test edx, edx
jne 0x1800cb9ff
jmp 0x1800cac5e
cmp eax, 0xa0000003
jne 0x1800cad99
mov eax, 0xa
jmp 0x1800cadcb
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800cadcb
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800cadc6
sub eax, 1
je 0x1800cadc6
sub eax, 0x32
je 0x1800cadc6
cmp eax, 0x46
mov eax, r15d
jne 0x1800cadcb
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 0x1800caefa
cmp eax, 1
setne bl
lea rcx, [rbp + 0x90]
call fcn.18001c120
mov rdi, 0xffffffffffffffff
test bl, bl
je 0x1800cb6fd
movdqa xmm0, xmmword [0x1801e6830]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x80], 1
mov rcx, r15
lea eax, [rcx - 0x6b]
xor byte [rbp + rcx + 0x70], al
inc rcx
cmp rcx, 0xf
jb 0x1800cae20
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 0x1800cae45
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x1800cba6b
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 0x1800caf4b
mov r14, r12
or r14, 0xf
cmp r14, rcx
jbe 0x1800caf0a
mov r14, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.1800d0a4c
test rax, rax
je 0x1800cb6ef
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x1800caf44
xor bl, bl
test r8d, r8d
jne 0x1800cba18
jmp 0x1800cadee
cmp r14, r8
cmovb r14, r8
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800caf2d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800cba31
jmp 0x1800caed6
test rcx, rcx
je 0x1800caf41
call fcn.1800d0a4c
mov r15, rax
mov rax, qword [rsp + 0x40]
jmp 0x1800caf44
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.18001ed80
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.1800cfff0
mov r8d, eax
test eax, eax
jne 0x1800cb02e
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 0x1800cb020
mov eax, dword [rbp + 0x134]
cmp eax, 0xa000000c
je 0x1800cb053
cmp eax, 0xa0000003
jne 0x1800cb020
lea esi, [r8 + 0xa]
jmp 0x1800cb053
movzx esi, dl
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x1800cb053
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800cb04e
sub eax, 1
je 0x1800cb04e
sub eax, 0x32
je 0x1800cb04e
cmp eax, 0x46
je 0x1800cb04e
xor esi, esi
jmp 0x1800cb053
mov esi, 1
mov dword [rsp + 0x40], r8d
lea rax, [0x18022f650]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test esi, esi
je 0x1800cb343
cmp esi, 1
sete bl
lea rcx, [rbp + 0x70]
call fcn.18001c120
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x1800cb358
movdqa xmm0, xmmword [0x1801e6a60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1801e6ab0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x1801e6ac0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1801e6af0]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1801e6aa0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1801e6a90]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1801e69a0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1801e6900]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1801e6960]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1801e6970]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1801e68b0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1801e68c0]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [str._0__a____411_F]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1801e6930]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1801e6ad0]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x40], 0xe1ebe5a2
mov dword [rbp + 0x44], 0xa2ffe4ec
mov dword [rbp + 0x48], 0xb7eefbe1
mov word [rbp + 0x4c], 0x100
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx - 0x6b]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xfc
jb 0x1800cb180
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 0x1800cb1c0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.18000d780
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.1800a69a0
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.18009de70
lea rdx, [0x18000d0e0]
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.180032710
test rax, rax
jne 0x1800cb2b5
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.1800226c0
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 0x1800cb358
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cb353
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800cb353
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 0x1800cba37
jmp 0x1800cb07d
call fcn.1800d084c
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 0x1800cb37f
mov rdx, qword [r12]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp + 0x360]
call fcn.180020e50
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], 0xf1fbf5c9
mov dword [rbp + 0x64], 0xb2eff4fc
mov dword [rbp + 0x68], 0xfeebf1
mov byte [rbp + 0x6c], 1
xor ecx, ecx
nop
lea eax, [rcx - 0x6b]
xor byte [rbp + rcx + 0x60], al
inc rcx
cmp rcx, 0xb
jb 0x1800cb400
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 0x1800cb422
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, rbx
jb 0x1800cba71
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 0x1800cb510
mov r14, r15
or r14, 0xf
cmp r14, rcx
jbe 0x1800cb4c6
mov r14, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d0a4c
test rax, rax
je 0x1800cb4ef
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x1800cb50c
cmp r14, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1800cb4f6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800cba4d
jmp 0x1800cb4a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800cb50a
call fcn.1800d0a4c
mov rsi, rax
mov rax, qword [rsp + 0x40]
jmp 0x1800cb50c
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.1800a69a0
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 0x1800cb5e3
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cb5de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800cb5de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
movdqa xmm0, xmmword [0x180212870]
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.1800226c0
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.1800226c0
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 0x1800cb701
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cb6f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800cb6f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
jmp 0x1800cb701
mov r12, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x110]
mov qword [rbp + 0x50], rcx
test rcx, rcx
je 0x1800cb871
mov ecx, dword [0x180234f70]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180233fc0], ecx
jg 0x1800cba77
mov rbx, qword [0x180233c28]
test rbx, rbx
jne 0x1800cb763
mov rax, qword [rbp + 0x50]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800cb7d9
mov rbx, qword [rbx + 0x38]
mov qword [0x180233c28], rbx
lea rax, [0x18022fb00]
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, [0x1800a6400]
lea r15, [0x180000000]
mov rax, qword [0x180233fd0]
test rax, rax
je 0x1800cb80d
mov edx, r14d
cmp rax, r13
je 0x1800cb800
inc ecx
mov edx, ecx
mov rax, qword [r15 + rcx*8 + 0x233fd0]
test rax, rax
jne 0x1800cb7c1
jmp 0x1800cb80d
lea rcx, [rbp + 0xb0]
call fcn.180009fd0
nop
lea rcx, [rbp + 0xd0]
call fcn.180022a50
nop
mov rcx, r12
call fcn.180009fd0
jmp 0x1800cb9b0
mov rax, qword [r15 + rdx*8 + 0x2342f0]
test rax, rax
jne 0x1800cb836
mov rcx, r13
call fcn.1800cd0a0
mov rcx, qword [0x180233fc8]
mov qword [r15 + rcx*8 + 0x233fd0], r13
mov qword [r15 + rcx*8 + 0x2342f0], rax
inc rcx
mov qword [0x180233fc8], 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 [0x180233fbc], al
mov rcx, qword [rbp + 0x110]
jmp 0x1800cb87b
movzx eax, byte [0x180233fbc]
xor r14d, r14d
test al, al
je 0x1800cb885
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 0x1800cb8a0
mov qword [rbp + 0x68], rdi
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.18001ed80
nop
mov qword [rbp + 0x60], 0
lea rax, [0x18022f650]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.1800cd3a0
cmp dword [rbp + 0x60], 0
jne 0x1800cb9e7
lea rcx, [rbp + 0x90]
call fcn.18001c120
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x1800cb93f
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cb93a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800cb93a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d084c
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.180022a50
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x1800cb99d
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1800cb998
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800cb9e0
mov rcx, r8
call fcn.1800d084c
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.1800d08e0
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.180032270
nop
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180032270
nop
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180032270
nop
call fcn.1800028f0
nop
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180032270
nop
call fcn.1800028f0
nop
shr rdx, 0x20
lea r8, [rbp + 0x90]
lea rcx, str.create_directory
call fcn.180032330
nop
call fcn.180002990
nop
call fcn.180002990
nop
lea rcx, [0x180233fc0]
call fcn.1800d09d4
cmp dword [0x180233fc0], 0xffffffff
jne 0x1800cb73c
lea rcx, [0x1801282a0]
call fcn.1800d0f30
lea rcx, [0x180233fc0]
call fcn.1800d0968
jmp 0x1800cb73c