Function at 0x100097b0
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 0x10009800
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 - 0x828], eax
test eax, eax
je 0x10009c22
mov eax, dword [0x1001f26c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1001f370
mov dword [esp + 4], str.POST
mov dword [esp], eax
call dword [0x10021308]
mov dword [ebp - 0x824], eax
sub esp, 0x1c
test eax, eax
je 0x100099d6
mov eax, dword [0x1001f570]
mov ebx, dword [ebp - 0x828]
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 esi, dword [ebp - 0x820]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x82c]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.10009380
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], ebx
mov dword [ebp - 0x820], eax
call eax
add ebx, eax
sub esi, eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [edi]
add edi, 8
mov dword [esp + 0x14], eax
mov edx, dword [edi - 4]
mov dword [esp + 4], esi
mov dword [esp + 0x10], edx
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.________S__S___S__r_n
call fcn.10009380
mov dword [esp], ebx
mov eax, dword [ebp - 0x820]
call eax
add ebx, eax
sub esi, eax
cmp edi, dword [ebp - 0x81c]
jne 0x100098f0
mov edi, dword [ebp - 0x82c]
mov dword [esp + 4], esi
lea esi, [ebp - 0x80c]
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.______m:_S__r_n____SOAP_ENV:Body__r_n__SOAP_ENV:Envelope__r_n
call fcn.10009380
mov eax, dword [ebp - 0x828]
mov edx, dword [ebp - 0x820]
mov dword [esp], eax
call edx
mov dword [esp + 0x10], edi
mov ebx, eax
mov eax, dword [0x1001f570]
mov dword [esp + 8], str.SOAPAction:__urn:schemas_upnp_org:service:WANIPConnection:_u_s__r_nContent_Type:_text_xml
mov dword [esp + 4], 0x400
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.10009040
mov eax, dword [ebp - 0x828]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x824]
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [0x10021318]
sub esp, 0x1c
mov ebx, eax
test eax, eax
jne 0x10009a10
test byte [0x10013090], 4
jne 0x10009ae0
xor ebx, ebx
xor esi, esi
mov dword [esp], esi
mov esi, dword [sym.imp.ucrtbase.dll_free]
call esi
mov eax, dword [ebp - 0x828]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x824]
mov dword [esp], eax
call dword [0x100212f8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x824]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x10021314]
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x10009a78
test byte [0x10013090], 4
je 0x100099d6
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], 0x10013090
mov dword [esp], 2
call fcn.10009430
jmp 0x100099da
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 - 0x824]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], eax
call dword [0x1002130c]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x10009acd
cmp eax, 0xc8
je 0x10009b00
cmp eax, 0x1f4
je 0x10009b00
mov ebx, 1
xor esi, esi
jmp 0x100099da
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 0x10009a4e
mov dword [esp], 0x400
mov eax, dword [ebp - 0x830]
call eax
mov esi, eax
test eax, eax
je 0x100099d6
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 - 0x824]
mov dword [esp], eax
call dword [0x10021310]
mov edx, dword [ebp - 0x81c]
sub esp, 0x10
test eax, eax
mov ebx, eax
je 0x10009bc0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x10009bc0
add edi, eax
lea eax, [edi + 1]
cmp eax, dword [ebp - 0x820]
jne 0x10009b30
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 0x100099da
mov esi, eax
mov eax, dword [ebp - 0x820]
sub eax, 1
mov dword [ebp - 0x82c], eax
jmp 0x10009b30
mov eax, dword [ebp + 0x10]
mov byte [edx], 0
cmp dword [eax], 0xc8
je 0x10009c0e
mov ecx, 1
lea edx, [ebp - 0x814]
mov eax, esi
mov dword [ebp - 0x814], str.errorCode
mov dword [ebp - 0x810], 0
call fcn.10009540
mov ebx, eax
test eax, eax
je 0x100099da
mov eax, dword [ebp - 0x810]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x100099da
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, esi
call fcn.10009540
mov ebx, eax
jmp 0x100099da
xor ebx, ebx
jmp 0x10009a02