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

Disassembly:
push 0xffffffffffffffff
push 0x4f6e06
mov eax, dword fs:[0]
push eax
mov eax, 0x508c
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x5088], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 0x50a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50b4]
mov esi, dword [esp + 0x50b8]
push 0x800
lea ecx, [esp + 0x309c]
push ecx
xor ebp, ebp
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push 0x4fccd0
lea edx, [esp + 0x30a0]
push edx
call fcn.004510f0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
call fcn.00445d60
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0x600
setae bl
mov byte [esp + 0x17], 0
test bl, bl
je 0x48a867
lea ecx, [esp + 0x2098]
push ecx
call fcn.004890d0
test al, al
je 0x48afd5
push 0x800
lea edx, [esp + 0x209c]
push edx
call fcn.00450a60
push 0x800
push str.WinRAR.lnk
lea eax, [esp + 0x20a0]
push eax
call fcn.004669b0
lea ecx, [esp + 0x2098]
push ecx
call edi
lea edx, [esp + 0x2098]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.00489130
jmp 0x48a87c
lea eax, [esp + 0x2098]
push eax
call fcn.004890d0
test al, al
je 0x48afd5
push 0x800
lea ecx, [esp + 0x209c]
push ecx
call fcn.00450a60
push 0x800
push str.WinRAR.lnk
lea edx, [esp + 0x20a0]
push edx
call fcn.004669b0
mov eax, dword [esp + 0x50b0]
cmp byte [eax + 0x14], 0
je 0x48a9a1
cmp byte [esp + 0x50bc], 0
je 0x48a8db
lea ecx, [esp + 0x2098]
push ecx
call fcn.004432f0
test al, al
jne 0x48a8db
cmp byte [esp + 0x17], al
je 0x48a9ae
push ebp
push esi
push 0x537
call fcn.004610c0
push eax
push ebp
lea edx, [esp + 0x20a8]
push edx
lea eax, [esp + 0x30ac]
push eax
push 1
call fcn.004ae520
test al, al
jne 0x48a9ae
test bl, bl
je 0x48a9ae
cmp byte [esp + 0x50bc], al
je 0x48a9ae
lea ecx, [esp + 0x2098]
push ecx
call fcn.004432f0
test al, al
je 0x48a93c
lea edx, [esp + 0x2098]
push edx
call edi
test eax, eax
je 0x48a9ae
lea eax, [esp + 0x2098]
push eax
call fcn.004890d0
test al, al
je 0x48afd5
push 0x800
lea ecx, [esp + 0x209c]
push ecx
call fcn.00450a60
push 0x800
push str.WinRAR.lnk
lea edx, [esp + 0x20a0]
push edx
call fcn.004669b0
push ebp
push esi
push 0x537
call fcn.004610c0
push eax
push ebp
lea eax, [esp + 0x20a8]
push eax
lea ecx, [esp + 0x30ac]
push ecx
push 1
call fcn.004ae520
jmp 0x48a9ae
lea edx, [esp + 0x2098]
push edx
call fcn.00442f40
movzx ecx, bl
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x18]
and ecx, 0xb
push eax
add ecx, 0xb
push ecx
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
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.00450a60
push 0x800
push str.WinRAR.lnk
lea edx, [esp + 0x20a0]
push edx
call fcn.004669b0
mov eax, dword [esp + 0x50b0]
cmp byte [eax + 0x15], 0
je 0x48aa68
cmp byte [esp + 0x50bc], 0
je 0x48aa41
lea ecx, [esp + 0x2098]
push ecx
call fcn.004432f0
test al, al
je 0x48aa75
push ebp
push esi
push 0x537
call fcn.004610c0
push eax
push ebp
lea edx, [esp + 0x20a8]
push edx
lea eax, [esp + 0x30ac]
push eax
push 1
call fcn.004ae520
jmp 0x48aa75
lea ecx, [esp + 0x2098]
push ecx
call fcn.00442f40
push 0x4fccd0
call fcn.004e37b5
push str.WinRAR.chm
mov dword [esp + 0x30], eax
call fcn.004e37b5
push str.Rar.txt
mov dword [esp + 0x38], eax
call fcn.004e37b5
add esp, 0xc
push 0x391
mov dword [esp + 0x34], eax
call fcn.004610c0
push eax
call fcn.004e37b5
push 0x4fafa0
mov dword [esp + 0x3c], eax
call fcn.004e37b5
add esp, 8
push 0x38e
mov dword [esp + 0x3c], eax
call fcn.004610c0
push eax
call fcn.004e37b5
add esp, 4
push 0x38f
mov dword [esp + 0x40], eax
call fcn.004610c0
push eax
call fcn.004e37b5
add esp, 4
push 0x390
mov dword [esp + 0x44], eax
call fcn.004610c0
push eax
call fcn.004e37b5
add esp, 4
lea edx, [esp + 0x18]
push edx
push 2
push ebp
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.00450a60
push 0x800
push 0x4fafa0
lea ecx, [esp + 0x20a0]
push ecx
call fcn.004669b0
cmp byte [esp + 0x50bc], 0
je 0x48ab7e
lea edx, [esp + 0x2098]
push edx
call fcn.004432f0
test al, al
je 0x48ad48
mov eax, dword [esp + 0x50b0]
cmp byte [eax + 0x16], 0
je 0x48ad3b
mov edx, dword [esp + 0x20]
cmp edx, ebp
je 0x48abb1
lea eax, [esp + 0x2098]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x48aba2
lea edx, [esp + 0x2098]
push edx
call fcn.004432f0
test al, al
je 0x48ac87
push 0x802
lea eax, [esp + 0x409c]
push eax
push 0x4fa890
lea ecx, [esp + 0x20a4]
push ecx
call fcn.00450ab0
lea ecx, [esp + 0x1090]
call fcn.00444b50
mov dword [esp + 0x50a8], ebp
lea edx, [esp + 0x4098]
push edx
lea ecx, [esp + 0x1094]
call fcn.00444b90
push ebp
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1098]
mov dword [esp + 0x1060], ebp
mov dword [esp + 0x1064], ebp
mov dword [esp + 0x1068], ebp
mov dword [esp + 0x106c], ebp
mov dword [esp + 0x1070], ebp
mov dword [esp + 0x1074], ebp
call fcn.00444da0
test al, al
je 0x48ac70
lea esp, [esp]
lea ecx, [esp + 0x48]
push ecx
call fcn.00442f40
push ebp
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1098]
call fcn.00444da0
test al, al
jne 0x48ac50
mov dword [esp + 0x50a8], 0xffffffff
lea ecx, [esp + 0x1090]
call fcn.00444b70
push ebp
lea eax, [esp + 0x209c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor esi, esi
jmp 0x48aca0
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.00450ab0
push 0x800
push str..lnk
lea ecx, [esp + 0x40a0]
push ecx
call fcn.004669b0
mov edx, dword [esp + esi*4 + 0x28]
push 0x800
push edx
lea eax, [esp + 0x30a0]
push eax
call fcn.004510f0
lea ecx, [esp + 0x3098]
push ecx
call fcn.004432f0
test al, al
je 0x48ad2f
mov edx, esi
neg edx
sbb edx, edx
not edx
and edx, dword [esp + 0x24]
push ebp
push edx
push 0x537
call fcn.004610c0
push eax
push ebp
lea eax, [esp + 0x40a8]
push eax
lea ecx, [esp + 0x30ac]
push ecx
push 1
call fcn.004ae520
inc esi
cmp esi, 4
jb 0x48aca0
jmp 0x48ad48
lea edx, [esp + 0x2098]
push edx
call fcn.00489180
lea eax, [esp + 0x18]
push eax
push 0x17
push ebp
call ebx
test eax, eax
jne 0x48afa8
mov edx, dword [esp + 0x18]
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.00450a60
push 0x800
push 0x4fafa0
lea edx, [esp + 0x20a0]
push edx
call fcn.004669b0
cmp byte [esp + 0x50bc], 0
je 0x48adc2
lea eax, [esp + 0x2098]
push eax
call fcn.004432f0
test al, al
je 0x48afa8
mov ecx, dword [esp + 0x50b0]
cmp byte [ecx + 0x16], 0
je 0x48af9b
lea edx, [esp + 0x2098]
push edx
call fcn.004432f0
test al, al
je 0x48aea9
push 0x802
lea eax, [esp + 0x409c]
push eax
push 0x4fa890
lea ecx, [esp + 0x20a4]
push ecx
call fcn.00450ab0
lea ecx, [esp + 0x1090]
call fcn.00444b50
mov dword [esp + 0x50a8], 1
lea edx, [esp + 0x4098]
push edx
lea ecx, [esp + 0x1094]
call fcn.00444b90
push ebp
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1098]
mov dword [esp + 0x1060], ebp
mov dword [esp + 0x1064], ebp
mov dword [esp + 0x1068], ebp
mov dword [esp + 0x106c], ebp
mov dword [esp + 0x1070], ebp
mov dword [esp + 0x1074], ebp
call fcn.00444da0
test al, al
je 0x48ae92
lea ecx, [esp + 0x48]
push ecx
call fcn.00442f40
push ebp
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1098]
call fcn.00444da0
test al, al
jne 0x48ae72
mov dword [esp + 0x50a8], 0xffffffff
lea ecx, [esp + 0x1090]
call fcn.00444b70
push ebp
lea eax, [esp + 0x209c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x48aeef
lea ecx, [esp + 0x2098]
push ecx
call fcn.004432f0
test al, al
je 0x48aeef
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
cmp cx, bp
jne 0x48aee0
xor esi, esi
jmp 0x48af00
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.00450ab0
push 0x800
push str..lnk
lea edx, [esp + 0x40a0]
push edx
call fcn.004669b0
mov eax, dword [esp + esi*4 + 0x28]
push 0x800
push eax
lea ecx, [esp + 0x30a0]
push ecx
call fcn.004510f0
lea edx, [esp + 0x3098]
push edx
call fcn.004432f0
test al, al
je 0x48af8f
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x24]
push ebp
push eax
push 0x537
call fcn.004610c0
push eax
push ebp
lea ecx, [esp + 0x40a8]
push ecx
lea edx, [esp + 0x30ac]
push edx
push 1
call fcn.004ae520
inc esi
cmp esi, 4
jb 0x48af00
jmp 0x48afa8
lea eax, [esp + 0x2098]
push eax
call fcn.00489180
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
mov eax, dword [esp + esi + 0x28]
push eax
call fcn.004df10f
mov ecx, dword [esp + esi + 0x3c]
push ecx
call fcn.004df10f
add esi, 4
add esp, 8
cmp esi, 0x10
jb 0x48afb6
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.004df2c4
add esp, 0x5098
ret 0x10