Function at 0x10135100
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140f35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
lea eax, [ebp - 0x244]
push eax
call fcn.10132d70
add esp, 4
mov dword [ebp - 4], 0
mov byte [ebp - 0x221], 0
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.101326d0
add esp, 4
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x20
je 0x10135168
cmp dword [ebp - 0x228], 0x21
jne 0x10135194
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.101327a0
add esp, 8
mov byte [ebp - 0x221], al
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea edx, [ebp - 0x328]
push edx
call fcn.10132510
add esp, 8
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 1
push 0
push 2
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x33c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.1010ff10
add esp, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x10], 0
je 0x10135223
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x32c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x32c]
jmp 0x10135654
mov dword [ebp - 0x220], 0
mov al, byte [0x1014cec3]
mov byte [ebp - 0x21c], al
push 0x207
push 0
lea ecx, [ebp - 0x21b]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1013527e
cmp dword [ebp + 0x10], 0
je 0x1013527e
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.SELECT__FROM_moz_cookies_where__s_like___s_
push 0x208
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x14
jmp 0x10135298
push str.SELECT__FROM_moz_cookies
push 0x208
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0xc
push 0
lea eax, [ebp - 0x220]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.100f0f40
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x101352e6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x330], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x330]
jmp 0x10135654
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c6c60
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x64
jne 0x101355f8
lea ecx, [ebp - 0x30c]
call fcn.1011fc60
mov byte [ebp - 4], 2
mov dword [ebp - 0x248], 0xffffffff
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x30c], eax
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c73d0
add esp, 8
push eax
lea ecx, [ebp - 0x308]
call dword [0x1014c530]
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c73d0
add esp, 8
push eax
lea ecx, [ebp - 0x2ec]
call dword [0x1014c530]
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c73d0
add esp, 8
push eax
lea ecx, [ebp - 0x2d0]
call dword [0x1014c530]
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c73d0
add esp, 8
push eax
lea ecx, [ebp - 0x2b4]
call dword [0x1014c530]
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c73d0
add esp, 8
push eax
lea ecx, [ebp - 0x298]
call dword [0x1014c530]
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7360
add esp, 8
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], edx
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7360
add esp, 8
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], edx
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7360
add esp, 8
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.100c7300
add esp, 8
mov dword [ebp - 0x250], eax
lea edx, [ebp - 0x30c]
push edx
mov ecx, dword [ebp + 8]
call fcn.101206a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30c]
call fcn.10120200
jmp 0x101352e6
mov eax, dword [ebp - 0x220]
push eax
call fcn.100c5f70
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1010db00
add esp, 4
movzx edx, byte [ebp - 0x221]
test edx, edx
je 0x10135631
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x334], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret