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

Disassembly:
mov eax, 0x2254
call fcn.00405580
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 0x40b33c
push edx
call fcn.00405520
lea eax, [esp + 0x264]
push 0
push eax
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x402212
lea ecx, [esp + 0x258]
lea edx, [esp + 0x58]
push ecx
push 0x200
push edx
push 0
push 0x40b334
push 0x40b32c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x258]
push eax
push 0x40b320
push ecx
call fcn.00405520
lea edx, [esp + 0x264]
push 0
push edx
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x402212
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 [0x4102d4]
lea ecx, [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x26c]
push 0x40b300
push edx
mov dword [esp + 0x30], 0x44
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0x10
xor ebp, ebp
test eax, eax
jle 0x402132
mov ebx, 0x40c2d4
push 0x20
push ebx
call fcn.004055c0
add esp, 8
test eax, eax
je 0x40211e
or ecx, 0xffffffff
mov edi, 0x40b0bc
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, 0x40b0b8
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 [0x4102d4]
inc ebp
add ebx, 0x200
cmp ebp, eax
jl 0x40207f
xor ebp, ebp
test eax, eax
jle 0x4021b7
mov ebx, 0x40c2d4
push 0x20
push ebx
call fcn.004055c0
add esp, 8
test eax, eax
jne 0x4021a7
mov edi, 0x40b074
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 [0x4102d4]
inc ebp
add ebx, 0x200
cmp ebp, eax
jl 0x40213d
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 0x402212
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