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

Disassembly:
push r15
xor eax, eax
mov r15, rcx
mov ecx, 0x100
push r14
mov r14, rdx
xor edx, edx
push r13
mov r13, r9
xor r9d, r9d
push r12
mov r12, r8
xor r8d, r8d
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
lea rdi, [rsp + 0x70]
mov dword [rsp + 0x68], r8d
rep stosd dword [rdi], eax
mov rdi, qword [0x14000bb60]
mov dword [rsp + 0x6c], r8d
xor r8d, r8d
mov rcx, qword [rdi + 0x28]
mov dword [rsp + 0x20], r9d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x48], rax
test rax, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
jne 0x140008e33
call rsi
lea rcx, str.WinHttpOpen:_Failed____d_n
mov edx, eax
jmp 0x140008e6d
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
movzx r8d, word [rdi + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbp, rax
call rsi
lea rcx, str.__WinHttpConnect___d_n
mov edx, eax
call fcn.140009180
test rbp, rbp
jne 0x140008e7d
call rsi
lea rcx, str.WinHttpConnect:_Failed____d_n
mov edx, eax
call fcn.140009180
xor esi, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x140009069
xor ecx, ecx
mov dword [rsp + 0x30], 0x800000
xor r9d, r9d
lea r8, str.index.php
mov qword [rsp + 0x28], rcx
lea rdx, str.POST
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
jne 0x140008edb
call rsi
lea rcx, str.WinHttpOpenRequest_failed:__lu_n
mov edx, eax
call fcn.140009180
mov rcx, rbp
mov rbx, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rbx
mov rcx, qword [rsp + 0x48]
call rbx
jmp 0x140009081
lea rcx, str.111_n
call fcn.140009180
call rsi
lea rcx, str.__WinHttpOpenRequest___d_n
mov edx, eax
call fcn.140009180
mov dword [rsp + 0x68], 0x3300
mov r9d, 4
mov rcx, rbx
lea r8, [rsp + 0x68]
mov edx, 0x1f
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140008f29
call rsi
lea rcx, str.WinHttpSetOption:_Failed____d_n
mov edx, eax
jmp 0x140008f34
call rsi
lea rcx, str.__WinHttpSetOption____d_n
mov edx, eax
call fcn.140009180
xor edx, edx
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x30], rdx
mov r9, r15
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140009040
test r12, r12
je 0x140009067
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140009067
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReadData]
xor edi, edi
xor r15d, r15d
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
lea r9, [rsp + 0x6c]
mov rcx, rbx
mov r8d, 0x400
call rax
mov r14d, eax
test eax, eax
je 0x140008fbb
mov edx, dword [rsp + 0x6c]
test edx, edx
jne 0x140008fd1
jmp 0x140009029
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.WinHttpReadData:_Failed___d__n
mov edx, eax
call fcn.140009180
jmp 0x140009029
test r15, r15
jne 0x140008fe3
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x140008ff5
add rdx, rdi
mov r8d, 0x42
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [rsp + 0x6c]
mov r15, rax
lea rax, [rax + rdi]
mov rsi, qword [rsp + 0x50]
lea rdx, [rcx + rdi]
mov rdi, rax
xor eax, eax
dec r14d
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x50]
mov ecx, 0x100
rep stosd dword [rdi], eax
jne 0x14000902c
mov rdi, rdx
jmp 0x140008f90
mov rdx, rdi
test r13, r13
je 0x140009035
mov qword [r13], rdx
mov qword [r12], r15
mov esi, 1
jmp 0x140009069
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
cmp eax, 0x2efd
jne 0x140009057
xor eax, eax
mov dword [rdi + 0xc], eax
jmp 0x140009067
call rsi
lea rcx, str.WinHttpSendRequest:_Failed____d_n
mov edx, eax
call fcn.140009180
xor esi, esi
mov rcx, qword [rsp + 0x48]
mov rdi, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rdi
mov rcx, rbp
call rdi
mov rcx, rbx
call rdi
add rsp, 0x478
mov eax, esi
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret