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

Disassembly:
push 0xffffffffffffffff
push 0x441ff0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x451254]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451254]
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.004019b0
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.004019b0
mov byte [esp + 0xd0], 1
push 2
push 0x4475d4
lea esi, [esp + 0x94]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebp
mov word [esp + 0x98], bp
call fcn.00401aa0
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0xac]
mov esi, 8
cmp dword [esp + 0xc0], esi
jae 0x40ae1a
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40ae9e
cmp dword [esp + 0xa4], esi
jb 0x40ae3f
mov eax, dword [esp + 0x90]
push eax
call fcn.0042e0ba
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x40ae6b
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042e0ba
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x40ae97
mov edx, dword [esp + 0xac]
push edx
call fcn.0042e0ba
add esp, 4
xor al, al
jmp 0x40b0dd
cmp dword [esp + 0x84], ebp
jne 0x40aefe
mov edi, 2
lea ebx, [esp + 0xa8]
call fcn.0040b2f0
cmp eax, 0xffffffff
je 0x40aef9
push eax
mov eax, ebx
push eax
xor ecx, ecx
lea esi, [esp + 0x5c]
call fcn.0040b170
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 3
call fcn.004019b0
cmp dword [esp + 0x6c], 8
jb 0x40aef4
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042e0ba
add esp, 4
mov esi, 8
mov edi, 7
push 0x3c
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.0042fcc0
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 0x40af3e
mov eax, dword [esp + 0xac]
mov dword [esp + 0x28], eax
jmp 0x40af49
lea ecx, [esp + 0xac]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x88], esi
jb 0x40af5c
mov edx, dword [esp + 0x74]
mov dword [esp + 0x30], edx
jmp 0x40af64
lea eax, [esp + 0x74]
mov dword [esp + 0x30], eax
cmp dword [esp + 0xa4], esi
jb 0x40af7a
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
jmp 0x40af85
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 0x40b014
cmp dword [esp + 0xa4], esi
jb 0x40afb1
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0042e0ba
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x40afdd
mov edx, dword [esp + 0x74]
push edx
call fcn.0042e0ba
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x40ae97
mov eax, dword [esp + 0xac]
push eax
call fcn.0042e0ba
add esp, 4
xor al, al
jmp 0x40b0dd
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x40b06a
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 0x40b041
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 0x40b063
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0xa4], esi
jb 0x40b083
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0042e0ba
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x40b0af
mov edx, dword [esp + 0x74]
push edx
call fcn.0042e0ba
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x40b0db
mov eax, dword [esp + 0xac]
push eax
call fcn.0042e0ba
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.0042e4b4
add esp, 0xc0
ret