Function at 0x14002d230
Capabilities:
Create directory
Download url
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 - 0x3b8]
sub rsp, 0x4b8
mov rax, qword [0x1400bb010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r14, r9
mov rsi, r8
mov qword [rsp + 0x40], r8
mov r15, rdx
mov r13, rcx
mov qword [rbp + 0x130], rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], r9
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov r8, qword [r8 + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002d2ab
mov rcx, qword [rsi]
mov r12, 0xffffffffffffffff
test r8, r8
jne 0x14002d429
lea rdx, [0x1400a0f51]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002d429
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1c0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x14002d3fe
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14002d35a
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14002d355
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002d3f0
mov rcx, r8
call fcn.140099710
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14002d3a0
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14002d39b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002d3f7
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002d574
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002d56f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14002d56c
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 + 0x1c0]
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002d410
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call fcn.14001cd10
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002d43a
mov rcx, qword [rsi]
cmp byte [rcx + rax - 1], 0x5c
je 0x14002d456
mov r8d, 1
lea rdx, [0x1400a2b00]
mov rcx, rsi
call fcn.1400099e0
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002d463
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14002d5aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002d5aa
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14002d4e1
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r15]
jb 0x14002d4dc
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e4e4
mov rcx, r8
call fcn.140099710
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14002d52b
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14002d526
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e4eb
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002d574
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002d56f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e4f2
mov rcx, r8
call fcn.140099710
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rbx
mov rax, r13
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400996f0
add rsp, 0x4b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14002d5c8
mov rdx, qword [r15]
mov r8d, 0x24
lea rcx, [rbp + 0x20]
call fcn.14001cab0
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x20]
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 + 0x20]
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 - 0x38], xmm1
mov qword [rbp - 0x28], rbx
test rdi, rdi
je 0x14002d6a4
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14002e4ff
cmp rdi, 0x1000
jb 0x14002d67d
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14002e4f9
call fcn.1400998c0
mov rcx, rax
test rax, rax
je 0x14002e4dd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14002d685
mov rcx, rdi
call fcn.1400998c0
mov qword [rbp - 0x38], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x28], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x30], rbx
xor ebx, ebx
mov r8, rdi
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x20]
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 rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14002e472
test rdi, rdi
je 0x14002e472
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x1400aa570]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x30], 2
lea r8, [rbp + 0x130]
mov edx, edi
mov rcx, qword [rbp - 0x38]
call fcn.140098530
xor edi, edi
nop word [rax + rax]
mov dword [rbp - 0x40], edi
movzx r8d, byte [rbp + rbx + 0x130]
lea rdx, str._02x
lea rcx, [rbp - 0x40]
call fcn.140083310
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], dil
jne 0x14002d733
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.1400099e0
inc rbx
cmp rbx, 0x10
jb 0x14002d710
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002d760
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400204a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov eax, 2
or eax, 4
mov dword [rsp + 0x30], eax
lea r8d, [rbx + 4]
lea rdx, str..pdb
lea rcx, [rsp + 0x48]
call fcn.1400099e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14002d82d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
movdqa xmm0, xmmword [0x1400aa570]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14002d87f
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d87a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d87a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
movdqa xmm0, xmmword [0x1400aa570]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rax, qword [rbp - 0x38]
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
mov edx, ebx
mov dword [rbp - 0x40], ebx
movzx eax, word [rdi + 4]
mov ecx, 0x8664
cmp ax, cx
jne 0x14002d8d8
lea rax, [rdi + 0xb8]
mov qword [rbp + 0x130], rax
lea r12, [rdi + 0x54]
lea rcx, [rdi + 0x50]
mov qword [rbp], 0x90
mov ebx, 0x3c
lea eax, [rbx - 4]
jmp 0x14002d913
mov ecx, 0x14c
cmp ax, cx
jne 0x14002e3ff
mov edx, 1
mov dword [rbp - 0x40], edx
mov qword [rbp + 0x130], 0xa0
lea ecx, [rdx + 0x37]
lea r12d, [rdx + 0x3b]
lea rax, [rdi + 0xa8]
mov qword [rbp], rax
lea rbx, [rdi + 0x54]
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 qword [rsp + 0x38], rax
test rax, rax
jne 0x14002da39
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor ebx, ebx
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002d998
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d993
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e46b
call fcn.140099710
mov byte [rbp - 0x20], 0
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002d9ee
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002d9dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e4dd
call fcn.140099710
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.14001bec0
lea rcx, [rbp + 0x38]
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 + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14002d4a7
cmp dword [rbp - 0x40], 0
cmove rbx, r12
mov r8d, dword [rbx]
mov rdx, qword [rbp - 0x38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rdi + 0x14]
add rbx, 0x2c
xor r12d, r12d
cmp word [rdi + 6], r12w
je 0x14002daa0
add rbx, rdi
mov rsi, qword [rsp + 0x38]
nop word [rax + rax]
mov eax, dword [rbx - 4]
test eax, eax
je 0x14002da8b
mov r8d, eax
mov edx, dword [rbx]
add rdx, qword [rbp - 0x38]
mov ecx, dword [rbx - 8]
add rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
inc r12d
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp r12d, eax
jne 0x14002da70
mov rsi, qword [rsp + 0x40]
cmp dword [rbp - 0x40], 0
mov rcx, qword [rbp]
cmove rcx, qword [rbp + 0x130]
mov eax, dword [rcx]
mov r12, qword [rsp + 0x38]
cmp dword [rcx + 4], 0
je 0x14002e326
cmp dword [rax + r12 + 0xc], 2
jne 0x14002e326
mov eax, dword [rax + r12 + 0x14]
add rax, r12
mov qword [rbp + 0x130], rax
cmp dword [rax], 0x53445352
je 0x14002dccd
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor ebx, ebx
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002db5c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002db57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e391
call fcn.140099710
mov byte [rbp - 0x20], 0
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002dbb2
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002dba1
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e3ea
call fcn.140099710
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.14001bec0
lea rcx, [rbp + 0x38]
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 + 0xd0]
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, 0x10
jb 0x14002dc33
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14002dc2e
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e3f1
mov rcx, r8
call fcn.140099710
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov qword [r15 + 0x10], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14002dc7d
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14002dc78
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e3f8
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002d574
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002d56f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14002d56c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [rbp - 0x10]
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rbx, qword [rbp - 0x20]
call fcn.140098bfc
mov qword [rbp], rbx
mov qword [rbp + 8], rdi
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.14000c600
nop
lea rcx, [rbp - 0x78]
call fcn.14000d0d0
test al, al
sete bl
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14002dd4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dd48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002dd48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
test bl, bl
je 0x14002e30d
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rbp + 0x130]
lea rcx, [rdi + 4]
mov r8d, 0x64
lea rdx, [rbp + 0x2d0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x14002df74
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor ebx, ebx
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002de03
inc rdx
mov rcx, qword [rbp - 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002ddfe
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e29f
call fcn.140099710
mov byte [rbp - 0x20], 0
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002de59
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002de48
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e2f8
call fcn.140099710
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.14001bec0
lea rcx, [rbp + 0x38]
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 + 0xd0]
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, 0x10
jb 0x14002deda
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14002ded5
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e2ff
mov rcx, r8
call fcn.140099710
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov qword [r15 + 0x10], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14002df24
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14002df1f
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e306
mov rcx, r8
call fcn.140099710
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002d574
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002d56f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14002d56c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov dword [rbp + 0x1b0], eax
xor ebx, ebx
mov qword [rbp + 0x130], rbx
mov qword [rsp + 0x20], 0x64
lea r9, [rbp + 0x2d0]
lea r8d, [rax + 0x64]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x14002e236
mov rbx, qword [rbp + 0x130]
test rbx, rbx
je 0x14002e236
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
xor eax, eax
lea rsi, [rdx - 1]
nop
movzx ecx, byte [rbp + rax + 0x150]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14002e02d
lea eax, [rcx - 0x41]
cmp al, 5
jbe 0x14002e02d
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x14002e052
lea r8, [rbp + 0x1c0]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp byte [r8 + rax], 0
jne 0x14002e040
mov byte [rbp + rax + 0x1c0], cl
inc edx
mov eax, edx
cmp rax, rbx
jne 0x14002e010
xor eax, eax
mov word [rbp - 0x40], ax
mov byte [rbp - 0x3e], al
lea r9d, [rax + 0xa]
lea r8d, [rax + 3]
lea rdx, [rbp - 0x40]
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]
call fcn.14001c5b0
nop
mov r8, rsi
mov rsi, qword [rsp + 0x40]
nop
inc r8
cmp byte [rdi + r8 + 0x18], 0
jne 0x14002e090
lea rdx, [rdi + 0x18]
lea rcx, [rbp]
call fcn.1400099e0
mov r8d, 1
lea rdx, [0x1400a2b0c]
lea rcx, [rbp]
call fcn.1400099e0
lea rax, [rbp + 0x1c0]
mov r12, 0xffffffffffffffff
mov r8, r12
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002e0d0
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp]
call fcn.1400099e0
lea rax, [rbp - 0x40]
mov r8, r12
inc r8
cmp byte [rax + r8], 0
jne 0x14002e0f1
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.1400099e0
mov r8d, 1
lea rdx, [0x1400a2b0c]
lea rcx, [rbp]
call fcn.1400099e0
nop
inc r12
cmp byte [rdi + r12 + 0x18], 0
jne 0x14002e120
mov r8, r12
lea rdx, [rdi + 0x18]
lea rcx, [rbp]
call fcn.1400099e0
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae r8, qword [rbp - 0x20]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jns 0x14002e1e8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14002e1d2
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e1cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e225
call fcn.140099710
movdqa xmm0, xmmword [0x1400aa570]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
jmp 0x14002ddc8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14002e30f
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e22c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e22c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
jmp 0x14002e30f
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002e2ab
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e2a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e2a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002de59
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002de48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002de48
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 ebx, ebx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x10], xmm1
jmp 0x14002db5c
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor ebx, ebx
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002e39d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e398
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e398
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099710
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002dbb2
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dba1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002dba1
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, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002d998
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d993
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d993
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 [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x1400a0f51]
mov rcx, r13
call fcn.140004d70
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002d9ee
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d9dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d9dd
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.140004c70
int3
call fcn.14000a370
int3