Function at 0x10009e00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x840
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x81c], ecx
mov dword [ebp - 0x82c], eax
mov esi, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [edx], 0
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x81c]
mov dword [ebp - 0x824], edi
lea eax, [eax + eax + 0x143]
mov dword [ebp - 0x820], eax
lea eax, [edi + ecx*8]
mov dword [ebp - 0x81c], eax
mov eax, dword [edi]
add edi, 8
mov dword [esp], eax
call esi
mov ebx, eax
mov eax, dword [edi - 4]
mov dword [esp], eax
call esi
lea eax, [eax + ebx*2 + 0xd]
add dword [ebp - 0x820], eax
cmp dword [ebp - 0x81c], edi
jne 0x10009e50
mov eax, dword [ebp - 0x820]
mov edi, dword [ebp - 0x824]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x830], eax
call eax
mov dword [ebp - 0x824], eax
test eax, eax
je 0x1000a2d2
mov eax, dword [0x1002126c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10021370
mov dword [esp + 4], str.POST
mov dword [esp], eax
call dword [0x100232f8]
mov dword [ebp - 0x828], eax
sub esp, 0x1c
test eax, eax
je 0x1000a07f
mov eax, dword [0x10021570]
mov esi, dword [ebp - 0x824]
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 - 0x82c]
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x820]
mov dword [esp + 4], eax
call sym._snprintf
mov ecx, esi
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x10009f24
mov ebx, eax
mov esi, dword [ebp - 0x820]
shr ebx, 0x10
test eax, 0x8080
cmove eax, ebx
lea ebx, [ecx + 2]
cmove ecx, ebx
mov edx, eax
add dl, al
mov eax, dword [ebp - 0x824]
sbb ecx, 3
sub ecx, eax
lea ebx, [eax + ecx]
sub esi, ecx
mov esi, esi
lea edi, [edi]
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x14], eax
mov ecx, dword [edi - 4]
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.________S__S___S__r_n
call sym._snprintf
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
add ebx, eax
sub esi, eax
cmp dword [ebp - 0x81c], edi
jne 0x10009f70
mov eax, dword [ebp - 0x82c]
mov dword [esp], ebx
mov dword [esp + 8], str.______m:_S__r_n____SOAP_ENV:Body__r_n__SOAP_ENV:Envelope__r_n
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
call sym._snprintf
mov ebx, dword [ebp - 0x824]
mov edx, dword [ebx]
add ebx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x10009fd1
mov edx, eax
lea esi, [ebp - 0x80c]
mov dword [esp + 8], str.SOAPAction:__urn:schemas_upnp_org:service:WANIPConnection:_u_s__r_nContent_Type:_text_xml
mov edi, dword [ebp - 0x824]
shr edx, 0x10
test eax, 0x8080
mov dword [esp + 4], 0x400
cmove eax, edx
lea edx, [ebx + 2]
mov dword [esp], esi
cmove ebx, edx
mov edx, eax
add dl, al
mov eax, dword [ebp - 0x82c]
sbb ebx, 3
mov dword [esp + 0x10], eax
mov eax, dword [0x10021570]
sub ebx, edi
mov dword [esp + 0xc], eax
call sym._swprintf
mov eax, dword [ebp - 0x828]
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 [0x10023308]
sub esp, 0x1c
mov ebx, eax
test eax, eax
jne 0x1000a0b8
test byte [0x10015090], 4
jne 0x1000a190
xor ebx, ebx
xor esi, esi
mov dword [esp], esi
mov esi, dword [sym.imp.ucrtbase.dll_free]
call esi
mov eax, dword [ebp - 0x824]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x828]
mov dword [esp], eax
call dword [0x100232e8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x828]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x10023304]
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x1000a120
test byte [0x10015090], 4
je 0x1000a07f
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], 0x10015090
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000a083
lea eax, [ebp - 0x818]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x818], 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x828]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], eax
call dword [0x100232fc]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x1000a175
cmp eax, 0xc8
je 0x1000a1b0
cmp eax, 0x1f4
je 0x1000a1b0
mov ebx, 1
xor esi, esi
jmp 0x1000a083
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 0x1000a0f6
mov dword [esp], 0x400
mov eax, dword [ebp - 0x830]
call eax
mov esi, eax
test eax, eax
je 0x1000a07f
mov dword [ebp - 0x820], 0x400
xor edi, edi
mov dword [ebp - 0x82c], 0x3ff
nop
lea eax, [ebp - 0x818]
lea edx, [esi + edi]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x82c]
mov dword [esp + 4], edx
sub eax, edi
mov dword [ebp - 0x81c], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x828]
mov dword [esp], eax
call dword [0x10023300]
mov edx, dword [ebp - 0x81c]
sub esp, 0x10
test eax, eax
mov ebx, eax
je 0x1000a270
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x1000a270
add edi, eax
lea eax, [edi + 1]
cmp eax, dword [ebp - 0x820]
jne 0x1000a1e0
shl dword [ebp - 0x820], 1
mov eax, dword [ebp - 0x820]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x1000a083
mov esi, eax
mov eax, dword [ebp - 0x820]
sub eax, 1
mov dword [ebp - 0x82c], eax
jmp 0x1000a1e0
mov eax, dword [ebp + 0x10]
mov byte [edx], 0
cmp dword [eax], 0xc8
je 0x1000a2be
mov ecx, 1
lea edx, [ebp - 0x814]
mov eax, esi
mov dword [ebp - 0x814], str.errorCode
mov dword [ebp - 0x810], 0
call sym._get_xml_elements
mov ebx, eax
test eax, eax
je 0x1000a083
mov eax, dword [ebp - 0x810]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x1000a083
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, esi
call sym._get_xml_elements
mov ebx, eax
jmp 0x1000a083
xor ebx, ebx
jmp 0x1000a0ab