Function at 0x113471be
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x11508618
call fcn.11364418
sub esp, 0x134
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov esi, ecx
push 0x16
call edi
mov ebx, 0xffffff
cmp eax, ebx
jne 0x113471f3
push 0xf
call edi
test eax, eax
jne 0x113471f3
push 1
pop eax
jmp 0x113471f5
xor eax, eax
push 0x15
mov dword [esi + 0x104], eax
call edi
test eax, eax
jne 0x11347210
push 0xf
call edi
cmp eax, ebx
jne 0x11347210
push 1
pop eax
jmp 0x11347212
xor eax, eax
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
mov dword [esi + 0x108], eax
call fcn.114f396c
push 0xc
mov dword [ebp - 4], ebx
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xf
mov dword [esi + 0xf8], eax
call edi
push 0x10
mov dword [esi], eax
mov dword [esi + 0x34], eax
call edi
push 0x15
mov dword [esi + 4], eax
mov dword [esi + 0x38], eax
call edi
push 0x16
mov dword [esi + 0x14], eax
mov dword [esi + 0x40], eax
call edi
push 0x14
mov dword [esi + 0x18], eax
mov dword [esi + 0x44], eax
call edi
push 0x12
mov dword [esi + 8], eax
mov dword [esi + 0x3c], eax
call edi
push 0x11
mov dword [esi + 0xc], eax
mov dword [esi + 0x48], eax
call edi
push 6
mov dword [esi + 0x1c], eax
call edi
push 0xd
mov dword [esi + 0x10], eax
call edi
push 0xe
mov dword [esi + 0x20], eax
call edi
push 5
mov dword [esi + 0x24], eax
call edi
push 8
mov dword [esi + 0x4c], eax
mov dword [esi + 0x30], eax
call edi
push 9
mov dword [esi + 0x50], eax
call edi
push 7
mov dword [esi + 0x54], eax
call edi
push 2
mov dword [esi + 0x58], eax
call edi
push 3
mov dword [esi + 0x5c], eax
call edi
push 0xa
mov dword [esi + 0x60], eax
call edi
push 0xb
mov dword [esi + 0x68], eax
call edi
push 0x13
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x64], eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x140], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esi + 0x104], ebx
je 0x113472fa
mov eax, dword [esi + 0x50]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
jmp 0x11347321
cmp dword [ebp - 0x13c], 5
jb 0x11347313
push 0x1a
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0xff0000
jmp 0x11347321
mov dword [esi + 0x28], 0xff0000
mov dword [esi + 0x2c], 0xff00ff
lea ebx, [esi + 0x70]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ebx, [esi + 0xa8]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi + 0x34]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ebx, [esi + 0x90]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi + 0x5c]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ebx, [esi + 0x98]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi + 0x60]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ebx, [esi + 0x78]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi + 0x20]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ebx, [esi + 0x88]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi + 0x14]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ebx, [esi + 0xa0]
mov ecx, ebx
call fcn.114f3bb7
push dword [esi + 0x4c]
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
lea ecx, [esi + 0xb0]
call fcn.114f3bb7
push dword [0x115a0cf0]
mov ebx, dword [sym.imp.GDI32.dll_CreatePen]
push 1
push 0
call ebx
push eax
lea ecx, [esi + 0xb0]
call fcn.114f3b60
lea ecx, [esi + 0xb8]
call fcn.114f3bb7
push dword [0x115a0d04]
push 1
push 0
call ebx
push eax
lea ecx, [esi + 0xb8]
call fcn.114f3b60
lea ecx, [esi + 0xc0]
call fcn.114f3bb7
push dword [0x115a0d08]
push 1
push 0
call ebx
push eax
lea ecx, [esi + 0xc0]
call fcn.114f3b60
lea ebx, [esi + 0x80]
test ebx, ebx
je 0x1134745c
cmp dword [ebx + 4], 0
je 0x1134745c
mov ecx, ebx
call fcn.114f3bb7
cmp dword [esi + 0xf8], 8
jle 0x113474d2
mov ax, word [esi]
mov ecx, dword [esi]
shr ax, 8
mov word [ebp - 0x10], ax
mov al, byte [esi]
mov byte [ebp - 0xd], al
mov eax, dword [esi + 8]
shr ecx, 0x10
shr eax, 0x10
movzx eax, al
movzx edx, cl
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
xor ecx, ecx
movzx edx, byte [ebp - 0x10]
mov ch, al
xor eax, eax
mov al, byte [esi + 9]
movzx eax, al
sub eax, edx
cdq
sub eax, edx
movzx edx, byte [ebp - 0xd]
sar eax, 1
add al, byte [ebp - 0x10]
mov cl, al
movzx eax, byte [esi + 8]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, byte [ebp - 0xd]
shl ecx, 8
movzx eax, al
or eax, ecx
push eax
call edi
push eax
mov ecx, ebx
call fcn.114f3b60
jmp 0x11347544
lea eax, [ebp - 0x2c]
mov ecx, esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
push eax
call fcn.11347575
mov edi, vtable.CGdiObject.0
mov byte [ebp - 4], 1
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], edi
mov esi, 0x1151d08c
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.114f3b60
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, ebx
call fcn.114f3b60
and byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
and byte [ebp - 4], 0
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.114f3bb7
and byte [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.114f39de
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret