Function at 0x401a60
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
mov eax, 0x2254
call fcn.004045e0
push esi
lea eax, [esp + 0x58]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x258]
push ecx
push 0x40a2ac
push edx
call fcn.00404580
lea eax, [esp + 0x264]
push 0
push eax
call fcn.00408146
add esp, 0x14
cmp eax, 0xffffffff
je 0x401ce2
lea ecx, [esp + 0x258]
lea edx, [esp + 0x58]
push ecx
push 0x200
push edx
push 0
push 0x40a2a4
push 0x40a29c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x258]
push eax
push 0x40a290
push ecx
call fcn.00404580
lea edx, [esp + 0x264]
push 0
push edx
call fcn.00408146
add esp, 0x14
cmp eax, 0xffffffff
je 0x401ce2
push ebx
push ebp
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [0x40f154]
lea ecx, [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x26c]
push 0x40a270
push edx
mov dword [esp + 0x30], 0x44
call fcn.00404580
mov eax, dword [0x40f154]
add esp, 0x10
xor ebp, ebp
test eax, eax
jle 0x401c02
mov ebx, 0x40b154
push 0x20
push ebx
call fcn.00404620
add esp, 8
test eax, eax
je 0x401bee
or ecx, 0xffffffff
mov edi, 0x40a0bc
xor eax, eax
lea edx, [esp + 0x264]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x264]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x264]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40a0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
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 [0x40f154]
inc ebp
add ebx, 0x200
cmp ebp, eax
jl 0x401b4f
xor ebp, ebp
test eax, eax
jle 0x401c87
mov ebx, 0x40b154
push 0x20
push ebx
call fcn.00404620
add esp, 8
test eax, eax
jne 0x401c77
mov edi, 0x40a074
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x264]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x264]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
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 [0x40f154]
inc ebp
add ebx, 0x200
cmp ebp, eax
jl 0x401c0d
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x280]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop ebp
test eax, eax
pop ebx
je 0x401ce2
mov eax, dword [esp + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
mov eax, 1
pop esi
add esp, 0x2254
ret
xor eax, eax
pop esi
add esp, 0x2254
ret