Function at 0x41e8e0
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e2d9
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], 0x4ca910
mov byte [0x4ca910], 0
mov dword [0x4ca928], 0xf
mov dword [0x4ca924], 0
mov byte [0x4ca914], 0
push ecx
mov ecx, 0x4ca930
mov dword [ebp - 4], 0
call fcn.0041fab0
mov ecx, 0x4ca9e0
mov byte [ebp - 4], 1
call fcn.0041e860
cmp byte [0x4ca910], 0
jne 0x41ee0e
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004793f0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
jne 0x41e9b8
xor ecx, ecx
jmp 0x41e9ca
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e9c1
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040f450
push 1
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x450]
call fcn.00421be0
cmp eax, 0xffffffff
je 0x41ea0b
mov ecx, dword [ebp - 0x440]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0040ef70
push 1
push 0x4b886c
lea ecx, [ebp - 0x450]
call fcn.0040d970
push ecx
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x438]
call fcn.00423120
add esp, 4
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41ec3e
mov dword [ebp - 0x488], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, esi
je 0x41ea89
lea ecx, [ebp - 0x488]
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x41ec3e
xor ecx, ecx
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], cx
mov byte [ebp - 4], 4
mov dword [ebp - 0x484], ecx
lea ecx, [ebp - 0x484]
push ecx
push 0
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x41eb26
mov esi, dword [ebp - 0x484]
test esi, esi
je 0x41eb26
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004793f0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41eb1a
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x480]
call fcn.004089f0
push dword [ebp - 0x484]
call dword [sym.imp.SHELL32.dll_ILFree]
push str.CC120_
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x4a0]
call fcn.0040c1a0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
cmp dword [edi + 0x14], 8
jb 0x41eb4d
mov edi, dword [edi]
test edi, edi
jne 0x41eb55
xor edx, edx
jmp 0x41eb95
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41eb60
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x41eb7e
xor edx, edx
jmp 0x41eb95
add esi, esi
mov eax, esi
call fcn.00476810
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.0041e820
mov edx, eax
cmp byte [edx], 0
jne 0x41eb9e
xor ecx, ecx
jmp 0x41ebac
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41eba3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.0040f450
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 4
call fcn.0040f680
push ecx
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x4a0]
call fcn.00423120
add esp, 4
lea ecx, [ebp - 0x438]
push eax
call fcn.0041fa30
mov eax, dword [ebp - 0x48c]
cmp eax, 0x10
jb 0x41ec07
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.0040f330
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x480]
mov esi, eax
call fcn.0040f680
mov dword [ebp - 0x454], 0xf
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x468], 0
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.004793f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
test eax, eax
jne 0x41eca3
push eax
push 0x4b6d98
lea ecx, [ebp - 0x468]
call fcn.0040f450
cmp byte [ebp - 0x218], 0
jne 0x41ecb0
xor ecx, ecx
jmp 0x41ecc9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ecc0
sub ecx, edx
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x468]
call fcn.0040f450
cmp esi, 0xffffffff
je 0x41ed26
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x468]
push eax
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x4a0]
call fcn.004231f0
sub esp, 8
mov byte [ebp - 4], 7
push 0x15
jmp 0x41ed5a
push 0
push str.CC120
call fcn.0047e446
add esp, 8
test eax, eax
je 0x41ed7e
lea eax, [ebp - 0x468]
push eax
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x4a0]
call fcn.004231f0
sub esp, 8
mov byte [ebp - 4], 8
push 0x16
push eax
call fcn.0041eed0
mov eax, dword [ebp - 0x48c]
cmp eax, 0x10
jb 0x41ed7e
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.0040f330
mov eax, dword [ebp - 0x454]
cmp eax, 0x10
jb 0x41ed9c
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.0040f330
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x454], 0xf
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x468], 0
cmp eax, 0x10
jb 0x41edd5
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.0040f330
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp eax, 0x10
jb 0x41ee0e
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.0040f330
mov eax, 0x4ca910
lea esp, [ebp - 0x4b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cda
mov esp, ebp
pop ebp
ret