Function at 0x40246f
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Delete file
Parse pe header
Read .ini file
Terminate process

Disassembly:
push 0x43c
mov eax, 0x409214
call fcn.004088f1
mov byte [ebp - 0x429], cl
push str.api_ms_win_core_console_l1_1_0.dll
lea ecx, [ebp - 0x3d4]
xor edi, edi
call fcn.0040604f
push str.api_ms_win_core_datetime_l1_1_0.dll
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 4], edi
call fcn.0040604f
xor ebx, ebx
lea ecx, [ebp - 0x3a4]
inc ebx
push str.api_ms_win_core_debug_l1_1_0.dll
mov byte [ebp - 4], bl
call fcn.0040604f
push str.api_ms_win_core_errorhandling_l1_1_0.dll
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 2
call fcn.0040604f
push str.api_ms_win_core_file_l1_1_0.dll
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 3
call fcn.0040604f
push str.api_ms_win_core_file_l1_2_0.dll
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 4
call fcn.0040604f
push str.api_ms_win_core_file_l2_1_0.dll
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 5
call fcn.0040604f
push str.api_ms_win_core_handle_l1_1_0.dll
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 6
call fcn.0040604f
push str.api_ms_win_core_heap_l1_1_0.dll
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call fcn.0040604f
push str.api_ms_win_core_interlocked_l1_1_0.dll
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 8
call fcn.0040604f
push str.api_ms_win_core_libraryloader_l1_1_0.dll
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 9
call fcn.0040604f
push str.api_ms_win_core_localization_l1_2_0.dll
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0xa
call fcn.0040604f
push str.api_ms_win_core_memory_l1_1_0.dll
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0xb
call fcn.0040604f
push str.api_ms_win_core_namedpipe_l1_1_0.dll
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xc
call fcn.0040604f
push str.api_ms_win_core_processenvironment_l1_1_0.dll
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0xd
call fcn.0040604f
push str.api_ms_win_core_processthreads_l1_1_0.dll
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xe
call fcn.0040604f
push str.api_ms_win_core_processthreads_l1_1_1.dll
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xf
call fcn.0040604f
push str.api_ms_win_core_profile_l1_1_0.dll
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x10
call fcn.0040604f
push str.api_ms_win_core_rtlsupport_l1_1_0.dll
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x11
call fcn.0040604f
push str.api_ms_win_core_string_l1_1_0.dll
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x12
call fcn.0040604f
push str.api_ms_win_core_synch_l1_1_0.dll
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x13
call fcn.0040604f
push str.api_ms_win_core_synch_l1_2_0.dll
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x14
call fcn.0040604f
push str.api_ms_win_core_sysinfo_l1_1_0.dll
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x15
call fcn.0040604f
push str.api_ms_win_core_timezone_l1_1_0.dll
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
call fcn.0040604f
push str.api_ms_win_core_util_l1_1_0.dll
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x17
call fcn.0040604f
push str.api_ms_win_crt_conio_l1_1_0.dll
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x18
call fcn.0040604f
push str.api_ms_win_crt_convert_l1_1_0.dll
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x19
call fcn.0040604f
push str.api_ms_win_crt_environment_l1_1_0.dll
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x1a
call fcn.0040604f
push str.api_ms_win_crt_filesystem_l1_1_0.dll
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x1b
call fcn.0040604f
push 0x40b23c
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1c
call fcn.0040604f
push 0x40b280
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x1d
call fcn.0040604f
push 0x40b2c4
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x1e
call fcn.0040604f
push str.api_ms_win_crt_multibyte_l1_1_0.dll
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x1f
call fcn.0040604f
push str.api_ms_win_crt_private_l1_1_0.dll
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x20
call fcn.0040604f
push str.api_ms_win_crt_process_l1_1_0.dll
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x21
call fcn.0040604f
push 0x40b3e0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x22
call fcn.0040604f
push 0x40b428
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x23
call fcn.0040604f
push 0x40b468
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call fcn.0040604f
push str.api_ms_win_crt_time_l1_1_0.dll
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x25
call fcn.0040604f
push str.api_ms_win_crt_utility_l1_1_0.dll
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x26
call fcn.0040604f
mov esi, 0x40f6c8
mov dword [ebp - 4], 0x27
mov eax, esi
xor ecx, ecx
mov word [eax], cx
add eax, 0x20a
cmp eax, 0x41a006
jl 0x4027a5
lea ecx, [ebp - 0x448]
call fcn.00402068
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x28
call fcn.0040608c
push 0x52
lea edx, [ebp - 0x428]
mov byte [ebp - 4], 0x29
pop ecx
call fcn.0040158c
lea ecx, [ebp - 0x428]
call fcn.00406165
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.LoLSuite.ini
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x52
lea edx, [ebp - 0x428]
mov byte [ebp - 4], 0x2a
pop ecx
call fcn.0040158c
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push 0x419dfc
push 0x105
push esi
push edi
push 0x40a380
push str.Path
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [ebp - 0x448]
call fcn.0040604f
lea ecx, [ebp - 0x448]
mov esi, dword [eax + 0x10]
call fcn.00406165
test esi, esi
jne 0x4028c4
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x3f4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x3e4], 0x250
push eax
mov dword [ebp - 0x3e8], str._drive_:Riot_Games
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
jne 0x4028a1
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 0x40a380
push str.Path
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.LeagueClient.exe
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea ecx, [ebp - 0x428]
call fcn.00401bcd
lea ecx, [ebp - 0x428]
call fcn.00406165
push str.LeagueClientUx.exe
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea ecx, [ebp - 0x428]
call fcn.00401bcd
lea ecx, [ebp - 0x428]
call fcn.00406165
push str.LeagueClientUxRender.exe
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea ecx, [ebp - 0x428]
call fcn.00401bcd
lea ecx, [ebp - 0x428]
call fcn.00406165
mov edi, str.League_of_Legends.exe
lea ecx, [ebp - 0x428]
push edi
call fcn.0040604f
lea ecx, [ebp - 0x428]
call fcn.00401bcd
lea ecx, [ebp - 0x428]
call fcn.00406165
push str.Riot_Client.exe
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea ecx, [ebp - 0x428]
call fcn.00401bcd
lea ecx, [ebp - 0x428]
call fcn.00406165
push str.RiotClientServices.exe
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea ecx, [ebp - 0x428]
call fcn.00401bcd
lea ecx, [ebp - 0x428]
call fcn.00406165
push str.Riot_ClientRiotClientElectron
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x2b
push eax
push 0x36
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push 0x40a380
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea edx, [ebp - 0x428]
mov byte [ebp - 4], 0x2c
xor ecx, ecx
call fcn.0040158c
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.concrt140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x2d
push eax
push 0x2a
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.d3dcompiler_47.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x2e
push eax
push 0x2b
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x2f
push eax
push 0x2c
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140_1.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x30
push eax
push 0x2d
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140_2.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x31
push eax
push 0x2e
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x32
push eax
push 0x2f
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.ucrtbase.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x33
push eax
push 0x30
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.vcruntime140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x34
push eax
push 0x31
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.vcruntime140_1.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x35
push eax
push 0x32
xor edx, edx
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.Game
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x36
push eax
push 0x33
pop esi
xor edx, edx
mov ecx, esi
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push edi
lea ecx, [ebp - 0x428]
call fcn.0040604f
sub esp, 0x18
mov byte [ebp - 4], 0x37
lea eax, [ebp - 0x428]
mov ecx, esp
mov edx, esi
push eax
call fcn.004010a8
pop ecx
call fcn.00401ca2
add esp, 0x18
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x428]
call fcn.00406165
push str.D3DCompiler_47.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x428]
push eax
push 0x34
mov edx, esi
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.D3dx9_43.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x39
push eax
push 0x35
mov edx, esi
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.xinput1_3.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x3a
push eax
push 0x37
mov edx, esi
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.tbb.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x3b
push eax
push 0x38
mov edx, esi
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.d3dcompiler_47.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x3c
push eax
push 0x36
pop edx
push 0x39
pop ecx
call fcn.0040160d
pop ecx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
cmp byte [ebp - 0x429], 0
lea esi, [ebp - 0x3d4]
push 0x28
pop edi
je 0x40308b
push esi
xor edx, edx
mov ecx, ebx
call fcn.0040160d
pop ecx
push esi
lea ecx, [ebp - 0x3ec]
call fcn.0040608c
push eax
mov edx, str.r_lol_
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x448]
call fcn.0040630d
pop ecx
mov byte [ebp - 4], 0x3e
cmp dword [eax + 0x14], 7
jbe 0x402db6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040604f
mov edx, ebx
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x428]
call fcn.00401cde
lea ecx, [ebp - 0x428]
call fcn.00406165
lea ecx, [ebp - 0x448]
call fcn.00406165
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0x27
call fcn.00406165
add esi, 0x18
inc ebx
sub edi, 1
jne 0x402d7d
push str.r_lol_concrt140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2a
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x40
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
mov esi, str.r_lol_d3dcompiler_47.dll
lea ecx, [ebp - 0x428]
push esi
call fcn.0040604f
push 0x2b
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x41
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_msvcp140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2c
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x42
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_msvcp140_1.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2d
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x43
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_msvcp140_2.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2e
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x44
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2f
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x45
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_ucrtbase.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x30
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x428]
pop edx
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_vcruntime140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x31
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x47
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_vcruntime140_1.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x32
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x48
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_D3DCompiler_47.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x34
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x49
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_D3dx9_43.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x35
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x4a
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.r_lol_xinput1_3.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x37
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x4b
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push 0x4166ee
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x39
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x4c
call fcn.00401cde
lea ecx, [ebp - 0x428]
call fcn.00406165
jmp 0x4034b1
push esi
xor edx, edx
mov ecx, ebx
call fcn.0040160d
pop ecx
push esi
lea ecx, [ebp - 0x448]
call fcn.0040608c
push eax
mov edx, 0x40ba8c
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x3ec]
call fcn.0040630d
pop ecx
mov byte [ebp - 4], 0x4e
cmp dword [eax + 0x14], 7
jbe 0x4030c4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040604f
mov edx, ebx
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x428]
call fcn.00401cde
lea ecx, [ebp - 0x428]
call fcn.00406165
lea ecx, [ebp - 0x3ec]
call fcn.00406165
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x27
call fcn.00406165
add esi, 0x18
inc ebx
sub edi, 1
jne 0x40308b
push str.concrt140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2a
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x50
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2c
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x51
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
mov edi, str.D3DCompiler_47.dll
lea ecx, [ebp - 0x428]
push edi
call fcn.0040604f
push 0x2b
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x52
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140_1.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2d
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x53
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140_2.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2e
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x54
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x2f
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x55
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.ucrtbase.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x30
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x428]
pop edx
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.vcruntime140.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x31
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x57
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.vcruntime140_1.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x32
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x58
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.D3dx9_43.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x35
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x59
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.xinput1_3.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
push 0x37
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x5a
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
call fcn.00401d94
lea ecx, [ebp - 0x428]
mov esi, str.6_D3DCompiler_47.dll
test eax, eax
je 0x403380
push esi
call fcn.0040604f
push 0x34
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x5b
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.6_tbb12.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
mov byte [ebp - 4], 0x5c
jmp 0x4033bb
push edi
call fcn.0040604f
push 0x34
pop edx
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x5d
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push str.tbb12.dll
lea ecx, [ebp - 0x428]
call fcn.0040604f
mov byte [ebp - 4], 0x5e
push 0x38
pop edx
lea ecx, [ebp - 0x428]
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
call fcn.00401d94
lea ecx, [ebp - 0x428]
test eax, eax
je 0x4033f3
push esi
call fcn.0040604f
mov byte [ebp - 4], 0x5f
jmp 0x4033fd
push edi
call fcn.0040604f
mov byte [ebp - 4], 0x60
push 0x39
pop edx
lea ecx, [ebp - 0x428]
call fcn.00401cde
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x27
call fcn.00406165
push 0x3c
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x410]
mov ebx, 0x41a0d8
mov edi, ebx
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
push str.Riot_Client.exe
lea ecx, [ebp - 0x428]
mov dword [0x41a0d8], 0x3c
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
call fcn.0040604f
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0x61
push eax
push 0x36
pop edx
lea ecx, [ebp - 0x3ec]
call fcn.004010a8
pop ecx
cmp dword [eax + 0x14], 7
jbe 0x40348f
mov eax, dword [eax]
lea ecx, [ebp - 0x3ec]
mov dword [0x41a0e8], eax
call fcn.00406165
lea ecx, [ebp - 0x428]
call fcn.00406165
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3d4]
push fcn.004014c8
push 0x28
push 0x18
push eax
call fcn.00407905
call fcn.004088af
ret