Function at 0x4185c8
Capabilities:
Enumerate process modules
Get process image filename
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4670ec
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1a94
call fcn.00459df0
mov eax, dword [0x48d190]
xor eax, esp
mov dword [esp + 0x1a90], eax
push ebx
push esi
push edi
mov eax, dword [0x48d190]
xor eax, esp
push eax
lea eax, [esp + 0x1aa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x126c]
push eax
call fcn.0040f29a
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x125c]
push 8
push eax
mov dword [esp + 0x1ac4], ebx
call fcn.0042b98c
add esp, 0x14
push str.GoogleChromeUser_Data
lea eax, [esp + 0x1254]
push eax
mov byte [esp + 0x1ab8], 1
call fcn.0040b2bd
push str.Local_State
lea eax, [esp + 0x1254]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0040ada0
add esp, 0xc
mov edx, eax
lea ecx, [esp + 0x1234]
mov byte [esp + 0x1ab0], 2
call fcn.0042b389
mov byte [esp + 0x1ab0], 3
cmp dword [eax + 0x18], 0x10
jb 0x41869c
mov eax, dword [eax + 4]
jmp 0x41869f
add eax, 4
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0041fc4f
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x123c]
call fcn.00408daf
push ebx
push edi
lea esi, [esp + 0x48]
mov byte [esp + 0x1ab8], 6
call fcn.00409047
cmp dword [esp + 0xe8], ebx
jne 0x4186f5
lea eax, [esp + 0x94]
mov byte [esp + 0x1ab0], 1
call fcn.00418bea
push ebx
push edi
jmp 0x418bac
lea eax, [esp + 0x124]
push eax
call fcn.0040f308
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x130]
push eax
mov byte [esp + 0x1ab8], 7
call fcn.0041ee31
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x128]
call fcn.0040f439
mov byte [esp + 0x1ab0], 8
cmp dword [eax + 0x18], 0x10
jb 0x418743
mov eax, dword [eax + 4]
jmp 0x418746
add eax, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1270]
push eax
call fcn.0041107f
push ebx
push edi
lea ecx, [esp + 0x64]
call fcn.00408daf
lea eax, [esp + 0x124]
mov byte [esp + 0x1ab0], 6
call fcn.0040f154
lea eax, [esp + 0x94]
mov byte [esp + 0x1ab0], 1
call fcn.00418bea
push str.protocol_handler
lea ecx, [esp + 0x1270]
call fcn.0041f748
push str.excluded_schemes
mov ecx, eax
call fcn.0041f748
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
shl eax, 5
add eax, esi
mov byte [esp + 0x12], bl
cmp esi, eax
je 0x41886d
mov eax, dword [esi + 0xc]
shr eax, 0x14
test al, 1
je 0x41882a
push dword [esi]
lea ecx, [esp + 0x1238]
call fcn.00407a73
push str.roblox
lea eax, [esp + 0x1238]
push eax
call fcn.0041ed22
cmp eax, 0xffffffff
je 0x418813
cmp dword [esi + 0x1c], 0x102
jne 0x418805
mov byte [esp + 0x12], 1
lea eax, [esi + 0x10]
test eax, eax
je 0x418813
mov dword [esi + 0x1c], 0x101
push ebx
push 1
lea ecx, [esp + 0x123c]
mov byte [esp + 0x1ab8], 1
call fcn.00408daf
mov eax, dword [edi + 4]
shl eax, 5
add eax, dword [edi]
add esi, 0x20
cmp esi, eax
jne 0x4187c8
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x12], bl
je 0x418871
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x84]
test al, al
je 0x418871
push ebx
push str.Blocked
lea eax, [edi + 0x1ac]
push str.ChromeProtocolHandler
push eax
call fcn.0042af73
add esp, 0x10
jmp 0x418871
mov edi, dword [esp + 0x14]
mov byte [esp + 0x13], bl
mov byte [esp + 0x11], bl
cmp byte [esp + 0x12], bl
je 0x418a4d
lea eax, [esp + 0x3c]
push eax
push 0x1000
lea eax, [esp + 0x23c]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov eax, dword [esp + 0x3c]
shr eax, 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
jbe 0x418a4d
mov esi, 0x400
mov eax, esi
cmp byte [esp + 0x13], bl
je 0x4188bf
inc eax
mov ecx, dword [esp + 0x14]
push dword [esp + ecx*4 + 0x234]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x12a0]
push ecx
push eax
mov byte [esp + 0x1abc], 0xa
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x418946
xor eax, eax
mov word [esp + 0x1a9a], ax
lea eax, [esp + 0x129c]
push eax
lea eax, [esp + 0x1238]
call fcn.00407b1d
push str.chrome.exe
lea eax, [esp + 0x1238]
push eax
call fcn.00407b70
cmp eax, 0xffffffff
je 0x418937
push ebx
cmp byte [esp + 0x17], bl
je 0x418975
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
push 1
lea esi, [esp + 0x123c]
call fcn.00409047
mov byte [esp + 0x1ab0], 1
cmp dword [esp + 0x18], ebx
je 0x41895e
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x34]
jb 0x4188b1
jmp 0x418a4d
push 1
lea esi, [esp + 0x123c]
call fcn.00409047
mov byte [esp + 0x1ab0], 1
cmp dword [esp + 0x18], ebx
je 0x41899b
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x11], bl
jne 0x4189bd
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push 5
push 0x46f9d4
push str.Please_close_all_instances_of_Google_Chrome_before_continuing.
call dword [eax + 4]
cmp eax, 2
jne 0x418a1b
mov ecx, dword [edi + 0x160]
mov eax, dword [ecx]
push 3
push str.Warning
push str.Roblox_might_not_launch_correctly_if_Chrome_is_open_or_running_in_the_background_during_installation._n_nAutomatically_shutdown_all_instances_of_Chrome_and_continue_
call dword [eax + 4]
cmp eax, 6
jne 0x418a08
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x13], 1
call dword [eax + 0x84]
test al, al
je 0x418a1b
push ebx
push str.AutoTerminate
lea eax, [edi + 0x1ac]
push str.ChromeProtocolHandler
push eax
call fcn.0042af73
add esp, 0x10
jmp 0x418a1b
cmp eax, 7
jne 0x418a16
mov byte [esp + 0x11], bl
jmp 0x418883
cmp eax, 2
je 0x418a25
mov byte [esp + 0x11], 1
jmp 0x418883
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x84]
test al, al
je 0x418a4d
push ebx
push str.BlockedAndCanceled
push str.ChromeProtocolHandler
add edi, 0x1ac
push edi
call fcn.0042af73
add esp, 0x10
mov esi, 0x100
push 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
call fcn.00446904
pop ecx
mov ecx, eax
xor eax, eax
cmp ecx, ebx
je 0x418a7f
mov edi, ecx
stosb byte es:[edi], al
mov eax, ecx
push dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00446ea3
pop ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x1c]
mov byte [esp + 0x1ab0], 0xb
push esi
lea ebx, [esp + 0x80]
mov dword [esp + 0x7c], eax
call fcn.0040f9d8
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1270]
mov byte [esp + 0x1ab4], 0xc
call fcn.00423266
lea esi, [esp + 0x1c]
call fcn.00422e82
xor ebx, ebx
mov byte [eax], bl
dec dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push str.Local_State
lea eax, [esp + 0x1254]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0040ada0
add esp, 0xc
mov edx, eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ab0], 0xd
call fcn.0042b389
mov byte [esp + 0x1ab0], 0xe
cmp dword [eax + 0x18], 0x10
jb 0x418b2e
mov eax, dword [eax + 4]
jmp 0x418b31
add eax, 4
push eax
lea eax, [esp + 0x1b0]
push eax
call fcn.0041f3fe
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00408daf
push ebx
push 1
lea esi, [esp + 0x48]
mov byte [esp + 0x1ab8], 0x11
call fcn.00409047
cmp dword [esp + 0x1fc], ebx
je 0x418b78
lea eax, [esp + 0x1ac]
push edi
push eax
call fcn.0040aac3
pop ecx
pop ecx
lea eax, [esp + 0x1ac]
mov byte [esp + 0x1ab0], 0xc
call fcn.00406179
lea eax, [esp + 0x7c]
call fcn.0040f2d0
push dword [esp + 0x24]
call fcn.00446825
pop ecx
push dword [esp + 0x20]
call fcn.004465a2
pop ecx
push ebx
push 1
lea esi, [esp + 0x1258]
call fcn.00409047
lea eax, [esp + 0x127c]
call fcn.0040f2d0
mov ecx, dword [esp + 0x1aa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a90]
xor ecx, esp
call fcn.004465ad
mov esp, ebp
pop ebp
ret 4