Function at 0x410a30
Capabilities:
Check if file exists
Create process on windows
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4b0843
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov esi, dword [esp + 0x98]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x50]
push esi
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa0]
xor edi, edi
mov dword [esp + 0x50], 0x3c
mov dword [esp + 0x54], 0x40
mov dword [esp + 0x5c], str.open
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], 5
mov dword [esp + 0x64], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410bb1
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0043b290
add esp, 4
test eax, eax
je 0x410bb1
mov ebp, dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
call fcn.0043c230
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], edi
call fcn.0043cab0
test eax, eax
jne 0x410afd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.0043c260
jmp 0x410b63
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.0043c270
test eax, eax
jne 0x410b38
lea ecx, [esp + 0x18]
push ecx
call fcn.0043bbf0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.0043c260
jmp 0x410b63
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x410b46
cmp eax, 2
jne 0x410b4b
mov edi, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.0043c260
test edi, edi
jne 0x410bb1
mov ecx, ebx
call fcn.0040fe80
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x4d7450
call fcn.00403ee0
mov esi, dword [esp + 0x5c]
push 1
call fcn.0043aee0
push eax
push esi
call fcn.0043b170
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x410d42
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov ebp, eax
jne 0x410d31
mov ecx, ebx
call fcn.00411020
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x410bf3
mov dword [esp + 0x10], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x410c4f
mov ecx, dword [0x4c8080]
mov dword [esp + 0x10], ecx
mov esi, dword [eax + 0x34]
test esi, esi
jne 0x410c08
xor ebx, ebx
jmp 0x410c11
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00405d70
test eax, eax
je 0x410c4f
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x410c3e
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], 1
lea esi, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x410caa
lea ecx, [esp + 0x10]
call fcn.00405e10
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405a70
test eax, eax
je 0x410caa
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 4]
mov eax, dword [edi - 4]
lea ecx, [edx + edx + 2]
lea edx, [eax + eax + 2]
cmp edx, ecx
jb 0x410caa
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jl 0x410d07
push str.SAFE
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x410d07
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x410d07
push ebp
mov ecx, 0x4d7450
call fcn.004038b0
push 0
mov ecx, 0x4d7450
call fcn.004038c0
push 0x42
mov ecx, 0x4d7450
call fcn.004033e0
mov ecx, dword [esp + 0x10]
mov eax, dword [0x4c8084]
lea edx, [ecx - 0xc]
cmp edx, eax
je 0x410d31
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x410d31
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043b3d0
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8