Function at 0x1400079a0
Capabilities:
Check http status code
Create http request

Disassembly:
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14004c180]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [rcx + 0x18], 0x10
jb 0x1400079d3
mov r14, qword [rcx]
mov rdi, r14
add r14, qword [rcx + 0x10]
jmp 0x1400079dd
mov r14, qword [rcx + 0x10]
mov rdi, rcx
add r14, rcx
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x78], rsi
mov ebx, 7
xor esi, esi
mov qword [rbp - 0x18], rbx
movups xmmword [rbp - 0x30], xmm0
cmp rdi, r14
jne 0x140007a0b
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
jmp 0x140007b1f
mov rax, r14
movabs rcx, 0x7ffffffffffffffe
sub rax, rdi
mov rdx, rsi
mov qword [rbp - 0x20], rdx
cmp rax, rcx
ja 0x140007c26
cmp rax, 8
jb 0x140007ae0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140007a46
mov rbx, rcx
jmp 0x140007a52
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rax, 0xffffffffffffffff
mov rcx, rbx
add rcx, 1
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140007c20
add rcx, rcx
cmp rcx, 0x1000
jb 0x140007ab6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007c20
mov rcx, rax
call fcn.140034960
mov rcx, rax
test rax, rax
je 0x140007be9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x20]
jmp 0x140007ac9
test rcx, rcx
je 0x140007ac6
call fcn.140034960
mov rdx, qword [rbp - 0x20]
jmp 0x140007ac9
mov rax, rsi
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x18], rbx
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdi]
lea rcx, [rbp - 0x30]
cmp rbx, 8
cmovae rcx, qword [rbp - 0x30]
inc rdi
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp - 0x20]
inc rdx
mov qword [rbp - 0x20], rdx
cmp rdi, r14
je 0x140007b0d
mov rbx, qword [rbp - 0x18]
jmp 0x140007ae0
cmp qword [rbp - 0x18], 8
lea rax, [rbp - 0x30]
cmovae rax, qword [rbp - 0x30]
mov word [rax + rdx*2], si
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, str.Baidu
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
cmp qword [rbp - 0x18], 8
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x28], rsi
mov rcx, rax
cmovae rdx, qword [rbp - 0x30]
mov rdi, rax
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
je 0x140007bb0
lea r9, [rbp - 0x10]
mov dword [rbp - 0x10], 4
lea r8, [rbp - 0xc]
mov qword [rsp + 0x20], rsi
mov edx, 0x20000013
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rbp - 0xc], 0x194
je 0x140007bb0
xor bl, bl
jmp 0x140007bb2
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140007bf5
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007bf0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007bf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003499c
mov rsi, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140034940
lea r11, [rsp + 0x60]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140001410
int3
call fcn.1400014b0
int3