Function at 0x402e60
Capabilities:
Check if file exists
Create process on windows
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x427280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
call fcn.0041db8a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], 0
call fcn.0041db8a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
mov edi, 0x105
sub eax, edi
or eax, ecx
mov byte [esp + 0x28], 1
jge 0x402eda
push edi
lea ecx, [esp + 0x10]
call fcn.00401810
mov esi, dword [esp + 0xc]
cmp dword [esi - 8], edi
jge 0x402ee9
push 0x80070057
call fcn.004014f0
push 0x104
push esi
mov dword [esi - 0xc], edi
push 0
mov byte [esi + 0x105], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402f06
sub eax, edx
js 0x402edf
cmp eax, dword [esi - 8]
jg 0x402edf
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.0040e260
add esp, 8
test eax, eax
jne 0x402f31
or eax, 0xffffffff
jmp 0x402f33
sub eax, esi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.00402ba0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00402c30
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00402c30
push str.config.ini
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401a30
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.00402c30
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402fcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
lea eax, [esp + 0x18]
lea esi, [ebp + 0x70]
push eax
mov ecx, esi
call fcn.00402c30
mov eax, dword [esi]
push eax
push 0
push str.Count
push str.IniCount
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4032ca
mov eax, dword [ebp + 0x78]
mov edx, dword [eax - 4]
mov ebx, dword [esi]
lea edi, [ebp + 0x78]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
sub eax, 0x80
or eax, ecx
jge 0x403025
push 0x80
mov ecx, edi
call fcn.00401810
mov eax, dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 0x80
push eax
push 0
push str.Name0
push str.IniName
call edi
mov eax, dword [ebp + 0x7c]
mov ecx, dword [esi]
mov edx, dword [eax - 4]
lea ebx, [ebp + 0x7c]
sub eax, 0x10
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, 1
sub ecx, edx
sub eax, 0x80
or eax, ecx
jge 0x403073
push 0x80
mov ecx, ebx
call fcn.00401810
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
push edx
push 0x80
push eax
push 0
push str.Name1
push str.IniName
call edi
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x80]
lea edx, [ebp + 0x80]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x80
or eax, ecx
jge 0x4030c3
push 0x80
mov ecx, edx
call fcn.00401810
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x80]
push ecx
push 0x80
push eax
push 0
push str.Name2
push str.IniName
call edi
mov eax, dword [ebp + 0x84]
mov edx, dword [eax - 4]
mov esi, dword [esi]
add ebp, 0x84
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
sub eax, 0x80
or eax, ecx
jge 0x403115
push 0x80
mov ecx, ebp
call fcn.00401810
mov eax, dword [ebp]
push esi
push 0x80
push eax
push 0
push str.Name3
push str.IniName
call edi
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x78]
add eax, 0x78
test esi, esi
jne 0x40313f
xor eax, eax
jmp 0x403153
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403144
sub eax, edx
js 0x403326
cmp eax, dword [esi - 8]
jg 0x403326
mov ecx, dword [esp + 0x14]
mov dword [esi - 0xc], eax
mov edx, dword [ecx + 0x78]
add ecx, 0x78
mov byte [eax + edx], 0
mov esi, dword [ebx]
test esi, esi
jne 0x403177
xor eax, eax
jmp 0x40318f
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403180
sub eax, edx
js 0x403326
cmp eax, dword [esi - 8]
jg 0x403326
mov dword [esi - 0xc], eax
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x80]
add eax, 0x80
test ecx, ecx
jne 0x4031b8
xor eax, eax
jmp 0x4031cf
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4031c0
sub eax, esi
js 0x403326
cmp eax, dword [ecx - 8]
jg 0x403326
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x80]
add ecx, 0x80
mov byte [eax + edx], 0
mov ecx, dword [ebp]
test ecx, ecx
jne 0x4031fa
xor eax, eax
jmp 0x40320f
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403200
sub eax, esi
js 0x403326
cmp eax, dword [ecx - 8]
jg 0x403326
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
push str._temp_
lea edx, [esp + 0x14]
mov byte [eax + ecx], 0
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00401a30
push ebp
push eax
lea ecx, [esp + 0x30]
mov bl, 4
push ecx
mov byte [esp + 0x44], bl
call fcn.00402db0
add esp, 0x18
mov esi, dword [esp + 0x14]
add esi, 0x88
push eax
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.00402c30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403284
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4032ca
mov esi, dword [esi]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403313
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret
push 0x80070057
call fcn.004014f0
int3