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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539636
mov eax, dword fs:[0]
push eax
mov eax, 0x6080
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x608c], eax
call fcn.004af8c0
test al, al
je 0x4433b5
push 0x800
lea eax, [ebp - 0x2010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push 0x544510
lea eax, [ebp - 0x2010]
push eax
call fcn.00486320
call fcn.00478e40
cmp eax, 0x600
mov byte [ebp - 0x6085], 0
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push 0x10
push 0
setae bh
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test bh, bh
je 0x442dc7
test eax, eax
lea eax, [ebp - 0x1010]
push 0x800
je 0x442c12
push str.unknown_folder
push eax
call fcn.0049dc20
jmp 0x442c44
push eax
call fcn.00484610
push 0x800
push str.WinRAR.lnk
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dbe0
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne byte [ebp - 0x6085]
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x442c73
push 0x800
push str.unknown_folder
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dc20
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.00484610
push 0x800
push str.WinRAR.lnk
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dbe0
xor eax, eax
mov word [ebp - 0x4014], ax
lea eax, [ebp - 0x4014]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x442cd2
push 0x800
push str.unknown_folder
lea eax, [ebp - 0x4014]
push eax
call fcn.0049dc20
mov esi, dword [ebp + 8]
mov bl, byte [ebp + 0x18]
cmp byte [esi + 0x14], 0
je 0x442dea
test bl, bl
je 0x442d02
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
jne 0x442d02
cmp byte [ebp - 0x6085], al
je 0x442df6
push 0
push edi
push 0x537
call fcn.00497960
push eax
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
push 1
call fcn.004d7a50
test al, al
jne 0x442df6
test bh, bh
je 0x442df6
test bl, bl
je 0x442df6
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x442d64
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x442df6
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.00441650
test al, al
je 0x442df6
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.00484610
push 0x800
push str.WinRAR.lnk
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dbe0
push 0
push edi
push 0x537
call fcn.00497960
push eax
push 0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
push 1
call fcn.004d7a50
jmp 0x442df6
test eax, eax
je 0x442c73
push 0x800
push str.unknown_folder
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dc20
jmp 0x4433b5
lea eax, [ebp - 0x1010]
push eax
call fcn.00474cc0
lea eax, [ebp - 0x1010]
push eax
movzx eax, bh
neg eax
push 0
sbb eax, eax
and eax, 0xb
push 0
add eax, 0xb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x442e31
push 0x800
push str.unknown_folder
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dc20
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.00484610
push 0x800
push str.WinRAR.lnk
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dbe0
cmp byte [esi + 0x15], 0
je 0x442e9e
test bl, bl
je 0x442e72
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x442eaa
push 0
push edi
push 0x537
call fcn.00497960
push eax
lea eax, [ebp - 0x4014]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
push 1
call fcn.004d7a50
jmp 0x442eaa
lea eax, [ebp - 0x1010]
push eax
call fcn.00474cc0
push 0x544510
call fcn.0052551d
push str.WinRAR.chm
mov dword [ebp - 0x4024], eax
call fcn.0052551d
push str.Rar.txt
mov dword [ebp - 0x4020], eax
call fcn.0052551d
add esp, 0xc
mov dword [ebp - 0x401c], eax
push 0x391
call fcn.00497960
push eax
call fcn.0052551d
push 0x5445d4
mov dword [ebp - 0x4018], eax
call fcn.0052551d
add esp, 8
mov dword [ebp - 0x4034], eax
push 0x38e
call fcn.00497960
push eax
call fcn.0052551d
add esp, 4
mov dword [ebp - 0x4030], eax
push 0x38f
call fcn.00497960
push eax
call fcn.0052551d
add esp, 4
mov dword [ebp - 0x402c], eax
push 0x390
call fcn.00497960
push eax
call fcn.0052551d
add esp, 4
mov dword [ebp - 0x4028], eax
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x442f80
push 0x800
push str.unknown_folder
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dc20
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.00484610
push 0x800
push 0x5445d4
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dbe0
test bl, bl
je 0x442fbf
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x443170
cmp byte [esi + 0x16], 0
je 0x443164
mov eax, dword [ebp - 0x608c]
test eax, eax
je 0x442fe3
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1010]
push ecx
push eax
call fcn.0049dc20
test bl, bl
jne 0x4430a8
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x443099
push 0x802
lea eax, [ebp - 0x3014]
push eax
push 0x541db4
lea eax, [ebp - 0x1010]
push eax
call fcn.00485ce0
lea ecx, [ebp - 0x503c]
call fcn.00476960
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3014]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00476b60
lea ecx, [ebp - 0x6084]
call fcn.00404cb0
push 0
lea eax, [ebp - 0x6084]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00476a40
test al, al
je 0x443087
lea eax, [ebp - 0x6084]
push eax
call fcn.00474cc0
push 0
lea eax, [ebp - 0x6084]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00476a40
test al, al
jne 0x443063
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x503c]
call fcn.00476980
push 0
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor esi, esi
lea ebx, [ebx]
push 0x800
lea eax, [ebp - 0x3010]
push eax
push dword [ebp + esi*4 - 0x4034]
lea eax, [ebp - 0x1010]
push eax
call fcn.00485ce0
push 0x800
push str..lnk
lea eax, [ebp - 0x3010]
push eax
call fcn.0049dbe0
push 0x800
push dword [ebp + esi*4 - 0x4024]
lea eax, [ebp - 0x2010]
push eax
call fcn.00486320
lea eax, [ebp - 0x2010]
push eax
call fcn.004750c0
test al, al
je 0x443155
test bl, bl
je 0x443121
lea eax, [ebp - 0x3010]
push eax
call fcn.004750c0
test al, al
je 0x443155
mov eax, esi
neg eax
push 0
sbb eax, eax
not eax
and eax, edi
push eax
push 0x537
call fcn.00497960
push eax
lea eax, [ebp - 0x4014]
push eax
lea eax, [ebp - 0x3010]
push eax
lea eax, [ebp - 0x2010]
push eax
push 1
call fcn.004d7a50
inc esi
cmp esi, 4
jb 0x4430b0
mov esi, dword [ebp + 8]
jmp 0x443170
lea eax, [ebp - 0x1010]
push eax
call fcn.004414a0
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x1010]
push 0x800
je 0x4431a4
push str.unknown_folder
push eax
call fcn.0049dc20
jmp 0x443390
push eax
call fcn.00484610
push 0x800
push 0x5445d4
lea eax, [ebp - 0x1010]
push eax
call fcn.0049dbe0
test bl, bl
je 0x4431d8
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x443390
cmp byte [esi + 0x16], 0
je 0x443384
test bl, bl
jne 0x4432a7
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x443298
push 0x802
lea eax, [ebp - 0x3014]
push eax
push 0x541db4
lea eax, [ebp - 0x1010]
push eax
call fcn.00485ce0
lea ecx, [ebp - 0x503c]
call fcn.00476960
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3014]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00476b60
lea ecx, [ebp - 0x6084]
call fcn.00404cb0
push 0
lea eax, [ebp - 0x6084]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00476a40
test al, al
je 0x443286
lea eax, [ebp - 0x6084]
push eax
call fcn.00474cc0
push 0
lea eax, [ebp - 0x6084]
push eax
lea ecx, [ebp - 0x503c]
call fcn.00476a40
test al, al
jne 0x443262
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x503c]
call fcn.00476980
push 0
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [ebp - 0x608c]
test esi, esi
je 0x4432d1
lea eax, [ebp - 0x1010]
push eax
call fcn.004750c0
test al, al
je 0x4432d1
push dword [ebp + 0x10]
lea eax, [ebp - 0x1010]
push eax
push esi
call fcn.0049dc20
xor esi, esi
push 0x800
lea eax, [ebp - 0x3010]
push eax
push dword [ebp + esi*4 - 0x4034]
lea eax, [ebp - 0x1010]
push eax
call fcn.00485ce0
push 0x800
push str..lnk
lea eax, [ebp - 0x3010]
push eax
call fcn.0049dbe0
push 0x800
push dword [ebp + esi*4 - 0x4024]
lea eax, [ebp - 0x2010]
push eax
call fcn.00486320
lea eax, [ebp - 0x2010]
push eax
call fcn.004750c0
test al, al
je 0x443378
test bl, bl
je 0x443344
lea eax, [ebp - 0x3010]
push eax
call fcn.004750c0
test al, al
je 0x443378
mov eax, esi
neg eax
push 0
sbb eax, eax
not eax
and eax, edi
push eax
push 0x537
call fcn.00497960
push eax
lea eax, [ebp - 0x4014]
push eax
lea eax, [ebp - 0x3010]
push eax
lea eax, [ebp - 0x2010]
push eax
push 1
call fcn.004d7a50
inc esi
cmp esi, 4
jb 0x4432d3
jmp 0x443390
lea eax, [ebp - 0x1010]
push eax
call fcn.004414a0
xor esi, esi
push dword [ebp + esi - 0x4024]
call fcn.00524aa2
push dword [ebp + esi - 0x4034]
call fcn.00524aa2
add esi, 4
add esp, 8
cmp esi, 0x10
jb 0x443392
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507712
mov esp, ebp
pop ebp
ret 0x14