Function at 0x180036480
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xb30
mov r13, qword [rsp + 0xb78]
mov rdi, r9
mov qword [rsp + 0x20], r9
mov rsi, r8
mov r9, r8
mov rbp, rdx
xor r12d, r12d
lea rcx, [rsp + 0xb0]
lea r8, str._s_s
mov edx, 0x80
mov dword [r13], r12d
mov word [rsp + 0x50], r12w
call qword [sym.imp.ntdll.dll__snprintf]
mov rbx, qword [rsp + 0xb70]
mov r9, rdi
mov edx, 0x800
lea rcx, [rsp + 0x330]
test rbx, rbx
jne 0x180036514
lea r8, str.__xml_version_1.0____r_n_s:Envelope_xmlns:s_http:__schemas.xmlsoap.org_soap_envelope___s:encodingStyle_http:__schemas.xmlsoap.org_soap_encoding____s:Body__u:_s_xmlns:u__s____u:_s___s:Body___s:Envelope__r_n
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntdll.dll__snprintf]
jmp 0x180036628
lea r8, str.__xml_version_1.0____r_n_s:Envelope_xmlns:s_http:__schemas.xmlsoap.org_soap_envelope___s:encodingStyle_http:__schemas.xmlsoap.org_soap_encoding____s:Body__u:_s_xmlns:u__s__
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntdll.dll__snprintf]
mov rdx, qword [rbx]
movsxd rcx, eax
lea rcx, [rsp + rcx + 0x330]
test rdx, rdx
je 0x1800365e8
nop dword [rax]
lea rax, [rcx + 0x64]
lea r8, [rsp + 0xb30]
cmp r8, rax
jbe 0x1800367a1
mov byte [rcx], 0x3c
movzx r8d, byte [rdx]
inc rcx
mov rax, rdx
test r8b, r8b
je 0x180036581
nop word [rax + rax]
inc rax
mov byte [rcx], r8b
inc rcx
mov r8b, byte [rax]
test r8b, r8b
jne 0x180036570
mov rax, qword [rbx + 8]
mov byte [rcx], 0x3e
inc rcx
test rax, rax
je 0x1800365b1
movzx r8d, byte [rax]
test r8b, r8b
je 0x1800365b1
nop dword [rax]
inc rax
mov byte [rcx], r8b
inc rcx
mov r8b, byte [rax]
test r8b, r8b
jne 0x1800365a0
mov byte [rcx], 0x3c
mov byte [rcx + 1], 0x2f
movzx eax, byte [rdx]
add rcx, 2
test al, al
je 0x1800365d1
inc rdx
mov byte [rcx], al
inc rcx
mov al, byte [rdx]
test al, al
jne 0x1800365c3
mov rdx, qword [rbx + 0x10]
add rbx, 0x10
mov byte [rcx], 0x3e
inc rcx
test rdx, rdx
jne 0x180036540
movzx eax, byte [rdi]
mov byte [rcx], 0x3c
mov byte [rcx + 1], 0x2f
mov byte [rcx + 2], 0x75
mov byte [rcx + 3], 0x3a
add rcx, 4
test al, al
je 0x180036610
inc rdi
mov byte [rcx], al
inc rcx
mov al, byte [rdi]
test al, al
jne 0x180036602
lea r8, [rsp + 0xb30]
lea rdx, str.___s:Body___s:Envelope__r_n
sub r8, rcx
call qword [sym.imp.ntdll.dll_strncpy]
test rbp, rbp
je 0x1800367a1
lea r9, [rsp + 0xb70]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rbp
mov qword [rsp + 0x20], r12
call fcn.180039550
test eax, eax
je 0x1800367a1
movzx ebx, word [rsp + 0x50]
lea rcx, [rsp + 0x60]
xor r8d, r8d
movzx edx, bx
call fcn.180039b60
movsxd rdi, eax
test eax, eax
js 0x1800367a1
lea rcx, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [rsp + 0xb78], r12b
movsxd rsi, eax
cmp bx, 0x50
je 0x1800366b5
lea r8, str.:_hu
lea rcx, [rsp + 0xb78]
movzx r9d, bx
mov edx, 8
call qword [sym.imp.ntdll.dll__snprintf]
mov r9, qword [rsp + 0xb70]
lea rax, [rsp + 0xb0]
lea r8, str.POST__s_HTTP__s_r_nHost:__s_s_r_nUser_Agent:_Microsoft_Windows_NT_5.1__UPnP_1.1__MiniUPnPc_2.0_r_nContent_Length:__d_r_nContent_Type:_text_xml_r_nSOAPAction:___s__r_nConnection:_Close_r_nCache_Control:_no_cache_r_nPragma:_no_cache_r_n_r_n
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0xb78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x130]
mov qword [rsp + 0x28], rax
lea rax, [0x18005125c]
mov edx, 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll__snprintf]
mov rcx, qword [0x180059270]
movsxd rbx, eax
xor edx, edx
lea r12d, [rbx + rsi]
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x180036798
lea rdx, [rsp + 0x130]
mov r8, rbx
mov rcx, rax
call sub.ntdll.dll_memcpy
lea rcx, [rbx + rbp]
lea rdx, [rsp + 0x330]
mov r8, rsi
call sub.ntdll.dll_memcpy
xor r9d, r9d
mov r8d, r12d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [0x180059270]
mov r8, rbp
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
jle 0x180036798
mov rdx, r13
mov ecx, edi
call fcn.180038bc0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rbx
jmp 0x1800367a3
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
lea r11, [rsp + 0xb30]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret