Function at 0x10055aa1
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10055c0a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0xc0], 0x18ee
mov dword [ebp - 0x120], 0x1000d1f8
cmp dword [ebp - 0xc0], 0x1930
jle 0x10055bde
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
and dword [ebp - 0x34], 0
jmp 0x10055b15
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x37ef
jge 0x10055bd2
and dword [ebp - 0x50], 0
jmp 0x10055b2f
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x5606
jge 0x10055bcd
and dword [ebp - 0x3c], 0
jmp 0x10055b49
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x4669
jge 0x10055bc8
and dword [ebp - 0x54], 0
jmp 0x10055b5f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x4cbc
jge 0x10055bc3
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x3c]
imul ecx, dword [ebp - 0x54]
and eax, ecx
cdq
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
push dword [ebp - 0x140]
push dword [ebp - 0x144]
lea ecx, [ebp - 0x1fc]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x1fc]
call fcn.1001fbea
jmp 0x10055b58
jmp 0x10055b42
jmp 0x10055b28
jmp 0x10055b0e
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [ebp - 0x164]
push 1
call fcn.1005670b
pop ecx
pop ecx
cmp dword [ebp - 0xc0], 0x165b
jge 0x10055c05
push dword [ebp - 0x120]
call fcn.100714f3
pop ecx
jmp 0x100566fb
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x100]
movzx eax, byte [eax]
test eax, eax
je 0x10056698
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
push 0x423a
push 0
push 1
push 0x36e2
push 0x39f2
push 0
call fcn.10048eee
add esp, 0x18
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 4]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], 0x68ec0ae9
mov dword [ebp - 0x138], 0x6848
mov dword [ebp - 0x148], 0xfffffff7
mov dword [ebp - 0xf4], 8
mov dword [ebp - 0xf0], 0x5b17
mov dword [ebp - 0x130], 0x1000d240
cmp dword [ebp - 0xf0], 0x5d50
jle 0x10055d7d
push 0
push 0
call dword [sym.imp.USER32.dll_SetParent]
and dword [ebp - 0x5c], 0
jmp 0x10055cef
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x39c1
jge 0x10055d7d
and dword [ebp - 0x4c], 0
jmp 0x10055d09
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x646a
jge 0x10055d78
and dword [ebp - 0x44], 0
jmp 0x10055d1f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x37e5
jge 0x10055d76
and dword [ebp - 0x2c], 0
jmp 0x10055d35
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x59c0
jge 0x10055d74
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
sub ecx, eax
and ecx, dword [ebp - 0x5c]
mov eax, ecx
cdq
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], edx
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x10055d2e
jmp 0x10055d18
jmp 0x10055d02
jmp 0x10055ce8
mov dword [ebp - 0x11c], 0xfffffff8
cmp dword [ebp - 0xf0], 0x5841
jge 0x10055da3
mov edx, dword [ebp - 0x130]
mov ecx, 0x1008bbb8
call fcn.100228da
lea eax, [ebp - 0xe4]
push eax
push 0
push 0x6f69
push 0x4c57
call fcn.10048cb8
add esp, 0x10
lea eax, [ebp - 0x138]
push eax
push 0x35d0
lea eax, [ebp - 0xf4]
push eax
push 0
lea eax, [ebp - 0xe4]
push eax
push 0x918
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.10067d09
add esp, 0x20
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0xe76f5020
mov dword [ebp - 0xdc], 0x40ee1d45
mov dword [ebp - 0x124], 0x4333
mov dword [ebp - 0xbc], 0xfffffff6
mov dword [ebp - 0x1a8], 0xc3da550
mov dword [ebp - 0x58], 0
jmp 0x10055e4c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x10055e5f
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x28], 0xc85f
jmp 0x10055e45
mov dword [ebp - 0x10], 0
jmp 0x10055e6f
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10056109
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp + ecx*4 - 0x28], eax
mov dword [ebp - 0x90], 0x5ac3
mov dword [ebp - 0x154], 0x1000d268
cmp dword [ebp - 0x90], 0x5e3a
jle 0x10055f7c
and dword [ebp - 0x48], 0
jmp 0x10055ebf
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x5b5a
jge 0x10055f7c
and dword [ebp - 0x30], 0
jmp 0x10055ed9
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x76de
jge 0x10055f77
and dword [ebp - 0x38], 0
jmp 0x10055ef3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5eab
jge 0x10055f72
and dword [ebp - 0x40], 0
jmp 0x10055f09
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7f6c
jge 0x10055f6d
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
sar eax, cl
cdq
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x214]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x214]
call fcn.1001fbea
jmp 0x10055f02
jmp 0x10055eec
jmp 0x10055ed2
jmp 0x10055eb8
mov dword [ebp - 0x18], 0
jmp 0x10055f8c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x100560ec
mov dword [ebp - 0x80], 0xffffffff
push 0
lea eax, [ebp - 0x80]
push eax
push 0x2745
call fcn.1004ae3c
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x28], 0x8b78
jne 0x10055fc9
mov dword [ebp - 0xa4], 1
jmp 0x10055fd0
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x28], 0
je 0x10055fef
mov eax, 0xf0442e11
test eax, eax
je 0x10055fef
mov dword [ebp - 0xc4], 1
jmp 0x10055ff6
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xc4], eax
jl 0x1005600d
mov dword [ebp - 0x9c], 1
jmp 0x10056014
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x1005603b
mov eax, 0xe60d
test eax, eax
jne 0x1005603b
and dword [ebp - 0xcc], 0
jmp 0x10056045
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x124]
jl 0x10056065
mov dword [ebp - 0xac], 1
jmp 0x1005606c
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xac], eax
jle 0x10056083
mov dword [ebp - 0xec], 1
jmp 0x1005608a
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xec], eax
jge 0x100560a1
mov dword [ebp - 0xb4], 1
jmp 0x100560a8
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb4], eax
jl 0x100560bf
mov dword [ebp - 0xd4], 1
jmp 0x100560c6
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x28]
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x80], eax
jmp 0x10055f85
cmp dword [ebp - 0x90], 0x5700
jge 0x10056104
push dword [ebp - 0x154]
call fcn.100714f3
pop ecx
jmp 0x10055e68
mov eax, dword [ebp - 0x98]
cmp dword [eax + 4], 0
jbe 0x10056696
push 0
push 0x37d4
push 0x3489
push 0x17cf
push 0x1ddb
push 0x53f6
push 0x62d4
push 0x20cb
push 0x5d70
call fcn.1006566c
add esp, 0x24
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xe0]
add ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
mov eax, dword [ebp - 0xe8]
cmp dword [eax], 0
jbe 0x10056696
mov dword [ebp - 0x1c], 0xdf75dcec
mov dword [ebp - 0x68], 0xf1571c09
mov dword [ebp - 0x13c], 0xe8a7
mov dword [ebp - 0x198], 0x7ba9ac04
mov dword [ebp - 0x194], 0x7ba9ac04
mov dword [ebp - 0x190], 0x7ba9ac04
mov dword [ebp - 0x18c], 0x7ba9ac04
lea ecx, [ebp - 0x71]
call fcn.1001ffdb
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.1001ffde
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1a4]
call fcn.1001ff8a
and dword [ebp - 4], 0
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x184], 0x64ea
mov dword [ebp - 0x14], 0
jmp 0x10056205
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1005621b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1e4], 0x421dd2eb
jmp 0x100561fe
mov dword [ebp - 0x14], 0
jmp 0x1005622b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10056241
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd8], 0x2a2d6201
jmp 0x10056224
mov dword [ebp - 0x1c], 0xf
jmp 0x10056251
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffe9
jg 0x10056664
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001ff2e
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0xfffffffb
mov dword [ebp - 0x78], 0x12e75507
mov dword [ebp - 0xd0], 0x6e86ff18
push 4
lea ecx, [ebp - 0x180]
call fcn.1001ff2e
mov byte [ebp - 4], 2
mov dword [ebp - 0x134], 0x689bb5c
mov dword [ebp - 0x1b4], 0xc0e03a84
lea eax, [ebp - 0x8c]
push eax
push 0x294f
lea eax, [ebp - 0x20]
push eax
push 0x20b4
push 0
push 0x7de
push 0
call fcn.10055aa1
add esp, 0x1c
push 0
push 0xcf8
lea eax, [ebp - 0x20]
push eax
push 0x6ae2
lea eax, [ebp - 0x180]
push eax
call fcn.100521af
add esp, 0x14
mov dword [ebp - 0x20], 0
jmp 0x10056301
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x10056317
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1cc], 0x1ba1
jmp 0x100562fa
mov esi, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffcc
mov edi, eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffcc
mov ecx, dword [edi]
add ecx, dword [eax]
cmp esi, ecx
jg 0x1005634a
mov dword [ebp - 0xb0], 1
jmp 0x10056351
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x60], ecx
test eax, eax
jne 0x10056456
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1ac], eax
mov eax, 0x49f3923b
cmp eax, 0xcf27260e
je 0x10056381
mov dword [ebp - 0x6c], 1
jmp 0x10056385
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x1e4], ecx
cmp dword [ebp - 0x6c], 0x221365d5
jle 0x100563aa
mov dword [ebp - 0xa0], 1
jmp 0x100563b1
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x1a4]
call fcn.1001ffcc
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa0]
jle 0x100563d1
mov dword [ebp - 0x64], 1
jmp 0x100563d5
and dword [ebp - 0x64], 0
push 2
lea ecx, [ebp - 0x180]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax]
jl 0x10056407
mov dword [ebp - 0x12c], 1
jmp 0x1005640e
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1bc], eax
mov esi, dword [ebp - 0x68]
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffcc
cmp esi, dword [eax]
je 0x10056443
mov dword [ebp - 0xa8], 1
jmp 0x1005644a
and dword [ebp - 0xa8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1cc]
push 1
lea ecx, [ebp - 0x1a4]
call fcn.1001ffcc
imul eax, dword [ebp - 0x134], 0x23f8
cmp eax, dword [ebp - 0x1c]
jl 0x10056487
cmp dword [ebp - 0x160], 0
je 0x10056487
mov dword [ebp - 0xb8], 1
jmp 0x1005648e
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0xb8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
ja 0x100564ad
mov dword [ebp - 0x70], 1
jmp 0x100564b1
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0xd8], ecx
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x13c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jg 0x100564dc
mov dword [ebp - 0x7c], 1
jmp 0x100564e0
and dword [ebp - 0x7c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1cc]
cmp dword [ebp - 0x7c], eax
je 0x100564fe
mov dword [ebp - 0xc8], 1
jmp 0x10056505
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
sub eax, 0x82240a4
je 0x100565f1
cmp dword [ebp - 0xd0], 0
je 0x100565f1
push 1
lea ecx, [ebp - 0x174]
call fcn.1001ff2e
mov byte [ebp - 4], 3
push 1
lea eax, [ebp - 0x174]
push eax
push 0
push 1
lea eax, [ebp - 0x1b0]
push eax
push 0x77c9
call fcn.10055545
add esp, 0x18
push 0x3dd8
push 0x3918
push 1
push 0x2077
push 0
push 0x2006
push 0x7eb3
push 0x3c72
push 0x5b8d
push 0x26bf
push 1
push 0x39ca
push 0x1f30
lea eax, [ebp - 0x174]
push eax
call fcn.100486fe
add esp, 0x38
push 0
lea ecx, [ebp - 0x174]
call fcn.1001ffcc
cmp dword [eax], 0
je 0x100565e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.1001ffb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.1001ffb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffb0
jmp 0x1005624a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.1001ffb0
jmp 0x10056641
lea eax, [ebp - 0xd0]
push eax
push 0
push 0x5857
push 1
push 0x9ba
call fcn.100533de
add esp, 0x14
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd8], 0
je 0x10056641
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.1001ffb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffb0
jmp 0x1005624a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.1001ffb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1001ffb0
jmp 0x1005624a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.1001ffb0
push dword [ebp - 0x10c]
push 0
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.100650cf
add esp, 0x10
jmp 0x1005615f
jmp 0x100566fb
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x100566db
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 1
jge 0x100566fb
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x104]
call fcn.1001ffcc
mov dword [eax], 0xe7bff44c
jmp 0x100566d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret