Function at 0x6a7caa60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0xba8]
push ebx
sub esp, 0xc4c
mov dword [ebp - 0xc0c], 0x3e8
mov dword [esp + 4], eax
mov dword [esp], 0x202
call dword [0x6a7e4348]
sub esp, 8
mov dword [0x6a7d42c4], eax
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 2
call dword [0x6a7e4340]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6a7cac28
mov ebx, eax
lea eax, [ebp - 0xc0c]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1006
mov dword [esp + 4], 0xffff
mov dword [esp], ebx
call dword [0x6a7e433c]
sub esp, 0x14
cmp eax, 0xffffffff
je 0x6a7cac00
mov dword [ebp - 0xbf4], 0x6c070002
lea esi, [ebp - 0xbf4]
mov dword [esp], str.239.255.255.250
call dword [0x6a7e4330]
sub esp, 4
mov dword [ebp - 0xbf0], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x61
mov dword [esp + 4], str.M_SEARCH__HTTP_1.1_r_nHOST:239.255.255.250:1900_r_nST:upnp:rootdevice_r_nMX:2_r_nMAN:_ssdp:discover__r_n_r_n
mov dword [esp], ebx
call dword [0x6a7e4338]
sub esp, 0x18
cmp eax, 0xffffffff
je 0x6a7caf88
test byte [0x6a7d40e8], 1
jne 0x6a7caf58
mov dword [ebp - 0xc1c], 2
lea edi, [ebp - 0x818]
lea eax, [ebp - 0xc08]
mov dword [esp + 0x10], esi
mov dword [ebp - 0xc08], 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x7ff
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [0x6a7e4334]
sub esp, 0x18
cmp eax, 0xffffffff
jne 0x6a7cac80
call dword [0x6a7e4344]
cmp eax, 0x274c
jne 0x6a7cb250
cmp dword [ebp - 0xc1c], 1
jne 0x6a7cac70
mov dword [esp], ebx
call dword [0x6a7e432c]
sub esp, 4
test byte [0x6a7d40e8], 8
jne 0x6a7cafd0
lea esi, [esi]
nop
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6a7d40e8], 2
jne 0x6a7caf20
mov dword [esp], ebx
xor edi, edi
call dword [0x6a7e432c]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6a7d40e8], 2
je 0x6a7cabf0
call dword [0x6a7e4344]
mov dword [esp + 0xc], str.Failed_to_create_socket__error__u._n
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0xc1c], 1
jmp 0x6a7cab73
mov dword [ebp - 0xc1c], eax
mov dword [esp], ebx
call dword [0x6a7e432c]
mov edx, dword [ebp - 0xc1c]
sub esp, 4
test byte [0x6a7d40e8], 8
jne 0x6a7cae70
lea eax, [ebp - 0xa18]
mov byte [ebp + edx - 0x818], 0
mov ebx, dword [sym.imp.ucrtbase.dll_strtok_s]
mov dword [ebp - 0xa18], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6a7d6fe6
mov dword [esp], edi
call ebx
test eax, eax
je 0x6a7caee8
mov dword [esp + 4], 0x6a7d6fe8
mov esi, dword [sym.imp.ucrtbase.dll_strtok]
mov dword [esp], eax
call esi
test eax, eax
je 0x6a7caee8
mov dword [esp + 4], 0x6a7d6fe8
mov dword [esp], 0
call esi
test eax, eax
je 0x6a7caee8
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_atoi]
mov edi, dword [sym.imp.ucrtbase.dll__stricmp]
cmp eax, 0xc8
jne 0x6a7caeb0
lea esi, [esi]
lea eax, [ebp - 0xa18]
mov dword [esp + 4], 0x6a7d6fe6
mov dword [esp + 8], eax
mov dword [esp], 0
call ebx
test eax, eax
je 0x6a7caee8
mov dword [esp + 4], 0x6a7d6fe8
mov dword [esp], eax
call esi
test eax, eax
je 0x6a7cad30
mov dword [esp + 4], str.LOCATION:
mov dword [esp], eax
call edi
test eax, eax
jne 0x6a7cad30
mov dword [esp + 4], 0x6a7d7000
mov dword [esp], 0
call esi
test eax, eax
je 0x6a7cb3f6
mov dword [esp + 0x14], 0x100
mov dword [esp + 0x10], 0x6a7d42c8
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
je 0x6a7caee8
test byte [0x6a7d40e8], 8
jne 0x6a7cb188
lea edx, [ebp - 0xbe0]
xor eax, eax
mov ecx, 0xe
mov edi, edx
lea esi, [ebp - 0xbe4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 0xc], esi
mov dword [ebp - 0xbe4], 0x3c
mov dword [ebp - 0xbd4], eax
mov dword [ebp - 0xbd0], 0x40
mov dword [ebp - 0xbb8], 0x6a7d44d0
mov dword [ebp - 0xbb4], pe_nt_image_headers32
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x6a7d42c8
call dword [0x6a7e4304]
sub esp, 0x10
test eax, eax
jne 0x6a7cb000
test byte [0x6a7d40e8], 4
je 0x6a7cabf0
mov dword [esp + 0xc], str.Error_opening_gateway_connection._n
jmp 0x6a7caefd
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Received_reply_from_gateway__len__d._n
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 3
mov dword [ebp - 0xc1c], edx
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0xc1c]
jmp 0x6a7caca5
test byte [0x6a7d40e8], 4
je 0x6a7cabf0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.status__u._n
mov dword [esp + 8], str.parse_search_response
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
lea esi, [esi]
test byte [0x6a7d40e8], 4
je 0x6a7cabf0
mov dword [esp + 0xc], str.Error_parsing_response._n
mov dword [esp + 8], str.init_gateway_connection
xor edi, edi
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cabf2
call dword [0x6a7e4344]
mov dword [esp + 0xc], str.setsockopt_SO_RCVTIME0__failed__error__u._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cac0d
mov dword [esp + 0xc], str.Waiting_for_reply_from_router._n
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cab63
test byte [0x6a7d40e8], 2
je 0x6a7cac0d
call dword [0x6a7e4344]
mov dword [esp + 0xc], str.sendto_failed__error__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cac0d
mov dword [esp + 0xc], str.No_reply_from_router._n
xor edi, edi
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cac1b
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.hnetcfg
call dword [0x6a7e4308]
mov dword [0x6a7d44c8], eax
sub esp, 0x14
test eax, eax
je 0x6a7cae4e
mov dword [esp + 0x10], 0xbb8
mov dword [esp + 0xc], 0xbb8
mov dword [esp + 8], 0xbb8
mov dword [esp + 4], 0xbb8
mov dword [esp], eax
call dword [0x6a7e4320]
sub esp, 0x14
test eax, eax
je 0x6a7cae4e
test byte [0x6a7d40e8], 8
jne 0x6a7cb3a0
movzx eax, word [ebp - 0xbcc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 4], eax
mov eax, dword [0x6a7d44c8]
mov dword [esp], eax
call dword [0x6a7e4300]
mov dword [0x6a7d44cc], eax
sub esp, 0x10
test eax, eax
je 0x6a7cb42c
test byte [0x6a7d40e8], 8
jne 0x6a7cb220
mov dword [ebp - 0xc00], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x6a7d4148
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6a7d44d0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x6a7e430c]
sub esp, 0x1c
mov ebx, eax
test eax, eax
je 0x6a7cb16b
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x6a7e431c]
sub esp, 0x1c
test eax, eax
jne 0x6a7cb1c0
test byte [0x6a7d40e8], 4
jne 0x6a7cb338
mov dword [esp], ebx
call dword [0x6a7e42fc]
sub esp, 4
test byte [0x6a7d40e8], 4
jne 0x6a7cb370
call sym._gateway_connection_cleanup
xor edi, edi
jmp 0x6a7cabf2
mov eax, 0x6a7d42c8
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Gateway_description_location__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cadd7
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [0x6a7e4318]
sub esp, 8
test eax, eax
jne 0x6a7cb290
test byte [0x6a7d40e8], 4
je 0x6a7cb15f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Error_receiving_response__lu._n
mov dword [esp + 8], str.get_control_url
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb15f
mov dword [esp + 0xc], str.Opened_gateway_connection._n
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [0x6a7d44cc]
jmp 0x6a7cb0c6
test byte [0x6a7d40e8], 4
je 0x6a7cac0d
call dword [0x6a7e4344]
mov dword [esp + 0xc], str.recvfrom_error__u._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cac0d
lea eax, [ebp - 0xc04]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc00]
mov dword [ebp - 0xc04], 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], ebx
call dword [0x6a7e4310]
sub esp, 0x18
test eax, eax
je 0x6a7cb2e6
cmp dword [ebp - 0xc00], 0xc8
je 0x6a7cb46f
test byte [0x6a7d40e8], 4
je 0x6a7cb15f
mov edx, dword [ebp - 0xc00]
mov eax, dword fs:[0x18]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Error_response_from_server__error__lu__http_status__lu._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.get_control_url
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb15f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Error_sending_request__lu._n
mov dword [esp + 8], str.get_control_url
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb15f
mov dword [esp + 0xc], str.Could_not_get_control_URL._n
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb178
mov eax, 0x6a7d44d0
movzx edi, word [ebp - 0xbcc]
call sym._wine_dbgstr_wn.constprop.0_2
mov ebx, eax
lea eax, [ebp - 0xa18]
call sym._wine_dbgstr_wn.constprop.0_2
movzx edx, di
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.hostname__s__urlpath__s__port__u._n
mov dword [esp + 8], str.open_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb07e
test byte [0x6a7d40e8], 4
je 0x6a7cabf0
mov dword [esp + 0xc], str.Error_parsing_location._n
mov dword [esp + 8], str.parse_search_response
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7caee8
test byte [0x6a7d40e8], 4
je 0x6a7cabf0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.WinHttpConnect_error__lu._n
mov dword [esp + 8], str.open_gateway_connection
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cae4e
mov dword [esp], 0x400
xor edi, edi
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xc20], 0x400
mov dword [ebp - 0xc24], eax
mov dword [ebp - 0xc28], 0x3ff
lea esi, [esi]
nop
mov eax, dword [ebp - 0xc24]
mov dword [esp], ebx
lea edx, [eax + edi]
lea eax, [ebp - 0xc04]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp + 4], edx
sub eax, edi
mov dword [ebp - 0xc1c], edx
mov dword [esp + 8], eax
call dword [0x6a7e4314]
mov edx, dword [ebp - 0xc1c]
sub esp, 0x10
test eax, eax
je 0x6a7cb57b
mov eax, dword [ebp - 0xc04]
test eax, eax
je 0x6a7cb57b
add edi, eax
lea eax, [edi + 1]
cmp eax, dword [ebp - 0xc20]
jne 0x6a7cb4a0
shl dword [ebp - 0xc20], 1
mov eax, dword [ebp - 0xc20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x6a7cb539
mov dword [ebp - 0xc24], eax
mov eax, dword [ebp - 0xc20]
dec eax
mov dword [ebp - 0xc28], eax
jmp 0x6a7cb4a0
mov eax, dword [ebp - 0xc24]
lea edx, [eax + edi]
test byte [0x6a7d40e8], 2
je 0x6a7cb57b
mov dword [esp + 0xc], str.No_memory._n
mov dword [esp + 8], str.get_control_url
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 1
mov dword [ebp - 0xc1c], edx
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0xc1c]
mov byte [edx], 0
mov dword [esp], ebx
call dword [0x6a7e42fc]
mov edi, dword [ebp - 0xc24]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
inc eax
mov dword [esp + 4], eax
call dword [0x6a7e427c]
mov dword [ebp - 0xc20], eax
sub esp, 8
test eax, eax
je 0x6a7cb9b1
lea eax, [ebp - 0xbf8]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x6a7d8a00
call sym._CreateXmlReader_12
sub esp, 0xc
test eax, eax
js 0x6a7cb9a2
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [ebp - 0xc20]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
test eax, eax
js 0x6a7cb993
xor edi, edi
lea ebx, [ebp - 0xbfc]
mov dword [ebp - 0xc28], 0
mov dword [ebp - 0xc30], edi
lea esi, [esi]
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 8
test eax, eax
js 0x6a7cb8d1
mov eax, dword [ebp - 0xbfc]
test eax, eax
je 0x6a7cb8d1
cmp eax, 1
jne 0x6a7cb620
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 0xc
test eax, eax
js 0x6a7cb993
mov eax, dword [ebp - 0xbe4]
mov dword [esp + 4], str.service
mov edi, dword [sym.imp.ucrtbase.dll__wcsicmp]
mov dword [esp], eax
call edi
mov dword [ebp - 0xc1c], eax
test eax, eax
jne 0x6a7cb620
mov dword [ebp - 0xc2c], 0
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 8
test eax, eax
js 0x6a7cb7ce
mov eax, dword [ebp - 0xbfc]
cmp eax, 1
je 0x6a7cb6cf
cmp eax, 0xf
jne 0x6a7cb6a2
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 0xc
test eax, eax
js 0x6a7cb966
cmp dword [ebp - 0xbfc], 0xf
mov eax, dword [ebp - 0xbe4]
je 0x6a7cb7b9
mov dword [esp + 4], str.serviceType
mov dword [esp], eax
call edi
test eax, eax
jne 0x6a7cb824
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0xbf8]
js 0x6a7cb999
cmp dword [ebp - 0xbfc], 3
mov edx, dword [eax]
jne 0x6a7cb999
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x40]
sub esp, 0xc
test eax, eax
js 0x6a7cb993
mov eax, dword [ebp - 0xbe4]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], str.urn:schemas_upnp_org:service:WANIPConnection:
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
jne 0x6a7cb7ce
mov eax, dword [ebp - 0xbe4]
add eax, 0x5a
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wtoi]
test eax, eax
mov dword [ebp - 0xc28], eax
setne al
movzx eax, al
mov dword [ebp - 0xc1c], eax
jmp 0x6a7cb6a2
mov dword [esp + 4], str.service
mov dword [esp], eax
call edi
test eax, eax
jne 0x6a7cb6a2
mov edx, dword [ebp - 0xc1c]
and edx, dword [ebp - 0xc2c]
je 0x6a7cb620
mov ecx, dword [ebp - 0xc30]
test ecx, ecx
je 0x6a7cb9c5
test byte [0x6a7d40e8], 1
je 0x6a7cb620
mov dword [esp + 0xc], str.Found_another_WANIPConnection_service__ignoring._n
mov dword [esp + 8], str.parse_desc_xml
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb620
mov eax, dword [ebp - 0xbe4]
mov dword [esp + 4], str.controlURL
mov dword [esp], eax
call edi
test eax, eax
jne 0x6a7cb6a2
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0xbf8]
js 0x6a7cb999
cmp dword [ebp - 0xbfc], 3
mov edx, dword [eax]
jne 0x6a7cb999
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x40]
sub esp, 0xc
test eax, eax
js 0x6a7cb993
mov eax, dword [ebp - 0xbe4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
inc eax
cmp eax, 0x100
ja 0x6a7cb993
mov eax, dword [ebp - 0xbe4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [ebp - 0xc2c], 1
jmp 0x6a7cb6a2
mov eax, dword [ebp - 0xbf8]
mov edi, dword [ebp - 0xc30]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc20]
sub esp, 4
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc24]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test edi, edi
je 0x6a7cb16b
test byte [0x6a7d40e8], 8
jne 0x6a7cb928
call sym._update_mapping_list
jmp 0x6a7cac1b
mov ebx, dword [0x6a7d47d0]
mov eax, 0x6a7d45d0
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.control_url__s__version__u._n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.init_gateway_connection
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6a7cb919
test byte [0x6a7d40e8], 4
je 0x6a7cb993
mov dword [esp + 0xc], str.IXmlReader_GetLocalName_failed._n
mov dword [esp + 8], str.parse_desc_xml
mov dword [esp + 4], 0x6a7d40e8
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [ebp - 0xbf8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edx
mov ecx, dword [ebp - 0xc20]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
push eax
mov eax, dword [ebp - 0xc24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x6a7cb16b
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xc1c], edx
mov dword [esp + 4], eax
mov dword [esp], 0x6a7d45d0
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov eax, dword [ebp - 0xc28]
mov edx, dword [ebp - 0xc1c]
mov dword [0x6a7d47d0], eax
mov dword [ebp - 0xc30], edx
jmp 0x6a7cb620