Function at 0x11183670
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e9dc0
mov eax, dword fs:[0]
push eax
sub esp, 0xdcc
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xd98]
push eax
mov esi, ecx
mov dword [ebp - 0xd98], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov eax, dword [edx + 4]
xor ecx, ecx
cmp dword [ebp - 0xd88], 2
push 0
sete cl
push 0
push str.FromShowApp
push 0x11218810
mov dword [ebp - 0xda4], eax
mov dword [ebp - 0xdb0], ecx
mov ecx, edi
call fcn.110bbc00
mov edx, dword [edi]
mov edx, dword [edx + 4]
push 0
mov ebx, eax
push 0x200
lea eax, [ebp - 0x490]
push eax
push str.client32classname
push str.General
mov ecx, edi
mov dword [ebp - 0xda8], ebx
call edx
cmp word [ebp - 0x490], 0
jne 0x11183747
xor eax, eax
jmp 0x11183730
movzx ecx, word [eax + 0x111fa894]
mov word [ebp + eax - 0x490], cx
add eax, 2
test cx, cx
jne 0x11183730
cmp dword [esi + 0x41c], 0
jne 0x1118378a
push 8
call fcn.111709c0
add esp, 4
mov dword [ebp - 0xda0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1118377b
lea ecx, [ebp - 0x490]
push ecx
mov ecx, eax
call fcn.1107c380
jmp 0x1118377d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x41c], eax
mov dword [esi + 0x430], 1
test ebx, ebx
jne 0x111839c3
mov ecx, dword [esi + 0x41c]
push 0x64
call fcn.1107c260
test eax, eax
jne 0x111839c3
push str.LoadClient__idata__pClient32_NOT_valid_n
call fcn.111bd7b0
add esp, 4
lea edx, [ebp - 0x210]
push 0x100
push edx
call fcn.110fe3d0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
lea ecx, [ebp - 0x210]
sub eax, ecx
sar eax, 1
add esp, 8
inc eax
mov dword [ebp - 0xda0], eax
mov dword [ebp - 0xd9c], ebx
nop
cmp dword [ebp - 0xd9c], 0
mov edx, dword [edi]
mov edx, dword [edx + 4]
push 0
je 0x11183851
mov ecx, 0x200
sub ecx, eax
push ecx
lea ebx, [ebp + eax*2 - 0x210]
push ebx
push str.wclient
push str.General
mov ecx, edi
call edx
cmp word [ebx], 0
jne 0x11183891
mov eax, str.wclientw.exe
sub ebx, eax
jmp 0x11183840
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x11183840
jmp 0x11183891
mov eax, dword [ebp - 0xda0]
mov ecx, 0x1f0
sub ecx, eax
push ecx
lea ebx, [ebp + eax*2 - 0x210]
push ebx
push str.client32
push str.General
mov ecx, edi
call edx
cmp word [ebx], 0
jne 0x11183891
mov eax, str.client32.exe
sub ebx, eax
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x11183882
lea eax, [ebp - 0x210]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x111838a0
mov ecx, dword [0x11237808]
mov edx, dword [0x1123780c]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x210]
push 0x1122a654
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x1118391c
push eax
push 0x1000
push str.Cachesize
push str.View
mov ecx, edi
call fcn.110bbc00
lea ecx, [ebp - 0x210]
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x111838f6
sub ecx, ebx
push eax
sar ecx, 1
lea ecx, [ebp + ecx*2 - 0x210]
push str.__h_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ebx, dword [ebp - 0xd9c]
mov edx, ebx
neg edx
sbb edx, edx
and edx, 6
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.111b88e0
add esp, 8
cmp eax, 0x20
jae 0x11183969
test ebx, ebx
jne 0x11183a60
cmp dword [ebp - 0xdb0], ebx
jne 0x11183a60
mov eax, dword [ebp - 0xda0]
mov dword [ebp - 0xd9c], 1
jmp 0x11183800
mov ecx, dword [esi + 0x41c]
push 0x7d0
mov dword [esi + 0x418], 1
call fcn.1107c260
test eax, eax
jne 0x111839b2
push 1
call fcn.1117b980
mov eax, dword [ebp - 0xda4]
mov ecx, dword [eax]
lea edx, [ebp - 0x210]
push edx
push 0
push 0x18a9
push eax
mov eax, dword [ecx + 4]
call eax
add esp, 0x14
jmp 0x11184263
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0xda8]
xor eax, eax
mov dword [ebp - 0xda0], eax
mov dword [ebp - 0xd9c], eax
cmp ebx, eax
jne 0x11183c70
cmp dword [ebp - 0xdb0], eax
je 0x11183a90
cmp dword [esi + 0x488], eax
jne 0x11183c70
call fcn.11123260
push eax
lea ecx, [ebp - 0x290]
push str..pipe_nsm_ctl32_show__d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0x3e8
push 0x200
push 0x800
push 0xff
push 6
push 3
lea edx, [ebp - 0x290]
push edx
mov dword [esi + 0x48c], 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x488], eax
cmp eax, 0xffffffff
jne 0x11183c70
push 0x91a
push str...ctl32Remote.cpp
push str.idata__pipe___INVALID_HANDLE_VALUE
jmp 0x11183c68
cmp dword [esi + 0x10], 0
mov eax, 0x19d3
jne 0x11183a70
mov eax, 0x19cf
mov ecx, dword [ebp - 0xda4]
mov edx, dword [ecx]
lea esi, [ebp - 0x210]
push esi
push 0
push eax
mov eax, dword [edx + 4]
push ecx
call eax
add esp, 0x10
jmp 0x11184263
cmp dword [esi + 0x478], eax
jne 0x11183c70
mov ecx, dword [esi + 0x41c]
push 0
push 0
push 0x488
call fcn.1107c280
test eax, eax
jne 0x11183ade
push 1
call fcn.1117b980
mov edi, dword [ebp - 0xda4]
mov esi, dword [edi]
call fcn.111b8750
push eax
mov eax, dword [esi + 4]
push 0
push 0x19d1
push edi
call eax
add esp, 0x14
jmp 0x11184263
push 0
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x478], eax
test eax, eax
jne 0x11183b14
push 0x92e
push str...ctl32Remote.cpp
push str.idata__mapfile
call fcn.11067750
add esp, 0xc
mov ecx, dword [esi + 0x478]
push 0x1000
push 0
push 0
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x47c], eax
test eax, eax
jne 0x11183b4d
push 0x931
push str...ctl32Remote.cpp
push str.idata__mapped
call fcn.11067750
add esp, 0xc
mov edx, dword [esi + 0x47c]
mov byte [edx], 0
mov eax, dword [esi + 0x47c]
mov ecx, dword [esi + 0x41c]
push eax
push 1
push 0x488
call fcn.1107c280
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 0x480], eax
test eax, eax
jne 0x11183ba0
push 0x937
push str...ctl32Remote.cpp
push str.idata__sendevent1
call fcn.11067750
add esp, 0xc
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 0x484], eax
test eax, eax
jne 0x11183bcb
push 0x939
push str...ctl32Remote.cpp
push str.idata__sendevent2
call fcn.11067750
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x11183bf3
push 0x93b
push str...ctl32Remote.cpp
push 0x11230f44
call fcn.11067750
add esp, 0xc
push str.OpenVxDHandle
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x11183c1c
push 0x93e
push str...ctl32Remote.cpp
push 0x11230f18
call fcn.11067750
add esp, 0xc
mov ecx, dword [esi + 0x480]
push ecx
call ebx
mov dword [ebp - 0xda0], eax
test eax, eax
jne 0x11183c46
push 0x940
push str...ctl32Remote.cpp
push 0x11230f10
call fcn.11067750
add esp, 0xc
mov edx, dword [esi + 0x484]
push edx
call ebx
mov dword [ebp - 0xd9c], eax
test eax, eax
jne 0x11183c70
push 0x942
push str...ctl32Remote.cpp
push 0x11230f08
call fcn.11067750
add esp, 0xc
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x11183ca5
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
push 0x20
push 0x1000000e
mov ecx, ebx
call edx
push str.LoadClient__select_1__n
call fcn.111bd7b0
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
add esp, 4
push 0
push 0
push 1
push 1
mov ecx, ebx
call edx
push 0x20
call fcn.111709c0
add esp, 4
mov dword [ebp - 0xdc4], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x11183ccd
push 0
push 0
mov ecx, eax
call fcn.11170ad0
jmp 0x11183ccf
xor eax, eax
push 0
push 1
push 0x1117bb70
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], esi
call fcn.11170830
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xda0]
test eax, eax
je 0x11183d26
mov ecx, dword [esi + 0x41c]
push eax
push 2
push 0x488
call fcn.1107c280
mov eax, dword [ebp - 0xd9c]
mov ecx, dword [esi + 0x41c]
push eax
push 3
push 0x488
call fcn.1107c280
xor eax, eax
mov dword [ebp - 0xad8], eax
mov dword [ebp - 0xad4], eax
mov dword [ebp - 0xae4], eax
mov dword [ebp - 0xae0], eax
mov dword [ebp - 0xadc], eax
mov eax, 0xfa
lea edx, [ebp - 0xdcc]
mov dword [ebp - 0xad8], eax
mov dword [ebp - 0xad4], eax
mov eax, dword [esi + 0x6c]
push edx
lea ecx, [ebp - 0xae4]
push eax
mov dword [ebp - 0xdc4], ecx
mov ecx, dword [esi + 0x41c]
push 0x4a
mov dword [ebp - 0xdcc], 0x513
mov dword [ebp - 0xdc8], 0x14
call fcn.1107c280
mov edx, dword [edi]
mov edx, dword [edx + 4]
push 0
push 0x320
lea eax, [ebp - 0xad0]
push eax
push str.ShowAppIds
push 0x11218810
mov ecx, edi
call edx
push 0x1a0
lea eax, [ebp - 0xc84]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0
push 0x1120a004
push 0x11218810
mov ecx, edi
mov byte [ebp - 0xc84], 1
call fcn.110bbc00
push 0
push 0
push str.SendPhysicalFonts
push 0x11218810
mov ecx, edi
mov byte [ebp - 0xc83], al
call fcn.110bbc00
push 0
push 0
push 0x111f8710
push 0x11218810
mov ecx, edi
mov byte [ebp - 0xc82], al
call fcn.110bbc00
mov byte [ebp - 0xc81], al
xor eax, eax
movzx ecx, word [ebp + eax - 0xad0]
mov word [ebp + eax - 0xc74], cx
add eax, 2
test cx, cx
jne 0x11183e20
push edi
push str.Testing_performance_settings_in_Config__p_n
call fcn.111bd7b0
add esp, 8
push 0
push 0
push str.ScrapingShow
push 0x11218810
mov ecx, edi
call fcn.110bbc00
test eax, eax
je 0x11183ec8
push 0
push 0
push str.LowBandwidthMode
push str.General
mov ecx, edi
mov byte [ebp - 0xc83], 1
call fcn.110bbc00
cmp eax, 2
jne 0x11183eaf
push 0
push 0
push str.UseUdpNetworkSpeed
push str.TCPIP
mov ecx, edi
call fcn.110bbc00
test eax, eax
jne 0x11183eb4
test ebx, ebx
je 0x11183ec8
mov edx, dword [ebx]
mov eax, dword [edx + 0x88]
mov ecx, ebx
call eax
test al, al
je 0x11183ec8
jmp 0x11183eb4
cmp eax, 1
jne 0x11183ec8
push str.using_LowBandwidthMode_n
call fcn.111bd7b0
add esp, 4
or byte [ebp - 0xc80], 1
push 0
push 0
push str.LimitColorBits
push 0x11218810
mov ecx, edi
call fcn.110bbc00
mov ebx, eax
test ebx, ebx
je 0x11183ee8
cmp ebx, 8
jle 0x11183ef2
mov dword [esi + 0x16c], 0x18
test ebx, ebx
je 0x11183f0c
push ebx
push str.using_colorbits_d_n
call fcn.111bd7b0
add esp, 8
mov byte [ebp - 0xc7f], bl
jmp 0x11183f40
push 0
push 0
push str.ColourReduction
push str.General
mov ecx, edi
call fcn.110bbc00
test eax, eax
je 0x11183f40
push str.using_ColourReduction_n
call fcn.111bd7b0
add esp, 4
or byte [ebp - 0xc80], 2
mov byte [ebp - 0xc7f], 8
push 0
push 0
push str.CanMovePixels
push 0x11218810
mov ecx, edi
call fcn.110bbc00
test eax, eax
mov al, byte [ebp - 0xc80]
je 0x11183f67
or al, 4
mov byte [ebp - 0xc80], al
cmp dword [ebp - 0xda8], 0
lea ecx, [ebp - 0xc84]
mov dword [ebp - 0xdd8], 0x494
mov dword [ebp - 0xdd4], 0x1a0
mov dword [ebp - 0xdd0], ecx
je 0x111841a6
test al, 4
mov ebx, 0
setne bl
and al, 1
movzx edx, al
push 0x78
inc ebx
neg edx
sbb edx, edx
add edx, 2
mov dword [ebp - 0xda8], edx
fild dword [ebp - 0xda8]
fstp qword [ebp - 0xdac]
call fcn.111709c0
add esp, 4
mov dword [ebp - 0xdc4], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x11184005
mov cl, byte [ebp - 0xc7f]
test cl, cl
movzx ecx, cl
jne 0x11183fea
mov ecx, 0x18
fld qword [ebp - 0xdac]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esi + 4]
push ebx
push ecx
mov ecx, eax
call fcn.11030e60
jmp 0x11184007
xor eax, eax
mov edx, dword [esi + 4]
mov dword [esi + 0x7f0], eax
mov ecx, dword [edx + 4]
push 0x577
mov dword [ebp - 4], 0xffffffff
call fcn.110eb4b0
mov ecx, dword [esi + 0x7f0]
push eax
call fcn.1102fc70
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 0
push 0x320
lea ecx, [ebp - 0x7b0]
push ecx
push str.ShowAppIds
push 0x11218810
mov ecx, edi
call edx
push 0xa
lea eax, [ebp - 0xd9c]
push eax
lea ecx, [ebp - 0x7b0]
push ecx
call dword [sym.imp.MSVCR100.dll_wcstol]
xor edi, edi
push 0x14
mov ebx, eax
mov dword [ebp - 0xdb8], edi
call fcn.111709c0
add esp, 0x10
cmp eax, edi
je 0x11184172
mov dword [ebp - 0xdbc], eax
mov dword [eax], eax
mov eax, dword [ebp - 0xdbc]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xdbc]
mov dword [eax + 8], eax
mov edx, dword [ebp - 0xdbc]
mov byte [edx + 0x10], 1
mov eax, dword [ebp - 0xdbc]
mov byte [eax + 0x11], 1
mov ecx, dword [ebp - 0xd9c]
movzx eax, word [ecx]
mov dword [ebp - 4], 3
cmp ax, di
je 0x11184123
mov edi, dword [sym.imp.MSVCR100.dll_wcstoul]
lea esp, [esp]
cmp ax, 0x5d
je 0x11184123
push 0xa
lea edx, [ebp - 0xd9c]
push edx
add ecx, 2
push ecx
call edi
add esp, 0xc
mov dword [ebp - 0xda8], eax
push 0
lea eax, [ebp - 0xda8]
push eax
lea ecx, [ebp - 0xdc0]
call fcn.1106bcd0
push eax
lea ecx, [ebp - 0xdc8]
push ecx
lea ecx, [ebp - 0xdc0]
call fcn.111c0b50
mov ecx, dword [ebp - 0xd9c]
movzx eax, word [ecx]
test ax, ax
jne 0x111840d0
mov ecx, dword [esi + 0x7f0]
lea edx, [ebp - 0xdc0]
push edx
push ebx
call fcn.11030620
mov eax, dword [ebp - 0xdbc]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0xdc4]
push eax
lea ecx, [ebp - 0xdc0]
mov dword [ebp - 4], 4
call fcn.1106e230
mov ecx, dword [ebp - 0xdbc]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
jmp 0x11184265
lea edx, [ebp - 0xda0]
push edx
lea ecx, [ebp - 0xadc]
mov dword [ebp - 0xda0], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1126446c
lea eax, [ebp - 0xadc]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
movzx ecx, byte [ebp - 0xc7f]
movzx edx, byte [ebp - 0xc83]
push ecx
push edx
push str.send_UM_SHOWPARAMS__bscrape_d__colorbits_d_n
call fcn.111bd7b0
add esp, 0xc
mov edi, 2
jmp 0x111841d0
mov ecx, dword [esi + 0x6c]
lea eax, [ebp - 0xdd8]
push eax
push ecx
push 0x4a
call fcn.11174790
add esp, 0xc
dec edi
jne 0x111841d0
cmp dword [ebp - 0xdb0], edi
je 0x111841fb
mov edx, dword [esi + 0x424]
push 0xffffffffffffffff
push edx
jmp 0x111841ff
push 0
push 1
push 0x482
call fcn.11174790
add esp, 0xc
test eax, eax
je 0x11184168
push 1
mov dword [esi + 0x430], 0
call fcn.1117b980
push 0x19c8
call fcn.111be4c0
push 0x19d2
mov esi, eax
call fcn.111be4c0
mov edi, eax
mov eax, dword [ebp - 0xda4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edi
push esi
push 0
push 0x18a2
push eax
call edx
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x28
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret