Function at 0x100369e1
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006603b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x100
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x70], 0
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x10036a21
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10036a37
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xf8], 0xe2799ac7
jmp 0x10036a1a
mov dword [ebp - 0x2c], 1
jmp 0x10036a47
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10036b66
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x10036b44
mov dword [ebp - 0x68], 0xfc9
mov dword [ebp - 0x94], 0x1000aac0
cmp dword [ebp - 0x68], 0x105f
jle 0x10036b00
and dword [ebp - 0x44], 0
jmp 0x10036a8c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x4eb9
jge 0x10036b00
and dword [ebp - 0x30], 0
jmp 0x10036aa2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1c64
jge 0x10036afe
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
shl eax, cl
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x110]
call fcn.1000d910
pop ecx
pop ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.10031260
push eax
call fcn.10050146
pop ecx
lea ecx, [ebp - 0x110]
call fcn.10031256
jmp 0x10036a9b
jmp 0x10036a85
call fcn.100367fe
and dword [ebp - 4], 0
cmp dword [ebp - 0x68], 0xebc
jge 0x10036b1e
push dword [ebp - 0x94]
call fcn.10050146
pop ecx
jmp 0x10036b3a
or dword [ebp - 4], 0xffffffff
jmp 0x10036b44
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10036b61
push 0x1ccd
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x10036a40
lea eax, [ebp - 0x2c]
push eax
call fcn.1003680e
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.10037d21
mov dword [ebp - 4], 2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10036826
pop ecx
pop ecx
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 0x34], 0
jmp 0x10036bab
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10036bc1
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xc0], 0xe07ea4c5
jmp 0x10036ba4
mov dword [ebp - 0x20], 0
jmp 0x10036bd1
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe5
jl 0x10036e83
push 1
lea ecx, [ebp - 0x88]
call fcn.10031395
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0x65ab3e90
mov dword [ebp - 0x78], 0xfffffffd
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0xc4307e4a
mov dword [ebp - 0xb0], 0xbb94d0f
mov dword [ebp - 0xac], 0xbb94d0f
mov dword [ebp - 0xa8], 0xbb94d0f
mov dword [ebp - 0xa4], 0xbb94d0f
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10036848
pop ecx
pop ecx
mov dword [ebp - 0x28], 0
jmp 0x10036c5b
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10036e6f
mov dword [ebp - 0x18], 0x921ded68
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0xb4], 0xc3414b5
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x74], 0xbc383c67
mov dword [ebp - 0x40], 0xaf2c9a13
mov dword [ebp - 0x18], 0
jmp 0x10036ca5
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10036e48
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0x6c], 0x85e0710d
mov dword [ebp - 0xd0], 0x39e071a0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x38], 0
jmp 0x10036ce1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10036cf7
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xbc], 0xae974ca7
jmp 0x10036cda
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x11]
push eax
call fcn.10036890
pop ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
call fcn.10031433
mov dword [eax], 0xebf3
mov eax, 0xebf3
test eax, eax
jne 0x10036e28
push dword [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.10031433
mov ecx, 0x6dc0
sub ecx, dword [eax]
je 0x10036d4f
mov eax, 0x6496
test eax, eax
je 0x10036d4f
mov dword [ebp - 0x54], 1
jmp 0x10036d53
and dword [ebp - 0x54], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp - 0x54], eax
jg 0x10036d6e
mov dword [ebp - 0x64], 1
jmp 0x10036d72
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0xe62699ff
jbe 0x10036d84
mov dword [ebp - 0x5c], 1
jmp 0x10036d88
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x6c], eax
jle 0x10036d9f
mov dword [ebp - 0x50], 1
jmp 0x10036da3
and dword [ebp - 0x50], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
call fcn.10031433
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jge 0x10036dc1
mov dword [ebp - 0x58], 1
jmp 0x10036dc5
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x58], eax
jl 0x10036dd6
mov dword [ebp - 0x60], 1
jmp 0x10036dda
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x60], eax
jle 0x10036deb
mov dword [ebp - 0x4c], 1
jmp 0x10036def
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jne 0x10036e0e
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xbc], 0
jne 0x10036e0e
and dword [ebp - 0x98], 0
jmp 0x10036e18
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc8], eax
imul eax, dword [ebp - 0x90], 0xfffffffd
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x78]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xb0], eax
jmp 0x10036c9e
mov dword [ebp - 0x40], 0
jmp 0x10036e58
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jg 0x10036e6a
lea eax, [ebp - 0x74]
push eax
call fcn.100369ca
pop ecx
jmp 0x10036e51
jmp 0x10036c54
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.10031417
jmp 0x10036bca
and dword [ebp - 0x24], 0
jmp 0x10036e90
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0xc]
jae 0x10036ed2
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x24]
xor edx, edx
div dword [0x1006d7fc]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1003349e
push eax
lea ecx, [ebp - 0xf0]
call fcn.10037db3
jmp 0x10036e89
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp + 8]
call fcn.10037d32
mov eax, dword [ebp - 0x70]
or eax, 1
mov dword [ebp - 0x70], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10037d8b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret