Function at 0x46c020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489625
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4bf380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Waiting_for_target_process_n
push str.process_hook
push 0
call fcn.0044b6a0
mov ecx, 0x56ba48
call fcn.0046b960
test al, al
jne 0x46c1ad
nop
lea ecx, [ebp - 0x28]
call fcn.0046b840
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
cmp esi, 0xffffd8ef
jne 0x46c08e
cmp ebx, 0x7fffffff
je 0x46c0b5
cmp ebx, 0x7fffffff
jg 0x46c0a4
jl 0x46c0a0
cmp esi, 0xffffd8ef
jae 0x46c0a4
mov al, 1
jmp 0x46c0a6
xor al, al
test al, al
je 0x46c0b5
add esi, 0x2710
adc ebx, 0
jmp 0x46c0bd
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x30]
call fcn.0046b840
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp esi, ecx
jne 0x46c0dd
cmp ebx, eax
je 0x46c19b
cmp ebx, eax
jg 0x46c0ec
jl 0x46c0e7
cmp esi, ecx
jae 0x46c0ec
or dl, 0xff
jmp 0x46c0ee
mov dl, 1
test dl, dl
jle 0x46c19b
mov edi, esi
mov esi, ebx
sub edi, ecx
sbb esi, eax
cmp edi, 0x914f0000
jne 0x46c10e
cmp esi, 0x4e94
je 0x46c189
cmp esi, 0x4e94
jg 0x46c189
jl 0x46c120
cmp edi, 0x914f0000
jae 0x46c189
push 0
push 0xf4240
push esi
push edi
call fcn.004879a0
push 0
mov ebx, eax
mov eax, edx
push 0xf4240
push eax
push ebx
mov dword [ebp - 0x14], eax
call fcn.00487b30
cmp eax, edi
jne 0x46c14b
cmp edx, esi
je 0x46c172
cmp edx, esi
jg 0x46c172
jl 0x46c155
cmp eax, edi
jae 0x46c172
mov eax, dword [ebp - 0x14]
add ebx, 1
push ebx
adc eax, 0
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_Sleep
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
jmp 0x46c0c3
mov eax, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_Sleep
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
jmp 0x46c0c3
push 0x5265c00
call sub.KERNEL32.dll_Sleep
mov esi, dword [ebp - 0x20]
jmp 0x46c0c3
mov ecx, 0x56ba48
call fcn.0046b960
test al, al
je 0x46c070
mov eax, dword [0x56ba5c]
cmp dword [eax + 8], 0
je 0x46c1d3
cmp dword [eax + 0xc], 0
je 0x46c1d3
cmp dword [eax], 0
je 0x46c1d3
call fcn.0046ba00
test al, al
jne 0x46c1f1
push str.Failed_to_load_roblox_specific_classes_n
jmp 0x46c1d8
push str.Failed_to_locate_process_handle_or_module_n
push str.process_hook
call fcn.0044b430
push str.Unable_to_start_process_hook_n
push str.main__
call fcn.0044b430
push 4
call fcn.00485d87
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x56e398
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x408550
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x46c2be
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x46c2b6
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x46c2b6
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
movlpd qword [ebp - 0x18], xmm0
call fcn.0046ad10
test al, al
jne 0x46c273
push str.Unable_to_start_the_overlay_n
push str.main__
call fcn.0044b430
mov ecx, 0x56e4d4
call fcn.00458cf0
test eax, eax
jne 0x46c298
push eax
mov eax, dword [0x56e4d0]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x56e4d0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485c99
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3