Function at 0x1118bb20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111ea03a
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
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
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], edx
mov dword [edi], vtable.NSMRemote.0
test ecx, ecx
jne 0x1118bb84
mov ecx, dword [ebx + 0x34]
mov dword [edi + 4], ecx
test eax, eax
jne 0x1118bb90
mov eax, 0x111816b0
call eax
mov esi, eax
lea eax, [esi + 0x1c]
mov dword [edi + 8], esi
push eax
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x128]
test eax, eax
jne 0x1118bbb9
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x128], ecx
mov eax, ecx
push esi
push 0
mov dword [esi + 8], eax
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
push fcn.1118b120
push 0x30000014
call eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x1118bbef
mov ecx, ebx
call fcn.111707e0
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x16c]
push edi
mov dword [esi + 0x18], ecx
call fcn.111d8320
mov edx, dword [0x11278d1c]
add esp, 4
mov dword [edi], edx
mov eax, dword [0x11278d1c]
push 0
push 0
mov dword [esi + 0x168], eax
mov ecx, dword [0x11278d20]
push str.LimitColorbits
mov dword [esi + 0x170], ecx
mov ecx, dword [esi + 8]
push str.View
call fcn.110bbc00
cmp eax, 6
je 0x1118bc43
cmp eax, 7
jne 0x1118bc4a
mov eax, 8
jmp 0x1118bc4e
test eax, eax
jle 0x1118bc63
cmp dword [edi], eax
jle 0x1118bc63
mov dword [edi], eax
cmp eax, 8
jge 0x1118bc63
mov dword [esi + 0x170], 0
cmp dword [ebp - 0x12c], 0
jne 0x1118bcaa
push 4
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1118bc94
push 0
push 1
mov ecx, eax
call fcn.111712f0
jmp 0x1118bc96
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x12c], eax
mov dword [esi + 0x3c], 1
mov edx, dword [ebp - 0x12c]
push 8
mov dword [esi + 0x38], edx
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x134], eax
xor edi, edi
mov dword [ebp - 4], 1
cmp eax, edi
je 0x1118bce6
mov ecx, dword [ebp - 0x128]
push esi
push 0x11177160
push ecx
mov ecx, eax
call fcn.11034c90
jmp 0x1118bce8
xor eax, eax
push esi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x40], eax
call fcn.1117a860
mov ecx, dword [esi + 0x40]
add esp, 4
push eax
call fcn.11031030
cmp ebx, edi
je 0x1118bd6f
push 4
call fcn.111709c0
mov edi, eax
add esp, 4
mov dword [ebp - 0x134], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1118bd5e
push 0x11177300
push 0x111772e0
push str.View
lea edx, [esi + 0x4b4]
push edx
mov ecx, ebx
call fcn.110c2fa0
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x128]
push eax
mov eax, dword [ebx + 0x2c]
push eax
push ecx
push edx
mov ecx, edi
call fcn.1116f6e0
jmp 0x1118bd60
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x4a0], eax
xor edi, edi
push 0x25c
call fcn.111709c0
add esp, 4
cmp eax, edi
je 0x1118bda2
mov ecx, dword [ebp - 0x128]
mov dword [eax + 0x250], 0x11174730
mov dword [eax + 0x254], ecx
mov dword [eax + 0x258], 0x11218810
jmp 0x1118bda4
xor eax, eax
mov dword [esi + 0x6f4], eax
cmp ebx, edi
je 0x1118bdc5
mov edx, dword [ebp - 0x12c]
push edi
push edx
call fcn.11174770
push eax
push 1
mov ecx, ebx
call fcn.110d0a40
push str.NSMRemote32
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov word [0x1127f5bc], ax
cmp ax, di
jne 0x1118bdf2
push 0x3bf
push str...ctl32Remote.cpp
push str.NSMRemote_IDATA::m_aProp
call fcn.11067750
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [esi + 0x6d8], edi
mov dword [esi + 0x6e0], edi
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
je 0x1118be29
call fcn.11178b10
mov dword [esi + 0x6f0], eax
mov ecx, dword [esi + 8]
push edi
push edi
push str.ShowBigBlits
push str.View
call fcn.110bbc00
mov ecx, dword [esi + 8]
push edi
push edi
push str.ShowPink
push str.View
mov dword [esi + 0x1ec], eax
call fcn.110bbc00
mov ecx, dword [esi + 8]
push edi
push edi
push str.ScaleToFitMode
push str.View
mov dword [esi + 0x1f0], eax
call fcn.110bbc00
mov ecx, dword [esi + 8]
push edi
push edi
push str.ScaleToFitTilingFactor
push str.View
mov dword [esi + 0x6fc], eax
call fcn.110bbc00
mov ecx, dword [esi + 8]
push edi
push 0x96
push str.MaxLag
push str.View
mov dword [esi + 0x70c], eax
call fcn.110bbc00
mov dword [esi + 0x704], eax
cmp ebx, edi
je 0x1118bebb
push eax
mov ecx, ebx
call fcn.110c5960
mov ecx, dword [esi + 8]
push edi
push edi
push str.IgnoreScrape
push str.View
call fcn.110bbc00
mov ecx, dword [esi + 8]
push edi
push edi
push str.LegacyScrape
push str.View
mov dword [esi + 0x4a8], eax
call fcn.110bbc00
mov dword [esi + 0x4ac], eax
mov eax, dword [ebp - 0x138]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
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 0x18