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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0d6e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x4e54fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push str.PROCEXPL
mov dword [ebp - 0x24], 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
or ebx, 0xffffffff
test edi, edi
jne 0x471e2b
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x471f54
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x200
or eax, ecx
jge 0x471ba4
push 0x200
lea ecx, [ebp - 0x14]
call fcn.00405640
mov edx, dword [ebp - 0x14]
cmp dword [edx - 8], 0x200
jl 0x471f5e
mov dword [edx - 0xc], 0x200
xor ecx, ecx
mov eax, dword [ebp - 0x14]
push 0x200
push edx
push ecx
mov word [eax + 0x400], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x471bdd
mov byte [ebp - 0xd], al
jmp 0x471d5c
push 0x5c
push dword [ebp - 0x14]
call fcn.0047fdbb
mov esi, eax
add esp, 8
test esi, esi
jne 0x471bf5
or esi, 0xffffffff
jmp 0x471bfa
sub esi, dword [ebp - 0x14]
sar esi, 1
push str.procexp
lea ecx, [ebp - 0x1c]
call fcn.00405020
mov byte [ebp - 4], 2
cmp byte [ebp + 0xc], 0
jne 0x471c37
call fcn.00420e10
test al, al
je 0x471c21
push 0x4b6924
jmp 0x471c2f
call fcn.00420dc0
test al, al
je 0x471c37
push 0x4b692c
lea ecx, [ebp - 0x1c]
call fcn.0040eab0
push 0x4c6138
lea ecx, [ebp - 0x1c]
call fcn.0040eab0
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00419250
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push eax
call fcn.0040eb00
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471c91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471caf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x40
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0x44
push 0
push eax
call fcn.0047f8f0
mov eax, 5
mov dword [ebp - 0x60], 1
mov word [ebp - 0x5c], ax
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x471cf3
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00405810
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x471d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x471d3a
cmp byte [ebp + 0xc], 0
jne 0x471d3a
push 1
push dword [ebp + 8]
call fcn.00471b10
add esp, 8
mov byte [ebp - 0xd], al
jmp 0x471d3e
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471d5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x471d7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3e8
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
xor esi, esi
push 0
push str.PROCEXPL
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
jne 0x471dd4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x471db0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471df2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471e13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x471e2b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 0x48
cmp dword [eax + 0x14], 8
jb 0x471e39
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405020
mov dword [ebp - 4], 0xb
push 0x5c
push dword [ebp - 0x18]
call fcn.0047fdbb
add esp, 8
test eax, eax
je 0x471ebd
sub eax, dword [ebp - 0x18]
sar eax, 1
js 0x471ebd
lea ecx, [eax + 1]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408a10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0040eb00
mov eax, 1
mov dword [ebp - 0x24], eax
and eax, 0xfffffffe
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471ebd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.00419710
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x20]
cmp dword [eax - 4], 1
jle 0x471ee3
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
call fcn.00419a10
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [eax - 0xc]
inc eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne byte [ebp - 0xd]
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471f20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x471f3f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406ac0
push 0x80070057
call fcn.00406ac0
int3