Function at 0x6c13e480
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2ec
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2ac], ebx
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b8], ebx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x29c], ebx
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x2a8], ecx
test byte [0x6c147154], 8
jne 0x6c13f0fb
mov dword [ebp - 0x278], 0
lea eax, [ebp - 0x270]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetSystemTimeAsFileTime]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x2c0], eax
call eax
mov eax, dword [ebp - 0x29c]
sub esp, 4
lea ecx, [eax + ebx*2]
cmp ecx, eax
ja 0x6c13e52f
jmp 0x6c13e537
add eax, 2
cmp ecx, eax
jbe 0x6c13e537
cmp word [eax], 0x3b
jne 0x6c13e528
mov ecx, eax
mov dword [ebp - 0x2b4], 0
mov eax, ecx
sub eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2b0], 0
sar eax, 1
mov dword [ebp - 0x2bc], eax
sub ebx, eax
lea esi, [esi]
cmp ebx, 1
ja 0x6c13e760
mov dword [esp], 0x6c147260
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, dword [ebp - 0x2a0]
mov ebx, dword [ebp - 0x2a8]
sub esp, 4
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x290]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov edx, esi
call sym._load_persistent_cookie.isra.0
mov ecx, dword [ebp - 0x2b0]
mov dword [esp], edi
mov edx, esi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x290]
xor ecx, 1
mov dword [esp + 8], ecx
call sym._get_cookie_container
mov dword [ebp - 0x290], eax
test eax, eax
je 0x6c13e73a
mov dword [ebp - 0x28c], 1
mov eax, dword [ebp - 0x278]
or eax, dword [ebp - 0x274]
je 0x6c13f2e5
mov edx, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x290]
call sym._find_cookie
mov esi, eax
test eax, eax
je 0x6c13e657
mov eax, dword [eax + 0x14]
test ah, 0x20
je 0x6c13e61c
test dword [ebp + 0x28], 0x2000
je 0x6c13f8e9
test al, 2
mov eax, 1
cmovne eax, dword [ebp - 0x28c]
mov edx, dword [esi]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x28c], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call ebx
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call ebx
mov dword [esp], esi
call ebx
test byte [0x6c147154], 8
jne 0x6c13ef76
mov eax, dword [ebp - 0x2b0]
test eax, eax
je 0x6c13ee10
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x6c13e73a
lea esi, [ebp - 0x268]
mov eax, dword [ebp - 0x2c0]
mov dword [esp], esi
call eax
mov eax, dword [ebp - 0x290]
sub esp, 4
mov ebx, dword [eax + 0x18]
add eax, 0x18
mov dword [ebp - 0x28c], eax
mov edi, dword [ebx]
cmp eax, ebx
jne 0x6c13e6c8
jmp 0x6c13e726
test byte [ebx + 0x14], 2
je 0x6c13f27a
mov eax, dword [edi]
mov ebx, edi
cmp edi, dword [ebp - 0x28c]
je 0x6c13e726
mov edi, eax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x6c13e6d6
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x6c13e6b0
lea eax, [ebx + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
sub esp, 8
test eax, eax
jle 0x6c13e6b0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebx]
mov dword [eax], ecx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov ebx, edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [edi]
cmp edi, dword [ebp - 0x28c]
jne 0x6c13e6c6
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.wininet.dll_DeleteUrlCacheEntryW
sub esp, 4
mov dword [esp], 0x6c147260
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
dec ebx
lea esi, [ecx + 2]
jmp 0x6c13e77a
add esi, 2
dec ebx
je 0x6c13e569
movzx eax, word [esi]
cmp ax, 0x20
je 0x6c13e770
lea ecx, [esi + ebx*2]
mov edx, esi
cmp ecx, esi
ja 0x6c13e79a
jmp 0x6c13e7a2
add edx, 2
cmp ecx, edx
jbe 0x6c13e7a2
movzx eax, word [edx]
cmp ax, 0x3b
jne 0x6c13e790
mov ecx, edx
cmp ebx, 6
ja 0x6c13e810
cmp ebx, 4
ja 0x6c13ea07
mov edi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
cmp ebx, 5
ja 0x6c13eafc
mov edi, ecx
sub edi, esi
sar edi, 1
test byte [0x6c147154], 1
jne 0x6c13ec10
cmp edi, ebx
ja 0x6c13e7e0
sub ebx, edi
jmp 0x6c13e560
mov dword [ebp - 0x28c], ecx
sub ebx, edi
mov dword [esp + 8], 0x387
mov dword [esp + 4], str..._src_wine_dlls_wininet_cookie.c
mov dword [esp], str.str__len___len
call dword [sym.imp.ucrtbase.dll__assert]
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13e560
mov dword [ebp - 0x28c], ecx
mov edi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
mov dword [esp + 8], 7
mov dword [esp + 4], str.domain
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
je 0x6c13e980
mov dword [esp + 8], 5
mov dword [esp + 4], str.path
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
je 0x6c13ea34
cmp ebx, 7
je 0x6c13eafc
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], str.expires
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
je 0x6c13eadb
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 6
mov dword [esp + 4], str.secure
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
je 0x6c13eb25
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], str.httponly
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
je 0x6c13eb73
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], str.version
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
je 0x6c13eb9b
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], str.max_age
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
mov edi, ecx
sub edi, esi
sar edi, 1
test eax, eax
jne 0x6c13e7bf
test byte [0x6c147154], 4
je 0x6c13e7d2
mov dword [esp + 0xc], str.Max_Age_ignored_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 2
mov dword [ebp - 0x28c], ecx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13e7d2
lea eax, [esi + 0xe]
mov dword [ebp - 0x28c], eax
mov eax, ebx
sub eax, 7
mov dword [ebp - 0x298], eax
je 0x6c13e9a1
cmp word [esi + 0xe], 0x2e
je 0x6c13f2ce
mov esi, ecx
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x28c]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x294]
sub esi, eax
mov dword [esp + 4], ecx
sar esi, 1
mov edx, esi
mov edi, esi
call sym._is_domain_legal_for_cookie
test eax, eax
je 0x6c13fb23
test byte [0x6c147154], 8
mov ecx, dword [ebp - 0x2a4]
jne 0x6c13ec8a
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x294], esi
mov ebx, dword [ebp - 0x298]
mov dword [ebp - 0x290], eax
jmp 0x6c13e7d2
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 5
mov dword [esp + 4], str.path
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
mov ecx, dword [ebp - 0x28c]
test eax, eax
jne 0x6c13e7b0
lea eax, [esi + 0xa]
mov esi, ecx
sub ebx, 5
sub esi, eax
mov dword [ebp - 0x2a0], eax
sar esi, 1
mov dword [ebp - 0x2a8], esi
mov edi, esi
test byte [0x6c147154], 8
je 0x6c13e7d2
shr eax, 0x10
mov dword [ebp - 0x28c], ecx
je 0x6c13f0bb
mov edi, dword [ebp - 0x2a0]
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x28c]
mov edx, eax
sub esp, 8
mov eax, 0x6c149011
test edx, edx
jne 0x6c13eaa0
mov edx, esi
mov eax, edi
call sym._wine_dbgstr_wn.part.0
mov ecx, dword [ebp - 0x28c]
mov dword [esp + 0x10], eax
mov edi, esi
mov dword [esp + 0xc], str.Parsing_new_path__s_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 3
mov dword [ebp - 0x28c], ecx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13e7d2
add esi, 0x10
mov edi, ecx
sub ebx, 8
sub edi, esi
cmp ecx, esi
jbe 0x6c13eaf5
cmp edi, 0xfc
jbe 0x6c13ed26
sar edi, 1
jmp 0x6c13e7d2
mov dword [ebp - 0x28c], ecx
mov dword [esp + 8], 6
mov dword [esp + 4], str.secure
mov dword [esp], esi
call edi
mov ecx, dword [ebp - 0x28c]
test eax, eax
jne 0x6c13e7bf
add esi, 0xc
mov edi, ecx
sub ebx, 6
sub edi, esi
sar edi, 1
test byte [0x6c147154], 1
je 0x6c13e7d2
mov dword [esp + 0xc], str.secure_not_handled_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 0
mov dword [ebp - 0x28c], ecx
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13e7d2
add esi, 0x10
sub ebx, 8
test dword [ebp + 0x28], 0x2000
je 0x6c13fb95
mov dword [ebp - 0x2b4], 0x2000
mov edi, ecx
sub edi, esi
sar edi, 1
jmp 0x6c13e7d2
add esi, 0x10
mov edi, ecx
sub ebx, 8
sub edi, esi
sar edi, 1
test byte [0x6c147154], 1
je 0x6c13e7d2
mov eax, esi
mov dword [ebp - 0x28c], ecx
shr eax, 0x10
je 0x6c13fa5c
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x28c]
mov edx, eax
sub esp, 8
mov eax, 0x6c149011
test edx, edx
jne 0x6c13ebf5
mov edx, ebx
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x28c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.version_not_handled___s__n
jmp 0x6c13ec63
mov eax, esi
mov dword [ebp - 0x28c], ecx
shr eax, 0x10
je 0x6c13f0dd
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x28c]
mov edx, eax
sub esp, 8
mov eax, 0x6c149011
test edx, edx
jne 0x6c13ec51
mov edx, ebx
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x28c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_additional_option__s_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13e7d2
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
shr eax, 0x10
je 0x6c13f099
mov ebx, dword [ebp - 0x28c]
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x290]
mov edx, eax
sub esp, 8
mov eax, 0x6c149011
test edx, edx
jne 0x6c13ecd5
mov edx, esi
mov eax, ebx
call sym._wine_dbgstr_wn.part.0
mov ecx, dword [ebp - 0x290]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Parsing_new_domain__s_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 3
mov dword [ebp - 0x2a4], ecx
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x294], esi
mov ebx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x290], eax
jmp 0x6c13e7d2
lea edx, [ebx + ebx]
lea eax, [ebp - 0x220]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memcpy
lea edx, [ebp - 0x260]
mov dword [esp], esi
xor ecx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov word [ebp + ebx*2 - 0x220], cx
call sym.wininet.dll_InternetTimeToSystemTimeW
mov ecx, dword [ebp - 0x28c]
lea edx, [ebp - 0x260]
sub esp, 0xc
test eax, eax
je 0x6c13eaf5
lea esi, [ebp - 0x278]
mov dword [esp], edx
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x270]
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
mov ecx, dword [ebp - 0x28c]
sub esp, 8
test eax, eax
jle 0x6c13eaf5
mov dword [ebp - 0x2b0], 1
test byte [0x6c147154], 8
je 0x6c13eaf5
mov dword [esp + 0xc], str.Cookie_already_expired._n
sar edi, 1
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x2b0], 1
jmp 0x6c13e7d2
mov edx, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [esp + 4], 0x28
mov dword [esp], 1
mov ebx, dword [ebp - 0x278]
mov dword [ebp - 0x298], edx
mov esi, dword [ebp - 0x274]
mov dword [ebp - 0x294], ecx
call dword [sym.imp.ucrtbase.dll_calloc]
mov edi, eax
test eax, eax
je 0x6c13f2b4
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x298]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x2ac]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x2b4]
mov dword [edi + 4], edi
mov dword [edi + 0x14], eax
mov dword [edi], edi
test ecx, ecx
je 0x6c13eee6
mov esi, dword [ebp - 0x2b8]
xor ebx, ebx
test esi, esi
jne 0x6c13eea0
jmp 0x6c13fde9
cmp ebx, esi
je 0x6c13fc44
movzx eax, word [ecx + ebx*2]
mov edx, ebx
inc ebx
test ax, ax
jne 0x6c13ee98
lea eax, [ebx + ebx]
mov ebx, edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x6c13fda0
lea eax, [ebx + ebx]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 4], eax
call sym._memcpy
xor eax, eax
mov dword [edi + 0xc], esi
mov word [esi + ebx*2], ax
mov ecx, dword [ebp - 0x29c]
test ecx, ecx
je 0x6c13ef56
mov esi, dword [ebp - 0x2bc]
xor ebx, ebx
test esi, esi
jne 0x6c13ef10
jmp 0x6c13fdb8
cmp esi, ebx
je 0x6c13fc00
movzx eax, word [ecx + ebx*2]
mov edx, ebx
inc ebx
test ax, ax
jne 0x6c13ef08
lea eax, [ebx + ebx]
mov ebx, edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x6c13fdc2
lea eax, [ebx + ebx]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
call sym._memcpy
xor eax, eax
mov dword [edi + 0x10], esi
mov word [esi + ebx*2], ax
mov eax, dword [ebp - 0x290]
mov edx, edi
call sym._add_cookie
mov eax, dword [ebp - 0x28c]
test eax, eax
jne 0x6c13e680
jmp 0x6c13e73a
mov eax, dword [ebp - 0x290]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x6c13fcdc
mov eax, ebx
shr eax, 0x10
je 0x6c13fc18
mov eax, dword [ebp - 0x290]
mov edi, 0x6c149011
mov esi, dword [eax + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6c13efbf
mov edx, esi
mov eax, ebx
call sym._wine_dbgstr_wn.part.0
mov edi, eax
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x6c13fd96
mov eax, ebx
shr eax, 0x10
je 0x6c13fbd7
mov dword [esp + 4], 0xffffffff
mov esi, 0x6c149011
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6c13f977
cmp word [ebx], 0
je 0x6c13fd61
mov esi, eax
lea eax, [eax + 1]
cmp word [ebx + esi*2 + 2], 0
jne 0x6c13f009
mov eax, 0x224c
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
jmp 0x6c13f065
cmp dx, 9
je 0x6c13fa8b
cmp dx, 0xa
jne 0x6c13faa9
mov edx, 0x6e5c
add eax, 2
mov word [eax - 2], dx
lea edx, [esi - 1]
test esi, esi
jle 0x6c13f949
lea ecx, [ebp - 0xfe]
cmp eax, ecx
ja 0x6c13f949
mov esi, edx
movzx edx, word [ebx]
add ebx, 2
cmp dx, 0xd
je 0x6c13fa7a
jbe 0x6c13f02a
cmp dx, 0x22
je 0x6c13fafa
cmp dx, 0x5c
jne 0x6c13fa9c
mov edx, 0x5c5c
add eax, 2
mov word [eax - 2], dx
jmp 0x6c13f04a
movzx eax, word [ebp - 0x28c]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov ecx, dword [ebp - 0x290]
jmp 0x6c13ecd5
movzx eax, word [ebp - 0x2a0]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13eaa0
movzx esi, si
mov dword [esp], 0x6c149004
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13ec51
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x6c13fbf1
shr eax, 0x10
je 0x6c13f8c7
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x2b0], 0x6c149011
sub esp, 8
test eax, eax
jne 0x6c13f149
mov eax, dword [ebp - 0x29c]
mov edx, ebx
call sym._wine_dbgstr_wn.part.0
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x6c13fc09
shr eax, 0x10
je 0x6c13fb48
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2ac]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x2a4], 0x6c149011
sub esp, 8
test eax, eax
jne 0x6c13f1a1
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2ac]
call sym._wine_dbgstr_wn.part.0
mov dword [ebp - 0x2a4], eax
test esi, esi
je 0x6c13fb6a
mov eax, esi
shr eax, 0x10
je 0x6c13fb2a
mov eax, dword [ebp - 0x28c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x298], 0x6c149011
sub esp, 8
test eax, eax
jne 0x6c13f1eb
mov edx, dword [ebp - 0x28c]
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov dword [ebp - 0x298], eax
test edi, edi
je 0x6c13fc3a
mov eax, edi
shr eax, 0x10
je 0x6c13fb0b
mov esi, dword [ebp - 0x2b4]
mov dword [esp], edi
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c149011
test edx, edx
jne 0x6c13f228
mov edx, esi
mov eax, edi
call sym._wine_dbgstr_wn.part.0
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s__s__s_s__lx_n
mov dword [esp + 0x20], edi
mov edi, dword [ebp - 0x2b0]
mov dword [esp + 8], str.set_cookie
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x2a4]
mov dword [esp + 4], 0x6c147154
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x298]
mov dword [esp], 3
mov dword [esp + 0x14], edi
call sym._wine_dbg_log.constprop.0
jmp 0x6c13e4e7
lea eax, [ebp - 0x220]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x290]
mov dword [esp + 8], 0x6c149318
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.wininet.dll_CreateUrlCacheEntryW
sub esp, 0x14
test eax, eax
jne 0x6c13f2fb
mov dword [esp], 0x6c147260
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 0x10]
mov dword [ebp - 0x28c], eax
lea eax, [ebx - 8]
mov dword [ebp - 0x298], eax
jmp 0x6c13e9a1
or dword [ebp - 0x2b4], 2
mov dword [ebp - 0x28c], 0
jmp 0x6c13e5ea
lea eax, [ebp - 0x220]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov edi, eax
cmp eax, 0xffffffff
je 0x6c13f8b0
mov eax, dword [ebp - 0x290]
mov esi, dword [eax + 0x18]
cmp esi, dword [ebp - 0x28c]
jne 0x6c13f86d
jmp 0x6c13fc4d
mov dword [esp + 8], edx
mov dword [ebp - 0x29c], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [ebp - 0x294], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x298], eax
mov ebx, eax
test eax, eax
je 0x6c13f87e
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x29c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
sub esp, 0x20
mov dword [esp], ebx
mov dword [ebp - 0x29c], eax
call eax
lea ecx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [ebp - 0x294], eax
call eax
sub esp, 0x14
test eax, eax
je 0x6c13f888
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x298], eax
call eax
lea eax, [ebp - 0x27c]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6c1492fc
call eax
sub esp, 0x14
test eax, eax
je 0x6c13f938
mov edx, dword [esi + 0x10]
test edx, edx
je 0x6c13f91d
mov dword [esp + 8], edx
mov dword [ebp - 0x2a8], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [ebp - 0x2a4], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x2a0], eax
mov ebx, eax
test eax, eax
je 0x6c13f91d
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x29c]
sub esp, 0x20
mov dword [esp], ebx
call eax
lea ecx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
call eax
sub esp, 0x14
test eax, eax
je 0x6c13f927
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
call eax
lea eax, [ebp - 0x27c]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6c1492fc
call eax
sub esp, 0x14
test eax, eax
je 0x6c13f938
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x6c13f91d
mov dword [esp + 8], edx
mov dword [ebp - 0x2a8], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [ebp - 0x2a4], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x2a0], eax
mov ebx, eax
test eax, eax
je 0x6c13f91d
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x29c]
sub esp, 0x20
mov dword [esp], ebx
call eax
lea ecx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
call eax
sub esp, 0x14
test eax, eax
je 0x6c13f927
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
call eax
mov ecx, dword [ebp - 0x290]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2a0], eax
sub esp, 0x20
inc eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x6c13fdf3
mov ecx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x2a0]
sub esp, 0x20
mov byte [ebx + eax], 0
mov eax, dword [ebp - 0x29c]
mov dword [esp], ebx
call eax
lea ecx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
call eax
sub esp, 0x14
test eax, eax
je 0x6c13fdf3
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
lea ebx, [ebp - 0x260]
call eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 4], str._n_lu_n_lu_n_lu_n_lu_n_lu_n_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._sprintf.constprop.0
mov dword [esp], ebx
mov eax, dword [ebp - 0x29c]
call eax
lea ecx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
call eax
sub esp, 0x14
test eax, eax
je 0x6c13f938
mov esi, dword [esi]
cmp esi, dword [ebp - 0x28c]
je 0x6c13fc4d
test byte [esi + 0x14], 2
jne 0x6c13f85f
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x6c13f368
mov dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x298]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
test byte [0x6c147154], 2
jne 0x6c13fce6
lea eax, [ebp - 0x220]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
jmp 0x6c13f2b4
movzx eax, word [ebp - 0x29c]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov dword [ebp - 0x2b0], eax
jmp 0x6c13f149
test byte [0x6c147154], 4
jne 0x6c13fd38
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x10dd
mov dword [esp], 0x6c147260
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 5
sub esp, 4
jmp 0x6c13e74f
mov dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x298]
call eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x6c13f8a3
mov byte [eax], 0x22
test edx, edx
jle 0x6c13fd7a
mov ecx, 0x2e2e
mov byte [eax + 3], 0x2e
lea edx, [eax + 4]
mov word [eax + 1], cx
lea eax, [ebp - 0x220]
mov byte [edx], 0
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, eax
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x6c13fd8c
shr eax, 0x10
je 0x6c13fbb9
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x29c]
mov ebx, 0x6c149011
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6c13f9c6
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x29c]
call sym._wine_dbgstr_wn.part.0
mov ebx, eax
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x6c13fd82
shr eax, 0x10
je 0x6c13fb79
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2ac]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c149011
test edx, edx
jne 0x6c13fa15
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2ac]
call sym._wine_dbgstr_wn.part.0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.setting_cookie__s_s_for_domain__s_path__s_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x2b0]
test eax, eax
jne 0x6c13e672
jmp 0x6c13ee10
movzx esi, si
mov dword [esp], 0x6c149004
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
mov ecx, dword [ebp - 0x28c]
jmp 0x6c13ebf5
mov ecx, 0x725c
add eax, 2
mov word [eax - 2], cx
jmp 0x6c13f04a
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x6c13f04a
lea ecx, [edx - 0x20]
cmp cx, 0x5e
jbe 0x6c13fc32
mov ecx, edx
mov byte [eax], 0x5c
add eax, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x6c1521e0]
mov byte [eax - 4], cl
mov ecx, edx
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x6c1521e0]
mov byte [eax - 3], cl
mov ecx, edx
and edx, 0xf
shr cx, 4
movzx edx, byte [edx + 0x6c1521e0]
and ecx, 0xf
movzx ecx, byte [ecx + 0x6c1521e0]
mov byte [eax - 1], dl
mov byte [eax - 2], cl
jmp 0x6c13f04a
mov ecx, 0x225c
add eax, 2
mov word [eax - 2], cx
jmp 0x6c13f04a
movzx edi, di
mov dword [esp], 0x6c149004
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x6c13f228
xor eax, eax
jmp 0x6c13e74f
movzx esi, si
mov dword [esp], 0x6c149004
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0
mov dword [ebp - 0x298], eax
jmp 0x6c13f1eb
movzx eax, word [ebp - 0x2ac]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov dword [ebp - 0x2a4], eax
jmp 0x6c13f1a1
mov dword [ebp - 0x298], 0x6c14900a
jmp 0x6c13f1eb
movzx eax, word [ebp - 0x2ac]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x6c13fa15
test byte [0x6c147154], 4
jne 0x6c13fd0f
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x10dd
mov eax, 5
jmp 0x6c13e74f
movzx eax, word [ebp - 0x29c]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov ebx, eax
jmp 0x6c13f9c6
movzx ebx, bx
mov dword [esp], 0x6c149004
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov esi, eax
jmp 0x6c13f977
mov dword [ebp - 0x2b0], 0x6c14900a
jmp 0x6c13f149
lea eax, [edx + edx + 4]
jmp 0x6c13ef21
mov dword [ebp - 0x2a4], 0x6c14900a
jmp 0x6c13f1a1
movzx ebx, bx
mov dword [esp], 0x6c149004
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov edi, eax
jmp 0x6c13efbf
mov byte [eax], dl
inc eax
jmp 0x6c13f04a
mov eax, 0x6c14900a
jmp 0x6c13f228
lea eax, [edx + edx + 4]
jmp 0x6c13eeb1
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x264], 0
sub esp, 4
mov edx, dword [ebp - 0x264]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x290]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x6c149318
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edx
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.wininet.dll_CommitUrlCacheEntryW
sub esp, 0x2c
test eax, eax
jne 0x6c13e73a
jmp 0x6c13f2b4
mov edi, 0x6c14900a
jmp 0x6c13efbf
mov dword [esp + 0xc], str.error_saving_cookie_file_n
mov dword [esp + 8], str.save_persistent_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x6c13f8b0
mov dword [esp + 0xc], str.HTTP_only_cookie_added_without_INTERNET_COOKIE_HTTPONLY_flag_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6c13fba2
mov dword [esp + 0xc], str.An_attempt_to_override_httponly_cookie_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c147154
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6c13f8f6
mov edx, 0x224c
mov byte [ebp - 0x21e], 0x22
lea eax, [ebp - 0x21e]
mov word [ebp - 0x220], dx
lea edx, [eax + 1]
jmp 0x6c13f964
mov eax, 0x6c14900a
jmp 0x6c13fa15
mov ebx, 0x6c14900a
jmp 0x6c13f9c6
mov esi, 0x6c14900a
jmp 0x6c13f977
mov eax, dword [edi + 0x10]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov dword [esp], edi
call ebx
jmp 0x6c13f2b4
mov eax, 2
jmp 0x6c13ef21
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], 0
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call ebx
mov dword [esp], edi
call ebx
jmp 0x6c13f2b4
mov eax, 2
jmp 0x6c13eeb1
mov dword [esp], ebx
jmp 0x6c13f930