Function at 0x1e03bb9d
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x74], 0xc
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1e03bbe5
push edi
call fcn.1e039332
pop ecx
jmp 0x1e03c1f5
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push edi
push edi
lea eax, [esp + 0x24]
push eax
call esi
push eax
push dword [esp + 0x48]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1e03bbd9
push dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1e03bbd9
push 2
push edi
push edi
lea eax, [esp + 0x20]
push eax
call esi
push eax
push dword [esp + 0x4c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1e03bbd9
push dword [esp + 0x38]
call ebx
cmp dword [ebp + 0x10], 4
je 0x1e03bc9c
push edi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1e03bbd9
push 2
push edi
push edi
lea eax, [esp + 0x28]
push eax
call esi
push eax
push dword [esp + 0x50]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1e03bbd9
push dword [esp + 0x3c]
call ebx
mov eax, dword [ebp + 0x10]
dec eax
je 0x1e03bed1
dec eax
je 0x1e03bcb3
dec eax
je 0x1e03bcd5
dec eax
jne 0x1e03bfa6
test dword [ebp + 0xc], 0x4000
je 0x1e03be04
mov dword [esp + 0x20], 0x1e191684
mov dword [esp + 0x24], 0x1e195a20
jmp 0x1e03be14
test dword [ebp + 0xc], 0x4000
je 0x1e03bcf0
mov dword [esp + 0x20], 0x1e191684
mov dword [esp + 0x24], 0x1e195a20
jmp 0x1e03bd00
mov dword [esp + 0x20], 0x1e0e8aa8
mov dword [esp + 0x24], 0x1e0e8be0
push dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCR90.dll__open_osfhandle]
push dword [esp + 0x1c]
call esi
push dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll__fdopen]
push eax
call edi
push dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push dword [esp + 0x28]
call esi
push dword [esp + 0x38]
push eax
call edi
push dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
push dword [esp + 0x40]
call esi
push dword [esp + 0x48]
push eax
call edi
mov esi, 0x1e03c1fc
push esi
push dword [esp + 0x58]
mov dword [esp + 0x7c], eax
push dword [ebp + 8]
push dword [esp + 0x48]
call sym.python27.dll_PyFile_FromFile
add esp, 0x40
push esi
push dword [esp + 0x24]
mov edi, eax
push dword [ebp + 8]
push dword [esp + 0x34]
call sym.python27.dll_PyFile_FromFile
push esi
push dword [esp + 0x34]
mov dword [esp + 0x3c], eax
push dword [ebp + 8]
push dword [esp + 0x60]
call sym.python27.dll_PyFile_FromFile
push 0
push edi
mov esi, eax
call sym.python27.dll_PyFile_SetBufSize
push 0
push dword [esp + 0x50]
call sym.python27.dll_PyFile_SetBufSize
push 0
push esi
call sym.python27.dll_PyFile_SetBufSize
push esi
push dword [esp + 0x60]
push edi
push 3
call sym.python27.dll_PyTuple_Pack
add esp, 0x48
mov dword [esp + 0x20], eax
test edi, edi
je 0x1e03bdca
dec dword [edi]
jne 0x1e03bdca
mov eax, dword [edi + 4]
push edi
call dword [eax + 0x18]
pop ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1e03bdde
dec dword [eax]
jne 0x1e03bdde
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
test esi, esi
je 0x1e03bdee
dec dword [esi]
jne 0x1e03bdee
mov eax, dword [esi + 4]
push esi
call dword [eax + 0x18]
pop ecx
mov dword [esp + 0x24], 3
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x4c]
jmp 0x1e03bfb9
mov dword [esp + 0x20], 0x1e0e8aa8
mov dword [esp + 0x24], 0x1e0e8be0
push dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCR90.dll__open_osfhandle]
push dword [esp + 0x1c]
call esi
push dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll__fdopen]
push eax
call edi
push dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push dword [esp + 0x28]
call esi
push dword [esp + 0x38]
push eax
call edi
mov esi, 0x1e03c1fc
push esi
push dword [esp + 0x48]
mov dword [esp + 0x50], eax
push dword [ebp + 8]
push dword [esp + 0x38]
call sym.python27.dll_PyFile_FromFile
mov edi, eax
push 0
push edi
call sym.python27.dll_PyFile_SetBufSize
push esi
push dword [esp + 0x5c]
push dword [ebp + 8]
push dword [esp + 0x6c]
call sym.python27.dll_PyFile_FromFile
add esp, 0x48
mov esi, eax
push 0
push esi
call sym.python27.dll_PyFile_SetBufSize
cmp dword [ebp + 0x10], 4
pop ecx
pop ecx
je 0x1e03be94
push dword [esp + 0x1c]
call ebx
push esi
push edi
push 2
call sym.python27.dll_PyTuple_Pack
add esp, 0xc
mov dword [esp + 0x20], eax
test edi, edi
je 0x1e03beb4
dec dword [edi]
jne 0x1e03beb4
mov eax, dword [edi + 4]
push edi
call dword [eax + 0x18]
pop ecx
test esi, esi
je 0x1e03bec4
dec dword [esi]
jne 0x1e03bec4
mov eax, dword [esi + 4]
push esi
call dword [eax + 0x18]
pop ecx
mov dword [esp + 0x24], 2
jmp 0x1e03bfa6
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 0xc001
sub ecx, 0x4000
je 0x1e03bf59
dec ecx
je 0x1e03bf47
sub ecx, 0x3fff
je 0x1e03bf35
dec ecx
jne 0x1e03bf9e
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR90.dll__open_osfhandle]
mov esi, 0x1e0e8be0
push esi
push eax
call dword [sym.imp.MSVCR90.dll__fdopen]
push 0x1e03c1fc
push esi
push dword [ebp + 8]
mov dword [esp + 0x28], eax
push eax
call sym.python27.dll_PyFile_FromFile
push edi
push eax
mov dword [esp + 0x48], eax
call sym.python27.dll_PyFile_SetBufSize
add esp, 0x28
push dword [esp + 0x14]
jmp 0x1e03bf96
push eax
push dword [esp + 0x18]
call dword [sym.imp.MSVCR90.dll__open_osfhandle]
mov esi, 0x1e0e8aa8
jmp 0x1e03bf69
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR90.dll__open_osfhandle]
mov esi, 0x1e195a20
jmp 0x1e03bf06
push eax
push dword [esp + 0x18]
call dword [sym.imp.MSVCR90.dll__open_osfhandle]
mov esi, 0x1e191684
push esi
push eax
call dword [sym.imp.MSVCR90.dll__fdopen]
push 0x1e03c1fc
push esi
push dword [ebp + 8]
mov dword [esp + 0x28], eax
push eax
call sym.python27.dll_PyFile_FromFile
push edi
push eax
mov dword [esp + 0x48], eax
call sym.python27.dll_PyFile_SetBufSize
add esp, 0x28
push dword [esp + 0x18]
call ebx
push dword [esp + 0x1c]
call ebx
mov dword [esp + 0x24], 1
cmp dword [ebp + 0x10], 4
jne 0x1e03bdf6
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x30]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [ebp + 8]
call fcn.1e03b85f
add esp, 0x14
test eax, eax
je 0x1e03c1f5
cmp dword [0x1e212778], 0
jne 0x1e03bfef
call sym.python27.dll_PyDict_New
mov dword [0x1e212778], eax
test eax, eax
je 0x1e03c1c6
xor eax, eax
push 2
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
call sym.python27.dll_PyList_New
pop ecx
push dword [esp + 0x40]
mov dword [esp + 0x14], eax
call sym.python27.dll_PyLong_FromVoidPtr
pop ecx
push dword [esp + 0x24]
mov esi, eax
call sym.python27.dll_PyInt_FromLong
cmp dword [esp + 0x14], 0
pop ecx
mov edi, eax
je 0x1e03c1c6
test esi, esi
je 0x1e03c17a
test edi, edi
je 0x1e03c17a
push esi
push 0
push dword [esp + 0x18]
call sym.python27.dll_PyList_SetItem
add esp, 0xc
push edi
push 1
push dword [esp + 0x18]
call sym.python27.dll_PyList_SetItem
add esp, 0xc
push dword [esp + 0xc]
call sym.python27.dll_PyLong_FromVoidPtr
pop ecx
mov dword [esp + 0x4c], eax
test eax, eax
je 0x1e03c08f
push dword [esp + 0x10]
push eax
push dword [0x1e212778]
call sym.python27.dll_PyDict_SetItem
add esp, 0xc
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x24]
cmp esi, 2
jl 0x1e03c0c5
push dword [esp + 0x28]
call sym.python27.dll_PyLong_FromVoidPtr
xor edi, edi
pop ecx
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x1e03c0c7
push dword [esp + 0x10]
push eax
push dword [0x1e212778]
call sym.python27.dll_PyDict_SetItem
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x1e03c0c7
xor edi, edi
cmp esi, 3
jl 0x1e03c0f5
push dword [esp + 0x44]
call sym.python27.dll_PyLong_FromVoidPtr
pop ecx
mov dword [esp + 0x54], eax
cmp eax, edi
je 0x1e03c0f5
push dword [esp + 0x10]
push eax
push dword [0x1e212778]
call sym.python27.dll_PyDict_SetItem
add esp, 0xc
mov dword [esp + 0x60], eax
cmp dword [esp + 0x58], edi
jl 0x1e03c140
cmp dword [esp + 0x4c], edi
je 0x1e03c123
cmp dword [esp + 0x5c], edi
jl 0x1e03c123
cmp esi, 1
jle 0x1e03c112
cmp dword [esp + 0x50], edi
je 0x1e03c123
cmp dword [esp + 0x60], edi
jl 0x1e03c123
cmp esi, 2
jle 0x1e03c17a
cmp dword [esp + 0x54], edi
jne 0x1e03c17a
cmp dword [esp + 0x58], edi
jne 0x1e03c140
cmp dword [esp + 0x4c], edi
je 0x1e03c140
push dword [esp + 0x4c]
push dword [0x1e212778]
call sym.python27.dll_PyDict_DelItem
pop ecx
pop ecx
cmp dword [esp + 0x5c], edi
jne 0x1e03c15d
cmp dword [esp + 0x50], edi
je 0x1e03c15d
push dword [esp + 0x50]
push dword [0x1e212778]
call sym.python27.dll_PyDict_DelItem
pop ecx
pop ecx
cmp dword [esp + 0x60], edi
jne 0x1e03c17a
cmp dword [esp + 0x54], edi
je 0x1e03c17a
push dword [esp + 0x54]
push dword [0x1e212778]
call sym.python27.dll_PyDict_DelItem
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
dec dword [eax]
jne 0x1e03c18a
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1e03c19e
dec dword [eax]
jne 0x1e03c19e
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1e03c1b2
dec dword [eax]
jne 0x1e03c1b2
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1e03c1c6
dec dword [eax]
jne 0x1e03c1c6
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
push dword [esp + 0x30]
call ebx
test eax, eax
jne 0x1e03c1d7
push 0
jmp 0x1e03bbda
push dword [esp + 0x2c]
call ebx
test eax, eax
je 0x1e03c1d0
cmp dword [ebp + 0x10], 4
je 0x1e03c1f1
push dword [esp + 0x48]
call ebx
test eax, eax
je 0x1e03c1d0
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret