Function at 0x597fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push ebx
push esi
push edi
push 0x1f0
xor ebx, ebx
lea eax, [ebp - 0x278]
push ebx
push eax
mov esi, ecx
call fcn.006100a0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x27c]
push ecx
push 0x1f4
push 0x29
mov dword [ebp - 0x27c], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x598168
push 0x58
lea edx, [ebp - 0x84]
push ebx
push edx
mov dword [ebp - 0x88], ebx
call fcn.006100a0
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x598060
lea ecx, [ebp - 0x88]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 0x88]
cmp edx, dword [ebp - 0x19c]
jne 0x598116
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x198]
jne 0x598116
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x194]
jne 0x598116
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x190]
jne 0x598116
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x18c]
jne 0x598116
mov cl, byte [ebp - 0x74]
cmp cl, byte [ebp - 0x188]
jne 0x598116
mov dl, byte [ebp - 0x73]
cmp dl, byte [ebp - 0x187]
jne 0x598116
mov al, byte [ebp - 0x72]
cmp al, byte [ebp - 0x186]
jne 0x598116
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebp - 0x185]
jne 0x598116
mov dl, byte [ebp - 0x70]
cmp dl, byte [ebp - 0x184]
jne 0x598116
mov al, byte [ebp - 0x6f]
cmp al, byte [ebp - 0x183]
jne 0x598116
mov cl, byte [ebp - 0x6e]
cmp cl, byte [ebp - 0x182]
jne 0x598116
mov dl, byte [ebp - 0x6d]
cmp dl, byte [ebp - 0x181]
jne 0x598116
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x598168
lea edx, [ebp - 0x19c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
cmp edi, ebx
je 0x598168
cmp dword [esi + 0x10], ebx
je 0x59813f
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x59813f
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x598151
cmp eax, edi
je 0x598151
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
mov eax, edi
push eax
mov dword [esi + 0x10], edi
mov ecx, dword [esi - 0x268]
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, ebx
je 0x598174
lea eax, [esi - 0x26c]
jmp 0x598176
xor eax, eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0x671160
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x598200
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0x67115c
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
jmp 0x598203
mov dword [esi + 0x14], ebx
mov ecx, dword [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push pe_nt_image_headers32
lea edx, [ebp - 0x38c]
push ebx
push edx
mov dword [ebp - 0x390], 0x114
call fcn.006100a0
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x38c]
cmp eax, 5
jne 0x598250
cmp dword [ebp - 0x388], 1
jae 0x598252
jmp 0x59827b
jbe 0x59827b
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x1022
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x598276
cmp dword [ebp - 0x10], ebx
je 0x598276
mov eax, 1
jmp 0x598278
xor eax, eax
mov byte [esi + 0x18], al
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
push edi
push edx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret