Function at 0x4217a0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e7b5
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], ebx
cmp dword [esi + 0x10], edi
je 0x421ac0
cmp dword [esi + 0x14], 8
jb 0x4217fe
mov eax, dword [esi]
jmp 0x421800
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421ac0
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
push 1
push edi
lea edx, [ebp - 0xe4]
push edx
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0xe4], 0x20
call fcn.00403e50
cmp eax, 0xffffffff
je 0x421a28
push 0x54e870
lea ecx, [ebp - 0x48]
call fcn.00401fd0
lea eax, [ebp - 0x48]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00421120
add esp, 8
test al, al
je 0x42187f
push esi
lea ecx, [ebp - 0xb8]
call fcn.0046eab0
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x4218dd
push 0x54e870
lea ecx, [ebp - 0xd4]
call fcn.00401fd0
push esi
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov dword [ebp - 4], 3
mov dword [ebp - 0xd8], 2
call fcn.00410870
push 0x54e870
push eax
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 4], 4
mov dword [ebp - 0xd8], 6
call fcn.00404e30
add esp, 0x18
mov dword [ebp - 4], 5
mov ebx, 0xe
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd8], ebx
call fcn.00402560
test bl, 8
je 0x4218fc
lea ecx, [ebp - 0x80]
and ebx, 0xfffffff7
call fcn.0046e6d0
test bl, 4
je 0x42190f
lea ecx, [ebp - 0x9c]
and ebx, 0xfffffffb
call fcn.0046e6d0
test bl, 2
je 0x421922
lea ecx, [ebp - 0xd4]
and ebx, 0xfffffffd
call fcn.0046e6d0
mov dword [ebp - 4], 1
test bl, 1
je 0x421939
lea ecx, [ebp - 0xb8]
call fcn.0046e6d0
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 0
jb 0x42194f
mov eax, dword [ebp - 0x48]
push eax
call fcn.00480102
add esp, 4
mov ebx, dword [ebp - 0xe0]
push 0x54b7d4
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00419950
mov ecx, dword [ebp - 0xdc]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 6
call fcn.00410870
add esp, 0x18
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], esi
jb 0x421999
mov eax, dword [ebp - 0x48]
push eax
call fcn.00480102
add esp, 4
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
lea edx, [ebp - 0xdc]
push edx
inc eax
mov word [ebp - 0x48], cx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.00413930
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4219d7
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
sub ecx, esi
push eax
sar ecx, 1
push ecx
push esi
call fcn.00481237
push 0x40
xor eax, eax
lea edx, [ebp - 0x134]
push edi
push edx
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x138], 0x44
call fcn.00480280
add esp, 0x18
cmp dword [ebx + 0x10], edi
jne 0x421a39
xor eax, eax
jmp 0x421a45
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x64]
call fcn.00401a70
jmp 0x421955
cmp dword [ebx + 0x14], 8
jb 0x421a43
mov eax, dword [ebx]
jmp 0x421a45
mov eax, ebx
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x138]
push edx
push eax
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x421a72
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xf4]
cmp esi, edi
je 0x421a85
push esi
call fcn.00480102
add esp, 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x421a9b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], esi
jb 0x421abc
mov eax, dword [ebp - 0x64]
push eax
call fcn.00480102
add esp, 4
mov eax, ebx
jmp 0x421ac2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret