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

Disassembly:
push 0xffffffffffffffff
push 0x4fb0f6
mov eax, dword fs:[0]
push eax
mov eax, 0x508c
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x5088], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x514bc0]
xor eax, esp
push eax
lea eax, [esp + 0x50a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50b4]
mov edi, dword [esp + 0x50b8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
call fcn.00498520
test al, al
je 0x48cd7f
push 0x800
lea ecx, [esp + 0x309c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push 0x500e58
lea edx, [esp + 0x30a0]
push edx
call fcn.00451be0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
call fcn.00446760
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0x600
setae bl
mov byte [esp + 0x17], 0
test bl, bl
je 0x48c60f
lea ecx, [esp + 0x2098]
push ecx
call fcn.0048ae40
test al, al
je 0x48c600
push 0x800
lea edx, [esp + 0x209c]
push edx
call fcn.00451500
push 0x800
push str.WinRAR.lnk
lea eax, [esp + 0x20a0]
push eax
call fcn.004675f0
lea ecx, [esp + 0x2098]
push ecx
call esi
test eax, eax
setne byte [esp + 0x17]
lea edx, [esp + 0x2098]
push edx
call fcn.0048aea0
jmp 0x48c624
lea eax, [esp + 0x2098]
push eax
call fcn.0048ae40
test al, al
je 0x48cd7f
push 0x800
lea ecx, [esp + 0x209c]
push ecx
call fcn.00451500
push 0x800
push str.WinRAR.lnk
lea edx, [esp + 0x20a0]
push edx
call fcn.004675f0
mov ebp, dword [esp + 0x50b0]
cmp byte [ebp + 0x14], 0
je 0x48c749
cmp byte [esp + 0x50bc], 0
je 0x48c683
lea eax, [esp + 0x2098]
push eax
call fcn.00443cc0
test al, al
jne 0x48c683
cmp byte [esp + 0x17], al
je 0x48c756
push 0
push edi
push 0x537
call fcn.00461b20
push eax
push 0
lea ecx, [esp + 0x20a8]
push ecx
lea edx, [esp + 0x30ac]
push edx
push 1
call fcn.004b1d80
test al, al
jne 0x48c756
test bl, bl
je 0x48c756
cmp byte [esp + 0x50bc], al
je 0x48c756
lea eax, [esp + 0x2098]
push eax
call fcn.00443cc0
test al, al
je 0x48c6e6
lea ecx, [esp + 0x2098]
push ecx
call esi
test eax, eax
je 0x48c756
lea edx, [esp + 0x2098]
push edx
call fcn.0048ae40
test al, al
je 0x48c756
push 0x800
lea eax, [esp + 0x209c]
push eax
call fcn.00451500
push 0x800
push str.WinRAR.lnk
lea ecx, [esp + 0x20a0]
push ecx
call fcn.004675f0
push 0
push edi
push 0x537
call fcn.00461b20
push eax
push 0
lea edx, [esp + 0x20a8]
push edx
lea eax, [esp + 0x30ac]
push eax
push 1
call fcn.004b1d80
jmp 0x48c756
lea ecx, [esp + 0x2098]
push ecx
call fcn.00443910
movzx eax, bl
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
neg eax
sbb eax, eax
lea edx, [esp + 0x18]
and eax, 0xb
push edx
add eax, 0xb
push eax
push 0
call ebx
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 0x2098]
push ecx
push edx
call edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
push 0x800
lea ecx, [esp + 0x209c]
push ecx
call fcn.00451500
push 0x800
push str.WinRAR.lnk
lea edx, [esp + 0x20a0]
push edx
call fcn.004675f0
cmp byte [ebp + 0x15], 0
je 0x48c810
cmp byte [esp + 0x50bc], 0
je 0x48c7e3
lea eax, [esp + 0x2098]
push eax
call fcn.00443cc0
test al, al
je 0x48c81d
mov ecx, dword [esp + 0x20]
push 0
push ecx
push 0x537
call fcn.00461b20
push eax
push 0
lea edx, [esp + 0x20a8]
push edx
lea eax, [esp + 0x30ac]
push eax
push 1
call fcn.004b1d80
jmp 0x48c81d
lea ecx, [esp + 0x2098]
push ecx
call fcn.00443910
push 0x500e58
call fcn.004e7e9c
push str.WinRAR.chm
mov dword [esp + 0x30], eax
call fcn.004e7e9c
push str.Rar.txt
mov dword [esp + 0x38], eax
call fcn.004e7e9c
add esp, 0xc
push 0x391
mov dword [esp + 0x34], eax
call fcn.00461b20
push eax
call fcn.004e7e9c
push 0x4ff068
mov dword [esp + 0x3c], eax
call fcn.004e7e9c
add esp, 8
push 0x38e
mov dword [esp + 0x3c], eax
call fcn.00461b20
push eax
call fcn.004e7e9c
add esp, 4
push 0x38f
mov dword [esp + 0x40], eax
call fcn.00461b20
push eax
call fcn.004e7e9c
add esp, 4
push 0x390
mov dword [esp + 0x44], eax
call fcn.00461b20
push eax
call fcn.004e7e9c
add esp, 4
lea edx, [esp + 0x18]
push edx
push 2
xor esi, esi
push esi
mov dword [esp + 0x50], eax
call ebx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2098]
push eax
push ecx
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
push 0x800
lea eax, [esp + 0x209c]
push eax
call fcn.00451500
push 0x800
push 0x4ff068
lea ecx, [esp + 0x20a0]
push ecx
call fcn.004675f0
cmp byte [esp + 0x50bc], 0
je 0x48c928
lea edx, [esp + 0x2098]
push edx
call fcn.00443cc0
test al, al
je 0x48caf5
cmp byte [ebp + 0x16], 0
je 0x48cae8
mov edx, dword [esp + 0x24]
cmp edx, esi
je 0x48c954
lea eax, [esp + 0x2098]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x48c945
cmp byte [esp + 0x50bc], 0
jne 0x48ca30
lea edx, [esp + 0x2098]
push edx
call fcn.00443cc0
test al, al
je 0x48ca17
push 0x802
lea eax, [esp + 0x409c]
push eax
push 0x4fe964
lea ecx, [esp + 0x20a4]
push ecx
call fcn.00451550
lea ecx, [esp + 0x48]
call fcn.00445530
mov dword [esp + 0x50a8], esi
lea edx, [esp + 0x4098]
push edx
lea ecx, [esp + 0x4c]
call fcn.00445570
lea ecx, [esp + 0x1050]
call fcn.004036c0
push esi
lea eax, [esp + 0x1054]
push eax
lea ecx, [esp + 0x50]
call fcn.00445780
test al, al
je 0x48ca03
lea esp, [esp]
lea ecx, [esp + 0x1050]
push ecx
call fcn.00443910
push esi
lea edx, [esp + 0x1054]
push edx
lea ecx, [esp + 0x50]
call fcn.00445780
test al, al
jne 0x48c9e0
mov dword [esp + 0x50a8], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.00445550
push esi
lea eax, [esp + 0x209c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x48ca30
mov edx, dword [esp + esi*4 + 0x38]
push 0x800
lea ecx, [esp + 0x409c]
push ecx
push edx
lea eax, [esp + 0x20a4]
push eax
call fcn.00451550
push 0x800
push str..lnk
lea ecx, [esp + 0x40a0]
push ecx
call fcn.004675f0
mov edx, dword [esp + esi*4 + 0x28]
push 0x800
push edx
lea eax, [esp + 0x30a0]
push eax
call fcn.00451be0
lea ecx, [esp + 0x3098]
push ecx
call fcn.00443cc0
test al, al
je 0x48cadc
cmp byte [esp + 0x50bc], 0
je 0x48caa9
lea edx, [esp + 0x4098]
push edx
call fcn.00443cc0
test al, al
je 0x48cadc
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x20]
push 0
push eax
push 0x537
call fcn.00461b20
push eax
push 0
lea ecx, [esp + 0x40a8]
push ecx
lea edx, [esp + 0x30ac]
push edx
push 1
call fcn.004b1d80
inc esi
cmp esi, 4
jb 0x48ca30
jmp 0x48caf5
lea eax, [esp + 0x2098]
push eax
call fcn.0048aef0
lea ecx, [esp + 0x18]
push ecx
push 0x17
push 0
call ebx
test eax, eax
jne 0x48cd4f
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2098]
push edx
push eax
call edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
push 0x800
lea ecx, [esp + 0x209c]
push ecx
call fcn.00451500
push 0x800
push 0x4ff068
lea edx, [esp + 0x20a0]
push edx
call fcn.004675f0
mov bl, byte [esp + 0x50bc]
test bl, bl
je 0x48cb71
lea eax, [esp + 0x2098]
push eax
call fcn.00443cc0
test al, al
je 0x48cd4f
cmp byte [ebp + 0x16], 0
je 0x48cd42
test bl, bl
jne 0x48cc48
lea ecx, [esp + 0x2098]
push ecx
call fcn.00443cc0
test al, al
je 0x48cc38
push 0x802
lea edx, [esp + 0x409c]
push edx
push 0x4fe964
lea eax, [esp + 0x20a4]
push eax
call fcn.00451550
lea ecx, [esp + 0x48]
call fcn.00445530
mov dword [esp + 0x50a8], 1
lea ecx, [esp + 0x4098]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00445570
lea ecx, [esp + 0x1050]
call fcn.004036c0
push 0
lea edx, [esp + 0x1054]
push edx
lea ecx, [esp + 0x50]
call fcn.00445780
test al, al
je 0x48cc24
nop
lea eax, [esp + 0x1050]
push eax
call fcn.00443910
push 0
lea ecx, [esp + 0x1054]
push ecx
lea ecx, [esp + 0x50]
call fcn.00445780
test al, al
jne 0x48cc00
mov dword [esp + 0x50a8], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.00445550
push 0
lea edx, [esp + 0x209c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x48cc7f
lea eax, [esp + 0x2098]
push eax
call fcn.00443cc0
test al, al
je 0x48cc7f
lea eax, [esp + 0x2098]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48cc70
xor esi, esi
jmp 0x48cc90
mov eax, dword [esp + esi*4 + 0x38]
push 0x800
lea edx, [esp + 0x409c]
push edx
push eax
lea ecx, [esp + 0x20a4]
push ecx
call fcn.00451550
push 0x800
push str..lnk
lea edx, [esp + 0x40a0]
push edx
call fcn.004675f0
mov eax, dword [esp + esi*4 + 0x28]
push 0x800
push eax
lea ecx, [esp + 0x30a0]
push ecx
call fcn.00451be0
lea edx, [esp + 0x3098]
push edx
call fcn.00443cc0
test al, al
je 0x48cd36
test bl, bl
je 0x48cd03
lea eax, [esp + 0x4098]
push eax
call fcn.00443cc0
test al, al
je 0x48cd36
mov ecx, esi
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [esp + 0x20]
push 0
push ecx
push 0x537
call fcn.00461b20
push eax
push 0
lea edx, [esp + 0x40a8]
push edx
lea eax, [esp + 0x30ac]
push eax
push 1
call fcn.004b1d80
inc esi
cmp esi, 4
jb 0x48cc90
jmp 0x48cd4f
lea ecx, [esp + 0x2098]
push ecx
call fcn.0048aef0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esp + esi + 0x28]
push ecx
call fcn.004e3342
mov edx, dword [esp + esi + 0x3c]
push edx
call fcn.004e3342
add esi, 4
add esp, 8
cmp esi, 0x10
jb 0x48cd60
mov ecx, dword [esp + 0x50a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5088]
xor ecx, esp
call fcn.004e34f4
add esp, 0x5098
ret 0x10