Function at 0x140006d50
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 - 0x3c8]
sub rsp, 0x4c8
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r15, r9
mov qword [rsp + 0x38], r9
mov rsi, r8
mov qword [rbp - 0x10], r8
mov r14, rdx
mov r13, rcx
mov qword [rbp + 0x140], rcx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], r8
mov qword [rbp - 0x58], r9
xor ebx, ebx
mov dword [rsp + 0x34], ebx
mov r8, qword [r8 + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140006dcf
mov rcx, qword [rsi]
test r8, r8
jne 0x140006f49
lea rdx, [0x14000d9db]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140006f49
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x140006f1b
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140006e77
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x140006e72
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006f0d
mov rcx, r8
call fcn.14000b8dc
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140006ebd
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140006eb8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006f14
mov rcx, r8
call fcn.14000b8dc
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007094
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14000708f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000708c
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 + 0x1d0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140006f30
lea rdx, [rbp + 0x1d0]
mov rcx, rsi
call fcn.140005a60
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140006f5a
mov rcx, qword [rsi]
cmp byte [rcx + rax - 1], 0x5c
je 0x140006f76
mov r8d, 1
lea rdx, [0x14000dd78]
mov rcx, rsi
call fcn.140005bc0
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140006f83
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400070ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400070ca
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140007001
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140006ffc
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007fb0
mov rcx, r8
call fcn.14000b8dc
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000704b
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140007046
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007fb7
mov rcx, r8
call fcn.14000b8dc
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007094
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14000708f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007fbe
mov rcx, r8
call fcn.14000b8dc
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov qword [r15 + 0x10], rbx
mov rax, r13
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14000b390
add rsp, 0x4c8
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 + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400070e8
mov rdx, qword [r14]
lea rcx, [rbp + 0x30]
call fcn.1400043a0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x30]
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 + 0x30]
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 - 0x48], xmm1
mov qword [rbp - 0x38], rbx
test rdi, rdi
je 0x1400071be
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140007fe3
cmp rdi, 0x1000
jb 0x140007197
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140007fc5
call fcn.14000b648
mov rcx, rax
test rax, rax
je 0x140007fa9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000719f
mov rcx, rdi
call fcn.14000b648
mov qword [rbp - 0x48], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x38], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x40], rbx
xor ebx, ebx
mov r8, rdi
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x30]
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 0x140007f3e
test rdi, rdi
je 0x140007f3e
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14000e1a0]
movdqu xmmword [rbp - 0x78], xmm1
mov byte [rsp + 0x78], 0
mov r12d, 2
mov dword [rsp + 0x34], r12d
lea r8, [rbp + 0x140]
mov edx, edi
mov rcx, qword [rbp - 0x48]
call fcn.14000a390
xor edi, edi
mov dword [rbp - 0x50], edi
movzx r8d, byte [rbp + rbx + 0x140]
lea rdx, str._02x
lea rcx, [rbp - 0x50]
call fcn.14000a330
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.140005380
inc rbx
cmp rbx, 0x10
jb 0x140007223
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140007263
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140006970
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
or r12d, 4
mov dword [rsp + 0x34], r12d
lea r8d, [rbx + 4]
lea rdx, str..pdb
lea rcx, [rsp + 0x58]
call fcn.140005bc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000732d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007328
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007328
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b8dc
movdqa xmm0, xmmword [0x14000e1a0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14000737f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000737a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000737a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b8dc
movdqa xmm0, xmmword [0x14000e1a0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x48]
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
mov r12d, ebx
mov dword [rbp - 0x50], ebx
movzx eax, word [rdi + 4]
mov ecx, 0x8664
cmp ax, cx
jne 0x1400073dc
lea rax, [rdi + 0xb8]
mov qword [rsp + 0x50], rax
lea rax, [rdi + 0x54]
mov qword [rsp + 0x40], rax
lea rcx, [rdi + 0x50]
mov qword [rsp + 0x48], 0x90
mov ebx, 0x3c
lea eax, [rbx - 4]
jmp 0x14000741f
mov ecx, 0x14c
cmp ax, cx
jne 0x140007ecb
mov r12d, 1
mov dword [rbp - 0x50], r12d
mov qword [rsp + 0x50], 0xa0
mov qword [rsp + 0x40], 0x3c
lea ecx, [r12 + 0x37]
lea rax, [rdi + 0xa8]
mov qword [rsp + 0x48], rax
lea rbx, [rdi + 0x54]
lea rax, [rdi + 0x50]
test r12d, r12d
cmove rax, rcx
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x140], rax
test rax, rax
jne 0x14000750b
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400074a7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007f37
call fcn.14000b8dc
mov byte [rbp - 0x30], 0
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400074fd
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400074ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007fa9
call fcn.14000b8dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
lea rcx, [rbp + 0x30]
call fcn.1400042e0
jmp 0x140006fc7
test r12d, r12d
cmove rbx, qword [rsp + 0x40]
mov r8d, dword [rbx]
mov rdx, qword [rbp - 0x48]
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 0x140007574
add rbx, rdi
mov r15, qword [rbp + 0x140]
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x14000755b
mov r8d, eax
mov edx, dword [rbx]
add rdx, qword [rbp - 0x48]
mov ecx, dword [rbx - 8]
add rcx, r15
call sub.VCRUNTIME140.dll_memcpy
inc r12d
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp r12d, eax
jne 0x140007540
mov rsi, qword [rbp - 0x10]
mov r15, qword [rsp + 0x38]
cmp dword [rbp - 0x50], 0
mov rcx, qword [rsp + 0x48]
cmove rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
mov r12, qword [rbp + 0x140]
cmp dword [rcx + 4], 0
je 0x140007df2
cmp dword [rax + r12 + 0xc], 2
jne 0x140007df2
mov eax, dword [rax + r12 + 0x14]
add rax, r12
mov qword [rsp + 0x38], rax
cmp dword [rax], 0x53445352
je 0x140007763
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14000762f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000762a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007e5d
call fcn.14000b8dc
mov byte [rbp - 0x30], 0
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140007685
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x140007674
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007eb6
call fcn.14000b8dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
lea rcx, [rbp + 0x30]
call fcn.1400042e0
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400076c9
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400076c4
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007ebd
mov rcx, r8
call fcn.14000b8dc
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007713
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000770e
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007ec4
mov rcx, r8
call fcn.14000b8dc
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007094
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14000708f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000708c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rbx, qword [rbp - 0x30]
call fcn.14000aa5c
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rdi
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp + 0x140]
call fcn.140001940
nop
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rcx, qword [rbp + 0x140]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x10]
call fcn.14000acec
mov r8d, eax
test eax, eax
jne 0x140007810
mov edx, dword [rbp + 0x20]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0xc], ecx
bt edx, 0xa
jae 0x140007802
mov eax, dword [rbp + 0x24]
cmp eax, 0xa000000c
jne 0x1400077f4
lea eax, [r8 + 4]
jmp 0x140007834
cmp eax, 0xa0000003
jne 0x140007802
mov eax, 0xa
jmp 0x140007834
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140007834
mov dword [rbp - 0xc], 0xffff
sub eax, 2
je 0x14000782f
sub eax, 1
je 0x14000782f
sub eax, 0x32
je 0x14000782f
cmp eax, 0x46
je 0x14000782f
xor eax, eax
jmp 0x140007834
mov eax, 1
mov dword [rbp - 0x10], r8d
lea rcx, [0x14001ce78]
mov qword [rbp - 8], rcx
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
test eax, eax
je 0x14000789a
cmp eax, 1
sete bl
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x1400078ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400078a7
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 0x140007fcb
jmp 0x140007856
call fcn.14000b8dc
test bl, bl
je 0x140007dd9
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi + 4]
mov r8d, 0x64
lea rdx, [rbp + 0x2e0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x140007a94
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140007960
inc rdx
mov rcx, qword [rbp - 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000795b
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d6b
call fcn.14000b8dc
mov byte [rbp - 0x30], 0
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400079b6
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400079a5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007dc4
call fcn.14000b8dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
lea rcx, [rbp + 0x30]
call fcn.1400042e0
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400079fa
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400079f5
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007dcb
mov rcx, r8
call fcn.14000b8dc
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rbx
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007a44
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140007a3f
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007dd2
mov rcx, r8
call fcn.14000b8dc
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007094
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14000708f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000708c
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 + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov dword [rbp + 0x1c0], eax
xor ebx, ebx
mov qword [rbp + 0x140], rbx
mov qword [rsp + 0x20], 0x64
lea r9, [rbp + 0x2e0]
lea r8d, [rax + 0x64]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x140007d02
mov rbx, qword [rbp + 0x140]
test rbx, rbx
je 0x140007d02
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rbp + rax + 0x160]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140007b4d
lea eax, [rcx - 0x41]
cmp al, 5
jbe 0x140007b4d
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x140007b72
lea r8, [rbp + 0x1d0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp byte [r8 + rax], 0
jne 0x140007b60
mov byte [rbp + rax + 0x1d0], cl
inc edx
mov eax, edx
cmp rax, rbx
jne 0x140007b30
xor eax, eax
mov word [rbp - 0x50], ax
mov byte [rbp - 0x4e], al
lea r9d, [rax + 0xa]
lea r8d, [rax + 3]
lea rdx, [rbp - 0x50]
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.140005510
nop
lea rdx, [rdi + 0x18]
lea rcx, [rbp - 0x10]
call fcn.140005380
mov r8d, 1
lea rdx, [0x14000dd84]
lea rcx, [rbp - 0x10]
call fcn.140005bc0
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x10]
call fcn.140005380
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140005380
mov r8d, 1
lea rdx, [0x14000dd84]
lea rcx, [rbp - 0x10]
call fcn.140005bc0
lea rdx, [rdi + 0x18]
lea rcx, [rbp - 0x10]
call fcn.140005380
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, r12
test eax, eax
jns 0x140007cb4
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140007c9e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007cf1
call fcn.14000b8dc
movdqa xmm0, xmmword [0x14000e1a0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
jmp 0x140007925
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140007ddb
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007cf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b8dc
jmp 0x140007ddb
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140007d77
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b8dc
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400079b6
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079a5
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 - 0x30]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x10], xmm1
jmp 0x14000762f
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140007e69
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b8dc
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140007685
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007674
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400074a7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074a2
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, [0x14000d9db]
mov rcx, r13
call fcn.140002710
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400074fd
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074ec
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.140001110
nop
lea r8, [rbp + 0x140]
lea rdx, [rbp - 0x10]
lea rcx, str.exists
call fcn.140002390
nop
call fcn.140006950
int3