Function at 0x18000e110
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1800623c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8d, [r12 + 9]
lea rdx, str.The_Kings
lea r14, [0x18007bcd0]
mov rcx, r14
call fcn.18000d770
mov rsi, qword [0x18007bce0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 4
jb 0x18000ea8c
cmp qword [0x18007bce8], 0xf
cmova r14, qword [0x18007bcd0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea r15, [rsi + 4]
mov ebx, 0xf
lea rdi, [rbp + 0x60]
cmp r15, rbx
jbe 0x18000e230
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x18000e1f2
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18003c448
test rax, rax
je 0x18000e3f4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000e22c
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18000e21a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000ea86
jmp 0x18000e1d3
test rcx, rcx
je 0x18000e229
call fcn.18003c448
mov rdi, rax
jmp 0x18000e22c
mov rdi, r12
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], rbx
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rsi], 0x676e702e
mov byte [rdi + r15], r12b
mov rdx, qword [0x18007bd28]
cmp rdx, 0xf
jbe 0x18000e292
mov rcx, qword [0x18007bd10]
inc rdx
cmp rdx, 0x1000
jb 0x18000e28d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000e3f4
mov rcx, r8
call fcn.18003c440
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [0x18007bd10], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [0x18007bd20], xmm1
mov r8d, 0x15
lea rdx, str.name_of_your_ytd_file
lea rcx, [0x18007bcf0]
call fcn.18000d770
lea rcx, [rbp + 0xc0]
call fcn.18000df90
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18000e2da
mov rbx, qword [rax]
lea rax, [0x180041f50]
mov qword [rsp + 0x40], rax
lea rax, [0x180041da0]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 3
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x37], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], r12
mov rax, qword [0x1800915b0]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r12
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000b330
test rax, rax
jne 0x18000e3b5
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x18000e400
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e3fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e3fb
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.18003c440
movdqa xmm0, xmmword [0x18004d9b0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0xe0]
call fcn.18000df90
mov rsi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18000e430
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop word [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x18000e440
call fcn.18003ba50
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rdi
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180007340
nop
lea rcx, [rbp + 0x60]
call fcn.180008da0
movzx edi, al
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x18000e4be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e4b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e4b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9a0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18000e514
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e50f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e50f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
test dil, dil
jne 0x18000e620
lea rcx, [rbp + 0xe0]
call fcn.18000df90
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18000e536
mov rdi, qword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18000e536
call fcn.18003ba50
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rbx
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180007340
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
call fcn.18003bb8c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18000ea78
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x18000e5ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e5c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e5c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9a0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18000e620
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e61b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e61b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x18004d9c0]
movdqu xmmword [rbp + 0x70], xmm1
mov word [rbp + 0x60], 0x5c
lea rcx, [rbp + 0xe0]
call fcn.18000df90
nop
lea r9, [rbp + 0x60]
mov r8, rax
lea rcx, [rbp + 0xc0]
call fcn.180006960
nop
lea rdi, [0x18007bd10]
mov rdx, rdi
cmp qword [0x18007bd28], 0xf
cmova rdx, qword [0x18007bd10]
mov r8, qword [0x18007bd20]
lea rcx, [rbp + 0xc0]
call fcn.180008020
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x18000e705
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e700
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e700
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9b0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18000e760
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e75b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e75b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9b0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18000e7b5
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e7b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e7b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova r8, qword [rbp + 0xa0]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, [0x180041f68]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rbx, qword [0x18007bd50]
lea rcx, [rbp + 0x80]
call fcn.180037e70
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [0x18007bd50]
lea rcx, [rbp + 0x100]
call fcn.18000df90
nop
mov r8d, 1
lea rdx, [0x180041a80]
mov rcx, rax
call fcn.180008020
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
cmp qword [0x18007bd28], 0xf
cmova rdi, qword [0x18007bd10]
mov r8, qword [0x18007bd20]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.180008020
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.180038050
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18000e8fc
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e8f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e8f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9b0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x18000e951
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e94c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e94c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9b0]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x18000e9ad
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e9a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e9a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18000e9f1
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e9ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e9ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003c440
movdqa xmm0, xmmword [0x18004d9b0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call fcn.18000af10
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18003c0b0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp + 0x60]
call fcn.18000c5a0
nop
call fcn.180002b70
int3
call fcn.180009060
int3