Function at 0x140016900
Capabilities:
Delete file
Execute command
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1401c8c00]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor r14d, r14d
mov dword [rsp + 0x48], r14d
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x140016963
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140004860
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 1
jb 0x1400175d0
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov qword [rsp + 0x30], 1
lea rax, [0x14016af6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140005120
mov r13d, 2
lea r8d, [r13 + 6]
lea rdx, [0x14016af60]
lea rcx, [rsp + 0x70]
call fcn.140004430
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r13d, 4
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140016a5d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016a58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
call fcn.140130c20
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.140001eb0
or r13d, 0x18
mov r8d, 3
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140002970
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
lea rax, [0x1401c8c88]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140016b28
cmp eax, 1
sete bl
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140016b39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016b34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x1400175c2
jmp 0x140016aea
call fcn.140131bf4
test bl, bl
je 0x140016bdb
mov rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
call fcn.140130c20
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.140001eb0
or r13d, 0x300
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
call fcn.140131124
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400175d6
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140016bdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016bd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 0x6a
jb 0x1400175eb
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], WSAGetLastError
lea r9, str.cmd__c_echo_Running_speedtest.exe__please_wait...___C:_Program_Files_UnixxVPN_speedtest.exe__yes_yes____
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140005120
or r13d, 0x20
mov r8d, Ordinal_46
lea rdx, str._speedtest.txt___echo_Speedtest_completed.
lea rcx, [rbp - 0x70]
call fcn.140004430
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r13d, 0x40
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140016cb2
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016cad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016cad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, eax
mov edx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
test ebx, ebx
jne 0x140016e13
mov rax, qword [rbp - 0x20]
sub rsi, rax
cmp rsi, 0xe
jb 0x1400175f1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], send
lea rcx, str._speedtest.txt
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x30]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140005120
bts r13d, 7
mov dword [rsp + 0x44], r13d
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001a900
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x50]
call fcn.1400197c0
nop
cmp qword [rbp + 0xe0], 0
jne 0x140016e58
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x60]
call fcn.140019750
lea rcx, [rbp + 0x68]
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 + 0x100]
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 0x140016e13
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400174e3
call fcn.140131bf4
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400174ef
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400174ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400174ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x50]
call fcn.14001a750
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_bool_void_const___ptr64]
test al, al
je 0x1400173ca
nop
lea rcx, [rbp - 0x50]
mov r12, qword [rbp - 0x38]
cmp r12, 0xf
seta bl
mov r15, qword [rbp - 0x50]
cmova rcx, r15
mov qword [rsp + 0x20], 1
lea r9, [0x14019f950]
mov r14, qword [rbp - 0x40]
mov rdx, r14
call fcn.14001a670
cmp rax, 0xffffffffffffffff
je 0x140016f10
cmp r14, rax
jb 0x1400175bc
lea rcx, [rbp - 0x50]
test bl, bl
cmovne rcx, r15
mov qword [rbp - 0x40], rax
mov byte [rcx + rax], 0
mov r12, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov r15, qword [rbp - 0x50]
lea r13, [rbp - 0x50]
cmp r12, 0xf
seta cl
cmova r13, r15
add r13, r14
lea rax, [rbp - 0x50]
test cl, cl
je 0x140016f33
mov rbx, r15
lea rsi, [r14 + r15]
jmp 0x140016f3b
lea rsi, [r14 + rax]
lea rbx, [rbp - 0x50]
cmp rbx, rsi
je 0x140016f99
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140016f55
inc rbx
cmp rbx, rsi
jne 0x140016f40
mov r12, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov r15, qword [rbp - 0x50]
cmp rbx, rsi
je 0x140016f99
lea rdi, [rbx + 1]
cmp rdi, rsi
je 0x140016f99
nop
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140016f85
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, rsi
jne 0x140016f70
mov r12, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov r15, qword [rbp - 0x50]
lea rax, [rbp - 0x50]
cmp r12, 0xf
seta cl
cmova rax, r15
mov rdx, rbx
sub rdx, rax
sub r13, rbx
mov rax, r14
sub rax, rdx
cmp rax, r13
cmovb r13, rax
lea rax, [rbp - 0x50]
test cl, cl
cmovne rax, r15
lea rcx, [rax + rdx]
sub r14, r13
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + r13]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x40], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], r14b
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14019fa70]
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r13d, dword [rsp + 0x44]
or r13d, 1
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x48], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x160]
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 + 0x160]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x160], rsi
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x15c], edx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x170], rax
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
lea r9d, [r14 + 2]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp + 0x170]
call fcn.14001a400
nop
mov r8b, Ordinal_60
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x160]
call fcn.14001a750
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_bool_void_const___ptr64]
test al, al
je 0x1400172fd
nop word [rax + rax]
mov eax, dword [0x140255ec4]
inc eax
mov dword [0x140255ec4], eax
cmp eax, 3
je 0x140017277
cmp eax, 5
je 0x140017234
cmp eax, 7
je 0x1400171eb
cmp eax, 9
je 0x140017190
cmp eax, 0xc
jne 0x1400172d2
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x60]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x140017184
lea rbx, str.40_Mbps
cmp rax, 0xf
cmova rbx, qword [str.40_Mbps]
mov qword [reloc.WS2_32.dll_getsockopt], rdi
jmp 0x1400172af
lea rcx, str.40_Mbps
jmp 0x1400172ca
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x60]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x1400171df
lea rbx, [0x140218a20]
cmp rax, 0xf
cmova rbx, qword [0x140218a20]
mov qword [reloc.WS2_32.dll_getsockopt], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400172d2
lea rcx, [0x140218a20]
jmp 0x1400172ca
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x60]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x140017228
lea rbx, str.15ms
cmp rax, 0xf
cmova rbx, qword [str.15ms]
mov qword [reloc.WS2_32.dll_connect], rdi
jmp 0x1400172af
lea rcx, str.15ms
jmp 0x1400172ca
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x60]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x14001726e
lea rbx, str.Provider
cmp rax, 0xf
cmova rbx, qword [str.Provider]
mov qword [reloc.WS2_32.dll_htonl], rdi
jmp 0x1400172af
lea rcx, str.Provider
jmp 0x1400172ca
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x60]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x1400172c3
lea rbx, str.Name
cmp rax, 0xf
cmova rbx, qword [str.Name]
mov qword [reloc.WS2_32.dll_connect], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400172d2
lea rcx, str.Name
mov rdx, rdi
call fcn.140004ca0
mov r8b, Ordinal_60
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x160]
call fcn.14001a750
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_bool_void_const___ptr64]
test al, al
jne 0x140017110
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x160], rsi
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x170]
call fcn.140019e90
lea rcx, [rbp + 0x178]
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 + 0x1f0]
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 - 0x58]
cmp rdx, 0xf
jbe 0x14001738a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017442
call fcn.140131bf4
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x50]
call fcn.14001a750
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_bool_void_const___ptr64]
test al, al
jne 0x140016eb0
lea rcx, [rbp + 0x60]
call fcn.14001a200
test rax, rax
jne 0x1400173f4
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
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]
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14001744e
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017449
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017449
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.140131bf4
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x60]
call fcn.140019750
lea rcx, [rbp + 0x68]
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 + 0x100]
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 0x140016e13
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14001753e
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017539
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14001758c
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017587
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017587
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140131b90
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000c2f0
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x70]
call fcn.140002880
nop
call fcn.140001810
nop
shr rdx, 0x20
lea r8, [rbp - 0x10]
lea rcx, str.create_directory
call fcn.140002810
nop
call fcn.140001810
nop
call fcn.140001810
int3