Function at 0x40c920
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x445cb0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
push 0xffffffffffffffff
mov edi, 7
lea eax, [esi + 8]
push ebp
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebp
mov word [esp + 0xb4], bp
call fcn.004019a0
mov dword [esp + 0xd0], ebp
push 0xffffffffffffffff
lea eax, [esi + 0x24]
push ebp
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
call fcn.004019a0
mov byte [esp + 0xd0], 1
push 2
push 0x44b87c
lea esi, [esp + 0x94]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], bp
call fcn.00401a90
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0xac]
mov esi, 8
cmp dword [esp + 0xc0], esi
jae 0x40ca0a
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40ca8e
cmp dword [esp + 0xa4], esi
jb 0x40ca2f
mov eax, dword [esp + 0x90]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x40ca5b
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x40ca87
mov edx, dword [esp + 0xac]
push edx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x40cccd
cmp dword [esp + 0x84], ebp
jne 0x40caee
mov edi, 2
lea ebx, [esp + 0xa8]
call fcn.0040cf20
cmp eax, 0xffffffff
je 0x40cae9
push eax
mov eax, ebx
push eax
xor ecx, ecx
lea esi, [esp + 0x5c]
call fcn.0040cda0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 3
call fcn.004019a0
cmp dword [esp + 0x6c], 8
jb 0x40cae4
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00431474
add esp, 4
mov esi, 8
mov edi, 7
push 0x3c
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.00433170
add esp, 0xc
mov dword [esp + 0x18], 0x3c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x540
jb 0x40cb2e
mov eax, dword [esp + 0xac]
mov dword [esp + 0x28], eax
jmp 0x40cb39
lea ecx, [esp + 0xac]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x88], esi
jb 0x40cb4c
mov edx, dword [esp + 0x74]
mov dword [esp + 0x30], edx
jmp 0x40cb54
lea eax, [esp + 0x74]
mov dword [esp + 0x30], eax
cmp dword [esp + 0xa4], esi
jb 0x40cb6a
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
jmp 0x40cb75
lea edx, [esp + 0x90]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40cc04
cmp dword [esp + 0xa4], esi
jb 0x40cba1
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x40cbcd
mov edx, dword [esp + 0x74]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x40ca87
mov eax, dword [esp + 0xac]
push eax
call fcn.00431474
add esp, 4
xor al, al
jmp 0x40cccd
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x40cc5a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40cc31
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc0], esi
mov eax, dword [esp + 0xac]
jae 0x40cc53
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0xa4], esi
jb 0x40cc73
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x40cc9f
mov edx, dword [esp + 0x74]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x40cccb
mov eax, dword [esp + 0xac]
push eax
call fcn.00431474
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00431b07
add esp, 0xc0
ret