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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x14003a020]
xor rax, rsp
mov qword [rbp + 8], rax
mov r14, r9
mov r13d, r8d
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r9
mov rdi, qword [rbp + 0x80]
mov qword [rbp - 0x48], rdi
and dword [rsp + 0x40], 0
mov r12, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140002718
mov r12, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x14000271c
lea rcx, [rbp - 0x18]
call fcn.1400021f0
nop
mov rdx, r14
lea rcx, [rbp - 0x38]
call fcn.1400021f0
nop
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 0xf
mov byte [r15], al
mov dword [rsp + 0x40], 1
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x40], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.xxyy
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400029af
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
xor r9d, r9d
movzx r8d, r13w
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x68], rax
xor ecx, ecx
test rax, rax
je 0x1400029a3
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae r8, qword [rbp - 0x38]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r13, rax
test rax, rax
je 0x140002998
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9, r12
or r8d, 0xffffffff
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor ebx, ebx
test eax, eax
je 0x14000298f
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000298f
mov dword [rbp - 0x60], ebx
lea rdx, [rbp - 0x60]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov ecx, dword [rbp - 0x60]
inc ecx
call fcn.140009a78
mov r12, rax
mov r8d, dword [rbp - 0x60]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14000ba30
lea r9, [rbp - 0x40]
mov r8d, dword [rbp - 0x60]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140002986
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], bl
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x140002896
lea rcx, [rsp + 0x48]
cmp rbx, 0xf
ja 0x1400028c2
mov qword [rsp + 0x58], rbx
mov r8, rbx
mov rdx, r12
call fcn.14000b380
mov byte [rsp + rbx + 0x48], 0
jmp 0x1400028ce
mov r9, r12
mov rdx, rbx
call fcn.14000631c
nop
lea r8, [rsp + 0x48]
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140005b58
xor ebx, ebx
cmp r15, rax
je 0x1400028f5
mov r8b, bl
mov rdx, rax
mov rcx, r15
call fcn.140005388
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140002931
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000292c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ab7
call fcn.1400092e0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000297e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002979
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002abd
call fcn.1400092e0
mov rcx, r12
call fcn.1400092e0
cmp dword [rbp - 0x60], ebx
ja 0x140002831
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rcx, [rbp - 0x38]
call fcn.140004f58
nop
lea rcx, [rbp - 0x18]
call fcn.140004f58
nop
mov rdx, qword [rsi + 0x18]
mov r13d, 0x1000
cmp rdx, 0x10
jb 0x1400029ff
mov rcx, qword [rsi]
inc rdx
cmp rdx, r13
jb 0x1400029fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002ac3
mov rcx, r8
call fcn.1400092e0
xor ebx, ebx
mov qword [rsi + 0x10], rbx
lea r12d, [rbx + 0xf]
mov qword [rsi + 0x18], r12
mov byte [rsi], bl
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140002a41
mov rcx, qword [r14]
inc rdx
cmp rdx, r13
jb 0x140002a3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002aab
mov rcx, r8
call fcn.1400092e0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], r12
mov byte [r14], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140002a7e
inc rdx
mov rcx, qword [rdi]
cmp rdx, r13
jb 0x140002a79
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002ab1
mov rcx, r8
call fcn.1400092e0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r12
mov byte [rdi], bl
mov rax, r15
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400092c0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140010250
nop
call fcn.140010250
nop
call fcn.140010250
nop
call fcn.140010250
nop
call fcn.140010250
int3