Function at 0x180043a70
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xc0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1800f0938]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x118], 0x7d0
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x180043d84
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8w, 0x50
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsi + 8], rax
test rax, rax
je 0x180043d84
lea rcx, [0x1800cde78]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x84000000
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, str.HTTP_1.0
mov r8, rdi
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsi], rax
test rax, rax
je 0x180043d84
lea r9d, [r12 + 4]
lea r8, [rsp + 0x118]
lea edx, [r12 + 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x180043d84
lea r9d, [r12 + 4]
lea r8, [rsp + 0x118]
lea edx, [r12 + 5]
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x180043d84
lea r9d, [r12 + 4]
lea r8, [rsp + 0x118]
lea edx, [r12 + 6]
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x180043d84
mov eax, dword [rsp + 0x110]
test eax, eax
je 0x180043d84
mov rdi, rax
mov edx, 7
mov qword [rsp + 0x80], rdx
mov r8, r12
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r8w
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x180043c27
call fcn.180097730
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
cmp rdx, rdi
jae 0x180043c43
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.180003d30
mov rdx, qword [rsp + 0x80]
jmp 0x180043c61
test rdi, rdi
jne 0x180043c61
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x68]
cmp rdx, 8
cmovae rax, qword [rsp + 0x68]
mov word [rax], di
jmp 0x180043ca6
test rdi, rdi
je 0x180043ca6
lea rcx, [rsp + 0x68]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x68]
lea rbx, [rdi + rdi]
add rdx, rdx
mov r9, rbx
mov r8, rbp
call fcn.180098b20
mov qword [rsp + 0x78], rdi
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov word [rbx + rax], 0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.18002f0e0
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae r9, qword [rsp + 0x90]
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x180043d3a
cmp qword [rsp + 0xa8], 0x10
jb 0x180043d07
mov rcx, qword [rsp + 0x90]
call fcn.180098980
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], r12
mov byte [rsp + 0x90], 0
cmp qword [rsp + 0x80], 8
jb 0x180043d84
mov rcx, qword [rsp + 0x68]
call fcn.180098980
jmp 0x180043d84
cmp qword [rsp + 0xa8], 0x10
jb 0x180043d52
mov rcx, qword [rsp + 0x90]
call fcn.180098980
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], r12
mov byte [rsp + 0x90], 0
cmp qword [rsp + 0x80], 8
jb 0x180043d84
mov rcx, qword [rsp + 0x68]
call fcn.180098980
nop
mov rax, rsi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180099050
add rsp, 0xc0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret