Function at 0x44f760
Capabilities:
Check os version

Disassembly:
sub esp, 0x380
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x37c], eax
push ebx
push ebp
push esi
push edi
push 0x1f0
xor ebx, ebx
lea eax, [esp + 0x8c]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x90], 0x1f4
call fcn.004911c0
add esp, 0xc
push ebx
lea ecx, [esp + 0x88]
push ecx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x44f934
push 0x58
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x34], ebx
call fcn.004911c0
mov eax, dword [esi + 0xa4]
add esp, 0xc
cmp eax, ebx
je 0x44f7e7
lea ecx, [esp + 0x28]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x164]
jne 0x44f8b7
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x168]
jne 0x44f8b7
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x16c]
jne 0x44f8b7
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x170]
jne 0x44f8b7
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x174]
jne 0x44f8b7
mov cl, byte [esp + 0x3c]
cmp cl, byte [esp + 0x178]
jne 0x44f8b7
mov dl, byte [esp + 0x3d]
cmp dl, byte [esp + 0x179]
jne 0x44f8b7
mov al, byte [esp + 0x3e]
cmp al, byte [esp + 0x17a]
jne 0x44f8b7
mov cl, byte [esp + 0x3f]
cmp cl, byte [esp + 0x17b]
jne 0x44f8b7
mov dl, byte [esp + 0x40]
cmp dl, byte [esp + 0x17c]
jne 0x44f8b7
mov al, byte [esp + 0x41]
cmp al, byte [esp + 0x17d]
jne 0x44f8b7
mov cl, byte [esp + 0x42]
cmp cl, byte [esp + 0x17e]
jne 0x44f8b7
mov dl, byte [esp + 0x43]
cmp dl, byte [esp + 0x17f]
jne 0x44f8b7
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x44f934
lea edx, [esp + 0x164]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
cmp edi, ebx
je 0x44f934
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0xa4], ebx
je 0x44f8ec
mov eax, dword [esi + 0xa4]
push eax
call ebp
test eax, eax
je 0x44f8ec
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x44f8fd
cmp eax, edi
je 0x44f8fd
push eax
call ebp
push 1
mov ecx, edi
push ecx
mov dword [esi + 0xa4], edi
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push edx
call edi
mov eax, dword [esi + 4]
push 0x4c9b8c
push ebx
push 0x44d
push eax
call edi
mov ecx, dword [esi + 4]
push ebx
push ebx
push 0x421
push ecx
call edi
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov eax, dword [esi + 0xa4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.USER32.dll_DrawTextW]
push 0x424
lea edx, [esp + 0x18]
push edx
push 0xffffffffffffffff
push 0x4c9b88
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cmp eax, 4
jge 0x44f9bc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea edx, [esp + 0x18]
push edx
push 0xffffffffffffffff
push 0x4c9b84
push edi
call ebp
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esi + 0xb0], eax
jmp 0x44f9c2
mov dword [esi + 0xb0], ebx
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea edx, [esp + 0x280]
push ebx
push edx
mov dword [esp + 0x284], 0x114
call fcn.004911c0
add esp, 0xc
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x27c]
cmp eax, 5
jb 0x44faac
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x100a
mov dword [esp + 0x20], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x44fa35
cmp dword [esp + 0x10], ebx
jne 0x44fa35
mov al, 1
jmp 0x44fa37
xor al, al
mov dl, byte [esi + 0x85]
and al, 1
or al, 4
add al, al
and dl, 0xfd
or al, dl
mov byte [esi + 0x85], al
shr al, 1
not al
and al, 1
movzx eax, al
push eax
mov ecx, esi
call fcn.0044eb60
mov eax, dword [esp + 0x27c]
cmp eax, 5
jne 0x44fa77
cmp dword [esp + 0x280], 1
jae 0x44fa79
jmp 0x44faac
jbe 0x44faac
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x1022
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x44fa9b
cmp dword [esp + 0x10], ebx
je 0x44fa9b
mov bl, 1
mov dl, byte [esi + 0x85]
xor dl, bl
and dl, 1
xor byte [esi + 0x85], dl
mov eax, dword [esp + 0x24]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x38c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004911aa
add esp, 0x380
ret