Function at 0x100305e6
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push esi
push edi
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0x3fe6
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0xbfad0d72
mov dword [ebp - 0xcc], 0x22d800f4
mov dword [ebp - 0x84], 8
mov dword [ebp - 0x18], 0xfffffffe
jmp 0x1003064c
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff6
jle 0x10030688
mov dword [ebp - 0xbc], 0xd45db34e
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0xbc], 0xffff4f1c
lea eax, [ebp - 0x100]
push eax
push 1
push 0x33f3
call fcn.1002e4eb
add esp, 0xc
jmp 0x10030645
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jl 0x100306a5
mov dword [ebp - 0xa0], 1
jmp 0x100306ac
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x18]
jl 0x100306c4
mov dword [ebp - 0x7c], 1
jmp 0x100306c8
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x7c], eax
jg 0x100306d9
mov dword [ebp - 0x78], 1
jmp 0x100306dd
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xe30f5872
jb 0x100306f2
mov dword [ebp - 0x94], 1
jmp 0x100306f9
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x94], eax
je 0x10030728
mov dword [ebp - 0xe8], 0xfffffff6
push 1
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1002e540
add esp, 0xc
jmp 0x100308c7
push 2
lea ecx, [ebp - 0x118]
call fcn.10018221
and dword [ebp - 4], 0
mov dword [ebp - 0xc4], 0xefb659ba
mov dword [ebp - 0x6c], 0x9a75015e
mov dword [ebp - 0x15c], 0xfffffff6
mov dword [ebp - 0x64], 0
jmp 0x10030764
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x10030780
push dword [ebp - 0x64]
lea ecx, [ebp - 0x118]
call fcn.100182ab
mov dword [eax], 0xd5
jmp 0x1003075d
mov dword [ebp - 0x14], 1
jmp 0x10030790
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x100308b8
push 3
lea ecx, [ebp - 0x124]
call fcn.10018221
mov byte [ebp - 4], 1
mov dword [ebp - 0xf8], 0xfffffffd
lea eax, [ebp - 0x124]
push eax
push 0x1463
push 0x26ba
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.1002e5c3
add esp, 0x14
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0xf4]
push eax
call fcn.1002e64c
add esp, 0x28
cmp dword [ebp - 0x84], 1
jne 0x1003082c
mov dword [ebp - 0xa4], 1
jmp 0x10030833
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x6c]
push 1
lea ecx, [ebp - 0x118]
call fcn.100182ab
cmp esi, dword [eax]
je 0x1003085c
mov dword [ebp - 0xd4], 1
jmp 0x10030863
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x124]
call fcn.100182ab
mov esi, eax
push 0
lea ecx, [ebp - 0x124]
call fcn.100182ab
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10030891
mov dword [ebp - 0x8c], 1
jmp 0x10030898
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.100182a6
jmp 0x10030789
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.100182a6
and dword [ebp - 0x1a0], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x19c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xdc], 0x2dd78f4f
mov dword [ebp - 0x50], 0
jmp 0x100308fc
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x10030912
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x16c], 8
jmp 0x100308f5
mov dword [ebp - 0x2c], 0
jmp 0x10030922
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x1003099b
mov dword [ebp - 0x9c], 0x9a924c00
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x2c], 0
je 0x10030981
cmp dword [ebp - 0x2c], 0
jne 0x10030959
cmp dword [ebp - 0x9c], 0
jne 0x10030959
and dword [ebp - 0x74], 0
jmp 0x10030960
mov dword [ebp - 0x74], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x16c]
cmp dword [ebp - 0x74], eax
jge 0x10030981
cmp dword [ebp - 0x2c], 0
je 0x10030981
mov dword [ebp - 0x80], 1
jmp 0x10030985
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
sub eax, 0x23acc922
imul eax, eax, 0xfc3
mov dword [ebp - 0xdc], eax
jmp 0x1003091b
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x100309b1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push 0x1c
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp + 8]
push 0x6c69
push 0x5151
call fcn.10026722
pop ecx
pop ecx
call eax
test eax, eax
je 0x10030d79
mov dword [ebp - 0x38], 0xe1757117
mov dword [ebp - 0x40], 0xfffffffb
mov dword [ebp - 0x70], 0x37ad4351
push 4
lea ecx, [ebp - 0xb4]
call fcn.10018221
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0
jmp 0x10030a11
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x10030a2d
push dword [ebp - 0x44]
lea ecx, [ebp - 0xb4]
call fcn.100182ab
mov dword [eax], 0xfffffffb
jmp 0x10030a0a
mov dword [ebp - 0x38], 0
jmp 0x10030a3d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1a
jge 0x10030c66
mov dword [ebp - 0xd0], 4
mov dword [ebp - 0x30], 0xfffffffe
mov dword [ebp - 0x40], 0xfba1a4d6
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0xfc], 0
je 0x10030b8a
mov dword [ebp - 0x58], 8
cmp dword [ebp - 0x58], 0
jle 0x10030a98
mov dword [ebp - 0x90], 1
jmp 0x10030a9f
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x58], 0x4495231f
jg 0x10030abd
mov dword [ebp - 0x88], 1
jmp 0x10030ac4
and dword [ebp - 0x88], 0
push 1
lea ecx, [ebp - 0xb4]
call fcn.100182ab
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax]
jge 0x10030ae7
mov dword [ebp - 0xe4], 1
jmp 0x10030aee
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0x90], 0x1cb2
jle 0x10030b06
mov dword [ebp - 0x98], 1
jmp 0x10030b0d
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xffff
jb 0x10030b25
mov dword [ebp - 0xec], 1
jmp 0x10030b2c
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x58], 0
je 0x10030b63
mov dword [ebp - 0xb8], 0xffff
push 1
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1002e7a1
add esp, 0x10
jmp 0x10030b85
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10030b85
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x10030c48
mov dword [ebp - 0xc8], 0
push 4
lea ecx, [ebp - 0x10c]
call fcn.10018221
mov byte [ebp - 4], 3
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x48], 0
jmp 0x10030bbf
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10030bdb
push dword [ebp - 0x48]
lea ecx, [ebp - 0x10c]
call fcn.100182ab
mov dword [eax], 0x5d518144
jmp 0x10030bb8
cmp dword [ebp - 0x40], 0
je 0x10030bf2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.100182a6
jmp 0x10030c66
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x3dda
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0x6abd
lea eax, [ebp - 0x40]
push eax
push 1
call fcn.1002e814
add esp, 0x30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.100182a6
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002f573
add esp, 0x10
jmp 0x10030a36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.100182a6
mov dword [ebp - 0xd8], 0xee
push 2
lea ecx, [ebp - 0x184]
call fcn.10018221
mov dword [ebp - 4], 4
mov dword [ebp - 0x4c], 0x490c4d8e
lea eax, [ebp - 0x184]
push eax
push 1
lea eax, [ebp - 0x160]
push eax
call fcn.1002f63b
add esp, 0xc
mov dword [ebp - 0x4c], 0
jmp 0x10030cc2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x10030cea
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10030ce8
push 0x7a9
push 0
push 0x21fc
call fcn.1002f774
add esp, 0xc
jmp 0x10030cbb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.100182a6
mov eax, dword [ebp - 0x18c]
and eax, dword [ebp - 0xd8]
jne 0x10030d13
mov dword [ebp - 0xa8], 1
jmp 0x10030d1a
and dword [ebp - 0xa8], 0
mov al, byte [ebp - 0xa8]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x170], 7
mov byte [ebp - 0x23], 0
push 1
push 0x5318
push 0x7c89
lea eax, [ebp - 0x23]
push eax
call fcn.1002f6a2
add esp, 0x10
mov byte [ebp - 0x21], 0
push 1
lea eax, [ebp - 0x21]
push eax
push 0x67d3
call fcn.1002f71d
add esp, 0xc
mov eax, dword [ebp - 0x18c]
and eax, 0x101
je 0x10030d71
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
jmp 0x10030fe1
mov dword [ebp - 0x1c], 0x6dd1e1e8
mov dword [ebp - 0x60], 0xfc3eee2f
mov dword [ebp - 0x54], 0xf7d65121
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x34], 0xde57413
mov dword [ebp - 0x20], 0
jmp 0x10030dac
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10030dc2
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1b8], 0x8cff
jmp 0x10030da5
mov dword [ebp - 0x20], 0
jmp 0x10030dd2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10030de8
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x12c], 6
jmp 0x10030dcb
mov dword [ebp - 0x1c], 0
jmp 0x10030df8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10030e0e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1b8], 8
jmp 0x10030df1
mov dword [ebp - 0x1c], 3
jmp 0x10030e1e
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff2
jle 0x10030fdf
mov dword [ebp - 0x140], 0x1f1eb32a
mov dword [ebp - 0x13c], 0x1f1eb32a
mov dword [ebp - 0x138], 0x1f1eb32a
mov dword [ebp - 0x134], 0x1f1eb32a
lea ecx, [ebp - 0x65]
call fcn.10008e33
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.100182ba
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1ac]
call fcn.10018280
mov dword [ebp - 4], 5
mov dword [ebp - 0xe0], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x12c]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x12c], eax
mov dword [ebp - 0x54], 0
jmp 0x10030ebe
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffe2
jne 0x10030fcb
mov dword [ebp - 0x5c], 0xfffffff3
jmp 0x10030ed8
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffe9
je 0x10030fbd
mov dword [ebp - 0x60], 0
jmp 0x10030ef2
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffef
jl 0x10030fb8
push 2
lea ecx, [ebp - 0x14c]
call fcn.10018221
mov byte [ebp - 4], 6
mov dword [ebp - 0x3c], 0xfffffff7
lea eax, [ebp - 0x178]
push eax
push 1
lea eax, [ebp - 0x14c]
push eax
call fcn.1002f774
add esp, 0xc
push 1
lea eax, [ebp - 0x3c]
push eax
push 0x66da
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0x1594
call fcn.1002f7fd
add esp, 0x18
mov dword [ebp - 0x3c], 0
jmp 0x10030f5f
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x12
je 0x10030fa4
mov dword [ebp - 0x34], 0
jmp 0x10030f75
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jg 0x10030fa2
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10030fa0
push 0x18fa
push 1
push 0x3f95
push 0x102c
call fcn.1002f8c6
add esp, 0x10
jmp 0x10030f6e
jmp 0x10030f58
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14c]
call fcn.100182a6
jmp 0x10030eeb
jmp 0x10030ed1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xe0], eax
jmp 0x10030eb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.100182a6
jmp 0x10030e17
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret