Function at 0x6a7ce7e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, edx
sub esp, 0x85c
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
mov dword [edx], 0
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0x82c], eax
call eax
mov dword [ebp - 0x834], ebx
lea edi, [eax + eax + 0x143]
lea eax, [ebx + esi*8]
mov esi, ebx
mov dword [ebp - 0x830], eax
lea esi, [esi]
nop
mov eax, dword [esi]
add esi, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x82c]
call eax
mov ebx, eax
mov eax, dword [esi - 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x82c]
call eax
lea eax, [eax + ebx*2 + 0xd]
add edi, eax
cmp dword [ebp - 0x830], esi
jne 0x6a7ce830
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, dword [ebp - 0x834]
mov dword [esp], edi
mov dword [ebp - 0x840], eax
call eax
mov dword [ebp - 0x838], eax
test eax, eax
je 0x6a7cec57
mov eax, dword [0x6a7d44cc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6a7d45d0
mov dword [esp + 4], str.POST
mov dword [esp], eax
call dword [0x6a7e430c]
mov dword [ebp - 0x834], eax
sub esp, 0x1c
test eax, eax
je 0x6a7ce9fe
mov eax, dword [0x6a7d47d0]
mov esi, dword [ebp - 0x838]
mov dword [esp + 4], edi
mov dword [esp + 8], str.__xml_version_1.0____r_n_SOAP_ENV:Envelope_xmlns:SOAP_ENV_http:__schemas.xmlsoap.org_soap_envelope___SOAP_ENV:encodingStyle_http:__schemas.xmlsoap.org_soap_encoding____r_n___SOAP_ENV:Body__r_n_____m:_S_xmlns:m_urn:schemas_upnp_org:service:WANIPConnection:_u___r_n
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x83c]
mov dword [esp], esi
mov dword [esp + 0xc], eax
call sym._snprintf
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], esi
mov dword [ebp - 0x82c], eax
call eax
add esi, eax
sub edi, eax
lea esi, [esi]
mov eax, dword [ebx]
add ebx, 8
mov dword [esp + 0x14], eax
mov ecx, dword [ebx - 4]
mov dword [esp + 4], edi
mov dword [esp + 0x10], ecx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.________S__S___S__r_n
call sym._snprintf
mov dword [esp], esi
mov eax, dword [ebp - 0x82c]
call eax
add esi, eax
sub edi, eax
cmp ebx, dword [ebp - 0x830]
jne 0x6a7ce918
mov eax, dword [ebp - 0x83c]
mov dword [esp + 4], edi
mov dword [esp], esi
lea esi, [ebp - 0x818]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.______m:_S__r_n____SOAP_ENV:Body__r_n__SOAP_ENV:Envelope__r_n
call sym._snprintf
mov edi, dword [ebp - 0x838]
mov edx, dword [ebp - 0x82c]
mov dword [esp], edi
call edx
mov dword [esp + 8], str.SOAPAction:__urn:schemas_upnp_org:service:WANIPConnection:_u_s__r_nContent_Type:_text_xml
mov ebx, eax
mov eax, dword [ebp - 0x83c]
mov dword [esp + 4], 0x400
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, dword [0x6a7d47d0]
mov dword [esp + 0xc], eax
call sym._swprintf
mov eax, dword [ebp - 0x834]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [0x6a7e431c]
sub esp, 0x1c
mov ebx, eax
test eax, eax
jne 0x6a7cea38
test byte [0x6a7d40e8], 4
jne 0x6a7ceb10
xor ebx, ebx
xor esi, esi
mov dword [esp], esi
mov esi, dword [sym.imp.ucrtbase.dll_free]
call esi
mov eax, dword [ebp - 0x838]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x834]
mov dword [esp], eax
call dword [0x6a7e42fc]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x834]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x6a7e4318]
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x6a7ceaa0
test byte [0x6a7d40e8], 4
je 0x6a7ce9fe
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Error_receiving_response__lu._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.request_service
xor esi, esi
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cea02
lea eax, [ebp - 0x824]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x824], 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x834]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], eax
call dword [0x6a7e4310]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x6a7ceaf5
cmp eax, 0xc8
je 0x6a7ceb30
cmp eax, 0x1f4
je 0x6a7ceb30
mov ebx, 1
xor esi, esi
jmp 0x6a7cea02
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Error_sending_request__lu._n
mov dword [esp + 0x10], eax
jmp 0x6a7cea76
mov dword [esp], 0x400
mov eax, dword [ebp - 0x840]
call eax
test eax, eax
je 0x6a7ce9fe
mov dword [ebp - 0x82c], 0x400
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x830], 0x3ff
nop
lea eax, [ebp - 0x824]
lea esi, [ebx + edi]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x830]
mov dword [esp + 4], esi
sub eax, edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x834]
mov dword [esp], eax
call dword [0x6a7e4314]
sub esp, 0x10
mov edx, eax
test eax, eax
je 0x6a7cebe8
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x6a7cebe8
add edi, eax
lea eax, [edi + 1]
cmp eax, dword [ebp - 0x82c]
jne 0x6a7ceb60
shl dword [ebp - 0x82c], 1
mov esi, dword [ebp - 0x82c]
mov dword [ebp - 0x830], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x830]
test eax, eax
je 0x6a7cec4e
mov ebx, eax
lea eax, [esi - 1]
mov dword [ebp - 0x830], eax
jmp 0x6a7ceb60
mov eax, dword [ebp + 0x10]
mov edx, esi
mov esi, ebx
mov byte [edx], 0
cmp dword [eax], 0xc8
je 0x6a7cec3a
mov eax, ebx
mov ecx, 1
lea edx, [ebp - 0x820]
mov dword [ebp - 0x820], str.errorCode
mov dword [ebp - 0x81c], 0
call sym._get_xml_elements
mov ebx, eax
test eax, eax
je 0x6a7cea02
mov eax, dword [ebp - 0x81c]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x6a7cea02
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, ebx
call sym._get_xml_elements
mov ebx, eax
jmp 0x6a7cea02
mov esi, ebx
mov ebx, edx
jmp 0x6a7cea02
xor ebx, ebx
jmp 0x6a7cea2a