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

Disassembly:
mov eax, 0x1824
call fcn.004af5f0
mov eax, dword [0x4d8620]
xor eax, esp
mov dword [esp + 0x1820], eax
mov eax, dword [esp + 0x182c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x183c]
push 0x400
lea ecx, [esp + 0x830]
push ecx
push 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x82c]
push edx
mov esi, 0x4c8160
call fcn.00455b40
jmp 0x441730
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x441730
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
call fcn.00442d90
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0x600
setae al
xor bl, bl
mov byte [esp + 0xf], al
test al, al
je 0x4417eb
lea ecx, [esp + 0x2c]
push ecx
call fcn.00440c00
test al, al
je 0x441ec4
lea edx, [esp + 0x2c]
push edx
call fcn.004554c0
lea eax, [esp + 0x2c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441790
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4c86a4]
mov dword [eax], ecx
mov ecx, dword [0x4c86a8]
mov dword [eax + 4], edx
mov edx, dword [0x4c86ac]
mov dword [eax + 8], ecx
mov ecx, dword [0x4c86b0]
mov dword [eax + 0xc], edx
mov dx, word [0x4c86b4]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [esp + 0x2c]
push eax
call esi
lea ecx, [esp + 0x2c]
test eax, eax
push ecx
setne bl
call fcn.00440c60
jmp 0x4417fd
lea edx, [esp + 0x2c]
push edx
call fcn.00440c00
test al, al
je 0x441ec4
lea eax, [esp + 0x2c]
push eax
call fcn.004554c0
lea eax, [esp + 0x2c]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441810
mov ecx, dword [str.WinRAR.lnk]
mov edx, dword [0x4c86a4]
mov dword [eax], ecx
mov ecx, dword [0x4c86a8]
mov dword [eax + 4], edx
mov edx, dword [0x4c86ac]
mov dword [eax + 8], ecx
mov ecx, dword [0x4c86b0]
mov dword [eax + 0xc], edx
mov dx, word [0x4c86b4]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
mov eax, dword [esp + 0x1834]
cmp byte [eax + 0x14], 0
je 0x441979
cmp byte [esp + 0x1840], 0
je 0x441884
lea ecx, [esp + 0x2c]
push ecx
call fcn.00432420
test al, al
jne 0x441884
test bl, bl
je 0x441983
push 0
push edi
push 0x537
call fcn.00465ec0
push eax
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x840]
push eax
push 1
call fcn.0048ae50
test al, al
jne 0x441983
cmp byte [esp + 0xf], al
je 0x441983
cmp byte [esp + 0x1840], al
je 0x441983
lea ecx, [esp + 0x2c]
push ecx
call fcn.00432420
test al, al
je 0x4418e4
lea edx, [esp + 0x2c]
push edx
call esi
test eax, eax
je 0x441983
lea eax, [esp + 0x2c]
push eax
call fcn.00440c00
test al, al
je 0x441ec4
lea ecx, [esp + 0x2c]
push ecx
call fcn.004554c0
lea eax, [esp + 0x2c]
add eax, 0xfffffffe
jmp 0x441910
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441910
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4c86a4]
mov dword [eax], edx
mov edx, dword [0x4c86a8]
mov dword [eax + 4], ecx
mov ecx, dword [0x4c86ac]
mov dword [eax + 8], edx
mov edx, dword [0x4c86b0]
push 0
mov dword [eax + 0xc], ecx
mov cx, word [0x4c86b4]
push edi
mov dword [eax + 0x10], edx
push 0x537
mov word [eax + 0x14], cx
call fcn.00465ec0
push eax
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x840]
push eax
push 1
call fcn.0048ae50
jmp 0x441983
lea ecx, [esp + 0x2c]
push ecx
call fcn.00432710
movzx eax, byte [esp + 0xf]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
neg eax
sbb eax, eax
push ebp
lea edx, [esp + 0x14]
and eax, 0xb
push edx
add eax, 0xb
push eax
push 0
call esi
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 0x30]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004554c0
lea eax, [esp + 0x30]
add eax, 0xfffffffe
jmp 0x4419e0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4419e0
mov edx, dword [str.WinRAR.lnk]
mov ecx, dword [0x4c86a4]
mov ebx, dword [esp + 0x1838]
cmp byte [ebx + 0x15], 0
mov dword [eax], edx
mov edx, dword [0x4c86a8]
mov dword [eax + 4], ecx
mov ecx, dword [0x4c86ac]
mov dword [eax + 8], edx
mov edx, dword [0x4c86b0]
mov dword [eax + 0xc], ecx
mov cx, word [0x4c86b4]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
je 0x441a6e
cmp byte [esp + 0x1844], 0
je 0x441a48
lea edx, [esp + 0x30]
push edx
call fcn.00432420
test al, al
je 0x441a78
push 0
push edi
push 0x537
call fcn.00465ec0
push eax
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x844]
push ecx
push 1
call fcn.0048ae50
jmp 0x441a78
lea edx, [esp + 0x30]
push edx
call fcn.00432710
push 0x38e
mov dword [esp + 0x28], 0x4c7efc
call fcn.00465ec0
push 0x38f
mov dword [esp + 0x2c], eax
call fcn.00465ec0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push 2
push 0
call esi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004554c0
lea eax, [esp + 0x30]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441ad5
cmp byte [esp + 0x1844], 0
mov edx, dword [0x4c7efc]
mov ecx, dword [0x4c7f00]
mov dword [eax], edx
mov edx, dword [0x4c7f04]
mov dword [eax + 4], ecx
mov cx, word [0x4c7f08]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
je 0x441b22
lea edx, [esp + 0x30]
push edx
call fcn.00432420
test al, al
je 0x441ca9
cmp byte [ebx + 0x16], 0
je 0x441c9f
mov edx, dword [esp + 0x20]
test edx, edx
je 0x441b4f
lea eax, [esp + 0x30]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x441b40
lea edx, [esp + 0x30]
push edx
call fcn.00440cb0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ebx, ebx
jmp 0x441b70
mov ecx, dword [ebx*4 + 0x4d7058]
cmp word [ecx], 0
je 0x441c86
xor eax, eax
jmp 0x441b90
movzx ecx, word [esp + eax + 0x30]
mov word [esp + eax + 0x1030], cx
add eax, 2
test cx, cx
jne 0x441b90
lea edx, [esp + 0x1030]
push edx
call fcn.004554c0
mov eax, dword [esp + ebx*4 + 0x24]
mov edx, eax
jmp 0x441bc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441bc0
lea edi, [esp + 0x1030]
sub eax, edx
add edi, 0xfffffffe
jmp 0x441be0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x441be0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1030]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441c06
mov ecx, dword [str..lnk]
mov edx, dword [0x4c8698]
mov esi, dword [ebx*4 + 0x4d7058]
mov dword [eax], ecx
mov cx, word [0x4c869c]
mov dword [eax + 4], edx
lea edx, [esp + 0x830]
push edx
mov word [eax + 8], cx
call fcn.00455b40
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x441c42
mov eax, ebx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x1c]
push 0
push eax
push 0x537
call fcn.00465ec0
push eax
push 0
lea ecx, [esp + 0x1040]
push ecx
lea edx, [esp + 0x844]
push edx
push 1
call fcn.0048ae50
inc ebx
cmp ebx, 3
jb 0x441b70
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ebx, dword [esp + 0x1838]
jmp 0x441ca9
lea eax, [esp + 0x30]
push eax
call fcn.00440cb0
lea ecx, [esp + 0x14]
push ecx
push 0x17
push 0
call esi
test eax, eax
jne 0x441eb7
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push eax
call ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004554c0
lea eax, [esp + 0x30]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441cf0
cmp byte [esp + 0x1844], 0
mov edx, dword [0x4c7efc]
mov ecx, dword [0x4c7f00]
mov dword [eax], edx
mov edx, dword [0x4c7f04]
mov dword [eax + 4], ecx
mov cx, word [0x4c7f08]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
je 0x441d3d
lea edx, [esp + 0x30]
push edx
call fcn.00432420
test al, al
je 0x441eb7
cmp byte [ebx + 0x16], 0
lea eax, [esp + 0x30]
push eax
je 0x441eb2
call fcn.00440cb0
push 0
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [esp + 0x20]
test esi, esi
je 0x441d8f
lea edx, [esp + 0x30]
push edx
call fcn.00432420
test al, al
je 0x441d8f
lea eax, [esp + 0x30]
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 0x441d80
xor ebx, ebx
mov edx, dword [ebx*4 + 0x4d7058]
cmp word [edx], 0
je 0x441ea6
xor eax, eax
jmp 0x441db0
movzx ecx, word [esp + eax + 0x30]
mov word [esp + eax + 0x1030], cx
add eax, 2
test cx, cx
jne 0x441db0
lea eax, [esp + 0x1030]
push eax
call fcn.004554c0
mov eax, dword [esp + ebx*4 + 0x24]
mov edx, eax
jmp 0x441de0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441de0
lea edi, [esp + 0x1030]
sub eax, edx
add edi, 0xfffffffe
jmp 0x441e00
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x441e00
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1030]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x441e26
mov ecx, dword [str..lnk]
mov edx, dword [0x4c8698]
mov esi, dword [ebx*4 + 0x4d7058]
mov dword [eax], ecx
mov cx, word [0x4c869c]
mov dword [eax + 4], edx
lea edx, [esp + 0x830]
push edx
mov word [eax + 8], cx
call fcn.00455b40
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x441e62
mov eax, ebx
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x1c]
push 0
push eax
push 0x537
call fcn.00465ec0
push eax
push 0
lea ecx, [esp + 0x1040]
push ecx
lea edx, [esp + 0x844]
push edx
push 1
call fcn.0048ae50
inc ebx
cmp ebx, 3
jb 0x441d91
jmp 0x441eb7
call fcn.00440cb0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebp
mov ecx, dword [esp + 0x182c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aedbb
add esp, 0x1824
ret 0x10