Function at 0x14028bbe0
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x158]
sub rsp, 0x258
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov r12, r9
mov rbx, r8
mov rdi, rcx
lea rax, [0x14035e948]
mov qword [rbp - 0x80], rax
xor r13d, r13d
mov qword [rbp - 0x78], r13
mov dword [rsp + 0x30], 0x140
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rdx]
lea rdx, str.POST
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14028bccb
mov qword [rbp + 0x70], 0xf
mov qword [rbp + 0x68], r13
mov byte [rbp + 0x58], r13b
lea r8d, [r13 + 0x23]
lea rdx, str.Cant_create_request_to_the_server.
lea rcx, [rbp + 0x58]
call fcn.1400243d0
nop
lea rax, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rax, qword [rbp + 0x58]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x70], r11
mov dword [rbp - 0x58], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp - 0x70]
call fcn.1402510b4
nop
mov dword [rsp + 0x40], r13d
mov rsi, r13
test rbx, rbx
je 0x14028bce9
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, rax
mov r9d, 0x80000000
mov r8d, 0xd
lea rdx, str.Accept:___r_n
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14028bd88
mov qword [rbp + 0xc0], 0xf
mov qword [rbp + 0xb8], r13
mov byte [rbp + 0xa8], r13b
lea r8d, [rax + 0x35]
lea rdx, str.Internet_connection_error:_cant_add_request_headers.
lea rcx, [rbp + 0xa8]
call fcn.1400243d0
nop
lea rax, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rax, qword [rbp + 0xa8]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x10], r11
mov dword [rbp + 8], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp - 0x10]
call fcn.1402510b4
nop
mov r9d, 0x10000000
mov r8d, 0x4e
lea rdx, str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14028be27
mov qword [rbp + 0x110], 0xf
mov qword [rbp + 0x108], r13
mov byte [rbp + 0xf8], r13b
lea r8d, [rax + 0x35]
lea rdx, str.Internet_connection_error:_cant_add_request_headers.
lea rcx, [rbp + 0xf8]
call fcn.1400243d0
nop
lea rax, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rax, qword [rbp + 0xf8]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x30]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp + 0x30], r11
mov dword [rbp + 0x48], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp + 0x30]
call fcn.1402510b4
nop
lea rcx, [0x14042f270]
mov rax, qword [0x14042f270]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8d, dword [rsp + 0x40]
lea rdx, str.Content_Length:__d_r_n
lea rcx, [rsp + 0x48]
call fcn.14001bdb0
mov rbx, qword [rsp + 0x48]
mov r9d, 0x10000000
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14028bef4
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r13
mov byte [rbp + 0x80], al
lea r8d, [rax + 0x35]
lea rdx, str.Internet_connection_error:_cant_add_request_headers.
lea rcx, [rbp + 0x80]
call fcn.1400243d0
nop
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rax, qword [rbp + 0x80]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x30], r11
mov dword [rbp - 0x18], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp - 0x30]
call fcn.1402510b4
nop
mov rax, qword [r12]
mov r8d, dword [rax - 0x10]
mov rdx, r13
test r8d, r8d
cmovne rdx, rax
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14028bfa5
mov qword [rbp + 0xe8], 0xf
mov qword [rbp + 0xe0], r13
mov byte [rbp + 0xd0], al
lea r8d, [rax + 0x21]
lea rdx, str.Cant_send_request_to_the_server.
lea rcx, [rbp + 0xd0]
call fcn.1400243d0
nop
lea rax, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rax, qword [rbp + 0xd0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp + 0x10], r11
mov dword [rbp + 0x28], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp + 0x10]
call fcn.1402510b4
nop
xor edx, edx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x14028c032
mov qword [rbp + 0x138], 0xf
mov qword [rbp + 0x130], r13
mov byte [rbp + 0x120], al
lea r8d, [rax + 0x24]
lea rdx, str.Cant_receive_request_to_the_server.
lea rcx, [rbp + 0x120]
call fcn.1400243d0
nop
lea rax, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae rax, qword [rbp + 0x120]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140251b88
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x50], r11
mov dword [rbp - 0x38], 7
lea rdx, [0x1403df7a0]
lea rcx, [rbp - 0x50]
call fcn.1402510b4
nop
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rax, qword [rdi]
lea r9, [rsp + 0x44]
mov r8, rsi
xor edx, edx
mov rcx, rdi
call qword [rax + 0x10]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14028c069
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x258
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret