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

Disassembly:
push 0xffffffffffffffff
push 0x484cdb
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.00422356
mov eax, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
mov dword [esp + 0x18], esi
test eax, eax
je 0x415fc3
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 0x416009
push 0
push 0
push str.js.SetDocument___failed.
call fcn.00419d83
mov dword [esp + 0x130], 0xffffffff
test esi, esi
je 0x416002
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
xor al, al
jmp 0x4161d7
lea ecx, [edi + 0x20c]
push ebp
mov dword [edi + 0x204], 1
mov dword [edi + 0x208], ebx
call fcn.004021a0
cmp ebx, 2
jne 0x41604a
cmp dword [0x4c6dd4], 0
je 0x4161a0
push 0
push 0
mov ecx, 0x4c6dc4
call fcn.0042bfeb
jmp 0x4161a0
cmp ebx, 3
je 0x41606b
cmp ebx, 4
je 0x41606b
mov edx, dword [esp + 0x14]
push str.PARM_ERR
push edx
call fcn.004020f0
add esp, 8
jmp 0x4161a0
push 0x30
push 0x497ae8
push 0x497af8
mov ecx, edi
call fcn.0041dcd1
push 0x103
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.0043aba0
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 0x4160b0
mov edx, dword [str.taskkill.exe]
mov ecx, dword [0x497b30]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [eax], edx
mov edx, dword [0x497b34]
mov dword [eax + 4], ecx
mov cl, byte [0x497b38]
mov dword [eax + 8], edx
lea edx, [esp + 0x20]
push edx
mov byte [eax + 0xc], cl
call ebp
test eax, eax
je 0x4160f7
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20]
push ecx
push 0xd3
call fcn.00417040
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [esp + 0x24]
push 0
push edx
call fcn.0043aba0
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 0x416133
mov ecx, dword [str.killie.bat]
mov edx, dword [0x497b40]
mov dword [eax], ecx
mov cx, word [0x497b44]
mov dword [eax + 4], edx
mov dl, byte [0x497b46]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
je 0x416176
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x20]
push edx
push 0xd2
call fcn.00417040
push 0
push 0x494ffb
push 0x494ffb
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 0x415dc0
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 0x4161d5
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.0043671a
add esp, 0x124
ret 8