Function at 0x6453b0
Capabilities:
Check os version
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x6a1d54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
push esi
push edi
push 0x44
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x19c], ebx
je 0x6453f3
mov ecx, eax
call fcn.0044ccc0
jmp 0x6453f5
xor eax, eax
mov cl, byte [0x6e2688]
mov esi, dword [esp + 0x1a8]
or ebp, 0xffffffff
mov dword [esp + 0x19c], ebp
mov dword [0x6e29b4], eax
test cl, cl
je 0x64541d
push esi
mov ecx, eax
call fcn.0044cf00
mov al, byte [0x6e268a]
test al, al
jne 0x64542f
mov eax, dword [0x6e29b4]
mov byte [eax + 0x29], 0
mov edx, dword [0x6e29b4]
mov cl, byte [0x6e268b]
push 0x450
mov byte [edx + 0x2b], cl
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x19c], 1
je 0x645468
push esi
mov ecx, eax
call fcn.005edda0
jmp 0x64546a
xor eax, eax
mov dword [esp + 0x19c], ebp
mov dword [0x818978], eax
mov al, byte [0x6e268d]
mov edi, 0x94
test al, al
mov byte [0x818a25], 1
je 0x6454cc
lea eax, [esp + 0x6c]
push eax
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.user32.dll_EnumDisplaySettingsA]
mov eax, dword [0x6e2670]
mov ecx, dword [esp + 0xd4]
cmp ecx, eax
je 0x645512
lea ecx, [esp + 0x6c]
push 4
mov word [esp + 0x94], di
mov dword [esp + 0x98], 0x1c0000
mov dword [esp + 0xd8], eax
push ecx
jmp 0x64550c
mov edx, dword [0x6e2668]
mov eax, dword [0x6e266c]
mov ecx, dword [0x6e2670]
mov dword [esp + 0xd8], edx
lea edx, [esp + 0x6c]
push 4
mov word [esp + 0x94], di
mov dword [esp + 0xe0], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x98], 0x1c0000
push edx
call dword [sym.imp.user32.dll_ChangeDisplaySettingsA]
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.user32.dll_GetClientRect]
push 0x1cc
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x19c], 2
je 0x645547
mov ecx, eax
call fcn.0063c940
jmp 0x645549
xor eax, eax
mov ecx, dword [0x6e2670]
mov edx, dword [0x6e266c]
push 1
push ecx
mov ecx, dword [0x6e2668]
push edx
xor edx, edx
push ecx
mov dl, byte [0x818a25]
push esi
mov dword [esp + 0x1b0], ebp
push edx
mov ecx, eax
mov dword [0x81898c], eax
call fcn.0043a530
test al, al
jne 0x645587
push ebp
call fcn.006747a7
push esi
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x68]
mov edi, eax
sub eax, edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x60]
sub esp, 0x10
cdq
mov dword [esp + 0x48], ebp
sub eax, edx
mov ebp, esp
lea edx, [ecx + 0x1e]
sar eax, 1
mov dword [ebp], eax
push esi
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edx
call fcn.004047e0
mov al, byte [esp + 0x2b]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x60], al
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x1b0], 3
push ecx
call fcn.006113b0
add esp, 0x18
test al, al
jne 0x64565c
cmp dword [esp + 0x54], ebx
jbe 0x64561a
mov eax, dword [esp + 0x50]
cmp eax, ebx
jne 0x64560c
mov eax, 0x6a3560
push ebx
push 0x6d8f70
push eax
push esi
call dword [sym.imp.user32.dll_MessageBoxA]
push ebx
call dword [sym.imp.user32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x19c], 0xffffffff
cmp ecx, ebx
je 0x645655
mov al, byte [ecx - 1]
test al, al
je 0x64564b
cmp al, 0xff
je 0x64564b
dec al
mov byte [ecx - 1], al
xor al, al
jmp 0x645e7c
dec ecx
push ecx
call fcn.006713a0
add esp, 4
xor al, al
jmp 0x645e7c
mov edx, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x1a4]
push 0x40098
mov dword [0x818a1c], edx
mov dword [0x818a0c], ebp
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x19c], 4
je 0x64569c
mov ecx, eax
call fcn.00450a10
jmp 0x64569e
xor eax, eax
mov byte [esp + 0x19c], 3
push 0x40098
mov dword [0x818984], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x19c], 5
je 0x6456d1
mov ecx, eax
call fcn.00450a10
jmp 0x6456d3
xor eax, eax
mov esi, dword [sym.imp.user32.dll_LoadCursorA]
push 4
mov byte [esp + 0x1a0], 3
push ebp
mov dword [0x818988], eax
call esi
push 5
push ebp
mov dword [0x8189e4], eax
call esi
push 2
push ebp
mov dword [0x8189e8], eax
call esi
push 3
push ebp
mov dword [0x8189ec], eax
call esi
push 1
push ebp
mov dword [0x8189f0], eax
call esi
push 7
push ebp
mov dword [0x8189f4], eax
call esi
push 6
push ebp
mov dword [0x8189f8], eax
call esi
push 0x7a
push ebp
mov dword [0x8189fc], eax
call esi
push 0x7b
push ebp
mov dword [0x818a00], eax
call esi
push 0x7c
push ebp
mov dword [0x818a04], eax
call esi
mov dword [0x818a08], eax
mov al, byte [0x6e268c]
test al, al
jne 0x64582d
push 0xdc
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x19c], 6
je 0x64577d
mov ecx, eax
call fcn.0063c470
jmp 0x64577f
xor eax, eax
mov byte [esp + 0x19c], 3
mov dword [0x8189d0], eax
mov al, byte [esp + 0x17]
mov edi, 0x6d8f60
mov byte [esp + 0x2c], al
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00403350
test al, al
je 0x6457e8
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov edx, ecx
mov esi, 0x6d8f60
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00403330
xor esi, esi
mov ecx, dword [0x8189d0]
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x1a0], 7
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x19c], 3
cmp eax, esi
je 0x64582d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x645824
cmp al, 0xff
je 0x645824
dec al
mov byte [ecx], al
jmp 0x64582d
push ecx
call fcn.006713a0
add esp, 4
mov eax, dword [0x8189e4]
xor esi, esi
push esi
push eax
call fcn.00647320
push 0x24
call fcn.00673b05
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 8
je 0x64585e
mov ecx, eax
call fcn.00573be0
jmp 0x645860
xor eax, eax
mov byte [esp + 0x19c], 3
push 0x74
mov dword [0x8189d4], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 9
je 0x645890
mov ecx, eax
call fcn.005f4040
jmp 0x645892
xor eax, eax
mov cl, byte [esp + 0x17]
mov byte [esp + 0x19c], 3
mov dword [0x8189d8], eax
mov byte [esp + 0x1c], cl
mov edi, 0x6d8e00
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], esi
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00403350
test al, al
je 0x6458f7
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
mov esi, 0x6d8e00
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00403330
mov edi, 0x6d8df8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1a0], 0xa
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00403350
test al, al
je 0x645945
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov eax, ecx
mov esi, 0x6d8df8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov byte [ecx + ebx], 0
push 0x10
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
mov byte [esp + 0x19c], 0xb
cmp eax, esi
je 0x64596a
mov ecx, eax
call fcn.005f5ba0
jmp 0x64596c
xor eax, eax
mov dl, byte [esp + 0x17]
mov byte [esp + 0x19c], 0xa
mov dword [0x8189dc], eax
mov byte [esp + 0x3c], dl
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
mov bl, 0xc
push 0x6d8f50
push ecx
mov byte [esp + 0x1a8], bl
call fcn.004dbb40
add esp, 0xc
mov edx, dword [0x6a3564]
lea ecx, [esp + 0x3c]
push edx
push esi
push eax
mov byte [esp + 0x1a8], 0xd
call fcn.00402fc0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x19c], bl
cmp eax, esi
je 0x6459f3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6459ea
cmp al, 0xff
je 0x6459ea
dec al
mov byte [ecx], al
jmp 0x6459f3
push ecx
call fcn.006713a0
add esp, 4
cmp dword [0x8189dc], esi
je 0x645a22
push esi
push esi
sub esp, 0x10
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0041cf60
mov ecx, dword [0x8189dc]
mov byte [esp + 0x1b4], bl
call fcn.005f5e10
push 0xe70
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 0xf
je 0x645a48
mov ecx, eax
call fcn.0063ff40
jmp 0x645a4a
xor eax, eax
mov ecx, dword [esp + 0x1a8]
push 1
push 1
push esi
push ecx
mov byte [esp + 0x1ac], bl
push ebp
mov ecx, eax
mov dword [0x818980], eax
call fcn.00640050
fild dword [0x6e267c]
mov edx, dword [0x6e2680]
mov ecx, 0x6e2620
push edx
fstp dword [0x6d4714]
call fcn.0043e740
push 0x38
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 0x10
je 0x645aab
mov ecx, eax
call fcn.004799c0
jmp 0x645aad
xor eax, eax
mov edi, dword [0x8186f0]
mov byte [esp + 0x19c], bl
mov dword [0x818990], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea esi, [edi + 0x14]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x20], 2
call fcn.0064ab20
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x645af7
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x645af7
lea eax, [esp + 0x10]
jmp 0x645aff
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jne 0x645b0e
xor edi, edi
xor esi, esi
jmp 0x645b13
lea esi, [eax + 0x10]
xor edi, edi
push 0xc0
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x11
je 0x645b39
mov ecx, eax
call fcn.005788f0
jmp 0x645b3b
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x2c
mov dword [0x818994], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x12
je 0x645b6a
mov ecx, eax
call fcn.00527e20
jmp 0x645b6c
xor eax, eax
add esi, 0x184
mov byte [esp + 0x19c], bl
push esi
mov dword [0x81899c], eax
call fcn.00402250
push 0x3c
call fcn.00673b05
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x13
je 0x645ba7
mov ecx, eax
call fcn.005f6710
jmp 0x645ba9
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x8189a8], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x14
je 0x645bd8
mov ecx, eax
call fcn.005ed810
jmp 0x645bda
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x604
mov dword [0x8189ac], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x15
je 0x645c0c
mov ecx, eax
call fcn.005f91b0
jmp 0x645c0e
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x54
mov dword [0x8189b4], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x16
je 0x645c3d
mov ecx, eax
call fcn.004520f0
jmp 0x645c3f
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x284
mov dword [0x8189b0], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x17
je 0x645c71
mov ecx, eax
call fcn.005c17a0
jmp 0x645c73
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x1c
mov dword [0x8189b8], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x18
je 0x645ca2
mov ecx, eax
call fcn.005ed630
jmp 0x645ca4
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x24
mov dword [0x8189bc], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x19
je 0x645cd3
mov ecx, eax
call fcn.005f2450
jmp 0x645cd5
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x8189c0], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1a
je 0x645d04
mov ecx, eax
call fcn.005f28d0
jmp 0x645d06
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x8189c4], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1b
je 0x645d35
mov ecx, eax
call fcn.00643ad0
jmp 0x645d37
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x8189c8], eax
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1c
je 0x645d66
mov ecx, eax
call fcn.00603000
jmp 0x645d68
xor eax, eax
mov byte [esp + 0x19c], bl
mov dword [0x8189cc], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x100], 0x94
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [esp + 0x110]
cmp eax, 2
jne 0x645dae
cmp dword [esp + 0x104], 5
sbb ecx, ecx
add ecx, 5
mov dword [0x6d8f4c], ecx
jmp 0x645dd9
cmp eax, 1
jne 0x645dd9
mov eax, dword [esp + 0x108]
cmp eax, 0xa
jae 0x645dcb
mov dword [0x6d8f4c], 1
jmp 0x645dd9
cmp eax, 0x5a
sbb edx, edx
add edx, 3
mov dword [0x6d8f4c], edx
mov eax, dword [esp + 0x40]
mov byte [esp + 0x19c], 0xa
cmp eax, edi
je 0x645e06
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x645dfd
cmp al, 0xff
je 0x645dfd
dec al
mov byte [ecx], al
jmp 0x645e06
push ecx
call fcn.006713a0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
cmp eax, edi
mov byte [esp + 0x19c], 3
je 0x645e3f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x645e36
cmp al, 0xff
je 0x645e36
dec al
mov byte [ecx], al
jmp 0x645e3f
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
cmp ecx, edi
mov dword [esp + 0x19c], 0xffffffff
je 0x645e7a
mov al, byte [ecx - 1]
test al, al
je 0x645e70
cmp al, 0xff
je 0x645e70
dec al
mov byte [ecx - 1], al
jmp 0x645e7a
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x190
ret