Function at 0x140006b00
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 - 0x3d8]
sub rsp, 0x4d8
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r14, r9
mov rsi, r8
mov qword [rbp - 0x80], r8
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0x150], rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], r9
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov rcx, qword [r8 + 0x10]
mov rdx, qword [r8 + 0x18]
lea rbx, [r13 - 1]
test rcx, rcx
jne 0x140006ce1
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x140006cb5
mov qword [r12], r13
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], 0xf
mov byte [r12], al
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140006c11
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140006c0c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ca7
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140006c57
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140006c52
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006cae
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140006e5e
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140006e59
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140006e56
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 + 0x1e0]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140006cc0
lea rdx, [rbp + 0x1e0]
mov rcx, rsi
call fcn.1400026b0
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rsi
cmp rdx, 0x10
jb 0x140006ced
mov rax, qword [rsi]
cmp byte [rax + rcx - 1], 0x5c
je 0x140006d39
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140006d1c
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140006d14
mov rax, qword [rsi]
mov word [rcx + rax], 0x5c
jmp 0x140006d39
mov qword [rsp + 0x20], 1
lea r9, [0x14000dcf8]
mov edx, 1
mov rcx, rsi
call fcn.140006560
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140006d46
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140006e94
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140006e94
mov qword [r12], r13
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140006dcb
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r15]
jb 0x140006dc6
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008116
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140006e15
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140006e10
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000811d
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140006e5e
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140006e59
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008124
mov rcx, r8
call fcn.14000b9ac
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rax, r12
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.14000b460
add rsp, 0x4d8
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 + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140006eb2
mov rdx, qword [r15]
lea rcx, [rbp + 0x40]
call fcn.140004340
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x40]
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 + 0x40]
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], r13
test rdi, rdi
je 0x140006f8d
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140008146
cmp rdi, 0x1000
jb 0x140006f61
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000812b
call fcn.14000b718
mov rcx, rax
test rax, rax
je 0x1400080f0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140006f69
mov rcx, rdi
call fcn.14000b718
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
mov rbx, 0xffffffffffffffff
mov r8, rdi
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x40]
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 0x14000808a
test rdi, rdi
je 0x14000808a
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x30], 2
lea r8, [rbp + 0x150]
mov edx, edi
mov rcx, qword [rbp - 0x38]
call fcn.14000a700
nop dword [rax + rax]
mov dword [rbp - 0x40], 0
movzx r8d, byte [rbp + r13 + 0x150]
lea rdx, str._02x
lea rcx, [rbp - 0x40]
call fcn.14000a6a0
lea rax, [rbp - 0x40]
mov rdi, rbx
inc rdi
cmp byte [rax + rdi], 0
jne 0x140007017
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14000706c
lea rax, [rcx + rdi]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x60]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov rbx, 0xffffffffffffffff
jmp 0x140007082
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140006560
inc r13
cmp r13, 0x10
jb 0x140006ff0
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000709c
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140006730
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov dword [rsp + 0x30], 6
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rdx
mov ecx, 4
cmp rax, rcx
jb 0x140007126
lea rax, [rdx + 4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp r8, 0x10
cmovae rax, qword [rsp + 0x40]
mov dword [rax + rdx], 0x6264702e
mov byte [rax + rdx + 4], bl
lea rax, [rsp + 0x40]
jmp 0x14000713f
mov qword [rsp + 0x20], rcx
lea r9, str..pdb
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140006560
mov qword [rbp - 0x20], rbx
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], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400071a9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400071fc
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 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 0x140007255
lea rax, [rdi + 0xb8]
mov qword [rbp + 0x150], rax
lea r13, [rdi + 0x54]
lea rcx, [rdi + 0x50]
mov qword [rbp], 0x90
mov ebx, 0x3c
lea eax, [rbx - 4]
jmp 0x140007290
mov ecx, 0x14c
cmp ax, cx
jne 0x140008010
mov edx, 1
mov dword [rbp - 0x40], edx
mov qword [rbp + 0x150], 0xa0
lea ecx, [rdx + 0x37]
lea r13d, [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 0x140007451
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 0xf
mov byte [r12], bl
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000731b
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007316
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008083
call fcn.14000b9ac
mov byte [rbp - 0x20], 0
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rbx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140007371
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x140007360
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400080f0
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
lea rcx, [rbp + 0x40]
call fcn.140004270
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400073b5
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r15]
jb 0x1400073b0
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008116
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400073ff
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x1400073fa
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000811d
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140007448
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140007443
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008124
mov rcx, r8
call fcn.14000b9ac
mov qword [r14 + 0x10], rbx
jmp 0x140006e62
cmp dword [rbp - 0x40], 0
cmove rbx, r13
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 r13d, r13d
cmp word [rdi + 6], r13w
je 0x1400074b1
add rbx, rdi
mov rsi, qword [rsp + 0x38]
mov eax, dword [rbx - 4]
test eax, eax
je 0x14000749d
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 r13d
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp r13d, eax
jne 0x140007482
mov rsi, qword [rbp - 0x80]
cmp dword [rbp - 0x40], 0
mov rcx, qword [rbp]
cmove rcx, qword [rbp + 0x150]
mov eax, dword [rcx]
mov r13, qword [rsp + 0x38]
cmp dword [rcx + 4], 0
je 0x140007e52
cmp dword [rax + r13 + 0xc], 2
jne 0x140007e52
mov eax, dword [rax + r13 + 0x14]
add rax, r13
mov qword [rbp + 0x150], rax
cmp dword [rax], 0x53445352
je 0x1400076ad
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 0xf
mov byte [r12], bl
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140007573
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000756e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ec3
call fcn.14000b9ac
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400075c9
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400075b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007f10
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
lea rcx, [rbp + 0x40]
call fcn.140004270
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14000760d
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140007608
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008002
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007657
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007652
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008009
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140007448
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000769f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007ffb
mov rcx, r8
call fcn.14000b9ac
mov qword [r14 + 0x10], rbx
jmp 0x140006e62
mov rdi, qword [rbp - 0x10]
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rbx, qword [rbp - 0x20]
call fcn.14000acd0
mov qword [rbp], rbx
mov qword [rbp + 8], rdi
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140001980
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x20]
call fcn.14000af60
mov r8d, eax
test eax, eax
jne 0x14000773c
mov ecx, dword [rbp + 0x30]
bt ecx, 0xa
jae 0x14000772f
mov edx, dword [rbp + 0x34]
cmp edx, 0xa000000c
jne 0x140007720
lea eax, [r8 + 4]
jmp 0x140007759
cmp edx, 0xa0000003
jne 0x14000772f
mov eax, 0xa
jmp 0x140007759
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
mov eax, ecx
jmp 0x140007759
sub eax, 2
je 0x140007754
sub eax, 1
je 0x140007754
sub eax, 0x32
je 0x140007754
cmp eax, 0x46
je 0x140007754
xor eax, eax
jmp 0x140007759
mov eax, 1
mov dword [rbp], r8d
lea rcx, [0x14001ce78]
mov qword [rbp + 8], rcx
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
test eax, eax
je 0x1400077b9
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400077cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400077c6
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 0x140008131
jmp 0x14000777b
call fcn.14000b9ac
test bl, bl
je 0x140007c87
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x2f0]
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rbp + 0x150]
lea rcx, [rdi + 4]
mov r8d, 0x64
lea rdx, [rbp + 0x2f0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x1400079c1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 0xf
mov byte [r12], bl
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140007887
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d05
call fcn.14000b9ac
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400078dd
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d52
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
lea rcx, [rbp + 0x40]
call fcn.140004270
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007921
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14000791c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007e44
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000796b
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007966
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007e4b
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140007448
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400079b3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007e3d
mov rcx, r8
call fcn.14000b9ac
mov qword [r14 + 0x10], rbx
jmp 0x140006e62
xorps xmm0, xmm0
xor eax, eax
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
movups xmmword [rbp + 0x1c0], xmm0
mov dword [rbp + 0x1d0], eax
xor ebx, ebx
mov qword [rbp + 0x150], rbx
mov qword [rsp + 0x20], 0x64
lea r9, [rbp + 0x2f0]
lea r8d, [rax + 0x64]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x140007c95
mov rbx, qword [rbp + 0x150]
test rbx, rbx
je 0x140007c95
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
xor eax, eax
lea rsi, [rdx - 1]
nop dword [rax + rax]
movzx ecx, byte [rbp + rax + 0x170]
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x140007a7d
lea eax, [rcx - 0x41]
cmp al, 5
jbe 0x140007a7d
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x140007aa2
lea r8, [rbp + 0x1e0]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp byte [r8 + rax], 0
jne 0x140007a90
mov byte [rbp + rax + 0x1e0], cl
inc edx
mov eax, edx
cmp rax, rbx
jne 0x140007a60
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.140005310
nop
lea r13, [rdi + 0x18]
mov rdi, rsi
mov rsi, qword [rbp - 0x80]
inc rdi
cmp byte [rdi + r13], 0
jne 0x140007ae1
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140007b2a
lea rax, [rcx + rdi]
mov qword [rbp + 0x10], rax
lea rbx, [rbp]
cmp rdx, 0x10
cmovae rbx, qword [rbp]
add rbx, rcx
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140007b3e
mov qword [rsp + 0x20], rdi
mov r9, r13
mov rdx, rdi
lea rcx, [rbp]
call fcn.140006560
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140007b6f
lea rax, [rcx + 1]
mov qword [rbp + 0x10], rax
lea rax, [rbp]
cmp rdx, 0x10
cmovae rax, qword [rbp]
mov word [rax + rcx], 0x2f
jmp 0x140007b8d
mov qword [rsp + 0x20], 1
lea r9, [0x14000dd04]
mov edx, 1
lea rcx, [rbp]
call fcn.140006560
lea rcx, [rbp + 0x1e0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140007ba0
mov r8, rax
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp]
call fcn.1400059a0
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.140008930
lea rdx, [0x14000dd04]
lea rcx, [rbp]
call fcn.140008930
mov rdx, r13
lea rcx, [rbp]
call fcn.140008930
lea rcx, [rbp - 0x20]
call fcn.1400051d0
mov r8, rax
lea rcx, [rbp]
call fcn.1400051d0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jns 0x140007c77
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.140002670
nop
lea rcx, [rbp]
call fcn.140005280
nop
lea rcx, [rbp - 0x20]
call fcn.140005280
nop
lea rcx, [rbp - 0x38]
call fcn.140004450
nop
lea rcx, [rbp + 0x40]
call fcn.140004270
nop
mov rcx, r15
call fcn.140005280
nop
mov rcx, rsi
call fcn.140005280
nop
mov rcx, r14
call fcn.140005280
jmp 0x140006e6e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp]
call fcn.140005280
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400052e0
jmp 0x140007c3a
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140007d11
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140007d6a
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
lea rcx, [rbp + 0x40]
call fcn.140004270
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007dae
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140007da9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007e44
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007df4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007def
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007e4b
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140007448
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140007443
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140007440
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 rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 0xf
mov byte [r12], bl
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140007ecf
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007eca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007eca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140007f28
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
lea rcx, [rbp + 0x40]
call fcn.140004270
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140007f6c
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x140007f67
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008002
mov rcx, r8
call fcn.14000b9ac
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007fb2
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007fad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008009
mov rcx, r8
call fcn.14000b9ac
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140007448
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140007443
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140007440
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]
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000731b
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007316
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007316
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]
mov qword [r12], r13
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
xor r8d, r8d
lea rdx, [0x14000d95b]
mov rcx, r12
call fcn.1400026b0
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140008108
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400080f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
lea rcx, [rbp + 0x40]
call fcn.140004270
jmp 0x140006d91
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 - 0x78]
lea rdx, [rbp]
lea rcx, str.exists
call fcn.140002320
nop
call fcn.140006710
int3