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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x168
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x1800fca30]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r14, r9
mov r13, r8
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0xa8], rcx
mov dword [rsp + 0x1d8], 0x7d0
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], r15d
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 0x1800445d4
mov edx, 7
lea r12d, [r15 + 0x50]
mov qword [rsp + 0xf8], rdx
mov r8, r15
mov qword [rsp + 0xf0], r15
mov word [rsp + 0xe0], r8w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
jbe 0x180043d00
call fcn.1800a09f0
mov rdx, qword [rsp + 0xf8]
mov r8, qword [rsp + 0xf0]
cmp rdx, rbx
jae 0x180043d1f
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call fcn.180003710
mov rdx, qword [rsp + 0xf8]
jmp 0x180043d46
test rbx, rbx
jne 0x180043d46
mov qword [rsp + 0xf0], r15
lea rax, [rsp + 0xe0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax], bx
jmp 0x180043d9a
test rbx, rbx
je 0x180043d9a
lea rcx, [rsp + 0xe0]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xe0]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
mov r8, rbp
call fcn.1800a1c40
mov qword [rsp + 0xf0], rbx
lea rax, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rax, qword [rsp + 0xe0]
mov word [rax + rdi], 0
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r15
mov word [rsp + 0x70], 0
mov r9d, 2
lea r8, [0x1800d7f34]
lea edx, [r9 + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1800a1c40
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rax, qword [rsp + 0x70]
mov word [rax + 2], 0
mov edx, 7
mov qword [rsp + 0x60], rdx
mov r8, r15
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r8w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
jbe 0x180043e42
call fcn.1800a09f0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
cmp rdx, rbx
jae 0x180043e5b
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180003710
mov rdx, qword [rsp + 0x60]
jmp 0x180043e79
test rbx, rbx
jne 0x180043e79
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x48]
cmp rdx, 8
cmovae rax, qword [rsp + 0x48]
mov word [rax], bx
jmp 0x180043ebb
test rbx, rbx
je 0x180043ebb
lea rcx, [rsp + 0x48]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x48]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
mov r8, rbp
call fcn.1800a1c40
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov word [rax + rdi], 0
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.180033330
nop
cmp qword [rsp + 0x60], 8
jb 0x180043ee5
mov rcx, qword [rsp + 0x48]
call fcn.1800a2030
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], 0
cmp qword [rsp + 0x88], 8
jb 0x180043f0f
mov rcx, qword [rsp + 0x70]
call fcn.1800a2030
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r15
mov word [rsp + 0x70], 0
mov ebx, r15d
cmp qword [rsp + 0xc8], rbx
je 0x180044082
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
cmovae rdx, qword [rsp + 0xb8]
mov rdi, r15
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x180043f8b
cmp ax, 0x39
ja 0x180043f85
movzx eax, ax
sub eax, 0x30
movsxd rcx, eax
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
add rdx, 2
mov ax, word [rdx]
cmp ax, 0x30
jae 0x180043f61
test edi, edi
cmovne r12d, edi
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], bx
mov r9d, 2
lea r8, [0x1800d7f34]
lea edx, [r9 + 0xc]
lea rcx, [rsp + 0x130]
call fcn.1800a1c40
mov qword [rsp + 0x140], 1
lea rax, [rsp + 0x130]
cmp qword [rsp + 0x148], 8
cmovae rax, qword [rsp + 0x130]
mov word [rax + 2], bx
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x100]
call fcn.1800332a0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1800030a0
nop
cmp qword [rsp + 0x120], 8
jb 0x18004403d
mov rcx, qword [rsp + 0x108]
call fcn.1800a2030
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r15
mov word [rsp + 0x108], 0
cmp qword [rsp + 0x148], 8
jb 0x180044073
mov rcx, qword [rsp + 0x130]
call fcn.1800a2030
mov eax, 0x800000
cmp r12d, 0x1bb
cmove ebx, eax
lea rdx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 8
cmovae rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, r12w
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsi + 8], rax
test rax, rax
jne 0x180044123
cmp qword [rsp + 0xd0], 8
jb 0x1800440e4
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
jmp 0x1800445d4
lea rcx, [0x1800d8620]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], r15
or ebx, 0x84000000
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
lea r9, str.HTTP_1.0
mov r8, r13
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsi], rax
test rax, rax
jne 0x1800441d4
cmp qword [rsp + 0xd0], 8
jb 0x180044195
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
jmp 0x1800445d4
mov r9d, 4
lea r8, [rsp + 0x1d8]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x18004424a
cmp qword [rsp + 0xd0], 8
jb 0x18004420b
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
jmp 0x1800445d4
mov r9d, 4
lea r8, [rsp + 0x1d8]
lea edx, [r9 + 1]
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x1800442c0
cmp qword [rsp + 0xd0], 8
jb 0x180044281
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
jmp 0x1800445d4
mov r9d, 4
lea r8, [rsp + 0x1d8]
lea edx, [r9 + 2]
mov rcx, qword [rsi]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x180044336
cmp qword [rsp + 0xd0], 8
jb 0x1800442f7
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
jmp 0x1800445d4
mov eax, dword [rsp + 0x1d0]
test eax, eax
je 0x180044585
mov rbx, rax
mov edx, 7
mov qword [rsp + 0x120], rdx
mov r8, r15
mov qword [rsp + 0x118], r15
mov word [rsp + 0x108], r8w
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x18004438d
call fcn.1800a09f0
mov rdx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x118]
cmp rdx, rbx
jae 0x1800443ac
mov rdx, rbx
lea rcx, [rsp + 0x100]
call fcn.180003710
mov rdx, qword [rsp + 0x120]
jmp 0x1800443d3
test rbx, rbx
jne 0x1800443d3
mov qword [rsp + 0x118], r15
lea rax, [rsp + 0x108]
cmp rdx, 8
cmovae rax, qword [rsp + 0x108]
mov word [rax], bx
jmp 0x180044427
test rbx, rbx
je 0x180044427
lea rcx, [rsp + 0x108]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x108]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
mov r8, r14
call fcn.1800a1c40
mov qword [rsp + 0x118], rbx
lea rax, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rax, qword [rsp + 0x108]
mov word [rax + rdi], 0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x128]
call fcn.18001cc80
lea r9, [rsp + 0x130]
cmp qword [rsp + 0x148], 0x10
cmovae r9, qword [rsp + 0x130]
mov eax, dword [rsp + 0x140]
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 0x180044538
cmp qword [rsp + 0x148], 0x10
jb 0x18004448f
mov rcx, qword [rsp + 0x130]
call fcn.1800a2030
mov qword [rsp + 0x148], 0xf
mov qword [rsp + 0x140], r15
mov byte [rsp + 0x130], 0
cmp qword [rsp + 0x120], 8
jb 0x1800444c3
mov rcx, qword [rsp + 0x108]
call fcn.1800a2030
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r15
mov word [rsp + 0x108], 0
cmp qword [rsp + 0xd0], 8
jb 0x1800444f9
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
jmp 0x1800445d4
cmp qword [rsp + 0x148], 0x10
jb 0x180044550
mov rcx, qword [rsp + 0x130]
call fcn.1800a2030
mov qword [rsp + 0x148], 0xf
mov qword [rsp + 0x140], r15
mov byte [rsp + 0x130], 0
cmp qword [rsp + 0x120], 8
jb 0x180044585
mov rcx, qword [rsp + 0x108]
call fcn.1800a2030
nop
cmp qword [rsp + 0xd0], 8
jb 0x18004459d
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], 0
cmp qword [rsp + 0xf8], 8
jb 0x1800445d4
mov rcx, qword [rsp + 0xe0]
call fcn.1800a2030
nop
mov rax, rsi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800a3210
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret