Function at 0x506330
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x58dee0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
cmp dword [esp + 0x54], 0x650
jne 0x506412
push str.League_of_Legends.exe
lea ebx, [esp + 0x38]
call fcn.005058c0
mov eax, dword [0x5ce6cc]
xor esi, esi
push esi
push eax
mov edx, 0x59c06c
mov ecx, 0x59c038
mov dword [esp + 0x58], esi
call fcn.00505110
add esp, 0xc
cmp eax, 1
je 0x5063c1
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x5063a8
push eax
call fcn.0055215c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push str.lolclient.exe
lea ebx, [esp + 0x18]
call fcn.005058c0
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, esi
mov byte [esp + 0x4c], 1
je 0x5063f5
mov eax, dword [esp + 0x1c]
mov edx, eax
sub edx, ecx
sar edx, 2
jne 0x506429
push ecx
call fcn.0055215c
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x506412
push eax
call fcn.0055215c
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
xor edi, edi
cmp ecx, esi
je 0x50646c
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x50646c
mov eax, dword [ecx + edi*4]
push eax
push esi
push 1
call ebp
mov esi, eax
test esi, esi
je 0x50645d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add edi, 1
xor esi, esi
jmp 0x506431
xor edi, edi
mov edi, edi
mov ecx, dword [esp + 0x38]
cmp ecx, esi
je 0x5064ab
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x5064ab
mov ecx, dword [ecx + edi*4]
push ecx
push esi
push 1
call ebp
mov esi, eax
test esi, esi
je 0x5064a4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
xor esi, esi
jmp 0x506470
push str.lol.launcher_tencent.exe
lea ebx, [esp + 0x28]
call fcn.005058c0
add esp, 4
xor edi, edi
mov edi, edi
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x506508
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x5064fb
mov edx, dword [ecx + edi*4]
push edx
push esi
push 1
call ebp
mov esi, eax
test esi, esi
je 0x5064f4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
xor esi, esi
jmp 0x5064c0
cmp ecx, esi
je 0x506508
push ecx
call fcn.0055215c
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
je 0x506525
push eax
call fcn.0055215c
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x506542
push eax
call fcn.0055215c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret