Function at 0x6c13e420
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 0x6c13f09b
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 0x6c13e4cf
jmp 0x6c13e4d7
add eax, 2
cmp ecx, eax
jbe 0x6c13e4d7
cmp word [eax], 0x3b
jne 0x6c13e4c8
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 0x6c13e700
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 0x6c13e6da
mov dword [ebp - 0x28c], 1
mov eax, dword [ebp - 0x278]
or eax, dword [ebp - 0x274]
je 0x6c13f285
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 0x6c13e5f7
mov eax, dword [eax + 0x14]
test ah, 0x20
je 0x6c13e5bc
test dword [ebp + 0x28], 0x2000
je 0x6c13f889
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 0x6c13ef16
mov eax, dword [ebp - 0x2b0]
test eax, eax
je 0x6c13edb0
mov eax, dword [ebp - 0x28c]
test eax, eax
je 0x6c13e6da
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 0x6c13e668
jmp 0x6c13e6c6
test byte [ebx + 0x14], 2
je 0x6c13f21a
mov eax, dword [edi]
mov ebx, edi
cmp edi, dword [ebp - 0x28c]
je 0x6c13e6c6
mov edi, eax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x6c13e676
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x6c13e650
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 0x6c13e650
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 0x6c13e666
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 0x6c13e71a
add esi, 2
dec ebx
je 0x6c13e509
movzx eax, word [esi]
cmp ax, 0x20
je 0x6c13e710
lea ecx, [esi + ebx*2]
mov edx, esi
cmp ecx, esi
ja 0x6c13e73a
jmp 0x6c13e742
add edx, 2
cmp ecx, edx
jbe 0x6c13e742
movzx eax, word [edx]
cmp ax, 0x3b
jne 0x6c13e730
mov ecx, edx
cmp ebx, 6
ja 0x6c13e7b0
cmp ebx, 4
ja 0x6c13e9a7
mov edi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
cmp ebx, 5
ja 0x6c13ea9c
mov edi, ecx
sub edi, esi
sar edi, 1
test byte [0x6c147154], 1
jne 0x6c13ebb0
cmp edi, ebx
ja 0x6c13e780
sub ebx, edi
jmp 0x6c13e500
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 0x6c13e500
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 0x6c13e920
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 0x6c13e9d4
cmp ebx, 7
je 0x6c13ea9c
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 0x6c13ea7b
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 0x6c13eac5
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 0x6c13eb13
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 0x6c13eb3b
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 0x6c13e75f
test byte [0x6c147154], 4
je 0x6c13e772
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 0x6c13e772
lea eax, [esi + 0xe]
mov dword [ebp - 0x28c], eax
mov eax, ebx
sub eax, 7
mov dword [ebp - 0x298], eax
je 0x6c13e941
cmp word [esi + 0xe], 0x2e
je 0x6c13f26e
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 0x6c13fac3
test byte [0x6c147154], 8
mov ecx, dword [ebp - 0x2a4]
jne 0x6c13ec2a
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x294], esi
mov ebx, dword [ebp - 0x298]
mov dword [ebp - 0x290], eax
jmp 0x6c13e772
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 0x6c13e750
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 0x6c13e772
shr eax, 0x10
mov dword [ebp - 0x28c], ecx
je 0x6c13f05b
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 0x6c13ea40
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 0x6c13e772
add esi, 0x10
mov edi, ecx
sub ebx, 8
sub edi, esi
cmp ecx, esi
jbe 0x6c13ea95
cmp edi, 0xfc
jbe 0x6c13ecc6
sar edi, 1
jmp 0x6c13e772
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 0x6c13e75f
add esi, 0xc
mov edi, ecx
sub ebx, 6
sub edi, esi
sar edi, 1
test byte [0x6c147154], 1
je 0x6c13e772
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 0x6c13e772
add esi, 0x10
sub ebx, 8
test dword [ebp + 0x28], 0x2000
je 0x6c13fb35
mov dword [ebp - 0x2b4], 0x2000
mov edi, ecx
sub edi, esi
sar edi, 1
jmp 0x6c13e772
add esi, 0x10
mov edi, ecx
sub ebx, 8
sub edi, esi
sar edi, 1
test byte [0x6c147154], 1
je 0x6c13e772
mov eax, esi
mov dword [ebp - 0x28c], ecx
shr eax, 0x10
je 0x6c13f9fc
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 0x6c13eb95
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 0x6c13ec03
mov eax, esi
mov dword [ebp - 0x28c], ecx
shr eax, 0x10
je 0x6c13f07d
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 0x6c13ebf1
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 0x6c13e772
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
shr eax, 0x10
je 0x6c13f039
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 0x6c13ec75
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 0x6c13e772
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 0x6c13ea95
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 0x6c13ea95
mov dword [ebp - 0x2b0], 1
test byte [0x6c147154], 8
je 0x6c13ea95
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 0x6c13e772
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 0x6c13f254
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 0x6c13ee86
mov esi, dword [ebp - 0x2b8]
xor ebx, ebx
test esi, esi
jne 0x6c13ee40
jmp 0x6c13fd89
cmp ebx, esi
je 0x6c13fbe4
movzx eax, word [ecx + ebx*2]
mov edx, ebx
inc ebx
test ax, ax
jne 0x6c13ee38
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 0x6c13fd40
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 0x6c13eef6
mov esi, dword [ebp - 0x2bc]
xor ebx, ebx
test esi, esi
jne 0x6c13eeb0
jmp 0x6c13fd58
cmp esi, ebx
je 0x6c13fba0
movzx eax, word [ecx + ebx*2]
mov edx, ebx
inc ebx
test ax, ax
jne 0x6c13eea8
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 0x6c13fd62
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 0x6c13e620
jmp 0x6c13e6da
mov eax, dword [ebp - 0x290]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x6c13fc7c
mov eax, ebx
shr eax, 0x10
je 0x6c13fbb8
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 0x6c13ef5f
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 0x6c13fd36
mov eax, ebx
shr eax, 0x10
je 0x6c13fb77
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 0x6c13f917
cmp word [ebx], 0
je 0x6c13fd01
mov esi, eax
lea eax, [eax + 1]
cmp word [ebx + esi*2 + 2], 0
jne 0x6c13efa9
mov eax, 0x224c
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
jmp 0x6c13f005
cmp dx, 9
je 0x6c13fa2b
cmp dx, 0xa
jne 0x6c13fa49
mov edx, 0x6e5c
add eax, 2
mov word [eax - 2], dx
lea edx, [esi - 1]
test esi, esi
jle 0x6c13f8e9
lea ecx, [ebp - 0xfe]
cmp eax, ecx
ja 0x6c13f8e9
mov esi, edx
movzx edx, word [ebx]
add ebx, 2
cmp dx, 0xd
je 0x6c13fa1a
jbe 0x6c13efca
cmp dx, 0x22
je 0x6c13fa9a
cmp dx, 0x5c
jne 0x6c13fa3c
mov edx, 0x5c5c
add eax, 2
mov word [eax - 2], dx
jmp 0x6c13efea
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 0x6c13ec75
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 0x6c13ea40
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 0x6c13ebf1
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x6c13fb91
shr eax, 0x10
je 0x6c13f867
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 0x6c13f0e9
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 0x6c13fba9
shr eax, 0x10
je 0x6c13fae8
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 0x6c13f141
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 0x6c13fb0a
mov eax, esi
shr eax, 0x10
je 0x6c13faca
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 0x6c13f18b
mov edx, dword [ebp - 0x28c]
mov eax, esi
call sym._wine_dbgstr_wn.part.0
mov dword [ebp - 0x298], eax
test edi, edi
je 0x6c13fbda
mov eax, edi
shr eax, 0x10
je 0x6c13faab
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 0x6c13f1c8
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 0x6c13e487
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 0x6c13f29b
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 0x6c13e941
or dword [ebp - 0x2b4], 2
mov dword [ebp - 0x28c], 0
jmp 0x6c13e58a
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 0x6c13f850
mov eax, dword [ebp - 0x290]
mov esi, dword [eax + 0x18]
cmp esi, dword [ebp - 0x28c]
jne 0x6c13f80d
jmp 0x6c13fbed
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 0x6c13f81e
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 0x6c13f828
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 0x6c13f8d8
mov edx, dword [esi + 0x10]
test edx, edx
je 0x6c13f8bd
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 0x6c13f8bd
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 0x6c13f8c7
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 0x6c13f8d8
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x6c13f8bd
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 0x6c13f8bd
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 0x6c13f8c7
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 0x6c13fd93
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 0x6c13fd93
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 0x6c13f8d8
mov esi, dword [esi]
cmp esi, dword [ebp - 0x28c]
je 0x6c13fbed
test byte [esi + 0x14], 2
jne 0x6c13f7ff
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x6c13f308
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 0x6c13fc86
lea eax, [ebp - 0x220]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
jmp 0x6c13f254
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 0x6c13f0e9
test byte [0x6c147154], 4
jne 0x6c13fcd8
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 0x6c13e6ef
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 0x6c13f843
mov byte [eax], 0x22
test edx, edx
jle 0x6c13fd1a
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 0x6c13fd2c
shr eax, 0x10
je 0x6c13fb59
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 0x6c13f966
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 0x6c13fd22
shr eax, 0x10
je 0x6c13fb19
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 0x6c13f9b5
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 0x6c13e612
jmp 0x6c13edb0
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 0x6c13eb95
mov ecx, 0x725c
add eax, 2
mov word [eax - 2], cx
jmp 0x6c13efea
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x6c13efea
lea ecx, [edx - 0x20]
cmp cx, 0x5e
jbe 0x6c13fbd2
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 0x6c13efea
mov ecx, 0x225c
add eax, 2
mov word [eax - 2], cx
jmp 0x6c13efea
movzx edi, di
mov dword [esp], 0x6c149004
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x6c13f1c8
xor eax, eax
jmp 0x6c13e6ef
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 0x6c13f18b
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 0x6c13f141
mov dword [ebp - 0x298], 0x6c14900a
jmp 0x6c13f18b
movzx eax, word [ebp - 0x2ac]
mov dword [esp], 0x6c149004
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
jmp 0x6c13f9b5
test byte [0x6c147154], 4
jne 0x6c13fcaf
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x10dd
mov eax, 5
jmp 0x6c13e6ef
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 0x6c13f966
movzx ebx, bx
mov dword [esp], 0x6c149004
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov esi, eax
jmp 0x6c13f917
mov dword [ebp - 0x2b0], 0x6c14900a
jmp 0x6c13f0e9
lea eax, [edx + edx + 4]
jmp 0x6c13eec1
mov dword [ebp - 0x2a4], 0x6c14900a
jmp 0x6c13f141
movzx ebx, bx
mov dword [esp], 0x6c149004
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0
mov edi, eax
jmp 0x6c13ef5f
mov byte [eax], dl
inc eax
jmp 0x6c13efea
mov eax, 0x6c14900a
jmp 0x6c13f1c8
lea eax, [edx + edx + 4]
jmp 0x6c13ee51
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 0x6c13e6da
jmp 0x6c13f254
mov edi, 0x6c14900a
jmp 0x6c13ef5f
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 0x6c13f850
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 0x6c13fb42
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 0x6c13f896
mov edx, 0x224c
mov byte [ebp - 0x21e], 0x22
lea eax, [ebp - 0x21e]
mov word [ebp - 0x220], dx
lea edx, [eax + 1]
jmp 0x6c13f904
mov eax, 0x6c14900a
jmp 0x6c13f9b5
mov ebx, 0x6c14900a
jmp 0x6c13f966
mov esi, 0x6c14900a
jmp 0x6c13f917
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 0x6c13f254
mov eax, 2
jmp 0x6c13eec1
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 0x6c13f254
mov eax, 2
jmp 0x6c13ee51
mov dword [esp], ebx
jmp 0x6c13f8d0