Function at 0x4e3bee
Capabilities:
Check os version

Disassembly:
push 0xec
mov eax, 0x52d55b
call fcn.00509514
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push dword [eax]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], esi
call fcn.004e2c80
xor ebx, ebx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], ebx
call fcn.00407951
push ebx
lea eax, [ebp - 0xa8]
push eax
push dword [0x57aab8]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.004e2cb7
test eax, eax
je 0x4e3c6a
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4e3c6a
cmp eax, 0x20
jl 0x4e3c5c
push 0x20
pop eax
push eax
push ecx
lea eax, [esi + 0x1c]
push eax
call fcn.00508ba0
add esp, 0xc
push dword [0x57aa7c]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xac], ebx
call fcn.004013e4
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.004e3a81
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff0
mov edi, eax
mov byte [ebp - 4], 1
call fcn.004010ac
cmp edi, ebx
je 0x4e3cbe
mov eax, dword [ebp - 0xac]
mov dword [esi], eax
cmp dword [esi], ebx
jle 0x4e3d11
push dword [0x57aa78]
lea ecx, [ebp - 0xc0]
call fcn.004013e4
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.004e3a81
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
mov edi, eax
mov byte [ebp - 4], 1
call fcn.004010ac
cmp edi, ebx
je 0x4e3d11
mov eax, dword [ebp - 0xac]
mov dword [esi + 4], eax
push ebx
lea eax, [ebp - 0xa8]
push eax
push dword [0x57aac4]
lea ecx, [ebp - 0xb8]
call fcn.004e2cb7
test eax, eax
je 0x4e3e25
mov ecx, 0x320
mov esi, 0x190
mov edi, 0xc8
mov edx, 0x258
lea eax, [ecx + 0x64]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x88], str.DONTCARE
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], str.THIN
mov dword [ebp - 0x7c], 0x64
mov dword [ebp - 0x78], str.EXTRALIGHT
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], str.LIGHT
mov dword [ebp - 0x6c], 0x12c
mov dword [ebp - 0x68], str.NORMAL
mov dword [ebp - 0x60], str.MEDIUM
mov dword [ebp - 0x5c], 0x1f4
mov dword [ebp - 0x58], str.SEMIBOLD
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], str.BOLD
mov dword [ebp - 0x4c], 0x2bc
mov dword [ebp - 0x48], str.EXTRABOLD
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], str.HEAVY
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], str.ULTRALIGHT
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], str.REGULAR
mov dword [ebp - 0x28], str.DEMIBOLD
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], str.ULTRABOLD
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], str.BLACK
mov dword [ebp - 0x14], eax
xor esi, esi
push dword [ebp + esi*8 - 0x88]
lea ecx, [ebp - 0xa8]
call fcn.0045104b
test eax, eax
je 0x4e3e15
inc esi
cmp esi, 0xf
jb 0x4e3df7
jmp 0x4e3e25
mov eax, dword [ebp + esi*8 - 0x84]
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x10], eax
push ebx
lea eax, [ebp - 0xa8]
push eax
push dword [0x57aac0]
lea ecx, [ebp - 0xb8]
call fcn.004e2cb7
test eax, eax
je 0x4e3f1a
mov dword [ebp - 0xf8], str.DEFAULT
mov byte [ebp - 0xf4], bl
mov dword [ebp - 0xf0], str.DRAFT
mov byte [ebp - 0xec], 1
mov dword [ebp - 0xe8], str.PROOF
mov byte [ebp - 0xe4], 2
mov dword [ebp - 0xe0], str.NONANTIALIASED
mov byte [ebp - 0xdc], 3
mov dword [ebp - 0xd8], str.ANTIALIASED
mov byte [ebp - 0xd4], 4
mov dword [ebp - 0xd0], str.CLEARTYPE
mov byte [ebp - 0xcc], 5
mov dword [ebp - 0xc8], str.CLEARTYPE_NATURAL
mov byte [ebp - 0xc4], 6
xor esi, esi
push dword [ebp + esi*8 - 0xf8]
lea ecx, [ebp - 0xa8]
call fcn.0045104b
test eax, eax
je 0x4e3edc
inc esi
cmp esi, 7
jb 0x4e3ebe
jmp 0x4e3f1a
mov bl, byte [ebp + esi*8 - 0xf4]
cmp bl, 4
jbe 0x4e3f11
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x4e3f1a
cmp dword [ebp - 0xa0], 5
jb 0x4e3f1a
mov eax, dword [ebp - 0xb0]
mov byte [eax + 0x1a], bl
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.004010ac
lea ecx, [ebp - 0xb8]
call fcn.004e2a61
xor eax, eax
inc eax
call fcn.00509597
ret 8