Function at 0x140007af0
Capabilities:
Create directory
Download url
Enumerate pe sections
Get common file path
Receive data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f8]
sub rsp, 0x4f8
mov rax, qword [0x140185080]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14, r9
mov rsi, r8
mov qword [rsp + 0x68], r8
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov r8, qword [r8 + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140007b6f
mov rcx, qword [rsi]
test r8, r8
jne 0x140007d17
lea rdx, [0x140171e48]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007d17
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x200]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x140007cb9
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140007c15
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140007c10
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007cab
mov rcx, r8
call fcn.1400b64a0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140007c5b
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007c56
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007cb2
mov rcx, r8
call fcn.1400b64a0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140007e60
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140007e5b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140007e58
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp + 0x200]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x140007cc7
mov rax, qword [rsi + 0x18]
cmp rdi, rax
ja 0x140007d05
mov r12, rsi
cmp rax, 0xf
jbe 0x140007ce5
mov r12, qword [rsi]
mov qword [rsi + 0x10], rdi
mov r8, rdi
lea rdx, [rbp + 0x200]
mov rcx, r12
call sub.VCRUNTIME140.dll_memmove
mov byte [r12 + rdi], 0
xor r12d, r12d
jmp 0x140007d17
lea r9, [rbp + 0x200]
mov rdx, rdi
mov rcx, rsi
call fcn.140007380
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140007d28
mov rcx, qword [rsi]
cmp byte [rcx + rax - 1], 0x5c
je 0x140007d44
mov r8d, 1
lea rdx, [0x140171e54]
mov rcx, rsi
call fcn.140006980
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140007d51
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140007e69
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140007e69
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140007dcd
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140007dc8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000903f
mov rcx, r8
call fcn.1400b64a0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140007e17
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007e12
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009046
mov rcx, r8
call fcn.1400b64a0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140007e60
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140007e5b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000904d
mov rcx, r8
call fcn.1400b64a0
mov qword [r14 + 0x10], r12
jmp 0x1400083c4
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140007e87
mov rdx, qword [r15]
lea rcx, [rbp + 0x60]
call fcn.140005220
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
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 rdi, qword [rax + 8]
add rdi, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
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 + 0x40], xmm1
mov r13, r12
mov qword [rbp + 0x50], r12
test rdi, rdi
je 0x140007f5e
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14000906f
cmp rdi, 0x1000
jb 0x140007f34
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140009054
call fcn.1400b64a8
test rax, rax
je 0x140009038
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x140007f3f
mov rcx, rdi
call fcn.1400b64a8
mov r12, rax
mov qword [rbp + 0x40], r12
lea r13, [r12 + rdi]
mov qword [rbp + 0x50], r13
mov r8, rdi
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x48], r13
jmp 0x140007f62
mov r12, qword [rbp + 0x40]
mov r8, rdi
mov rdx, r12
lea rcx, [rbp + 0x60]
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 0x140008fd4
test rdi, rdi
je 0x140008fd4
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140173c60]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x70], al
mov dword [rsp + 0x48], 2
lea r8, [rbp + 0x20]
mov edx, edi
mov rcx, r12
call fcn.14000adc0
xor edi, edi
lea rbx, [rdi - 1]
nop word [rax + rax]
mov dword [rbp - 0x18], 0
movzx r8d, byte [rbp + rdi + 0x20]
lea rdx, str._02x
lea rcx, [rbp - 0x18]
call fcn.14000ad60
lea rax, [rbp - 0x18]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140007ff4
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x70]
call fcn.140006980
inc rdi
cmp rdi, 0x10
jb 0x140007fd0
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
mov rbx, qword [rsp + 0x40]
jbe 0x140008026
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140007800
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
mov dword [rsp + 0x48], 6
lea r8d, [rdi + 4]
lea rdx, str..pdb
lea rcx, [rsp + 0x70]
call fcn.140006980
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400080ef
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400080ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b64a0
movdqa xmm0, xmmword [0x140173c60]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000813f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000813a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000813a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b64a0
movdqa xmm0, xmmword [0x140173c60]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
movsxd rdi, dword [r12 + 0x3c]
add rdi, r12
mov qword [rbp + 0x20], rdi
xor edx, edx
mov dword [rbp - 0x18], edx
movzx eax, word [rdi + 4]
mov ecx, 0x8664
cmp ax, cx
jne 0x14000819e
lea rax, [rdi + 0xb8]
mov qword [rsp + 0x60], rax
lea rax, [rdi + 0x54]
mov qword [rsp + 0x58], rax
lea rcx, [rdi + 0x50]
mov qword [rbp + 0x10], __WSAFDIsSet
mov qword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_60
lea eax, [rdx + 0x38]
jmp 0x1400081e1
mov ecx, 0x14c
cmp ax, cx
jne 0x140008f61
mov edx, 1
mov dword [rbp - 0x18], edx
mov qword [rsp + 0x60], 0xa0
mov qword [rsp + 0x58], reloc.WLDAP32.dll_Ordinal_60
lea ecx, [rdx + 0x37]
lea rax, [rdi + 0xa8]
mov qword [rbp + 0x10], rax
lea rax, [rdi + 0x54]
mov qword [rsp + 0x50], rax
lea rax, [rdi + 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 rcx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400083f6
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008267
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008fcd
call fcn.1400b64a0
mov byte [rbp - 0x10], 0
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rdi
sub r13, r12
cmp r13, 0x1000
mov rax, r12
jb 0x1400082a0
mov r12, qword [r12 - 8]
sub rax, r12
add r13, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009038
mov rdx, r13
mov rcx, r12
call fcn.1400b64a0
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x70]
call fcn.140005f90
lea rcx, [rbp + 0x78]
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 + 0x110]
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 [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14000832d
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140008328
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000903f
mov rcx, r8
call fcn.1400b64a0
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r15 + 0x10], rdi
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140008377
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140008372
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009046
mov rcx, r8
call fcn.1400b64a0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400083c0
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400083bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000904d
mov rcx, r8
call fcn.1400b64a0
mov qword [r14 + 0x10], rdi
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rbx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400b6480
add rsp, 0x4f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbp - 0x18], 0
mov rax, qword [rsp + 0x50]
cmove rax, qword [rsp + 0x58]
mov r8d, dword [rax]
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [rdi + 0x14]
add rax, 0x2c
xor ecx, ecx
mov dword [rsp + 0x50], ecx
cmp word [rdi + 6], cx
je 0x14000846a
add rdi, rax
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rsp + 0x38]
mov eax, dword [rdi - 4]
test eax, eax
je 0x14000844e
mov r8d, eax
mov edx, dword [rdi]
add rdx, r12
mov ecx, dword [rdi - 8]
add rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x50]
inc ecx
mov dword [rsp + 0x50], ecx
add rdi, 0x28
movzx eax, word [rbx + 6]
cmp ecx, eax
jne 0x140008430
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x40]
cmp dword [rbp - 0x18], 0
mov rcx, qword [rsp + 0x60]
cmovne rcx, qword [rbp + 0x10]
mov eax, dword [rcx]
mov rdx, qword [rsp + 0x38]
cmp dword [rcx + 4], 0
je 0x140008e9a
cmp dword [rax + rdx + 0xc], 2
jne 0x140008e9a
mov eax, dword [rax + rdx + 0x14]
add rax, rdx
mov qword [rbp + 0x20], rax
cmp dword [rax], 0x53445352
je 0x14000867d
mov rcx, rdx
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 [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000851d
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008f03
call fcn.1400b64a0
mov byte [rbp - 0x10], 0
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rdi
sub r13, r12
cmp r13, 0x1000
mov rax, r12
jb 0x140008556
mov r12, qword [r12 - 8]
sub rax, r12
add r13, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008f4c
mov rdx, r13
mov rcx, r12
call fcn.1400b64a0
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x70]
call fcn.140005f90
lea rcx, [rbp + 0x78]
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 + 0x110]
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 [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1400085e3
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400085de
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008f53
mov rcx, r8
call fcn.1400b64a0
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r15 + 0x10], rdi
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000862d
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140008628
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008f5a
mov rcx, r8
call fcn.1400b64a0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400083c0
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400083bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400083b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [rbp]
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rbx, qword [rbp - 0x10]
call fcn.1400b5b08
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rdi
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140002c90
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x170]
call fcn.1400b5d98
mov r8d, eax
test eax, eax
jne 0x140008727
mov edx, dword [rbp + 0x180]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp + 0x14], ecx
bt edx, 0xa
jae 0x140008719
mov eax, dword [rbp + 0x184]
cmp eax, 0xa000000c
jne 0x14000870b
lea eax, [r8 + 4]
jmp 0x14000874b
cmp eax, 0xa0000003
jne 0x140008719
mov eax, 0xa
jmp 0x14000874b
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14000874b
mov dword [rbp + 0x14], 0xffff
sub eax, 2
je 0x140008746
sub eax, 1
je 0x140008746
sub eax, 0x32
je 0x140008746
cmp eax, 0x46
je 0x140008746
xor eax, eax
jmp 0x14000874b
mov eax, 1
mov dword [rbp + 0x10], r8d
lea rcx, [0x1402aa708]
mov qword [rbp + 0x18], rcx
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
test eax, eax
je 0x1400087ab
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400087bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400087b8
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 0x14000905a
jmp 0x14000876d
call fcn.1400b64a0
test bl, bl
je 0x140008e7f
xor edx, edx
mov r8d, reloc.WLDAP32.dll_Ordinal_200
lea rcx, [rbp + 0x310]
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rbp + 0x20]
lea rcx, [rdi + 4]
mov r8d, 0x64
lea rdx, [rbp + 0x310]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x1400089d3
mov rcx, qword [rsp + 0x38]
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
mov rbx, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008875
inc rdx
mov rcx, qword [rbp - 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008870
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008d06
call fcn.1400b64a0
mov byte [rbp - 0x10], 0
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rdi
sub r13, r12
cmp r13, 0x1000
mov rax, r12
jb 0x1400088ae
mov r12, qword [r12 - 8]
sub rax, r12
add r13, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008d47
mov rdx, r13
mov rcx, r12
call fcn.1400b64a0
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x70]
call fcn.140005f90
lea rcx, [rbp + 0x78]
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 + 0x110]
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 [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14000893b
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r15]
jb 0x140008936
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008e71
mov rcx, r8
call fcn.1400b64a0
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r15 + 0x10], rdi
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140008985
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140008980
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008e78
mov rcx, r8
call fcn.1400b64a0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400083c0
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400083bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008e6a
jmp 0x1400083b8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov dword [rbp + 0x1f0], eax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x20], 0x64
lea r9, [rbp + 0x310]
lea r8d, [rax + 0x64]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x140008c96
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x140008c96
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
xor eax, eax
lea rsi, [rdx - 1]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + rax + 0x190]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140008a8d
lea eax, [rcx - 0x41]
cmp al, 5
jbe 0x140008a8d
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x140008ab2
lea r8, [rbp + 0x200]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp byte [r8 + rax], 0
jne 0x140008aa0
mov byte [rbp + rax + 0x200], cl
inc edx
mov eax, edx
cmp rax, rbx
jne 0x140008a70
xor eax, eax
mov word [rbp - 0x18], ax
mov byte [rbp - 0x16], al
lea r9d, [rax + 0xa]
lea r8d, [rax + 3]
lea rdx, [rbp - 0x18]
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.140006340
nop
lea rbx, [rdi + 0x18]
mov r8, rsi
mov rsi, qword [rsp + 0x68]
inc r8
cmp byte [rbx + r8], 0
jne 0x140008af2
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140006980
mov r8d, 1
lea rdx, [0x140171e60]
lea rcx, [rbp + 0x20]
call fcn.140006980
lea rax, [rbp + 0x200]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140008b30
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x20]
call fcn.140006980
lea rax, [rbp - 0x18]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140008b51
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x20]
call fcn.140006980
mov r8d, 1
lea rdx, [0x140171e60]
lea rcx, [rbp + 0x20]
call fcn.140006980
nop
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140008b80
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140006980
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r8, qword [rbp - 0x10]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jns 0x140008c48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140008c32
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008c85
call fcn.1400b64a0
movdqa xmm0, xmmword [0x140173c60]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
jmp 0x14000883a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140008e81
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b64a0
jmp 0x140008e81
mov rcx, qword [rsp + 0x38]
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
mov rbx, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008d12
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b64a0
mov qword [rbp], rdi
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x140008d4e
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, r12
call fcn.1400b64a0
nop
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x70]
call fcn.140005f90
lea rcx, [rbp + 0x78]
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 + 0x110]
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 [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140008ddb
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140008dd6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008e71
mov rcx, r8
call fcn.1400b64a0
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140008e21
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140008e1c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008e78
mov rcx, r8
call fcn.1400b64a0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400083c0
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400083bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400083b8
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor edi, edi
mov rbx, qword [rsp + 0x40]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14000851d
mov rcx, rdx
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 [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008f0f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b64a0
mov qword [rbp], rdi
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x140008556
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008556
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 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 [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008267
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008262
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140171e48]
mov rcx, rbx
call fcn.1400070b0
nop
test r12, r12
je 0x1400082ac
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x1400082a0
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400082a0
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 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.140001cb0
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x10]
lea rcx, str.exists
call fcn.1400036b0
nop
call fcn.140002370
int3