Function at 0x42f770
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bf632
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, ecx
push edi
xor ebx, ebx
or edi, 0xffffffff
cmp dword [esi + 0x18], ebx
jne 0x42f88b
cmp ebp, ebx
je case.default.0x42f8bb
push 0x1f0
call fcn.004b2d7a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x42f7ca
mov ecx, eax
call fcn.00454560
jmp 0x42f7cc
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [eax + 0x3c], esi
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x9c]
mov dword [esp + 0x38], edi
mov dword [eax + 0x40], ebp
mov edx, dword [esi + 0x18]
mov eax, dword [ecx]
add edx, 0x44
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [esi + 0x1d8]
mov ecx, 1
xor edx, edx
cmp eax, ecx
mov eax, dword [esi + 0x18]
setne dl
mov dword [eax + 0x16c], edx
mov eax, dword [esi + 0x1dc]
xor edx, edx
cmp eax, ecx
mov eax, dword [esi + 0x18]
sete dl
mov dword [eax + 0x170], edx
mov edx, dword [esi + 0x18]
fild dword [esi + 0x1e0]
fmul qword [0x4c5bb8]
fstp qword [edx + 0x188]
mov eax, dword [esi + 0x1d4]
cmp eax, ebx
jne 0x42f852
xor eax, eax
jmp 0x42f86a
cmp eax, ecx
je 0x42f868
cmp eax, 2
jne 0x42f85d
jmp 0x42f86a
xor ecx, ecx
cmp eax, 3
setne cl
add ecx, 3
mov eax, ecx
mov edx, dword [esi + 0x18]
push ebp
mov dword [edx + 0x1b8], eax
mov ecx, dword [esi + 0x18]
call fcn.004546f0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xd8]
mov dword [eax + 0x1c0], ecx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je case.default.0x42f8bb
jne 0x42f89c
xor eax, eax
jmp 0x42f89f
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.default.0x42f8bb
mov edx, dword [esp + 0x40]
cmp edx, 0x11
ja case.default.0x42f8bb
jmp dword [edx*4 + 0x42ffb0]
lea edi, [esi + 0x9c]
mov edx, edi
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x48]
mov dword [eax + 0x50], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x44]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x1c8], ebx
je 0x42f90f
cmp dword [ecx + 0x184], 2
jne 0x42f90f
mov bl, 1
jmp 0x42f911
xor bl, bl
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42f94d
push 1
push eax
call fcn.004547e0
test eax, eax
jl 0x42f94d
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x42f937
push 0
push esi
call fcn.0043c9a0
test bl, bl
je 0x42f94d
mov ecx, dword [esi + 0x18]
call fcn.00454bf0
mov ecx, dword [esi + 0x18]
push 5
call fcn.00454770
mov eax, dword [esi + 0x18]
mov ecx, edi
add eax, 0x44
push edi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
lea edx, [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
test ebp, ebp
je 0x42ff90
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
jmp 0x42ff99
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x1c8], ebx
je 0x42f9cc
cmp dword [ecx + 0x184], 2
je 0x42ff90
cmp dword [ecx + 0x1c8], ebx
je 0x42f9cc
cmp dword [ecx + 0x184], 6
je 0x42ff90
cmp dword [ecx + 0x184], 4
jne 0x42fa3a
push ebx
push ecx
lea edx, [esi + 0xac]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.004b2520
lea eax, [esp + 0x48]
push eax
call fcn.0043e160
add esp, 8
mov ecx, eax
mov dword [esp + 0x3c], 1
call fcn.00430000
mov ecx, dword [esi + 0x18]
push eax
call fcn.004547e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], edi
call fcn.004b27ab
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x42fa50
mov ecx, dword [eax + 0x40]
cmp ecx, ebx
je 0x42fa50
cmp dword [eax + 0x15c], ebx
jne 0x42fa50
push ebx
push esi
call fcn.0043c9a0
jmp 0x42fa50
cmp dword [ecx + 0x1c8], ebx
je 0x42fa50
cmp dword [ecx + 0x184], 3
jne 0x42fa50
call fcn.00454d30
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x42ff90
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x42fa76
mov dword [eax + 0x350], esi
mov ecx, dword [esi + 0x18]
push 1
push esi
mov ecx, dword [ecx + 0x40]
call fcn.0043ccc0
mov ecx, dword [esi + 0x18]
call fcn.00454bf0
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x42ff90
cmp dword [ecx + 0x15c], ebx
jne 0x42faa8
cmp dword [ecx + 0x40], ebx
je 0x42faa8
cmp dword [esi + 0x1d0], 1
sete dl
push edx
call fcn.00455710
jmp 0x42fab4
mov ecx, dword [ecx + 0x40]
cmp ecx, ebx
je 0x42fab4
call fcn.004b1f7e
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x15c], ebx
jne 0x42ff90
push 5
call fcn.00454770
mov dword [esi + 0xd8], ebx
mov eax, 1
jmp 0x42ff99
mov esi, dword [esi + 0x18]
cmp dword [esi + 0x1c8], ebx
je 0x42faf2
cmp dword [esi + 0x184], 6
je 0x42ff90
push ebx
mov ecx, esi
call fcn.00454c80
mov eax, 1
jmp 0x42ff99
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x1c8], ebx
je 0x42fb30
cmp dword [ecx + 0x184], ebx
je 0x42ff90
cmp dword [ecx + 0x1c8], ebx
je 0x42fb30
cmp dword [ecx + 0x184], 6
je 0x42ff90
call fcn.00454d30
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x1b8], 4
jne 0x42ff90
mov ecx, dword [eax + 0x40]
push esi
push 7
call fcn.00442390
mov eax, 1
jmp 0x42ff99
mov eax, dword [esi + 0x18]
push ebx
mov dword [eax + 0x184], 6
mov ecx, dword [esi + 0x18]
call fcn.00454770
mov ecx, dword [esi + 0x18]
mov dword [esi + 0xd8], 1
mov eax, dword [ecx + 0x40]
cmp eax, ebx
je 0x42fbcb
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x18]
push 1
push esi
mov ecx, dword [eax + 0x40]
call fcn.0043c9a0
mov ecx, dword [esi + 0x18]
push 1
push esi
mov ecx, dword [ecx + 0x40]
call fcn.0043ccc0
mov edx, dword [esi + 0x18]
push 0x1f6
mov eax, dword [edx + 0x40]
mov dword [eax + 0x350], ebx
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x42fbd9
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x18], ebx
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x1c8], ebx
je 0x42fc0a
cmp dword [ecx + 0x184], 6
je 0x42ff90
mov eax, dword [eax]
cmp edx, 6
sete dl
push ebx
push edx
push eax
call fcn.00454dd0
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x1c8], ebx
je 0x42fc48
cmp dword [ecx + 0x184], 6
je 0x42ff90
mov dl, byte [eax]
push 1
neg dl
sbb edx, edx
push 1
and edx, 2
dec edx
push edx
call fcn.00454dd0
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
mov ecx, dword [eax + 4]
cmp edx, 8
mov edx, dword [eax]
push ecx
mov ecx, dword [esi + 0x18]
push edx
jne 0x42fc90
call fcn.004555b0
mov eax, 1
jmp 0x42ff99
call fcn.00455630
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
push 0x4ea5d0
push eax
call fcn.0049a5ac
add esp, 8
cmp eax, ebx
je 0x42ff90
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x40], ebx
je 0x42fcee
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004b2819
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x40]
add ecx, 0x1f8
call fcn.004183d0
call fcn.004989f0
jmp 0x42fcf7
push eax
call fcn.0049a0b3
add esp, 4
push 0x4ea5d0
push 0
mov ebx, eax
call fcn.0049a5ac
add esp, 8
test eax, eax
je 0x42ff90
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x42fd3f
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004b2819
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x40]
add ecx, 0x1f8
call fcn.004183d0
call fcn.004989f0
jmp 0x42fd48
push eax
call fcn.0049a0b3
add esp, 4
test ebx, ebx
mov ebp, eax
jle 0x42ff90
test ebp, ebp
jle 0x42ff90
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42fd75
mov edx, dword [eax + 0x1c]
lea ecx, [esi + 0x9c]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa0]
lea edi, [esi + 0x9c]
add eax, ebx
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x18]
add ecx, ebp
mov dword [esi + 0xa8], ecx
mov ecx, dword [eax + 0x184]
cmp ecx, 4
jne 0x42fdef
sub esp, 0x10
mov edx, edi
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, esi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
call fcn.00433c70
mov eax, dword [esi + 0x18]
mov ecx, dword [edi]
add eax, 0x44
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov eax, 1
jmp 0x42ff99
mov ecx, dword [edi]
add eax, 0x44
push ebp
push ebx
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x18]
call fcn.00455220
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
mov al, byte [eax]
mov ecx, dword [esi + 0x18]
push eax
call fcn.00455710
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
mov cl, byte [eax]
push ecx
mov ecx, dword [esi + 0x18]
call fcn.00455830
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
xor edx, edx
mov dl, byte [eax]
mov eax, dword [esi + 0x18]
mov dword [eax + 0x170], edx
mov eax, 1
jmp 0x42ff99
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x42ff90
mov cl, byte [eax]
mov eax, str.pUx
test cl, cl
jne 0x42fe9d
mov eax, 0x4d69fc
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x18]
call fcn.00455670
mov eax, 1
jmp 0x42ff99
mov edi, dword [esp + 0x48]
cmp edi, ebx
je 0x42ff90
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x18]
call fcn.00455a30
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, 1
jmp 0x42ff99
mov edi, dword [esp + 0x48]
cmp edi, ebx
je 0x42ff90
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x184], 4
je 0x42ff46
cmp dword [ecx + 0x1c8], ebx
je 0x42ff23
cmp dword [ecx + 0x184], 6
je 0x42ff46
lea edx, [esp + 0x48]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004559e0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, 1
jmp 0x42ff99
mov eax, dword [esi + 0xa4]
mov ebx, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xa0]
sub eax, ebx
sub ecx, edx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, 1
jmp 0x42ff99
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x9c]
add edx, 0x44
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov eax, 1
jmp 0x42ff99
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0xc