Function at 0x402f53
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x84
mov eax, 0x407c15
call fcn.0040721d
mov bl, cl
push 0x409194
lea ecx, [ebp - 0x24]
call fcn.00402791
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402c5b
or edi, 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.LeagueClient.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.LeagueClientUx.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.LeagueClientUxRender.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.LeagueCrashHandler64.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.League_of_Legends.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.Riot_Client.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.RiotClientServices.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.RiotClientCrashHandler.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.RiotClientUx.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.RiotClientUxRender.exe
lea ecx, [ebp - 0x24]
call fcn.00402791
lea ecx, [ebp - 0x24]
call fcn.00402a36
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.Riot_Client
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
push 0x36
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push 0x40954c
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x36
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 2
pop ecx
call fcn.00402929
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.League_of_Legends
lea ecx, [ebp - 0x24]
call fcn.00402791
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 3
xor ecx, ecx
call fcn.00402929
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.concrt140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
push 0x2a
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.d3dcompiler_47.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 5
push eax
push 0x2b
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 6
push eax
push 0x2c
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.msvcp140_1.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 7
push eax
push 0x2d
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140_2.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 8
push eax
push 0x2e
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 9
push eax
push 0x2f
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.ucrtbase.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xa
push eax
push 0x30
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.vcruntime140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xb
push eax
push 0x31
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.vcruntime140_1.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xc
push eax
push 0x32
xor edx, edx
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.Game
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xd
push eax
push 0x33
pop esi
xor edx, edx
mov ecx, esi
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.D3DCompiler_47.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xe
push eax
push 0x34
mov edx, esi
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.D3dx9_43.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xf
push eax
push 0x35
mov edx, esi
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.xinput1_3.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0x10
push eax
push 0x36
mov edx, esi
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.tbb.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0x11
push eax
mov edx, esi
push 0x37
pop ecx
call fcn.004029aa
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
lea ecx, [ebp - 0x24]
test bl, bl
je 0x4035cd
push str.r_lol_concrt140.dll
call fcn.00402791
push 0x2a
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x12
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_d3dcompiler_47.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2b
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x13
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_msvcp140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2c
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x14
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_msvcp140_1.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2d
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x15
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_msvcp140_2.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2e
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x16
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2f
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x17
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_ucrtbase.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x30
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x18
call fcn.00402b20
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x24]
call fcn.00401cf8
push str.r_lol_vcruntime140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x31
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x19
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_vcruntime140_1.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x32
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x1a
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_D3DCompiler_47.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x34
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x1b
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_D3dx9_43.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x35
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x1c
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_xinput1_3.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x36
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x1d
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.r_lol_tbb12.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
mov dword [ebp - 4], 0x1e
jmp 0x403866
push str.concrt140.dll
call fcn.00402791
push 0x2a
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x1f
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.d3dcompiler_47.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2b
pop ebx
mov edx, ebx
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2c
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x21
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140_1.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2d
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x22
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140_2.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2e
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x23
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x2f
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x24
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.ucrtbase.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x30
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x25
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.vcruntime140.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x31
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x26
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.vcruntime140_1.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x32
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x27
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.D3dx9_43.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x35
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x28
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.xinput1_3.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x36
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x29
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
call fcn.00402bd9
lea ecx, [ebp - 0x24]
test al, al
je 0x403805
mov esi, str.6_D3DCompiler_47.dll
push esi
call fcn.00402791
mov edx, ebx
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push esi
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x34
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.6_tbb12.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
mov dword [ebp - 4], 0x2c
jmp 0x403866
mov esi, str.D3DCompiler_47.dll
push esi
call fcn.00402791
mov edx, ebx
mov dword [ebp - 4], 0x2d
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push esi
lea ecx, [ebp - 0x24]
call fcn.00402791
push 0x34
pop edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x2e
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push str.tbb12.dll
lea ecx, [ebp - 0x24]
call fcn.00402791
mov dword [ebp - 4], 0x2f
push 0x37
pop edx
lea ecx, [ebp - 0x24]
call fcn.00402b20
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00401cf8
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x90]
mov edi, 0x418114
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
push str.LeagueClient.exe
lea ecx, [ebp - 0x3c]
mov dword [0x418114], ebx
mov dword [0x418118], 0x40
mov dword [0x418130], 5
call fcn.00402791
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x30
push eax
lea ecx, [ebp - 0x54]
call fcn.004028af
pop ecx
mov ecx, eax
call fcn.00404c9e
lea ecx, [ebp - 0x54]
mov dword [0x418124], eax
call fcn.00401cf8
lea ecx, [ebp - 0x3c]
call fcn.00401cf8
push 0x418114
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3