Function at 0x415f60
Capabilities:
Check if file exists
Create process on windows
Create thread
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x484d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4a55d0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
mov eax, dword [0x4a55d0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x13c]
mov ebp, dword [esp + 0x138]
push 0
lea ecx, [esp + 0x14]
push ecx
push 9
push 2
lea edx, [edi + 0x238]
push 0xcb
push edx
mov dword [esp + 0x2c], eax
call fcn.0042238b
mov eax, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x415fe3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [edi + 0x22c]
mov dword [esp + 0x130], 0
call fcn.00401190
test al, al
jne 0x416029
push 0
push 0
push str.js.SetDocument___failed.
call fcn.00419daf
mov dword [esp + 0x130], 0xffffffff
test esi, esi
je 0x416022
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
xor al, al
jmp 0x4161f7
lea ecx, [edi + 0x20c]
push ebp
mov dword [edi + 0x204], 1
mov dword [edi + 0x208], ebx
call fcn.004021a0
cmp ebx, 2
jne 0x41606a
cmp dword [0x4c6dd4], 0
je 0x4161c0
push 0
push 0
mov ecx, 0x4c6dc4
call fcn.0042c029
jmp 0x4161c0
cmp ebx, 3
je 0x41608b
cmp ebx, 4
je 0x41608b
mov edx, dword [esp + 0x14]
push str.PARM_ERR
push edx
call fcn.004020f0
add esp, 8
jmp 0x4161c0
push 0x30
push 0x497a80
push 0x497a90
mov ecx, edi
call fcn.0041dcf3
push 0x103
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.0043abc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x104
call ebx
lea eax, [esp + 0x20]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4160d0
mov edx, dword [str.taskkill.exe]
mov ecx, dword [0x497ac8]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [eax], edx
mov edx, dword [0x497acc]
mov dword [eax + 4], ecx
mov cl, byte [0x497ad0]
mov dword [eax + 8], edx
lea edx, [esp + 0x20]
push edx
mov byte [eax + 0xc], cl
call ebp
test eax, eax
je 0x416117
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20]
push ecx
push 0xd3
call fcn.00417060
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0043abc0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x104
call ebx
lea eax, [esp + 0x20]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x416153
mov ecx, dword [str.killie.bat]
mov edx, dword [0x497ad8]
mov dword [eax], ecx
mov cx, word [0x497adc]
mov dword [eax + 4], edx
mov dl, byte [0x497ade]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
je 0x416196
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x20]
push edx
push 0xd2
call fcn.00417060
push 0
push 0x49501b
push 0x49501b
lea eax, [esp + 0x2c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x1c]
push ecx
push 0
push edi
push 0x415de0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x130], 0xffffffff
test esi, esi
je 0x4161f5
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov al, 1
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00436738
add esp, 0x124
ret 8