Function at 0x4088c4
Capabilities:
Create directory
Get common file path
Print debug messages

Disassembly:
sub esp, 0x414
mov eax, dword [0x41f070]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], eax
xor esi, esi
call fcn.00408771
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebp, str.AskToolbar
test eax, eax
je 0x40897f
push str.ieframe.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40897f
push str.IEGetWriteableFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40896d
lea ecx, [esp + 0x14]
push ecx
push 0x41c384
call eax
test eax, eax
jl 0x40896d
push dword [esp + 0x14]
call edi
push ebp
mov esi, eax
call edi
xor ecx, ecx
push 2
lea eax, [esi + eax + 9]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409507
pop ecx
push dword [esp + 0x14]
mov esi, eax
push esi
call ebx
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x408a59
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4089fe
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4089f0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x8000
push 0x41c384
call eax
test eax, eax
jl 0x4089f0
push dword [esp + 0x10]
call edi
push ebp
mov esi, eax
call edi
xor ecx, ecx
push 2
lea eax, [esi + eax + 9]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409507
pop ecx
push dword [esp + 0x10]
mov esi, eax
push esi
call ebx
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x408a59
lea eax, [esp + 0x20]
push eax
xor eax, eax
push eax
push eax
push 0x801c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x408a4a
push ebp
call edi
mov esi, eax
lea eax, [esp + 0x20]
push eax
call edi
xor ecx, ecx
push 2
lea eax, [esi + eax + 9]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409507
mov esi, eax
pop ecx
lea eax, [esp + 0x20]
push eax
push esi
call ebx
test esi, esi
jne 0x408a59
push str.TBERR:_Cant_get_a_folder__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x408abf
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, 0x41b79c
push ebx
push esi
call edi
push ebp
push esi
call edi
push ebx
push esi
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x408aa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408aa5
push eax
lea eax, [esp + 0x24]
push str.TBERR:_Cant_create_a_folder__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
jmp 0x408a4f
push 0x924
push esi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
call fcn.00409140
xor eax, eax
pop ecx
inc eax
mov ecx, dword [esp + 0x420]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040914b
add esp, 0x414
ret