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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5087e5
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x547770]
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 0x41b070
cmp dword [esi + 0x14], 8
jb 0x41adae
mov eax, dword [esi]
jmp 0x41adb0
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b070
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.00401d30
cmp eax, 0xffffffff
je 0x41afd8
push 0x5142d0
lea ecx, [ebp - 0x48]
call fcn.00402890
lea eax, [ebp - 0x48]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.0041a900
add esp, 8
test al, al
je 0x41ae2f
push esi
lea ecx, [ebp - 0xb8]
call fcn.00402650
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x41ae8d
push 0x5142d0
lea ecx, [ebp - 0xd4]
call fcn.00402890
push esi
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov dword [ebp - 4], 3
mov dword [ebp - 0xd8], 2
call fcn.00410960
push 0x5142d0
push eax
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 4], 4
mov dword [ebp - 0xd8], 6
call fcn.00401890
add esp, 0x18
mov dword [ebp - 4], 5
mov ebx, 0xe
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd8], ebx
call fcn.00401720
test bl, 8
je 0x41aeac
lea ecx, [ebp - 0x80]
and ebx, 0xfffffff7
call fcn.00413a70
test bl, 4
je 0x41aebf
lea ecx, [ebp - 0x9c]
and ebx, 0xfffffffb
call fcn.00413a70
test bl, 2
je 0x41aed2
lea ecx, [ebp - 0xd4]
and ebx, 0xfffffffd
call fcn.00413a70
mov dword [ebp - 4], 1
test bl, 1
je 0x41aee9
lea ecx, [ebp - 0xb8]
call fcn.00413a70
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 0
jb 0x41aeff
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9d66
add esp, 4
mov ebx, dword [ebp - 0xe0]
push 0x5116b8
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.004017a0
mov ecx, dword [ebp - 0xdc]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 6
call fcn.00410960
add esp, 0x18
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], esi
jb 0x41af49
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9d66
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.00413b10
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x41af87
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.004bafb0
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.004bad00
add esp, 0x18
cmp dword [ebx + 0x10], edi
jne 0x41afe9
xor eax, eax
jmp 0x41aff5
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x64]
call fcn.00401500
jmp 0x41af05
cmp dword [ebx + 0x14], 8
jb 0x41aff3
mov eax, dword [ebx]
jmp 0x41aff5
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 0x41b022
mov eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xf4]
cmp esi, edi
je 0x41b035
push esi
call fcn.004b9d66
add esp, 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41b04b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9d66
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 0x41b06c
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b9d66
add esp, 4
mov eax, ebx
jmp 0x41b072
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.004ba901
mov esp, ebp
pop ebp
ret