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

Disassembly:
push 0xffffffffffffffff
push 0x43afc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov eax, dword [0x44c960]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
push 0x44f6fc
lea ecx, [esp + 0x14]
mov dword [esp + 0x188], 0
call fcn.0042391d
push 0x44c344
lea ecx, [esp + 0x14]
call fcn.0041dcc2
lea ecx, [esp + 0x20]
call fcn.00423d16
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 1
push ecx
call fcn.00405060
lea edx, [esp + 0x38]
lea eax, [esp + 0xb8]
push edx
push str._sdata2
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0xb4]
push 0
push 0
push ecx
lea ecx, [esp + 0x2c]
call fcn.00423e24
test eax, eax
je 0x4058d0
mov eax, dword [0x44c960]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0xc]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x188], 3
call fcn.00424007
lea ecx, [esp + 0x20]
call fcn.00424154
mov eax, dword [esp + 0xc]
xor bl, bl
mov edi, dword [eax - 8]
test edi, edi
jl 0x4058ae
push 0x5e
lea ecx, [esp + 0x10]
call fcn.00423c37
mov esi, eax
cmp esi, 0xffffffff
je 0x40590d
push esi
lea ecx, [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0041d7e4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 4
call fcn.0042391d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 3
call fcn.004237e4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0041d96e
cmp eax, 0xffffffff
jne 0x405a0d
inc esi
push edi
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0041d7e4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 5
call fcn.0042391d
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 3
call fcn.004237e4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042391d
inc bl
movsx edx, bl
cmp edx, edi
jle 0x4057fe
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 2
call fcn.004237e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x184], 1
call fcn.004237e4
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0
call fcn.00423de1
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 0xffffffff
call fcn.004237e4
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call fcn.0041d96e
cmp eax, 0xffffffff
jne 0x40593c
push 0x40
push 0x44c574
push 0x44c548
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jne 0x4059ab
push 0x5e
lea ecx, [esp + 0x14]
call fcn.00423c37
push eax
lea ecx, [esp + 0x1c]
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041d7e4
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.0040fb6f
add esp, 8
test eax, eax
jne 0x40598f
push 1
push eax
push eax
push str.Qyjz2.0.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x40
push 0x44c574
push 0x44c548
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jle 0x4059cd
push 1
push 0
push 0
push str.Qyjz2.0.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jge 0x4059ed
push 0x40
push 0x44c574
push 0x44c548
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
push 0
push 0
push str.Qyjz2.0.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
push 0
push 0
push str.Qyjz2.0.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]