Function at 0x140026430
Capabilities:
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r15, rdx
mov rdi, rcx
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov rcx, qword [rcx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400268c8
mov eax, 0x4400040
mov edx, 0x4c00040
cmp dword [rdi + 0xa4], 2
cmove eax, edx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
lea rax, [0x14010d028]
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 [rdi + 0x18], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400268aa
mov r9d, 0x80000000
lea r8d, [r12 + 0xd]
lea rdx, str.Accept:___r_n
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x1400268e6
mov rdx, qword [str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n]
mov r14, 0xffffffffffffffff
mov r8, r14
nop
inc r8
cmp byte [rdx + r8], r12b
jne 0x140026510
mov r9d, 0x10000000
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x140026904
cmp qword [rdi + 0xc0], r12
jbe 0x140026791
mov qword [rsp + 0x68], r12
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x58], r12b
mov ecx, dword [rdi + 0xa4]
sub ecx, 1
je 0x14002656f
cmp ecx, 1
jne 0x14002658b
lea r8d, [rdx - 7]
lea rdx, str.https:__
jmp 0x14002657c
mov r8d, 7
lea rdx, str.http:__
lea rcx, [rsp + 0x58]
call fcn.14001d4c0
mov rdx, qword [rsp + 0x70]
lea r9, [rdi + 0x20]
cmp qword [r9 + 0x18], 0x10
jb 0x140026599
mov r9, qword [r9]
mov rsi, r14
nop dword [rax]
inc rsi
cmp byte [r9 + rsi], 0
jne 0x1400265a0
mov rcx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400265e9
lea rax, [rsi + rcx]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x1400265fe
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140016090
mov eax, dword [rdi + 0xa4]
cmp eax, 1
jne 0x140026612
cmp dword [rdi + 0xa0], 0x50
jmp 0x140026621
cmp eax, 2
jne 0x140026627
cmp dword [rdi + 0xa0], 0x1bb
je 0x1400266bb
xor eax, eax
mov qword [rsp + 0x78], rax
mov word [rbp - 0x80], ax
mov r8d, dword [rdi + 0xa0]
lea rdx, [0x1400cb58c]
lea rcx, [rsp + 0x78]
call fcn.1400272f0
lea rax, [rsp + 0x78]
mov rsi, r14
inc rsi
cmp byte [rax + rsi], 0
jne 0x140026652
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400266a1
lea rax, [rsi + rcx]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8, rsi
lea rdx, [rsp + 0x78]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x1400266bb
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140016090
mov rsi, r14
nop
inc rsi
cmp byte [r15 + rsi], 0
jne 0x1400266c0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14002670e
lea rax, [rcx + rsi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140026726
mov qword [rsp + 0x20], rsi
mov r9, r15
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140016090
mov rax, qword [rdi + 0xb8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140026787
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea r8, [rdx + 0x20]
cmp qword [r8 + 0x18], 0x10
jb 0x140026752
mov r8, qword [r8]
cmp qword [rdx + 0x18], 0x10
jb 0x14002675c
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x140026940
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0xb8]
jne 0x140026740
lea rcx, [rsp + 0x58]
call fcn.1400176a0
lea r8, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140025400
mov ebx, eax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rdx, str.Content_Length:__d_r_n
lea rcx, [rbp - 0x70]
call fcn.1400272f0
lea rax, [rbp - 0x70]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x1400267d0
mov r8, r14
mov r9d, 0x10000000
lea rdx, [rbp - 0x70]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x140026922
mov dword [0x140111430], 0x38
mov qword [0x140111438], r12
mov qword [rsp + 0x20], r12
mov r9d, 8
xor r8d, r8d
lea rdx, [0x140111430]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x14002695e
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140026989
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 8]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
je 0x1400269b2
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 + 0x390]
xor rcx, rsp
call fcn.14005f850
add rsp, 0x4a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, str.request_failed...
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, str.handle_not_opened...
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, str.additional_header_failed...
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, str.additional_header_failed...
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rax, str.additional_header_failed...
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rax, str.add_cookie_failed...
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140025c70
lea rax, str.request_failed
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rdx, rbx
mov rcx, rdi
call fcn.140025c70
lea rax, str.request_failed
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rdx, rbx
mov rcx, rdi
call fcn.140025c70
lea rax, str.request_failed
mov qword [rsp + 0x40], rax
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3