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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2f8
mov ebx, dword [ecx + 0x10]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
mov edi, dword [ecx]
mov dword [ebp - 0x2b8], ebx
mov ebx, dword [ecx + 0x14]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x2c4], ebx
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 0x298], ebx
mov ebx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0x2bc], ecx
test byte [0x6c145078], 8
jne 0x6c106472
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
lea eax, [ebp - 0x270]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_GetSystemTimeAsFileTime]
mov dword [ebp - 0x2d4], eax
call eax
mov eax, dword [ebp - 0x298]
sub esp, 4
lea edx, [eax + ebx*2]
mov dword [ebp - 0x2c8], edx
cmp eax, edx
jb 0x6c1058f7
jmp 0x6c105903
add eax, 2
cmp eax, edx
jae 0x6c105903
cmp word [eax], 0x3b
jne 0x6c1058f0
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c0], 0
mov edi, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], 0
mov edx, dword [ebp - 0x298]
mov eax, edi
mov dword [ebp - 0x28c], edi
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2d0], eax
sub ebx, eax
lea esi, [esi]
nop
test ebx, ebx
jne 0x6c105b40
mov dword [esp], 0x6c145060
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, dword [ebp - 0x2ac]
sub esp, 4
mov dword [esp], edi
mov ebx, dword [ebp - 0x2b4]
mov dword [esp + 4], ebx
mov esi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x2a8]
mov edx, esi
call fcn.6c103e90
mov ecx, dword [ebp - 0x2cc]
mov dword [esp], edi
mov edx, esi
mov dword [esp + 4], ebx
xor ecx, 1
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x2a8]
call fcn.6c1039f0
mov dword [ebp - 0x290], eax
test eax, eax
je 0x6c105b18
mov dword [ebp - 0x28c], 1
mov eax, dword [ebp - 0x278]
or eax, dword [ebp - 0x274]
je 0x6c106654
mov edx, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x290]
call fcn.6c102f00
mov esi, eax
test eax, eax
je 0x6c105a37
mov eax, dword [eax + 0x14]
test ah, 0x20
je 0x6c1059fe
test dword [ebp - 0x2bc], 0x2000
je 0x6c106c5a
test al, 2
mov eax, 1
mov edx, dword [esi]
cmovne eax, dword [ebp - 0x28c]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x28c], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
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 [0x6c145078], 8
jne 0x6c1062a7
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x6c10613d
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x6c105b18
lea esi, [ebp - 0x268]
mov dword [esp], esi
mov eax, dword [ebp - 0x2d4]
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 0x6c105aa8
jmp 0x6c105b04
test byte [ebx + 0x14], 2
je 0x6c1065fc
mov eax, dword [edi]
mov ebx, edi
cmp dword [ebp - 0x28c], edi
je 0x6c105b04
mov edi, eax
mov edx, dword [ebx + 0x18]
test edx, edx
jne 0x6c105ab6
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x6c105a90
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 0x6c105a90
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
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 dword [ebp - 0x28c], edi
jne 0x6c105aa6
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], 0x6c145060
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov esi, dword [ebp - 0x28c]
add esi, 2
sub ebx, 1
jne 0x6c105b64
jmp 0x6c105948
add esi, 2
sub ebx, 1
je 0x6c105948
cmp word [esi], 0x20
je 0x6c105b58
lea ecx, [esi + ebx*2]
mov dword [ebp - 0x28c], ecx
cmp esi, ecx
jae 0x6c105b93
mov eax, esi
jmp 0x6c105b87
add eax, 2
cmp eax, ecx
jae 0x6c105b93
cmp word [eax], 0x3b
jne 0x6c105b80
mov dword [ebp - 0x28c], eax
cmp ebx, 6
ja 0x6c105bf0
cmp ebx, 4
ja 0x6c105f28
test byte [0x6c145078], 1
jne 0x6c105d68
mov edi, dword [ebp - 0x28c]
sub edi, esi
sar edi, 1
cmp ebx, edi
jb 0x6c105bc8
sub ebx, edi
jmp 0x6c105940
mov dword [esp + 8], 0x387
sub ebx, edi
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_wininet_cookie.c
mov dword [esp], str.str__len___len
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c105940
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
test eax, eax
je 0x6c105f60
mov dword [esp + 8], 5
mov dword [esp + 4], 0x6c147644
mov dword [esp], esi
call edi
test eax, eax
je 0x6c105dd0
cmp ebx, 7
jne 0x6c105c98
mov dword [esp + 8], 6
mov dword [esp + 4], 0x6c147628
mov dword [esp], esi
call edi
test eax, eax
jne 0x6c105ba1
mov edi, dword [ebp - 0x28c]
add esi, 0xc
sub ebx, 6
sub edi, esi
sar edi, 1
test byte [0x6c145078], 1
je 0x6c105bb8
mov dword [esp + 0xc], str.secure_not_handled_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c145078
mov dword [esp], 0
call fcn.6c103690
jmp 0x6c105bb8
mov dword [esp + 8], 8
mov dword [esp + 4], 0x6c147634
mov dword [esp], esi
call edi
test eax, eax
je 0x6c105e5f
mov dword [esp + 8], 6
mov dword [esp + 4], 0x6c147628
mov dword [esp], esi
call edi
test eax, eax
je 0x6c105c52
mov dword [esp + 8], 8
mov dword [esp + 4], 0x6c147618
mov dword [esp], esi
call edi
test eax, eax
je 0x6c105fdc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x6c147608
mov dword [esp], esi
call edi
test eax, eax
je 0x6c10600b
mov dword [esp + 8], 8
mov dword [esp + 4], str.max_ageversionhttponlysecureexpirespath
mov dword [esp], esi
call edi
mov edi, dword [ebp - 0x28c]
sub edi, esi
sar edi, 1
test eax, eax
jne 0x6c105ba1
test byte [0x6c145078], 4
je 0x6c105bb8
mov dword [esp + 0xc], str.Max_Age_ignored_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c145078
mov dword [esp], 2
call fcn.6c103690
jmp 0x6c105bb8
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x6c1060a8
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c147011
test edx, edx
jne 0x6c105d99
mov edx, ebx
mov eax, esi
call fcn.6c103120
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], 0x6c145078
mov dword [esp], 0
call fcn.6c103690
jmp 0x6c105bae
lea eax, [esi + 0xa]
mov esi, dword [ebp - 0x28c]
sub ebx, 5
mov dword [ebp - 0x2ac], eax
sub esi, eax
sar esi, 1
mov dword [ebp - 0x2b4], esi
mov edi, esi
test byte [0x6c145078], 8
je 0x6c105bb8
shr eax, 0x10
test eax, eax
je 0x6c106457
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x2ac]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c147011
test edx, edx
jne 0x6c105e30
mov edx, esi
mov eax, edi
call fcn.6c103120
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], 0x6c145078
mov dword [esp], 3
call fcn.6c103690
jmp 0x6c105bb8
mov eax, dword [ebp - 0x28c]
add esi, 0x10
sub ebx, 8
mov edi, eax
sub edi, esi
cmp esi, eax
jae 0x6c105bb6
cmp edi, 0xfc
jg 0x6c105bb6
lea edx, [ebx + ebx]
mov dword [esp + 4], esi
lea eax, [ebp - 0x220]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
lea edx, [ebp - 0x260]
xor eax, eax
mov word [ebp + ebx*2 - 0x220], ax
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp], esi
call sym.wininet.dll_InternetTimeToSystemTimeW
lea edx, [ebp - 0x260]
sub esp, 0xc
test eax, eax
je 0x6c105bb6
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]
sub esp, 8
test eax, eax
jle 0x6c105bb6
test byte [0x6c145078], 8
jne 0x6c106e7f
mov dword [ebp - 0x2cc], 1
jmp 0x6c105bb6
mov edi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
mov dword [esp + 8], 5
mov dword [esp + 4], 0x6c147644
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
je 0x6c105dd0
cmp ebx, 5
je 0x6c105ba1
jmp 0x6c105c35
lea eax, [esi + 0xe]
mov dword [ebp - 0x290], eax
mov eax, ebx
sub eax, 7
mov dword [ebp - 0x2b0], eax
jne 0x6c106086
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x28c]
sub eax, edx
sar eax, 1
mov esi, eax
mov edi, eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp], eax
mov eax, dword [ebp - 0x294]
mov dword [esp + 4], eax
mov eax, edx
mov edx, esi
call fcn.6c102f90
test eax, eax
je 0x6c106646
test byte [0x6c145078], 8
jne 0x6c1060bd
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], esi
mov ebx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2a8], eax
jmp 0x6c105bb8
add esi, 0x10
sub ebx, 8
test dword [ebp - 0x2bc], 0x2000
je 0x6c106d20
mov dword [ebp - 0x2c0], 0x2000
mov edi, dword [ebp - 0x28c]
sub edi, esi
sar edi, 1
jmp 0x6c105bb8
mov edi, dword [ebp - 0x28c]
add esi, 0x10
sub ebx, 8
sub edi, esi
sar edi, 1
test byte [0x6c145078], 1
je 0x6c105bb8
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x6c106cba
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c147011
test edx, edx
jne 0x6c106059
mov edx, ebx
mov eax, esi
call fcn.6c103120
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.version_not_handled___s__n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c145078
mov dword [esp], 0
call fcn.6c103690
jmp 0x6c105bb8
cmp word [esi + 0xe], 0x2e
jne 0x6c105f7a
lea eax, [esi + 0x10]
mov dword [ebp - 0x290], eax
lea eax, [ebx - 8]
mov dword [ebp - 0x2b0], eax
jmp 0x6c105f7a
mov dword [esp + 4], esi
mov dword [esp], 0x6c147004
call fcn.6c103320
jmp 0x6c105d99
mov eax, dword [ebp - 0x290]
shr eax, 0x10
test eax, eax
je 0x6c10643c
mov dword [esp + 4], esi
mov ebx, dword [ebp - 0x290]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c147011
test edx, edx
jne 0x6c1060f8
mov edx, esi
mov eax, ebx
call fcn.6c103120
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], 0x6c145078
mov dword [esp], 3
call fcn.6c103690
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], esi
mov ebx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2a8], eax
jmp 0x6c105bb8
movd xmm0, dword [ebp - 0x270]
movd xmm1, dword [ebp - 0x274]
movd xmm2, dword [ebp - 0x278]
punpckldq xmm1, xmm0
movd xmm0, dword [ebp - 0x2c0]
mov ebx, dword [ebp - 0x26c]
punpckldq xmm0, xmm2
punpcklqdq xmm0, xmm1
movaps xmmword [ebp - 0x2a8], xmm0
mov dword [esp + 4], 0x28
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov esi, eax
test eax, eax
je 0x6c106636
mov ecx, dword [ebp - 0x2b8]
mov dword [eax + 0x24], ebx
movdqa xmm0, xmmword [ebp - 0x2a8]
movups xmmword [eax + 0x14], xmm0
movd xmm0, eax
punpckldq xmm0, xmm0
movq qword [eax], xmm0
test ecx, ecx
je 0x6c106219
mov edi, dword [ebp - 0x2c4]
test edi, edi
je 0x6c106f5a
xor eax, eax
jmp 0x6c1061d4
cmp edi, eax
je 0x6c106d8a
movzx edx, word [ecx + eax*2]
mov ebx, eax
lea eax, [eax + 1]
test dx, dx
jne 0x6c1061cc
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x6c106f66
lea eax, [ebx + ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.ucrtbase.dll_memcpy
xor eax, eax
mov dword [esi + 0xc], edi
mov word [edi + ebx*2], ax
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x6c106287
cmp dword [ebp - 0x2c8], ecx
je 0x6c106fa5
mov edi, dword [ebp - 0x2d0]
xor eax, eax
jmp 0x6c106241
cmp eax, edi
jae 0x6c106d99
movzx edx, word [ecx + eax*2]
mov ebx, eax
lea eax, [eax + 1]
test dx, dx
jne 0x6c106239
lea edx, [eax + eax]
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x6c106f7e
lea eax, [ebx + ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x298]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.ucrtbase.dll_memcpy
xor eax, eax
mov dword [esi + 0x10], edi
mov word [edi + ebx*2], ax
mov eax, dword [ebp - 0x290]
mov edx, esi
call fcn.6c103cc0
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
jne 0x6c105a60
jmp 0x6c105b18
mov eax, dword [ebp - 0x290]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x6c106dfa
mov edx, dword [eax + 0x10]
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x6c106de3
mov dword [esp + 4], edx
mov ebx, 0x6c147011
mov dword [ebp - 0x2a8], edx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6c1062f6
mov edx, dword [ebp - 0x2a8]
mov eax, esi
call fcn.6c103120
mov ebx, eax
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x6c106eb7
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x6c106dcc
mov dword [esp + 4], 0xffffffff
mov esi, 0x6c147011
mov dword [esp], ecx
mov dword [ebp - 0x2a8], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x6c10634c
mov eax, dword [ebp - 0x2a8]
mov edx, 0xffffffff
call fcn.6c103120
mov esi, eax
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x6c106ea8
shr eax, 0x10
test eax, eax
je 0x6c106d5a
mov edi, dword [ebp - 0x2d0]
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x298]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x2a8], 0x6c147011
sub esp, 8
test eax, eax
jne 0x6c1063a2
mov eax, dword [ebp - 0x298]
mov edx, edi
call fcn.6c103120
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x6c106ec1
shr eax, 0x10
test eax, eax
je 0x6c106d3f
mov edi, dword [ebp - 0x2c4]
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x2b8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c147011
test edx, edx
jne 0x6c1063ef
mov eax, dword [ebp - 0x2b8]
mov edx, edi
call fcn.6c103120
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov edx, dword [ebp - 0x2a8]
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 + 0x14], edx
mov dword [esp + 4], 0x6c145078
mov dword [esp], 3
call fcn.6c103690
mov eax, dword [ebp - 0x2cc]
test eax, eax
jne 0x6c105a52
jmp 0x6c10613d
mov eax, dword [ebp - 0x290]
mov dword [esp], 0x6c147004
mov dword [esp + 4], eax
call fcn.6c103320
jmp 0x6c1060f8
mov eax, dword [ebp - 0x2ac]
mov dword [esp], 0x6c147004
mov dword [esp + 4], eax
call fcn.6c103320
jmp 0x6c105e30
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x6c106da4
shr eax, 0x10
test eax, eax
je 0x6c106c39
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x298]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x2c0], 0x6c147011
sub esp, 8
test eax, eax
jne 0x6c1064c2
mov eax, dword [ebp - 0x298]
mov edx, ebx
call fcn.6c103120
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x6c106d7b
shr eax, 0x10
test eax, eax
je 0x6c106ccf
mov eax, dword [ebp - 0x2c4]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x2b0], 0x6c147011
sub esp, 8
test eax, eax
jne 0x6c10651c
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2b8]
call fcn.6c103120
mov dword [ebp - 0x2b0], eax
test esi, esi
je 0x6c106db3
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x6c106cf0
mov eax, dword [ebp - 0x28c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x290], 0x6c147011
sub esp, 8
test eax, eax
jne 0x6c106568
mov edx, dword [ebp - 0x28c]
mov eax, esi
call fcn.6c103120
mov dword [ebp - 0x290], eax
test edi, edi
je 0x6c106dc2
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x6c106d0b
mov esi, dword [ebp - 0x2c8]
mov dword [esp], edi
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c147011
test edx, edx
jne 0x6c1065a7
mov edx, esi
mov eax, edi
call fcn.6c103120
mov edx, dword [ebp - 0x2bc]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2c0]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x2b0]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x290]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s__s__s_s__lx_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 0x14], edx
mov dword [esp + 4], 0x6c145078
mov dword [esp], 3
call fcn.6c103690
jmp 0x6c1058aa
lea eax, [ebp - 0x220]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6c147334
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.wininet.dll_CreateUrlCacheEntryW
sub esp, 0x14
test eax, eax
jne 0x6c10666a
mov dword [esp], 0x6c145060
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
or dword [ebp - 0x2c0], 2
mov dword [ebp - 0x28c], 0
jmp 0x6c1059c9
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 0x6c106c22
mov eax, dword [ebp - 0x290]
mov esi, dword [eax + 0x18]
cmp dword [ebp - 0x28c], esi
jne 0x6c106bdf
jmp 0x6c106ecb
mov dword [esp + 8], 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 [ebp - 0x298], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [ebp - 0x2a8], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
mov dword [ebp - 0x294], eax
test eax, eax
je 0x6c106bf0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x2a8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], ecx
mov edx, dword [ebp - 0x298]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], edx
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 - 0x298], eax
call eax
lea edx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [ebp - 0x2a8], eax
call eax
sub esp, 0x14
test eax, eax
je 0x6c106bfa
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x294], eax
call eax
lea eax, [ebp - 0x27c]
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6c147318
mov eax, dword [ebp - 0x2a8]
call eax
sub esp, 0x14
test eax, eax
je 0x6c106ca9
mov edx, dword [esi + 0x10]
test edx, edx
je 0x6c106c8e
mov dword [esp + 8], 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 [ebp - 0x2b4], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [ebp - 0x2b0], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
mov dword [ebp - 0x2ac], eax
test eax, eax
je 0x6c106c8e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x2b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], ecx
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], edx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
call eax
lea edx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov eax, dword [ebp - 0x2a8]
call eax
sub esp, 0x14
test eax, eax
je 0x6c106c98
mov dword [esp], ebx
mov eax, dword [ebp - 0x294]
call eax
lea eax, [ebp - 0x27c]
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6c147318
mov eax, dword [ebp - 0x2a8]
call eax
sub esp, 0x14
test eax, eax
je 0x6c106ca9
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x6c106c8e
mov dword [esp + 8], 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 [ebp - 0x2b4], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [ebp - 0x2b0], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
mov dword [ebp - 0x2ac], eax
test eax, eax
je 0x6c106c8e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x2b0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], ecx
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], edx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
call eax
lea edx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov eax, dword [ebp - 0x2a8]
call eax
sub esp, 0x14
test eax, eax
je 0x6c106c98
mov dword [esp], ebx
mov eax, dword [ebp - 0x294]
call eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edx, dword [ebp - 0x290]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2ac], eax
sub esp, 0x20
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x6c106fb1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov edx, dword [ebp - 0x290]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x2ac]
sub esp, 0x20
mov byte [ebx + eax], 0
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
call eax
lea edx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov edx, dword [ebp - 0x2a8]
call edx
sub esp, 0x14
test eax, eax
je 0x6c106fb1
mov dword [esp], ebx
mov ecx, dword [ebp - 0x294]
lea ebx, [ebp - 0x260]
call ecx
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], ebx
mov dword [esp + 8], eax
call fcn.6c1035e0
mov dword [esp], ebx
mov eax, dword [ebp - 0x298]
call eax
lea ecx, [ebp - 0x27c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov edx, dword [ebp - 0x2a8]
call edx
sub esp, 0x14
test eax, eax
je 0x6c106ca9
mov esi, dword [esi]
cmp dword [ebp - 0x28c], esi
je 0x6c106ecb
test byte [esi + 0x14], 2
jne 0x6c106bd1
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x6c1066d8
mov dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
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 [0x6c145078], 2
jne 0x6c106e2d
lea eax, [ebp - 0x220]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
jmp 0x6c106636
mov eax, dword [ebp - 0x298]
mov dword [esp], 0x6c147004
mov dword [esp + 4], eax
call fcn.6c103320
mov dword [ebp - 0x2c0], eax
jmp 0x6c1064c2
test byte [0x6c145078], 4
jne 0x6c106e04
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x10dd
mov dword [esp], 0x6c145060
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, 5
jmp 0x6c105b2d
mov dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
mov dword [esp], eax
mov eax, dword [ebp - 0x294]
call eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x6c106c15
mov dword [esp + 4], esi
mov dword [esp], 0x6c147004
call fcn.6c103320
jmp 0x6c106059
mov eax, dword [ebp - 0x2b8]
mov dword [esp], 0x6c147004
mov dword [esp + 4], eax
call fcn.6c103320
mov dword [ebp - 0x2b0], eax
jmp 0x6c10651c
mov dword [esp + 4], esi
mov dword [esp], 0x6c147004
call fcn.6c103320
mov dword [ebp - 0x290], eax
jmp 0x6c106568
mov dword [esp + 4], edi
mov dword [esp], 0x6c147004
call fcn.6c103320
jmp 0x6c1065a7
test byte [0x6c145078], 4
jne 0x6c106e56
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x10dd
jmp 0x6c106c84
mov eax, dword [ebp - 0x2b8]
mov dword [esp], 0x6c147004
mov dword [esp + 4], eax
call fcn.6c103320
jmp 0x6c1063ef
mov eax, dword [ebp - 0x298]
mov dword [esp], 0x6c147004
mov dword [esp + 4], eax
call fcn.6c103320
mov dword [ebp - 0x2a8], eax
jmp 0x6c1063a2
mov dword [ebp - 0x2b0], 0x6c14700a
jmp 0x6c10651c
lea eax, [ebx + ebx + 4]
mov ebx, dword [ebp - 0x2c4]
jmp 0x6c1061e4
lea edx, [ebx + ebx + 4]
mov ebx, eax
jmp 0x6c106252
mov dword [ebp - 0x2c0], 0x6c14700a
jmp 0x6c1064c2
mov dword [ebp - 0x290], 0x6c14700a
jmp 0x6c106568
mov eax, 0x6c14700a
jmp 0x6c1065a7
mov dword [esp + 4], ecx
mov dword [esp], 0x6c147004
call fcn.6c103320
mov esi, eax
jmp 0x6c10634c
mov dword [esp + 4], esi
mov dword [esp], 0x6c147004
call fcn.6c103320
mov ebx, eax
jmp 0x6c1062f6
mov ebx, 0x6c14700a
jmp 0x6c1062f6
mov dword [esp + 0xc], str.An_attempt_to_override_httponly_cookie_n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c145078
mov dword [esp], 2
call fcn.6c103690
jmp 0x6c106c67
mov dword [esp + 0xc], str.error_saving_cookie_file_n
mov dword [esp + 8], str.save_persistent_cookie
mov dword [esp + 4], 0x6c145078
mov dword [esp], 1
call fcn.6c103690
jmp 0x6c106c22
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], 0x6c145078
mov dword [esp], 2
call fcn.6c103690
jmp 0x6c106d2d
mov dword [esp + 0xc], str.Cookie_already_expired._n
mov dword [esp + 8], str.set_cookie
mov dword [esp + 4], 0x6c145078
mov dword [esp], 3
call fcn.6c103690
jmp 0x6c105f12
mov dword [ebp - 0x2a8], 0x6c14700a
jmp 0x6c1063a2
mov esi, 0x6c14700a
jmp 0x6c10634c
mov eax, 0x6c14700a
jmp 0x6c1063ef
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x268], 0
sub esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x6c147334
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x220]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x290]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.wininet.dll_CommitUrlCacheEntryW
sub esp, 0x2c
test eax, eax
jne 0x6c105b18
jmp 0x6c106636
xor ebx, ebx
mov eax, 2
jmp 0x6c1061e4
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov dword [esp], esi
call ebx
jmp 0x6c106636
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], 0
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call ebx
mov dword [esp], esi
call ebx
jmp 0x6c106636
mov edx, 2
xor ebx, ebx
jmp 0x6c106252
mov dword [esp], ebx
jmp 0x6c106ca1