Function at 0x10057c99
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ee19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
push 1
lea ecx, [ebp - 0x34]
call fcn.10018753
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x2c39d5b6
mov dword [ebp - 0x70], 0xfffffff8
mov dword [ebp - 0x20], 0
jmp 0x10057ced
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10057d06
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov dword [eax], 0xb26bdde0
jmp 0x10057ce6
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov dword [eax], 0xffffffe2
jmp 0x10057d39
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
cmp dword [eax], 0x13
jne 0x10058107
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xd0], 0xb88cdf8a
mov dword [ebp - 0xcc], 0xb88cdf8a
mov dword [ebp - 0xc8], 0xb88cdf8a
mov dword [ebp - 0xc4], 0xb88cdf8a
lea ecx, [ebp - 0x3d]
call fcn.100094a3
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xf4]
call fcn.10018803
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xdc]
call fcn.100187b2
mov byte [ebp - 4], 1
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10057dce
push 0x1ab7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
cmp dword [eax], 0
je 0x10057fcd
push 4
lea ecx, [ebp - 0xbc]
call fcn.10018753
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], 0
jmp 0x10057e02
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10057e18
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xe8], 0
jmp 0x10057dfb
mov dword [ebp - 0x10], 0
jmp 0x10057e28
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10057e44
push dword [ebp - 0x10]
lea ecx, [ebp - 0xbc]
call fcn.100187f4
mov dword [eax], 3
jmp 0x10057e21
cmp dword [ebp - 0x1c], 0x73417203
jle 0x10057e69
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xe8], 0
je 0x10057e69
mov dword [ebp - 0xa0], 1
jmp 0x10057e70
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xa0], eax
jl 0x10057e8a
cmp dword [ebp - 0x1c], 0
jne 0x10057e8a
and dword [ebp - 0xa4], 0
jmp 0x10057e94
mov dword [ebp - 0xa4], 1
mov eax, 0xc248
test eax, eax
je 0x10057ea6
mov dword [ebp - 0x74], 1
jmp 0x10057eaa
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
je 0x10057ec4
mov dword [ebp - 0x5c], 1
jmp 0x10057ec8
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0xead9bacc
je 0x10057eda
mov dword [ebp - 0x38], 1
jmp 0x10057ede
and dword [ebp - 0x38], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0xe8], ecx
cmp dword [ebp - 0x38], 0
jne 0x10057f03
mov eax, 0x9b8fa48a
test eax, eax
jne 0x10057f03
and dword [ebp - 0x80], 0
jmp 0x10057f0a
mov dword [ebp - 0x80], 1
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov eax, dword [eax]
cmp eax, dword [ebp - 0x80]
jg 0x10057f24
mov dword [ebp - 0x64], 1
jmp 0x10057f28
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jle 0x10057f42
mov dword [ebp - 0x88], 1
jmp 0x10057f49
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x88], eax
jle 0x10057f5d
mov dword [ebp - 0x6c], 1
jmp 0x10057f61
and dword [ebp - 0x6c], 0
push 2
lea ecx, [ebp - 0xbc]
call fcn.100187f4
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax]
jne 0x10057f81
mov dword [ebp - 0x90], 1
jmp 0x10057f88
and dword [ebp - 0x90], 0
push 2
lea ecx, [ebp - 0xdc]
call fcn.100187f4
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0xbc]
call fcn.100187f4
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.100187d8
jmp 0x100580f3
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x3c], 0xb3883faa
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10057ff6
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x3c]
sub eax, 0x4f34
je 0x10058013
push 0xfffffffffffffffe
pop eax
test eax, eax
je 0x10058013
mov dword [ebp - 0xb0], 1
jmp 0x1005801a
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0x1c], 0xcfde
jne 0x1005802f
mov dword [ebp - 0x8c], 1
jmp 0x10058036
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x8c]
jne 0x10058059
mov dword [ebp - 0x7c], 1
jmp 0x1005805d
and dword [ebp - 0x7c], 0
mov esi, dword [ebp - 0x7c]
dec esi
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
cmp esi, dword [eax]
jge 0x10058078
mov dword [ebp - 0x44], 1
jmp 0x1005807c
and dword [ebp - 0x44], 0
push 2
lea ecx, [ebp - 0xdc]
call fcn.100187f4
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x44], eax
jge 0x100580a2
mov dword [ebp - 0x9c], 1
jmp 0x100580a9
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x9c]
cmp eax, 1
jge 0x100580c4
mov dword [ebp - 0x84], 1
jmp 0x100580cb
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0x7e2
jge 0x100580e3
mov dword [ebp - 0x94], 1
jmp 0x100580ea
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.100187d8
jmp 0x10057d18
mov dword [ebp - 0x14], 0xd
jmp 0x10058117
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1d
jle 0x10058251
mov dword [ebp - 0x28], 0x7913da51
push 1
lea ecx, [ebp - 0x50]
call fcn.10018753
mov byte [ebp - 4], 3
mov dword [ebp - 0x68], 0x1ba05761
mov dword [ebp - 0xa8], 0x2ce4
mov dword [ebp - 0x24], 0
jmp 0x10058157
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10058170
push dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
call fcn.100187f4
mov dword [eax], 9
jmp 0x10058150
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xef6e
jge 0x100581a1
mov dword [ebp - 0x78], 1
jmp 0x100581a5
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jl 0x100581bf
mov dword [ebp - 0x58], 1
jmp 0x100581c3
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x58], eax
je 0x100581e0
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
cmp dword [eax], 0
jne 0x100581e0
and dword [ebp - 0x60], 0
jmp 0x100581e7
mov dword [ebp - 0x60], 1
push 0
lea ecx, [ebp - 0x34]
call fcn.100187f4
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
cmp dword [ebp - 0x68], 0
jne 0x1005821a
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
mov esi, dword [ebp - 0x14]
add esi, 0xea0d
push 0
lea ecx, [ebp - 0x50]
call fcn.100187f4
imul esi, dword [eax]
mov dword [ebp - 0xa8], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.100187d8
jmp 0x10058110
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100187d8
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x10058279
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_FlashWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret