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

Disassembly:
push 0xffffffffffffffff
push 0x48d458
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4b82d8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.004022a0
add esp, 4
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x78], ebx
cmp dword [eax - 0xc], ebx
jne 0x403c8b
add eax, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret
push 0x5c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00404fe0
push str.4game_zapuskatr.exe
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x90], 1
call fcn.004030f0
add esp, 0x18
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x78], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403d18
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x78], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
jmp 0x403c52
push 0x40
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.0045cf50
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x28], ebx
mov eax, dword [edx - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00419bd0
mov esi, eax
mov eax, dword [esp + 0x20]
mov edi, dword [eax - 0xc]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x403d7f
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.004015c0
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
push ecx
push eax
push esi
call fcn.0045d480
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x403db5
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.004015c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x78], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403df5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret