Function at 0x1015c4f0
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], esi
test esi, esi
je 0x1015c522
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
push dword [ebx + 0x64]
mov ecx, 0x1025b450
call fcn.10008cd0
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x238], eax
cmp ecx, 0xa0000
ja 0x1015c5d1
je 0x1015c5b5
cmp ecx, 0x20000
je 0x1015c59a
cmp ecx, 0x70000
je 0x1015c57e
cmp ecx, 0x90000
jne 0x1015c86a
cmp dword [ebx + 0x3c], 8
lea eax, [ebx + 0x28]
jb 0x1015c56d
mov eax, dword [eax]
push dword [ebx + 0x64]
push eax
call fcn.100deb00
add esp, 8
jmp 0x1015c86a
cmp dword [ebx + 0x3c], 8
lea eax, [ebx + 0x28]
jb 0x1015c589
mov eax, dword [eax]
push dword [ebx + 0x60]
push eax
call fcn.100de920
add esp, 8
jmp 0x1015c86a
cmp dword [ebx + 0x3c], 8
lea eax, [ebx + 0x28]
jb 0x1015c5a5
mov eax, dword [eax]
push 0
push eax
call fcn.100d9c10
add esp, 8
jmp 0x1015c86a
cmp dword [ebx + 0x3c], 8
lea eax, [ebx + 0x28]
jb 0x1015c5c0
mov eax, dword [eax]
push dword [ebx + 0x64]
push eax
call fcn.100de5a0
add esp, 8
jmp 0x1015c86a
cmp ecx, 0xb0000
je 0x1015c6a5
cmp ecx, 0xc0000
jne 0x1015c86a
lea ecx, [ebp - 0x22c]
call fcn.1006b640
lea ecx, [ebp - 0x284]
call fcn.10032d00
cmp dword [ebx + 0x3c], 8
lea eax, [ebx + 0x28]
jb 0x1015c60a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x284]
call fcn.1015b720
call fcn.10036820
mov ecx, eax
call fcn.101b31a0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp - 0x268]
call fcn.10036820
mov ecx, eax
call fcn.101b2f50
test eax, eax
je 0x1015c678
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x268]
call fcn.10036820
mov ecx, eax
call fcn.101b3310
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100738e0
lea ecx, [ebp - 0x284]
call fcn.1006bc60
lea ecx, [ebp - 0x22c]
call fcn.1006b9f0
jmp 0x1015c86a
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1015c86a
cmp dword [ebx + 0x3c], 8
push edi
lea edi, [ebx + 0x28]
mov eax, edi
jb 0x1015c6cd
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea ecx, [ebp - 0x224]
call fcn.10005170
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
jb 0x1015c70f
mov dword [ebp - 0x230], ecx
lea esi, [ebp - 0x224]
jb 0x1015c719
mov esi, ecx
mov eax, dword [ebp - 0x214]
lea eax, [esi + eax*2]
lea esi, [ebp - 0x224]
jb 0x1015c72c
mov esi, ecx
push sub.msvcrt.dll_towlower
push dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.1008e040
add esp, 0x14
lea ecx, [ebp - 0x224]
push 0
push str.startmenu
call fcn.1004e700
push 0
cmp eax, 0xffffffff
je 0x1015c773
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.startpin
jmp 0x1015c79a
push str.taskbar
lea ecx, [ebp - 0x224]
call fcn.1004e700
cmp eax, 0xffffffff
je 0x1015c7a2
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1015c7ac
mov eax, dword [edi]
push eax
call fcn.1000aa00
add esp, 4
test eax, eax
jne 0x1015c80f
cmp dword [edi + 0x14], 8
jb 0x1015c7c1
mov edi, dword [edi]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1015c7d7
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x28
call fcn.10003680
add esp, 4
push 0
push edi
test eax, eax
je 0x1015c7f3
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x1015c800
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1015c815
push esi
call edi
jmp 0x1015c815
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1015c82b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x13
call fcn.10003680
add esp, 4
test eax, eax
je 0x1015c844
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x1015c851
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x1015c858
push esi
call edi
lea ecx, [ebp - 0x224]
call fcn.10005250
mov esi, dword [ebp - 0x234]
pop edi
push dword [ebp - 0x238]
mov ecx, 0x1025b450
call fcn.10008cd0
test esi, esi
je 0x1015c88d
mov eax, dword [esi]
push 0
push ebx
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8