Function at 0x406930
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0xc], 0x45
mov dword [ebp - 8], 0x4f
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0x80], 0x19
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x60], 0x34
mov dword [ebp - 4], 0x46
mov dword [ebp - 0x48], 0x1c
mov dword [ebp - 0xac], 0x12
mov dword [ebp - 0x74], 0x1b
mov dword [ebp - 0x20], 0x25
mov dword [ebp - 0x88], 0x32
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x38], 0x16
mov dword [ebp - 0x1c], 0x1c
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0x46
mov dword [ebp - 0xb8], 0x4c
mov dword [ebp - 0x64], 0x5c
mov dword [ebp - 0x24], 0xb
mov dword [ebp - 0x4c], 0x43
mov dword [ebp - 0x90], 0x4a
mov dword [ebp - 0x58], 0x26
mov eax, dword [ebp - 8]
sub eax, 0x30
push eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x1f
push ecx
call fcn.0040e6c0
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
jge 0x406a20
mov dword [ebp - 0x28], 1
jmp 0x406a27
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 4]
and eax, dword [ebp - 0x28]
je 0x406bee
mov ecx, dword [ebp - 0x64]
or ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x90]
jge 0x406a4d
mov dword [ebp - 0x2c], 1
jmp 0x406a54
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x58]
and edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x14]
jge 0x406a68
mov dword [ebp - 0x30], 1
jmp 0x406a6f
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x94]
jge 0x406a86
mov dword [ebp - 0x34], 1
jmp 0x406a8d
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x34]
je 0x406bee
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0xc]
jne 0x406bee
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x4c]
jge 0x406ab9
mov dword [ebp - 0x44], 1
jmp 0x406ac0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x406ad1
mov dword [ebp - 0x3c], 1
jmp 0x406ad8
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x80]
jge 0x406ae9
mov dword [ebp - 0x40], 1
jmp 0x406af0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x44]
je 0x406bcc
mov ecx, dword [ebp + 0x10]
imul ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x4c]
jge 0x406b14
mov dword [ebp - 0x50], 1
jmp 0x406b1b
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x50]
or edx, dword [ebp - 0xc]
or edx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x98], 0
je 0x406bcc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0xa0]
jge 0x406b72
mov dword [ebp - 0x54], 1
jmp 0x406b79
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x54]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0xa4], 0
je 0x406bcc
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x10]
jge 0x406bb1
mov dword [ebp - 0x5c], 1
jmp 0x406bb8
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 8]
and eax, dword [ebp + 0x14]
and eax, dword [ebp - 0x5c]
je 0x406bcc
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
push 0x1b11
push 0x169f1
push 0x14456
push 0x7845
push 0x163d7
call dword [sym.imp.USER32.dll_GetWindowRect]
add esp, 0x14
mov edx, dword [ebp - 0x60]
add edx, 0x2b
push edx
call fcn.00416360
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x406c0f
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x64]
sub ecx, 0x5b
cmp dword [ebp - 0x18], ecx
jge 0x406dbd
mov edx, dword [ebp + 0x18]
add edx, 1
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp + 0x18]
jge 0x406c3b
mov dword [ebp - 0x68], 1
jmp 0x406c42
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [ebp + 0xc]
jge 0x406c56
mov dword [ebp - 0x6c], 1
jmp 0x406c5d
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jge 0x406c72
mov dword [ebp - 0x70], 1
jmp 0x406c79
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x6c]
or eax, dword [ebp - 0x70]
je 0x406db8
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x74]
jne 0x406db8
mov edx, dword [ebp - 0x84]
cmp edx, dword [ebp - 4]
jge 0x406cab
mov dword [ebp - 0x78], 1
jmp 0x406cb2
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb4]
jge 0x406ce7
mov dword [ebp - 0x7c], 1
jmp 0x406cee
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0xb8]
or ecx, dword [ebp - 0x78]
or ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 0x24]
or ecx, edx
je 0x406db8
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x20]
jne 0x406db8
push 0x9ecc
push 0xfeef
push 0xb394
call dword [sym.imp.KERNEL32.dll_AllocConsole]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
or ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x80]
xor edx, dword [ebp - 8]
or ecx, edx
je 0x406d8c
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x88]
jne 0x406d8c
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 4]
jge 0x406d8c
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x8c]
jne 0x406d8c
push 0x3033
push 0x7b83
push 0xdc6f
call dword [sym.imp.KERNEL32.dll_EncodePointer]
add esp, 0xc
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
push 0xdc6a
call dword [sym.imp.KERNEL32.dll_CreatePipe]
add esp, 4
push 0x11860
push 0x1485f
push 0xae03
push 0x137ab
push 0x226a
push 0x52ce
push 0x7a69
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
add esp, 0x1c
jmp 0x406c06
mov esp, ebp
pop ebp
ret