Function at 0x140039520
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rbx, rdx
mov rdi, rcx
call fcn.140038090
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r14b
jne 0x140039564
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400464e0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [0x1401a49c0]
call fcn.140062a80
mov rdi, rax
lea rsi, [0x1401a3688]
cmp rsi, rax
je 0x140039617
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0xf
jbe 0x1400395dc
mov rcx, qword [0x1401a3688]
inc rdx
cmp rdx, 0x1000
jb 0x1400395d7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003964b
mov rcx, r8
call fcn.14004d314
movdqa xmm0, xmmword [0x1401332a0]
movdqu xmmword [0x1401a3698], xmm0
mov byte [0x1401a3688], r14b
movups xmm0, xmmword [rdi]
movups xmmword [0x1401a3688], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1401a3698], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140039657
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039652
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039652
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d314
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400450f0
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [0x1401a49c0]
call fcn.140059320
mov rdi, rax
lea rax, [0x1401a47d8]
cmp rax, rdi
je 0x140039700
mov rcx, qword [0x1401a47d8]
test rcx, rcx
je 0x1400396d5
mov rdx, qword [0x1401a47e8]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400396be
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039733
mov rcx, r8
call fcn.14004d314
xorps xmm0, xmm0
movdqu xmmword [0x1401a47d8], xmm0
mov qword [0x1401a47e8], r14
mov rax, qword [rdi]
mov qword [0x1401a47d8], rax
mov rax, qword [rdi + 8]
mov qword [0x1401a47e0], rax
mov rax, qword [rdi + 0x10]
mov qword [0x1401a47e8], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14003973f
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003973a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003973a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d314
cmp byte [0x1401a4bd0], r14b
jne 0x140039778
lea rdx, str.Error_Downloading__you_should_contact_support
lea rcx, [rsp + 0x50]
call fcn.1400450b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400324a0
nop
lea rcx, [rsp + 0x50]
call fcn.140044fc0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, rbx
lea rdi, [rbx + 0x18]
cmp qword [rdi], 0xf
jbe 0x14003978e
mov rdx, qword [rbx]
lea rsi, [rbx + 0x18]
jmp 0x140039791
mov rsi, rdi
mov r8d, Ordinal_35
lea rcx, [rsp + 0x70]
call fcn.140044be0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
mov r8, qword [0x1401a47e0]
mov rdx, qword [0x1401a47d8]
sub r8, rdx
lea rcx, [rsp + 0x70]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x78]
call fcn.1400456b0
test rax, rax
jne 0x140039813
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
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 [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r15
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140044b20
lea rcx, [rbp - 0x80]
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 + 0x18]
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 [rdi]
cmp rdx, 0xf
jbe 0x14003988f
inc rdx
mov rcx, qword [rbx]
mov rdi, rsi
cmp rdx, 0x1000
jb 0x14003988a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400398b4
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.14004d314
mov qword [rbx + 0x10], r14
mov qword [rdi], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3