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

Disassembly:
push 0xf8
mov eax, 0x51d848
call fcn.004ac5bf
mov ebx, edx
mov edi, ecx
lea esi, [edi + 0x78]
cmp dword [esi + 0x14], 0x10
jb 0x41565e
mov eax, dword [esi]
jmp 0x415660
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4159ce
lea edx, [edi + 0x30]
lea ecx, [ebp - 0xa0]
call fcn.00414c63
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push 0x54d1d8
push eax
call fcn.0040bae0
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.004049c9
mov edx, ebx
lea ecx, [ebp - 0x58]
call fcn.00414c63
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push str.__regpath_
push eax
call fcn.0040bae0
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004077a0
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.004049c9
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004049c9
push edi
lea eax, [ebp - 0x58]
push str.__entry_
push eax
call fcn.00408480
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004077a0
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004049c9
add edi, 0x18
cmp dword [edi + 0x10], 0
je 0x415756
push edi
lea eax, [ebp - 0x58]
push 0x54aee4
push eax
call fcn.00408480
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004077a0
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004049c9
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.004210d6
push 0x54aee4
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00408250
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408300
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.004039f8
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004049c9
push 0
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.004049c9
push 0x44
pop edi
push edi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004e9750
mov dword [ebp - 0x104], edi
xor eax, eax
lea edi, [ebp - 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x54aed0
push edi
call fcn.00401ae4
add esp, 0x10
mov ecx, esi
push eax
push 0xffffffffffffffff
push edi
call fcn.004079a0
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 8
cmp eax, 0xffffffff
je 0x415836
inc eax
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00403921
push eax
lea ecx, [ebp - 0x40]
call fcn.004039f8
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004049c9
cmp dword [ebp - 0x30], 0
je 0x415836
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
jmp 0x415838
xor ecx, ecx
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0xc0]
push edx
lea edx, [ebp - 0x104]
push edx
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41587b
push dword [ebp - 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc0]
call esi
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x569fe8], 0
je 0x4159b6
mov edx, 0x569fd8
lea ecx, [ebp - 0x58]
call fcn.00414c82
mov edx, eax
mov byte [ebp - 4], 9
mov ecx, ebx
call fcn.00421e2a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
mov esi, eax
call fcn.00409ad0
xor ebx, ebx
push ebx
call fcn.004f97a5
pop ecx
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x64]
mov dword [ebp - 0xa8], esi
push eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xac], edx
call fcn.00415d90
mov edi, 0x76c
test eax, eax
je 0x4158fb
mov esi, dword [eax + 0x14]
add esi, edi
jmp 0x4158fd
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00415d90
test eax, eax
je 0x41591a
mov eax, dword [eax + 0x14]
add eax, edi
jmp 0x41591c
mov eax, ebx
cmp esi, eax
jne 0x4159b8
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00415d90
test eax, eax
je 0x41593d
mov esi, dword [eax + 0x10]
inc esi
jmp 0x41593f
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00415d90
test eax, eax
je 0x41595b
mov eax, dword [eax + 0x10]
inc eax
jmp 0x41595d
mov eax, ebx
cmp esi, eax
jne 0x4159b8
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00415d90
test eax, eax
je 0x415979
mov esi, dword [eax + 0xc]
jmp 0x41597b
mov esi, ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00415d90
test eax, eax
je 0x415996
mov eax, dword [eax + 0xc]
jmp 0x415998
mov eax, ebx
cmp esi, eax
jne 0x4159b8
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004049c9
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
mov al, 1
jmp 0x4159d0
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004049c9
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
xor al, al
call fcn.004ac569
ret