Function at 0x40472b
Capabilities:
Create pipe

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
add ecx, 0xffffe9e1
push ebx
push ebp
lea ebp, [eax + 0xe03]
mov dword [esp + 8], ecx
add eax, 0xffffedc1
add edx, 0xfffff4a9
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push esi
push edi
mov dword [esp + 0x14], edx
lea esi, [eax - 0xb1b]
lea ebx, [eax - 0xf3d]
add eax, 0xffffecab
mov dword [esp + 0x1c], eax
lea eax, [edx + 0xb5a]
cmp ecx, eax
jge 0x404947
xor esi, 0x3b2b
cmp ebx, esi
je 0x404ab4
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x7c]
add eax, dword [0x4f4108]
xor eax, 0x18c59d
sub dword [edx + 0xf0], eax
mov eax, dword [0x4f40ec]
mov ecx, dword [edx + 0xf0]
cmp eax, dword [0x4f4018]
je 0x4047d4
mov eax, dword [0x4f3ff4]
sub ecx, dword [eax + 0x48]
add ecx, 0x3d7
mov dword [edx + 0xf0], ecx
mov esi, dword [edx + 0x98]
cmp esi, 0x17ecb
jbe 0x4047f7
mov ecx, dword [0x4f3ff4]
mov eax, dword [ecx + 0x90]
add eax, esi
xor eax, 0xde6a3f69
mov dword [ecx], eax
mov eax, dword [edx + 0x20]
cmp eax, dword [0x4f4118]
jne 0x40480b
mov dword [edx + 4], 0xa47eb
jmp 0x40481a
mov ecx, dword [0x4f3ff4]
mov eax, dword [ecx + 0xfc]
or dword [ecx + 0x7c], eax
mov eax, dword [edx + 0x98]
mov edi, 0x8e8bf
sub eax, dword [edx + 0x10c]
add eax, 0x1a38a6
mov dword [edx + 0x50], eax
mov eax, dword [0x4f3ff4]
mov eax, dword [eax + 0x110]
add eax, 0x41169983
mov dword [edx + 0x54], eax
mov eax, dword [edx + 0x108]
sub eax, edi
mov dword [0x4f40cc], eax
mov esi, dword [edx + 0x50]
jmp 0x4048b4
mov eax, dword [edx + 0x7c]
add eax, dword [edx + 0xdc]
xor eax, 0x18c976
add dword [edx + 0x5c], eax
mov eax, dword [edx + 0x120]
sub eax, dword [0x4f4000]
add eax, 0x14
xor dword [edx + 0x110], eax
mov eax, dword [edx + 0x108]
sub eax, edi
add dword [edx + 8], eax
mov eax, esi
imul eax, esi
add dword [edx + 0xd4], eax
mov eax, dword [edx + 0x44]
xor eax, 0x13ffcb
imul eax, dword [edx + 8]
mov dword [edx + 8], eax
mov eax, dword [0x4f4100]
add eax, 0xffffffee
add eax, dword [edx + 0x1c]
inc esi
mov dword [0x4f4100], eax
cmp esi, dword [edx + 0x54]
jbe 0x404858
mov eax, dword [0x4f3ff4]
mov eax, dword [eax + 0xc4]
xor eax, dword [edx + 0xd8]
add eax, 5
imul eax, dword [edx + 0xd4]
mov dword [edx + 0xd4], eax
mov ecx, dword [0x4f3ff4]
mov eax, dword [0x4f40cc]
mov dword [ecx + 0xa4], eax
mov eax, dword [edx]
sub dword [edx + 0xa4], eax
mov ecx, dword [0x4f3ff4]
mov eax, dword [ecx + 0x110]
cmp eax, dword [edx + 0x1c]
ja 0x404920
mov eax, dword [edx + 0x118]
xor eax, dword [edx + 0xd8]
sub eax, 0x17962
mov dword [edx + 0x78], eax
mov ecx, dword [0x4f3ff4]
jmp 0x40492b
mov eax, dword [edx + 0xd4]
mov dword [0x4f40c8], eax
mov eax, dword [edx + 4]
add dword [ecx + 0xd0], eax
mov eax, dword [edx + 0x68]
xor eax, dword [edx + 8]
add eax, 0x1b8e8d
mov dword [edx + 0x4c], eax
jmp 0x404ab4
mov ecx, dword [0x4f3ff4]
lea eax, [ebp - 0x1b3c]
mov edi, dword [esp + 0x20]
cmp dword [ecx + 0x120], eax
jbe 0x4049ee
mov eax, dword [ecx + 0x118]
xor eax, esi
or ebp, eax
mov eax, dword [0x4f4054]
xor eax, ebx
sub eax, 0x26fe
imul esi, eax
mov eax, dword [edi + 0xd8]
sub eax, dword [edi + 0xec]
xor eax, 0x26c6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, ebp
and eax, dword [esp + 0x10]
or eax, 0x1b69
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4f3ff4]
mov eax, dword [edi + 0xe8]
sub eax, 0x123f
push eax
mov eax, dword [ecx + 0x34]
sub eax, dword [edi + 0x70]
imul eax, eax, 0x26c6
push eax
mov eax, dword [ecx + 0x118]
or eax, ebp
push eax
mov eax, dword [edi + 0xfc]
sub eax, 0x2208
push eax
mov eax, ebx
or eax, 0x271c
push eax
call dword [sym.imp.KERNEL32.dll_LockFile]
mov eax, esi
and eax, dword [esp + 0x2c]
add eax, 0x2684
cmp dword [0x4f4104], eax
jae 0x404ab4
imul eax, dword [edi + 0x68], 0x15ef
sub eax, dword [edi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov ecx, dword [0x4f3ff4]
mov eax, dword [ecx + 0x12c]
or eax, ebp
and eax, 0x132f
push eax
mov eax, dword [ecx + 0xd8]
sub eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x20]
add eax, ebx
push eax
mov eax, esi
sub eax, ebx
imul eax, ecx
push eax
mov eax, ecx
xor eax, esi
push eax
lea eax, [ecx + ecx]
sub eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockFile]
mov ecx, dword [esp + 0x2c]
xor esi, 0x2450
or esi, 0x132f
push esi
lea eax, [ebx + ecx]
or ebx, dword [esp + 0x18]
xor eax, 0x15ef
push eax
mov eax, dword [edi + 0xe0]
imul eax, dword [0x4f4074]
and eax, 0x2684
push eax
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x70]
and eax, dword [edi + 8]
push eax
lea eax, [ecx + 0x27c1]
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x24]
push eax
imul eax, ecx, 0x132f
push ebx
sub eax, 0x1be8b09
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
pop edi
pop esi
lea eax, [ebp - 0x282]
pop ebp
pop ebx
pop ecx
pop ecx
ret