Function at 0x4633cc
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4ab83f
lea eax, [ebp - 0x418]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
lea edx, [ebp - 0xc]
push edx
call sub.SHELL32.DLL_SHGetMalloc
call fcn.004107bc
cmp eax, 6
setge al
and eax, 1
test al, al
je 0x46346d
lea eax, [ebp - 0x818]
call fcn.00463c28
lea eax, [ebp - 0x818]
call fcn.0040c35c
push str.WinRAR.lnk
lea edx, [ebp - 0x818]
push edx
call fcn.00498da0
add esp, 8
lea ecx, [ebp - 0x818]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x818]
call fcn.00463c64
jmp 0x463478
lea eax, [ebp - 0x818]
call fcn.00463c28
lea eax, [ebp - 0x818]
call fcn.0040c35c
push str.WinRAR.lnk
lea edx, [ebp - 0x818]
push edx
call fcn.00498da0
add esp, 8
cmp byte [esi + 0x14], 0
je 0x4634bf
push edi
push 0
mov eax, 0x537
call fcn.004129c8
mov ecx, eax
lea edx, [ebp - 0x818]
lea eax, [ebp - 0x418]
call fcn.00463b50
jmp 0x4634cb
lea edx, [ebp - 0x818]
push edx
call sub.KERNEL32.DLL_DeleteFileA
lea ecx, [ebp - 8]
mov ebx, 0x16
push ecx
call fcn.004107bc
cmp eax, 6
jge 0x4634e1
add ebx, 0xfffffff5
push ebx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
push dword [ebp - 8]
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
lea eax, [ebp - 0x818]
call fcn.0040c35c
push str.WinRAR.lnk
lea edx, [ebp - 0x818]
push edx
call fcn.00498da0
add esp, 8
cmp byte [esi + 0x15], 0
je 0x46354b
push edi
push 0
mov eax, 0x537
call fcn.004129c8
mov ecx, eax
lea edx, [ebp - 0x818]
lea eax, [ebp - 0x418]
call fcn.00463b50
jmp 0x463557
lea edx, [ebp - 0x818]
push edx
call sub.KERNEL32.DLL_DeleteFileA
mov ecx, dword [0x4ab62c]
mov eax, 0x38e
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4ab630]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x4ab634]
mov dword [ebp - 0x10], ecx
call fcn.004129c8
mov dword [ebp - 0x14], eax
mov eax, 0x38f
call fcn.004129c8
mov dword [ebp - 0x10], eax
lea edx, [ebp - 8]
push edx
push 2
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
lea ecx, [ebp - 0x818]
push ecx
push dword [ebp - 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea eax, [ebp - 0x818]
call fcn.0040c35c
push 0x4ab8c9
lea edx, [ebp - 0x818]
push edx
call fcn.00498da0
add esp, 8
cmp byte [esi + 0x16], 0
je 0x4636ae
cmp dword [ebp - 4], 0
je 0x4635f5
lea ecx, [ebp - 0x818]
push ecx
push dword [ebp - 4]
call fcn.00498e7c
add esp, 8
push 0
lea eax, [ebp - 0x818]
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
xor ebx, ebx
mov eax, dword [ebx*4 + 0x4ab620]
cmp byte [eax], 0
je 0x4636a2
lea edx, [ebp - 0x818]
push edx
lea ecx, [ebp - 0xc18]
push ecx
call fcn.00498e7c
add esp, 8
lea eax, [ebp - 0xc18]
call fcn.0040c35c
push dword [ebp + ebx*4 - 0x18]
lea edx, [ebp - 0xc18]
push edx
call fcn.00498da0
add esp, 8
push 0x4abb99
lea ecx, [ebp - 0xc18]
push ecx
call fcn.00498da0
add esp, 8
push dword [ebx*4 + 0x4ab620]
lea eax, [ebp - 0x418]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
test ebx, ebx
jne 0x463680
mov edx, edi
jmp 0x463682
xor edx, edx
push edx
push 0
mov eax, 0x537
call fcn.004129c8
mov ecx, eax
lea edx, [ebp - 0xc18]
lea eax, [ebp - 0x418]
call fcn.00463b50
inc ebx
cmp ebx, 3
jl 0x463605
jmp 0x4636b9
lea eax, [ebp - 0x818]
call fcn.00463ca0
call fcn.004107bc
test eax, eax
je 0x46380c
lea edx, [ebp - 8]
push edx
push 0x17
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
test eax, eax
jne 0x46380c
lea ecx, [ebp - 0x818]
push ecx
push dword [ebp - 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea eax, [ebp - 0x818]
call fcn.0040c35c
push 0x4ab8c9
lea edx, [ebp - 0x818]
push edx
call fcn.00498da0
add esp, 8
cmp byte [esi + 0x16], 0
je 0x463801
push 0
lea ecx, [ebp - 0x818]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
cmp dword [ebp - 4], 0
je 0x463756
lea eax, [ebp - 0x818]
xor edx, edx
call fcn.0040a838
test al, al
je 0x463756
lea ecx, [ebp - 0x818]
push ecx
push dword [ebp - 4]
call fcn.00498e7c
add esp, 8
xor ebx, ebx
mov eax, dword [ebx*4 + 0x4ab620]
cmp byte [eax], 0
je 0x4637f5
lea edx, [ebp - 0x818]
push edx
lea ecx, [ebp - 0x1018]
push ecx
call fcn.00498e7c
add esp, 8
lea eax, [ebp - 0x1018]
call fcn.0040c35c
push dword [ebp + ebx*4 - 0x18]
lea edx, [ebp - 0x1018]
push edx
call fcn.00498da0
add esp, 8
push 0x4abb99
lea ecx, [ebp - 0x1018]
push ecx
call fcn.00498da0
add esp, 8
push dword [ebx*4 + 0x4ab620]
lea eax, [ebp - 0x418]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
test ebx, ebx
jne 0x4637d3
mov edx, edi
jmp 0x4637d5
xor edx, edx
push edx
push 0
mov eax, 0x537
call fcn.004129c8
mov ecx, eax
lea edx, [ebp - 0x1018]
lea eax, [ebp - 0x418]
call fcn.00463b50
inc ebx
cmp ebx, 3
jl 0x463758
jmp 0x46380c
lea eax, [ebp - 0x818]
call fcn.00463ca0
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret