Function at 0x140002428
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x140024000
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0x10]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rax, 0x12
jb 0x1400242ba
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140024054
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_select
lea r9, [0x140114970]
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.1400020a9
nop
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, rdx
jb 0x1400242c0
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400240a8
mov r9, qword [rdi]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400240b5
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400020a9
nop
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 0xf
cmova r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rdx, qword [rsp + 0x90]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x140024273
mov rdx, rdi
mov rcx, rbx
call fcn.1400030cb
test al, al
jne 0x140024174
movabs rbp, 0x7ffffffffa0a1eff
lea rcx, [rsp + 0x50]
call fcn.140002590
mov rax, qword [rsp + 0x50]
cmp rax, rbp
jge 0x140024156
add rax, 0x5f5e100
mov qword [rsp + 0x48], rax
jmp 0x14002415b
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x48]
call fcn.140002081
mov rdx, rdi
mov rcx, rbx
call fcn.1400030cb
test al, al
je 0x140024135
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140024182
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002487
lea rdx, str._Waiting_for...
mov rcx, rax
call fcn.140001384
lea rdx, [0x140001154]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x1400241f4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400241ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400241ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b85
movdqa xmm0, xmmword [0x140113280]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x140024250
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002424b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002424b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b85
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140002077
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.140002abd
nop
mov r8, rax
lea rdx, str.Failed_to_download_file._Error_code:
lea rcx, [rsp + 0xd0]
call fcn.140003201
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001cbc
lea rdx, [0x140142c50]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14000213a
nop
call fcn.14000213a
int3