Function at 0x1400269e0
Capabilities:
Send data
Send http request

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140026dee
mov eax, 0x4400040
mov edx, 0x4c00040
cmp dword [rsi + 0xa4], 2
cmove eax, edx
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
lea rax, [0x14010d018]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea r9, str.HTTP_1.0
mov r8, r15
lea rdx, str.POST
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsi + 0x18], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140026dd2
mov r9d, 0x80000000
lea r8d, [rbx + 0xd]
lea rdx, str.Accept:___r_n
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x140026e0a
lea r14, [rbx - 1]
cmp qword [rsi + 0xc0], rbx
jbe 0x140026d23
mov qword [rbp - 0x28], rbx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], rdx
mov byte [rbp - 0x38], bl
mov ecx, dword [rsi + 0xa4]
sub ecx, 1
je 0x140026ae1
cmp ecx, 1
jne 0x140026afb
lea r8d, [rbx + 8]
lea rdx, str.https:__
jmp 0x140026aee
mov r8d, 7
lea rdx, str.http:__
lea rcx, [rbp - 0x38]
call fcn.14001d4c0
mov rdx, qword [rbp - 0x20]
lea r9, [rsi + 0x20]
cmp qword [r9 + 0x18], 0x10
jb 0x140026b09
mov r9, qword [r9]
mov rdi, r14
nop dword [rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140026b10
mov rcx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140026b55
lea rax, [rcx + rdi]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x38]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140026b69
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140016090
mov eax, dword [rsi + 0xa4]
cmp eax, 1
jne 0x140026b7d
cmp dword [rsi + 0xa0], 0x50
jmp 0x140026b8c
cmp eax, 2
jne 0x140026b92
cmp dword [rsi + 0xa0], 0x1bb
je 0x140026c21
xor eax, eax
mov qword [rbp - 0x18], rax
mov word [rbp - 0x10], ax
mov r8d, dword [rsi + 0xa0]
lea rdx, [0x1400cb58c]
lea rcx, [rbp - 0x18]
call fcn.1400272f0
lea rax, [rbp - 0x18]
mov rdi, r14
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140026bc0
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140026c09
lea rax, [rdi + rcx]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x38]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp - 0x18]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140026c21
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140016090
mov rdi, r14
inc rdi
cmp byte [r15 + rdi], 0
jne 0x140026c24
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140026c6d
lea rax, [rcx + rdi]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x38]
add rbx, rcx
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140026c84
mov qword [rsp + 0x20], rdi
mov r9, r15
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140016090
mov rax, qword [rsi + 0xb8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140026ce4
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea r8, [rdx + 0x20]
cmp qword [r8 + 0x18], 0x10
jb 0x140026cb2
mov r8, qword [r8]
cmp qword [rdx + 0x18], 0x10
jb 0x140026cbc
mov rdx, qword [rdx]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rcx, qword [rbp - 0x38]
call qword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x140026e26
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0xb8]
jne 0x140026ca0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140026d23
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026d1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026d1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f1b8
nop
mov rcx, rsi
call fcn.140025ca0
lea ebx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov rcx, rsi
call fcn.140025ca0
lea r8d, [rax + 1]
mov rdx, rbx
mov rcx, rsi
call fcn.140025cf0
mov rdx, qword [str.Content_Type:_application_x_www_form_urlencoded_r_n]
inc r14
cmp byte [rdx + r14], 0
jne 0x140026d66
mov r8, r14
mov dword [rsp + 0x20], eax
mov r9, rbx
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140026d99
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
jne 0x140026e42
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005f850
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rax, str.request_failed...
mov qword [rbp - 0x18], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, str.handle_not_opened...
mov qword [rbp - 0x18], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, str.additional_header_failed...
mov qword [rbp - 0x18], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rax, str.add_cookie_failed...
mov qword [rbp - 0x18], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, str.request_failed...
mov qword [rbp - 0x18], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3