Function at 0x418c10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x47306c]
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
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00419580
mov dword [edi], eax
lea ebx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], ebx
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
mov byte [ebp - 4], 2
lea eax, [ebx + 0x34]
mov dword [ebp - 0x24], eax
lea ecx, [eax + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xor eax, eax
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x467d20
mov word [ecx], ax
call fcn.00409b10
push 0
push 0x467d20
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 3
call fcn.00409b10
cmp ebx, eax
je 0x418cf0
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x418ce5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00409b10
mov dword [ebx + 0x30], 0
mov byte [ebx + 0x5c], 0
mov dword [ebx + 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x70]
mov dword [edi + 0x68], 0x1000
mov dword [edi + 0x6c], 0
mov dword [ecx + 0x48], 0
call fcn.004167f0
lea ecx, [edi + 0xf0]
mov dword [edi + 0xbc], 0x60
mov dword [edi + 0xc0], 0x61
mov dword [edi + 0xc4], 0x62
mov dword [edi + 0xc8], 0x63
mov dword [edi + 0xcc], 0x64
mov dword [edi + 0xd0], 0x65
mov dword [edi + 0xd4], 0x66
mov dword [edi + 0xd8], 0x67
mov dword [edi + 0xdc], 0x68
mov dword [edi + 0xe0], 0x69
mov dword [edi + 0xe4], 0x6e
mov dword [edi + 0xe8], 0x6b
mov dword [edi + 0xec], 0x6d
call fcn.0041d940
mov dword [edi + 0x158], 0xffffffff
xor eax, eax
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 7
mov word [edi + 0x15c], ax
xor ecx, ecx
mov dword [edi + 0x184], eax
mov dword [edi + 0x188], 7
mov word [edi + 0x174], cx
mov dword [edi + 0x19c], ecx
mov dword [edi + 0x1a0], 7
mov word [edi + 0x18c], ax
mov dword [edi + 0x1b4], ecx
mov dword [edi + 0x1b8], 7
mov word [edi + 0x1a4], cx
mov byte [ebp - 4], 9
lea eax, [edi + 0x1bc]
mov dword [ebp - 0x28], eax
lea esi, [eax + 4]
mov dword [eax], vtable.TrSharedMemPipe.0
mov dword [ebp - 0x24], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.00405b60
mov dword [esi], eax
lea eax, [edi + 0x1bc]
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [eax], vtable.TrMonoClient.0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov byte [eax + 0x34], 0
lea ecx, [eax + 0x38]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
push 0x10
push 0x467340
mov byte [ebp - 4], 0xd
call fcn.00409b10
mov byte [ebp - 4], 0xe
push 0xf
lea esi, [edi + 0x15c]
push str.Overcooked2.exe
mov ecx, esi
call fcn.00409b10
lea ecx, [edi + 0x174]
cmp ecx, esi
je 0x418ee3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x418eda
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00409b10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x475904]
test eax, eax
je 0x418f54
lea eax, [ebp - 0x30]
push eax
push 0x46a6dc
push 0
call dword [0x475908]
test eax, eax
je 0x418f4b
mov eax, dword [ebp - 0x30]
push 0
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [0x47590c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 7
push str.NOT_SET
lea ecx, [edi + 0x1a4]
call fcn.00409b10
lea eax, [edi + 0x174]
mov ecx, ebx
push eax
push esi
call fcn.0041c7b0
lea eax, [edi + 0x68]
mov dword [edi + 0x6c], ebx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xf4], eax
mov dword [edi + 0x1ec], eax
lea eax, [edi + 0x1bc]
mov dword [0x4758c0], eax
mov eax, edi
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.0043506b
mov esp, ebp
pop ebp
ret