Function at 0x1400071b4
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
xor r13d, r13d
lea rcx, [rsp + 0x40]
mov r12, rdx
mov dword [rbp + 0x3f0], r13d
xor edx, edx
mov dword [rbp + 0x400], r13d
mov ebx, r13d
lea edi, [r13 + 0x68]
mov r8d, edi
call fcn.14002f810
mov ecx, 0x100
mov dword [rsp + 0x40], edi
lea rax, [rbp - 0x50]
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x40]
lea rax, [rbp + 0x1b0]
mov dword [rbp - 0x70], ecx
xor r8d, r8d
mov qword [rbp - 0x78], rax
xor edx, edx
lea rcx, str.http:__api.aselock.com.cn_f_D2.bin
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140007254
lea rcx, [0x14003c9f0]
call fcn.140007134
xor eax, eax
jmp 0x1400074ef
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, str.WinHTTP_Example_1.0
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
jne 0x14000727f
lea rcx, [0x14003ca28]
jmp 0x140007248
movzx r8d, word [rsp + 0x64]
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
jne 0x1400072b5
lea rcx, [0x14003ca38]
call fcn.140007134
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14000724d
cmp dword [rsp + 0x54], 2
lea rdx, [0x14003ca48]
mov r8, qword [rbp - 0x78]
mov eax, r13d
mov ecx, 0x800000
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x140007309
lea rcx, [0x14003ca50]
call fcn.140007134
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1400072aa
mov r9d, 4
mov dword [rbp + 0x408], 0x3300
lea r8, [rbp + 0x408]
mov rcx, r14
lea edx, [r9 + 0x1b]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], r13d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14000735d
lea rcx, [0x14003ca68]
call fcn.140007134
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140007378
lea rcx, [0x14003ca80]
jmp 0x1400074b6
lea rdx, [rbp + 0x3f0]
mov dword [rbp + 0x3f0], r13d
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400074af
mov eax, dword [rbp + 0x3f0]
test eax, eax
je 0x1400074bb
lea ecx, [rax + 1]
call fcn.140017acc
mov rdi, rax
test rax, rax
je 0x14000748d
mov r8d, dword [rbp + 0x3f0]
xor edx, edx
inc r8d
mov rcx, rax
call fcn.14002f810
mov r8d, dword [rbp + 0x3f0]
lea r9, [rbp + 0x400]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140007477
mov edx, dword [rbp + 0x400]
mov rcx, rbx
add rdx, qword [r12]
call fcn.1400179f8
test rax, rax
je 0x140007440
mov rcx, qword [r12]
mov rdx, rdi
mov r8d, dword [rbp + 0x400]
add rcx, rax
mov rbx, rax
call fcn.14002f170
mov eax, dword [rbp + 0x400]
mov rcx, rdi
add qword [r12], rax
call fcn.140012540
cmp dword [rbp + 0x3f0], r13d
ja 0x140007378
jmp 0x1400074bb
mov ecx, 2
call fcn.140016980
mov rcx, rax
lea rdx, str.Memory_allocation_failed_n
call fcn.1400070f0
mov rcx, rdi
call fcn.140012540
test rbx, rbx
je 0x14000724d
mov rcx, rbx
call fcn.140012540
jmp 0x14000724d
lea rcx, [0x14003cac8]
call fcn.140007134
mov rcx, rdi
call fcn.140012540
jmp 0x1400074bb
mov ecx, 2
call fcn.140016980
mov rcx, rax
lea rdx, str.Out_of_memory_n
call fcn.1400070f0
mov dword [rbp + 0x3f0], r13d
jmp 0x1400074bb
lea rcx, [0x14003ca98]
call fcn.140007134
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [r12], r13
jne 0x1400074ec
test rbx, rbx
je 0x1400074ec
mov rcx, rbx
call fcn.140012540
mov rbx, r13
mov rax, rbx
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret