Function at 0x402970
Capabilities:
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x4a0868
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9700]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00461801
lea ecx, [esp + 0x1c]
call fcn.004645fa
push 0
push 1
push 0x21
push 0x14
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0
call fcn.004649f5
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10da]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x1003
push ecx
call edi
push eax
call fcn.004648f2
mov edx, dword [esi + 0x10da]
push 0x121
push 0
push 0x1036
push edx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4cae9c
lea ebx, [esi + 0x10ba]
push 0
mov ecx, ebx
call fcn.0046456b
mov eax, dword [esi + 0x10da]
push 0x46
push 0
push 0x101e
push eax
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caea8
push 1
mov ecx, ebx
call fcn.0046456b
mov ecx, dword [esi + 0x10da]
push 0x41
push 1
push 0x101e
push ecx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caeb4
push 2
mov ecx, ebx
call fcn.0046456b
mov edx, dword [esi + 0x10da]
push 0x41
push 2
push 0x101e
push edx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caec0
push 3
mov ecx, ebx
call fcn.0046456b
mov eax, dword [esi + 0x10da]
push 0x41
push 3
push 0x101e
push eax
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caecc
push 4
mov ecx, ebx
call fcn.0046456b
mov ecx, dword [esi + 0x10da]
push 0x41
push 4
push 0x101e
push ecx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caed8
push 5
mov ecx, ebx
call fcn.0046456b
mov edx, dword [esi + 0x10da]
push 0x3c
push 5
push 0x101e
push edx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caee0
push 6
mov ecx, ebx
call fcn.0046456b
mov eax, dword [esi + 0x10da]
push 0x3c
push 6
push 0x101e
push eax
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caee8
push 7
mov ecx, ebx
call fcn.0046456b
mov ecx, dword [esi + 0x10da]
push 0x41
push 7
push 0x101e
push ecx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caef4
push 8
mov ecx, ebx
call fcn.0046456b
mov edx, dword [esi + 0x10da]
push 0x46
push 8
push 0x101e
push edx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caefc
push 9
mov ecx, ebx
call fcn.0046456b
mov eax, dword [esi + 0x10da]
push 0x3c
push 9
push 0x101e
push eax
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caf04
push 0xa
mov ecx, ebx
call fcn.0046456b
mov ecx, dword [esi + 0x10da]
push 0x28
push 0xa
push 0x101e
push ecx
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4caf0c
push 0xb
mov ecx, ebx
call fcn.0046456b
mov edx, dword [esi + 0x10da]
push 0x28
push 0xb
push 0x101e
push edx
call edi
mov eax, dword [esi + 0x1182]
push 0x4cae74
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x1182]
push 0x4caf14
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x1182]
push 0x4caf18
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x1182]
push 0x4caf1c
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x1182]
push 0x4caf20
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x1182]
push 0x4caf24
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x1182]
push 0x4caf28
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x1182]
push 0x4caf2c
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x1182]
push 0x4caf30
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x1182]
push 0x4caf34
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x1182]
push 0x4caf38
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x11d6]
push 0x4cae70
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x11d6]
push 0x4caf40
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x11d6]
push 0x4caf44
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x11d6]
push 0x4caf48
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x11d6]
push 0x4caf4c
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x11d6]
push 0x4caf50
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x11d6]
push 0x4caf54
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x11d6]
push 0x4caf58
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x11d6]
push 0x4caf5c
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x11d6]
push 0x4caf60
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x51ca]
push 0x4caf68
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x51ca]
push 0x4caf70
push 0
push 0x143
push ecx
call edi
push 0x4caf78
mov edx, dword [esi + 0x51ca]
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x51ca]
push 0x4caf80
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x122a]
push 0x4caf88
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x127e]
push 0x4caf94
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x127e]
push 0x4caf9c
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x12d2]
push 0x4cafa4
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x12d2]
push 0x4cafb0
push 0
push 0x143
push edx
call edi
push 0x406
mov ecx, esi
call fcn.00460800
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call edi
push 0x40a
mov ecx, esi
call fcn.00460800
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call edi
mov ecx, esi
call fcn.00403ac0
xor eax, eax
lea ebp, [esi + 0x130e]
mov dword [esp + 0x14], 0x32
lea esp, [esp]
cmp byte [ebp], 0
je 0x402ed4
push 0
push 0
mov dword [ebp + 2], eax
mov edx, dword [esi + 0x10da]
push 0x1004
inc eax
push edx
mov dword [esp + 0x28], eax
call edi
push 0
push 0
push 0
push 0
push 0x4cafd0
push eax
push 1
mov ecx, ebx
call fcn.004645b7
mov edx, ebp
mov ecx, esi
call fcn.00402fd0
mov eax, dword [esp + 0x18]
add ebp, 0x13e
sub dword [esp + 0x14], 1
jne 0x402e90
mov eax, dword [esi + 0x10da]
push 0
push 0
push 0x1004
push eax
call edi
push 0
push 0
push 0
push 0
push 0x4cafd0
push eax
push 1
mov ecx, ebx
call fcn.004645b7
cmp dword [esi + 0x95], 0
je 0x402f50
cmp dword [esi + 0xa9], 0
je 0x402f50
push 0
push 0
push 0x800
push 0x800
push 0x32
push 0
push 0x40000003
push str..pipeUnityNamedPipe
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [esi + 0x81], eax
cmp eax, 0xffffffff
je 0x402f50
mov byte [esi + 0x80], 1
mov ecx, dword [esi + 0x20]
push 0
push 0x1f4
push 0
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00464a41
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret