Function at 0x140002f40
Capabilities:
Check if file exists
Create directory
Delete file
Download url
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7b0
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x140105080]
xor rax, rsp
mov qword [rbp + 0x690], rax
mov rsi, r8
mov qword [rbp - 0x70], r8
mov rdi, rdx
mov qword [rsp + 0x58], rcx
mov qword [rbp + 0x80], rdx
mov qword [rbp - 0x28], r8
xor r15d, r15d
mov eax, r15d
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x48], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], r15b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x4b0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x4b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
lea rax, [rbp + 0x4b0]
mov r12, 0xffffffffffffffff
mov rbx, r12
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003012
movabs r13, 0x7fffffffffffffff
cmp rbx, r13
ja 0x140004ce6
movabs rax, 0x8000000000000000
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, 0xf
ja 0x14000306c
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov r8, rbx
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x20], 0
jmp 0x1400030f4
mov r14, rbx
or r14, 0xf
cmp r14, r13
jbe 0x14000309e
mov r14, r13
add rax, 0x27
mov rcx, rax
call fcn.1400c9688
test rax, rax
je 0x140004c6c
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x1400030ce
cmp r14, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
test rcx, rcx
je 0x1400030ce
cmp rcx, 0x1000
jb 0x1400030c6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004cda
jmp 0x14000307f
call fcn.1400c9688
mov r15, rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], r14
mov r8, rbx
lea rdx, [rbp + 0x4b0]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + rbx], 0
xor r15d, r15d
lea rax, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
cmova rax, r8
mov rcx, qword [rbp - 0x10]
cmp byte [rcx + rax - 1], 0x5c
je 0x14000314b
cmp rcx, rdx
jae 0x140003134
lea rax, [rcx + 1]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp rdx, 0xf
cmova rax, r8
mov word [rax + rcx], 0x5c
jmp 0x14000314b
mov r9b, 0x5c
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rbp - 0x20]
call fcn.14000cc50
mov r8d, 8
lea rdx, str.symbols_
lea rcx, [rbp - 0x20]
call fcn.14000b300
lea rcx, [rbp + 0x38]
cmp rcx, rax
je 0x140003184
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140003178
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.14000b1a0
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rcx, qword [rbp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400032d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400032d7
lea rdx, [0x1400dd6e1]
mov rcx, rdi
call fcn.14000aa00
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400031fe
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c6c
call fcn.1400c9560
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140003249
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003244
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004cc6
call fcn.1400c9560
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140003293
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000328e
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140004ccd
mov rcx, rax
call fcn.1400c9560
mov byte [rsi], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x10], r15
mov rax, rdi
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.1400c9540
mov rbx, qword [rsp + 0x808]
movaps xmm6, xmmword [rsp + 0x7a0]
add rsp, 0x7b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_41
mov rdx, rsi
lea rcx, [rbp + 0x110]
call fcn.14000a690
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov r14, qword [rax + 8]
add r14, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x30], r15
test r14, r14
je 0x1400033a2
cmp r14, r13
ja 0x140004cec
cmp r14, 0x1000
jb 0x14000337d
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140004cf2
call fcn.1400c9688
mov rcx, rax
test rax, rax
je 0x140004bc9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003385
mov rcx, r14
call fcn.1400c9688
mov qword [rbp + 0x20], rax
lea rbx, [rax + r14]
mov qword [rbp + 0x30], rbx
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x28], rbx
mov r8, r14
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140004b7d
test r14, r14
je 0x140004b7d
mov r8d, r14d
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.140002a90
mov rbx, rax
mov r13, qword [rbp + 0x48]
lea r15, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r15, qword [rbp + 0x38]
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp r13, rax
ja 0x140003497
lea rax, [r8 + r13]
mov qword [rbx + 0x10], rax
mov r14, rbx
cmp rcx, 0xf
jbe 0x140003427
mov r14, qword [rbx]
lea rax, [r15 + r13]
cmp rax, r14
jbe 0x140003456
lea rax, [r14 + r8]
cmp r15, rax
ja 0x140003456
cmp r14, r15
ja 0x140003449
mov qword [rsp + 0x38], 0
jmp 0x14000345b
mov rax, r14
sub rax, r15
mov qword [rsp + 0x38], rax
jmp 0x14000345b
mov qword [rsp + 0x38], r13
inc r8
lea rcx, [r14 + r13]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rsp + 0x38]
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
mov rax, qword [rsp + 0x38]
sub r8, rax
lea rdx, [rax + r13]
add rdx, r15
lea rcx, [r14 + rax]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400034b8
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r13
mov rcx, rbx
call fcn.14000d860
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
xor r14d, r14d
mov qword [rbx + 0x10], r14
mov byte [rbx], r14b
mov ebx, dword [rsp + 0x34]
or ebx, 8
mov r8d, 4
lea rdx, str..pdb
lea rcx, [rsp + 0x70]
call fcn.14000b300
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or ebx, 2
mov dword [rsp + 0x34], ebx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000357b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003576
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003576
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
movdqa xmm6, xmmword [0x1400f1780]
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400035cb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400035c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
movdqu xmmword [rbp - 0x58], xmm6
mov byte [rbp - 0x68], 0
mov r15, qword [rbp + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 4
jb 0x140004cd4
lea rax, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rax, qword [rbp]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
lea r13, [r15 + 4]
mov ebx, reloc.WS2_32.dll_ntohs
lea r14, [rbp + 0x60]
cmp r13, rbx
jbe 0x1400036aa
mov rbx, r13
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003666
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c9688
test rax, rax
je 0x1400049aa
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400036a1
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140003681
xor r14d, r14d
jmp 0x1400036a6
cmp rcx, 0x1000
jb 0x140003699
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004ce0
jmp 0x140003647
call fcn.1400c9688
mov r14, rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], rbx
mov r8, r15
mov rdx, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + r15], 0x35646d2e
mov byte [r14 + r13], 0
mov r14d, dword [rsp + 0x34]
or r14d, 4
mov dword [rsp + 0x34], r14d
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea r15, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
test eax, eax
je 0x1400039e9
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rcx, qword [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400039e9
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rbx, qword [rbp + 0x60]
lea rax, [0x140000000]
lea rax, [rax + 0xe6cc0]
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 0x10
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x48], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x220]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x220], r13
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x21c], edx
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x230], r15
mov byte [rbp + 0x2ac], 0
mov byte [rbp + 0x2a1], 0
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor r15d, r15d
mov qword [rbp + 0x2b0], r15
mov rax, qword [0x14010d950]
mov qword [rbp + 0x2a4], rax
mov qword [rbp + 0x298], r15
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x230]
call fcn.14000b390
test rax, rax
jne 0x140003846
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x220]
add rcx, rax
xor r8d, r8d
mov edx, 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 + 0x220]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x220], r13
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x21c], edx
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x220]
call fcn.14000b8d0
lea rcx, [rbp + 0x230]
call fcn.14000af50
test rax, rax
jne 0x1400038db
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x220]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rbp]
lea rcx, [rbp - 0x48]
call fcn.14000ab20
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.140002b60
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rcx, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf8]
cmp r8, qword [rbp + 0xb8]
jne 0x1400039c1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400039c1
lea rdx, [rbp]
mov rcx, rdi
call fcn.14000a9d0
lea rcx, [rbp + 0xe8]
call fcn.14000a970
nop
lea rcx, [rbp + 0xa8]
call fcn.14000a970
nop
lea rcx, [rbp + 0x220]
call fcn.140002ed0
nop
lea rcx, [rbp + 0x60]
call fcn.14000a970
nop
lea rcx, [rbp]
call fcn.14000a970
nop
lea rcx, [rbp + 0x20]
call fcn.1400099c0
nop
lea rcx, [rbp + 0x110]
call fcn.140002ed0
nop
lea rcx, [rbp - 0x20]
call fcn.14000a970
nop
lea rcx, [rbp + 0x38]
call fcn.14000a970
nop
mov rcx, rsi
call fcn.14000a970
jmp 0x1400032a2
lea rcx, [rbp + 0xe8]
call fcn.14000a970
nop
lea rcx, [rbp + 0xa8]
call fcn.14000a970
nop
lea rcx, [rbp + 0x220]
call fcn.140002ed0
jmp 0x1400039ec
xor r15d, r15d
mov rax, qword [rbp + 0x20]
movsxd r14, dword [rax + 0x3c]
add r14, rax
mov edx, r15d
mov dword [rsp + 0x38], edx
movzx eax, word [r14 + 4]
mov ecx, 0x8664
cmp ax, cx
jne 0x140003a3c
lea rax, [r14 + 0xb8]
mov qword [rsp + 0x68], rax
lea rax, [r14 + 0x54]
mov qword [rsp + 0x60], rax
lea rcx, [r14 + 0x50]
mov qword [rsp + 0x50], __WSAFDIsSet
mov eax, Ordinal_60
mov r15d, reloc.WLDAP32.dll_Ordinal_60
jmp 0x140003a7e
mov ecx, 0x14c
cmp ax, cx
jne 0x140004958
mov edx, 1
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x68], 0xa0
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_60
mov ecx, Ordinal_60
lea rax, [r14 + 0xa8]
mov qword [rsp + 0x50], rax
lea r15, [r14 + 0x54]
lea rax, [r14 + 0x50]
test edx, edx
cmove rax, rcx
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140003cc7
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140003af7
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049aa
call fcn.1400c9560
movdqu xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140003b3b
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049f1
call fcn.1400c9560
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140003b91
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bc9
call fcn.1400c9560
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], r13
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14000a620
lea rcx, [rbp + 0x128]
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 + 0x1c0]
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 - 8]
cmp rdx, 0xf
jbe 0x140003c1e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c6c
call fcn.1400c9560
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140003c69
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004cc6
call fcn.1400c9560
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140003cb3
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140003cae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004ccd
mov rcx, r8
call fcn.1400c9560
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
jmp 0x1400032a2
cmp dword [rsp + 0x38], 0
cmove r15, qword [rsp + 0x60]
mov r8d, dword [r15]
mov r13, qword [rbp + 0x20]
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [r14 + 0x14]
add rax, 0x2c
xor r15d, r15d
cmp word [r14 + 6], r15w
je 0x140003d38
lea rbx, [rax + r14]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rbx - 4]
test eax, eax
je 0x140003d1e
mov r8d, eax
mov edx, dword [rbx]
add rdx, r13
mov ecx, dword [rbx - 8]
add rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp + 0x20]
inc r15d
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp r15d, eax
jne 0x140003d00
mov rsi, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x40]
cmp dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
cmovne rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
cmp dword [rcx + 4], 0
je 0x14000471a
cmp dword [rax + rbx + 0xc], 2
jne 0x14000471a
mov r15d, dword [rax + rbx + 0x14]
add r15, rbx
cmp dword [r15], 0x53445352
je 0x140003fb4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140003dd9
inc rdx
mov rcx, qword [rbp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003dd4
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004776
call fcn.1400c9560
mov byte [rbp + 0x60], 0
movdqu xmmword [rbp + 0x70], xmm6
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140003e1d
inc rdx
mov rcx, qword [rbp]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003e18
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047bd
call fcn.1400c9560
mov byte [rbp], 0
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x10], rbx
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140003e73
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003e62
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000480a
call fcn.1400c9560
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14000a620
lea rcx, [rbp + 0x128]
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 + 0x1c0]
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 - 8]
cmp rdx, 0xf
jbe 0x140003f07
inc rdx
mov rcx, qword [rbp - 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003f02
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400048ad
call fcn.1400c9560
mov byte [rbp - 0x20], 0
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rbx
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140003f52
inc rdx
mov rcx, qword [rbp + 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003f4d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400048fb
call fcn.1400c9560
mov byte [rbp + 0x38], 0
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x48], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140003cb3
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140003f9b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004951
mov rcx, r8
call fcn.1400c9560
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
jmp 0x1400032a2
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
mov r8d, reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rbp + 0x5c0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [r15 + 4]
mov r8d, 0x64
lea rdx, [rbp + 0x5c0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x140003d74
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x440], xmm0
movups xmmword [rbp + 0x450], xmm0
movups xmmword [rbp + 0x460], xmm0
movups xmmword [rbp + 0x470], xmm0
movups xmmword [rbp + 0x480], xmm0
movups xmmword [rbp + 0x490], xmm0
mov dword [rbp + 0x4a0], eax
xor r13d, r13d
mov qword [rbp + 0x80], r13
mov qword [rsp + 0x20], 0x64
lea r9, [rbp + 0x5c0]
mov r8d, 0x64
lea rdx, [rbp + 0x440]
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x1400044df
mov r14, qword [rbp + 0x80]
test r14, r14
je 0x1400044df
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
mov edx, r13d
mov eax, r13d
nop word [rax + rax]
movzx ecx, byte [rbp + rax + 0x440]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400040bd
lea eax, [rcx - 0x41]
cmp al, 5
jbe 0x1400040bd
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x1400040e1
lea r8, [rbp + 0x220]
mov rax, r12
nop word [rax + rax]
lea rax, [rax + 1]
cmp byte [r8 + rax], r13b
jne 0x1400040d0
mov byte [rbp + rax + 0x220], cl
inc edx
mov eax, edx
cmp rax, r14
jne 0x1400040a0
xor eax, eax
mov word [rbp + 0x58], ax
mov byte [rbp + 0x5a], al
mov r9d, 0xa
mov r8d, 3
lea rdx, [rbp + 0x58]
mov ecx, dword [r15 + 0x14]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
mov rdx, qword [rsp + 0x58]
add rdx, 0x38
lea rcx, [rbp + 0x88]
call fcn.14000ab20
nop
mov r8d, 1
lea rdx, [0x1400dd704]
lea rcx, [rbp + 0x88]
call fcn.14000b300
mov r8, r12
nop
inc r8
cmp byte [r15 + r8 + 0x18], 0
jne 0x140004140
lea rdx, [r15 + 0x18]
lea rcx, [rbp + 0x88]
call fcn.14000b300
mov r8d, 1
lea rdx, [0x1400dd704]
lea rcx, [rbp + 0x88]
call fcn.14000b300
lea rax, [rbp + 0x220]
mov r8, r12
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140004180
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x88]
call fcn.14000b300
lea rax, [rbp + 0x58]
mov r8, r12
inc r8
cmp byte [rax + r8], 0
jne 0x1400041a4
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000b300
mov r8d, 1
lea rdx, [0x1400dd704]
lea rcx, [rbp + 0x88]
call fcn.14000b300
nop word [rax + rax]
inc r12
cmp byte [r15 + r12 + 0x18], 0
jne 0x1400041e0
mov r8, r12
lea rdx, [r15 + 0x18]
lea rcx, [rbp + 0x88]
call fcn.14000b300
lea r8, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r8, qword [rbp]
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdx, qword [rbp + 0x88]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [rsp + 0x40]
test eax, eax
jns 0x140004263
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [0x1400dd6e1]
mov rcx, rdi
call fcn.14000aa00
nop
lea rcx, [rbp + 0x88]
call fcn.14000a970
jmp 0x140003975
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rbp]
lea rcx, [rbp - 0x48]
call fcn.14000ab20
mov rdx, rax
lea rcx, [rbp + 0xc8]
call fcn.140002b60
nop
lea rcx, [rbp + 0x330]
call fcn.1400051e0
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rbx, qword [rbp + 0x60]
lea rax, [0x140000000]
lea rax, [rax + 0xe6c80]
mov qword [rbp + 0x330], rax
lea rcx, [rbp + 0x3d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov eax, dword [rsp + 0x34]
or eax, 0x20
mov dword [rsp + 0x48], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x338]
lea rcx, [rbp + 0x330]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x330], r14
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x32c], edx
lea rcx, [rbp + 0x338]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x338], rax
mov byte [rbp + 0x3b4], 0
mov byte [rbp + 0x3a9], 0
lea rcx, [rbp + 0x338]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x3b8], r13
mov rax, qword [0x14010d950]
mov qword [rbp + 0x3ac], rax
mov qword [rbp + 0x3a0], r13
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x338]
call fcn.14000b390
test rax, rax
jne 0x1400043ab
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x330]
add rcx, rax
xor r8d, r8d
mov edx, 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 + 0x330]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x330], r14
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x32c], edx
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
lea rcx, [rbp + 0x330]
call fcn.14000d4d0
movups xmm0, xmmword [rbp]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x330], r14
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x32c], edx
lea rcx, [rbp + 0x338]
call fcn.14000a620
lea rcx, [rbp + 0x340]
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 + 0x3d8]
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 + 0xe0]
cmp rdx, 0xf
jbe 0x1400044b5
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc8], 0
lea rcx, [rbp + 0x88]
call fcn.14000a970
jmp 0x140003975
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r13b
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140004543
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000453e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004776
call fcn.1400c9560
movdqu xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140004587
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004582
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047bd
call fcn.1400c9560
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400045dd
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000480a
call fcn.1400c9560
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14000a620
lea rcx, [rbp + 0x128]
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 + 0x1c0]
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 - 8]
cmp rdx, 0xf
jbe 0x140004671
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000466c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400048ad
call fcn.1400c9560
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x1400046bc
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400048fb
call fcn.1400c9560
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140004706
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140004701
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004951
mov rcx, r8
call fcn.1400c9560
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
jmp 0x1400032a2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140004782
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000477d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000477d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
movdqu xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400047c9
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140004822
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004811
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rbx
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14000a620
lea rcx, [rbp + 0x128]
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 + 0x1c0]
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 - 8]
cmp rdx, 0xf
jbe 0x1400048b9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140004907
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004902
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140003cb3
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140003cae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140003cab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400049b6
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
movdqu xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400049fd
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140004a53
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bc9
call fcn.1400c9560
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x110], r13
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14000a620
lea rcx, [rbp + 0x128]
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 + 0x1c0]
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 - 8]
cmp rdx, 0xf
jbe 0x140004ae0
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004adb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c6c
call fcn.1400c9560
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140004b2b
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004cc6
call fcn.1400c9560
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140003293
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000328e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004ccd
mov rcx, r8
jmp 0x14000328e
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x1400dd6e1]
mov rcx, rdi
call fcn.14000aa00
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140004be1
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.14000a620
lea rcx, [rbp + 0x128]
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 + 0x1c0]
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 - 8]
cmp rdx, 0xf
jbe 0x140004c78
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9560
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140004b2b
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b26
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.1400022c0
nop
call fcn.140002220
nop
call fcn.140002220
nop
call fcn.1400022c0
nop
call fcn.14000d3c0
int3
call fcn.140002220
int3