Function at 0x21026a62
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x98], ecx
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x98]
add ecx, 0x24
call fcn.2106d863
mov eax, dword [ebp - 0x98]
add eax, 0x38
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 4], 0
je 0x21026b13
mov dword [ebp - 0x28], 0
jmp 0x21026aaa
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 8]
jae 0x21026b13
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x2c], edx
jmp 0x21026ace
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x21026b11
mov dword [ebp - 0x38], 1
mov edx, dword [ebp - 0x2c]
add edx, 0xc
mov dword [ebp - 0x34], edx
jmp 0x21026aef
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
test ecx, ecx
je 0x21026b01
jmp 0x21026ae6
push 1
mov eax, dword [ebp - 0x2c]
add eax, 8
push eax
call fcn.2106d2ad
jmp 0x21026ac6
jmp 0x21026aa1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.2106e0a6
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x14]
call fcn.2106db3b
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x98]
mov dword [eax + 0xb4], 0
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0xb8], 0
mov dword [ebp - 8], 0x12e
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
cmp dword [ebp - 0x10], 0
jne 0x21026bbb
mov eax, 1
jmp 0x21027006
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 8]
push eax
call fcn.21058ce7
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x21026be4
mov eax, 1
jmp 0x21027006
mov ecx, dword [ebp - 0x98]
cmp dword [ecx + 0x10], 0
je 0x21026c08
mov edx, dword [ebp - 0x98]
add edx, 0x24
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.21038bc8
add esp, 8
jmp 0x21026c1e
mov ecx, dword [ebp - 0x98]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.21038ae8
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.2106e0a6
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x21026c42
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x40]
jge 0x21026fdb
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0xc]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.21024450
add esp, 0x28
test eax, eax
je 0x21026ca3
mov edx, dword [ebp - 0x1c]
cmp edx, dword [0x2109bbd0]
je 0x21026cd1
push 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x98]
add ecx, 0x24
call fcn.2106da56
jmp 0x21026c39
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.210277a3
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x38
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.2106d2d1
mov ecx, dword [ebp - 0x90]
xor edx, edx
div dword [ecx + 8]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x90]
cmp dword [edx + 4], 0
jne 0x21026d40
mov dword [ebp - 0x50], 0
jmp 0x21026da2
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x58], eax
jmp 0x21026d5c
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0
je 0x21026d9b
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 8]
push eax
call fcn.2105e83a
add esp, 8
mov dword [ebp - 0x5c], eax
xor ecx, ecx
cmp dword [ebp - 0x5c], 0
sete cl
and ecx, 0xff
test ecx, ecx
je 0x21026d99
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x50], edx
jmp 0x21026da2
jmp 0x21026d54
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0
jne 0x21026fca
mov eax, dword [ebp - 0x90]
cmp dword [eax + 4], 0
jne 0x21026e47
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x90]
cmp dword [eax + 4], 0
je 0x21026df9
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.2106e0a6
add esp, 4
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 4], 0
mov edx, 1
test edx, edx
je 0x21026e3b
mov eax, dword [ebp - 0x70]
shl eax, 2
push eax
call fcn.2106e07d
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x6c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x70]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
push edx
call fcn.2105e780
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x10], 0
jne 0x21026eda
push 0x10
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x90]
add edx, 0x14
push edx
call fcn.2106db1b
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x18]
sub edx, 1
shl edx, 4
mov eax, dword [ebp - 0x80]
add eax, edx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x18]
sub edx, 1
mov dword [ebp - 0x7c], edx
jmp 0x21026eb8
mov eax, dword [ebp - 0x7c]
sub eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x80]
sub ecx, 0x10
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x7c], 0
jl 0x21026eda
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x80]
mov dword [edx + 0x10], eax
jmp 0x21026ea6
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x90]
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0xc]
add edx, 1
mov eax, dword [ebp - 0x90]
mov dword [eax + 0xc], edx
push 1
mov ecx, dword [ebp - 0x74]
add ecx, 8
push ecx
call fcn.2106d27f
mov dword [ebp - 0x8c], 1
mov edx, dword [ebp - 0x74]
add edx, 0xc
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x8c]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.2105e780
add esp, 0xc
jmp 0x21026f5f
mov edx, dword [ebp - 0x88]
add edx, 4
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
sub ecx, 1
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x21026f86
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x84], edx
jmp 0x21026f50
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 8
call fcn.2106e569
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x94]
mov dword [ecx + 0xc], edx
jmp 0x21026c39
push 0
mov eax, dword [ebp - 0x98]
add eax, 0xb8
push eax
mov ecx, dword [ebp - 0x98]
add ecx, 0xb4
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.21027a6c
mov eax, 1
mov esp, ebp
pop ebp
ret