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

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x3d8]
sub rsp, 0x4d8
mov rax, qword [0x140080840]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xorps xmm0, xmm0
lea r9, [rsp + 0x50]
xor eax, eax
lea rcx, str.http:__www.024jiacheng.com_r.js
mov qword [rbp - 0x50], rax
xor ebx, ebx
lea rax, [rbp - 0x40]
mov dword [rsp + 0x40], ebx
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x68], rax
mov r12, rdx
lea rax, [rbp + 0x1c0]
mov dword [rsp + 0x44], ebx
movups xmmword [rsp + 0x50], xmm0
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x70], xmm0
mov r13d, ebx
mov dword [rsp + 0x50], WSAGetLastError
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x70], 0x100
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x60], 0x100
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140001192
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WinHttpCrackUrl_failed_n
call fcn.140001010
xor eax, eax
jmp 0x140001478
xor r9d, r9d
mov qword [rsp + 0x518], r14
xor r8d, r8d
mov dword [rsp + 0x20], ebx
xor edx, edx
lea rcx, str.WinHTTP_Example_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
test rax, rax
jne 0x1400011dc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WinHttpOpen_failed_n
call fcn.140001010
xor eax, eax
jmp 0x140001470
movzx r8d, word [rsp + 0x74]
xor r9d, r9d
mov rdx, qword [rsp + 0x68]
mov rcx, r14
mov qword [rsp + 0x4d0], r15
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
jne 0x14000122d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WinHttpConnect_failed_n
call fcn.140001010
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x140001468
cmp dword [rsp + 0x64], 2
lea rdx, [0x140077778]
mov r8, qword [rbp - 0x68]
mov eax, ebx
mov ecx, 0x800000
mov qword [rsp + 0x500], rsi
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
jne 0x1400012a4
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WinHttpOpenRequest_failed_n
call fcn.140001010
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x140001460
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400012e0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WinHttpSendRequest_failed_n
call fcn.140001010
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x14000130e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WinHttpReceiveResponse_failed_n
call fcn.140001010
jmp 0x140001442
mov qword [rsp + 0x510], rdi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov rcx, rsi
mov rdi, 0xffffffffffffffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x14000135a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error__u_in_WinHttpQueryDataAvailable._n
mov rcx, rax
call fcn.140001010
xor ebx, ebx
mov ecx, dword [rsp + 0x40]
add ecx, 1
cmovb rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14000141c
mov r8d, dword [rsp + 0x40]
xor edx, edx
inc r8d
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1400013ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Error__u_in_WinHttpReadData._n
mov rcx, rax
call fcn.140001010
jmp 0x140001405
mov edx, dword [rsp + 0x44]
mov rax, 0xffffffffffffffff
add rdx, qword [r12]
mov rcx, r13
cmovb rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rcx, qword [r12]
mov rdx, rdi
mov r8d, dword [rsp + 0x44]
add rcx, rax
mov r13, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x44]
add qword [r12], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rsp + 0x40], 0
jbe 0x14000143a
xor ebx, ebx
jmp 0x140001316
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Out_of_memory_n
call fcn.140001010
mov dword [rsp + 0x40], ebx
mov rdi, qword [rsp + 0x510]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, r13
mov rsi, qword [rsp + 0x500]
mov r15, qword [rsp + 0x4d0]
mov r14, qword [rsp + 0x518]
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140064c00
add rsp, 0x4d8
pop r13
pop r12
pop rbx
pop rbp
ret