Function at 0x402203
Capabilities:
Create process on windows
Read .ini file
Terminate process

Disassembly:
push 0x5c
mov eax, 0x408ccd
call fcn.004088f1
mov bl, cl
lea ecx, [ebp - 0x28]
call fcn.00402068
and dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
push eax
call fcn.0040608c
push 0x52
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 1
pop ecx
call fcn.0040158c
lea ecx, [ebp - 0x64]
call fcn.00406165
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406165
push str.LoLSuite.ini
lea ecx, [ebp - 0x64]
call fcn.0040604f
push 0x52
lea edx, [ebp - 0x64]
mov dword [ebp - 4], 2
pop ecx
call fcn.0040158c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00406165
push 0x419dfc
push 0x105
mov esi, 0x40f6c8
push esi
push 0
push str.Paladins
push str.Path
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [ebp - 0x28]
call fcn.0040604f
lea ecx, [ebp - 0x28]
mov esi, dword [eax + 0x10]
call fcn.00406165
test esi, esi
jne 0x4022fe
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0x250
push eax
mov dword [ebp - 0x24], str._drive_:PaladinsBinaries
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
jne 0x4022db
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, 0x40f6c8
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x419dfc
push esi
push str.Paladins
push str.Path
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.PaladinsEAC.exe
lea ecx, [ebp - 0x64]
call fcn.0040604f
lea ecx, [ebp - 0x64]
call fcn.00401bcd
lea ecx, [ebp - 0x64]
call fcn.00406165
push str.ShippingPC_BattleGame.exe
lea ecx, [ebp - 0x64]
call fcn.0040604f
lea ecx, [ebp - 0x64]
call fcn.00401bcd
lea ecx, [ebp - 0x64]
call fcn.00406165
push str.Paladins.exe
lea ecx, [ebp - 0x64]
call fcn.0040604f
lea ecx, [ebp - 0x64]
call fcn.00401bcd
lea ecx, [ebp - 0x64]
call fcn.00406165
push str.Win64
lea ecx, [ebp - 0x64]
call fcn.0040604f
lea edx, [ebp - 0x64]
mov dword [ebp - 4], 3
xor ecx, ecx
call fcn.0040158c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00406165
mov edi, str.tbbmalloc.dll
lea ecx, [ebp - 0x64]
push edi
call fcn.0040604f
xor esi, esi
mov dword [ebp - 4], 5
lea eax, [ebp - 0x64]
inc esi
push eax
xor edx, edx
mov ecx, esi
call fcn.0040160d
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00406165
call fcn.00401d94
lea ecx, [ebp - 0x64]
test bl, bl
je 0x4023e7
test eax, eax
je 0x4023d4
push str.r_smite_6_tbbmalloc.dll
call fcn.0040604f
mov dword [ebp - 4], 6
jmp 0x40240b
push str.r_smite_tbbmalloc.dll
call fcn.0040604f
mov dword [ebp - 4], 7
jmp 0x40240b
test eax, eax
je 0x4023fe
push str.6_tbbmalloc.dll
call fcn.0040604f
mov dword [ebp - 4], 8
jmp 0x40240b
push edi
call fcn.0040604f
mov dword [ebp - 4], 9
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.00401cde
lea ecx, [ebp - 0x64]
call fcn.00406165
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x4c]
mov eax, 0x41a0d8
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [0x41a0d8], ebx
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0e8], 0x40a8b0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call fcn.004088af
ret