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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x410320
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403eee
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00401ce0
mov edi, 0x414508
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call fcn.00402070
test al, al
je 0x403e99
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x414508
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00402050
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x94], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x30]
call fcn.00404390
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x403ec8
mov eax, 0x4111b0
push eax
call fcn.00404f80
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], 0xffffffff
push 1
call fcn.00401ce0
xor eax, eax
jmp 0x40419a
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x13]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x18], cl
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x48], eax
call fcn.00401ce0
mov edi, 0x414404
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00402070
test al, al
je 0x403f6b
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x414404
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x94], 1
mov esi, ecx
mov ecx, dword [0x4111ac]
sub ecx, edx
cmp ecx, esi
ja 0x403f99
call fcn.00405721
test esi, esi
jbe 0x403fdb
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebx, [edx + esi]
push ebx
call fcn.00402070
test al, al
je 0x403fdb
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, ebp
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00402050
mov edi, 0x4145f4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4111ac]
sub ecx, edx
cmp ecx, esi
ja 0x404001
call fcn.00405721
test esi, esi
jbe 0x404046
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebx, [edx + esi]
push ebx
call fcn.00402070
test al, al
je 0x404046
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, 0x4145f4
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00402050
mov ebp, dword [esp + 0xa0]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x4111ac]
mov edx, dword [esp + 0x20]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40406f
call fcn.00405721
test esi, esi
jbe 0x4040b3
mov ecx, dword [esp + 0x20]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x1c]
push ebx
call fcn.00402070
test al, al
je 0x4040b3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, esi
mov esi, ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test eax, eax
jne 0x4040c8
mov eax, 0x4111b0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x48]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404128
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x404107
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x404170
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x38]
push ecx
call esi
jmp 0x404170
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x14]
push edx
push ebp
push eax
call fcn.00403d90
add esp, 0xc
test eax, eax
je 0x404170
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x40415a
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x404170
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test ecx, ecx
je 0x404198
mov al, byte [ecx - 1]
test al, al
je 0x40418e
cmp al, 0xff
je 0x40418e
dec al
mov byte [ecx - 1], al
jmp 0x404198
dec ecx
push ecx
call fcn.00405716
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret