Function at 0x6f82d0
Capabilities:
Check os version
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x763d92
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.00726f70
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x19c], ebx
je 0x6f8313
mov ecx, eax
call fcn.00457b10
jmp 0x6f8315
xor eax, eax
mov cl, byte [0x8056e0]
mov esi, dword [esp + 0x1a8]
or ebp, 0xffffffff
mov dword [esp + 0x19c], ebp
mov dword [0x805a24], eax
test cl, cl
je 0x6f833d
push esi
mov ecx, eax
call fcn.00457d50
mov al, byte [0x8056e2]
test al, al
jne 0x6f834f
mov eax, dword [0x805a24]
mov byte [eax + 0x29], 0
mov edx, dword [0x805a24]
mov cl, byte [0x8056e3]
push 0x450
mov byte [edx + 0x2b], cl
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x19c], 1
je 0x6f8388
push esi
mov ecx, eax
call fcn.0067d4a0
jmp 0x6f838a
xor eax, eax
mov dword [esp + 0x19c], ebp
mov dword [0x93cbe8], eax
mov al, byte [0x8056e5]
mov edi, 0x94
test al, al
mov byte [0x93cc95], 1
je 0x6f83ec
lea eax, [esp + 0x6c]
push eax
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.user32.dll_EnumDisplaySettingsA]
mov eax, dword [0x8056c8]
mov ecx, dword [esp + 0xd4]
cmp ecx, eax
je 0x6f8432
lea ecx, [esp + 0x6c]
push 4
mov word [esp + 0x94], di
mov dword [esp + 0x98], 0x1c0000
mov dword [esp + 0xd8], eax
push ecx
jmp 0x6f842c
mov edx, dword [0x8056c0]
mov eax, dword [0x8056c4]
mov ecx, dword [0x8056c8]
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.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x19c], 2
je 0x6f8467
mov ecx, eax
call fcn.006ee400
jmp 0x6f8469
xor eax, eax
mov ecx, dword [0x8056c8]
mov edx, dword [0x8056c4]
push 1
push ecx
mov ecx, dword [0x8056c0]
push edx
xor edx, edx
push ecx
mov dl, byte [0x93cc95]
push esi
mov dword [esp + 0x1b0], ebp
push edx
mov ecx, eax
mov dword [0x93cbfc], eax
call fcn.00446490
test al, al
jne 0x6f84a7
push ebp
call fcn.00727817
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.00405f10
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.006a2a40
add esp, 0x18
test al, al
jne 0x6f857c
cmp dword [esp + 0x54], ebx
jbe 0x6f853a
mov eax, dword [esp + 0x50]
cmp eax, ebx
jne 0x6f852c
mov eax, 0x765608
push ebx
push 0x7ab400
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 0x6f8575
mov al, byte [ecx - 1]
test al, al
je 0x6f856b
cmp al, 0xff
je 0x6f856b
dec al
mov byte [ecx - 1], al
xor al, al
jmp 0x6f8dd0
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
xor al, al
jmp 0x6f8dd0
mov edx, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x1a4]
push 0x40098
mov dword [0x93cc8c], edx
mov dword [0x93cc7c], ebp
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x19c], 4
je 0x6f85bc
mov ecx, eax
call fcn.0045b960
jmp 0x6f85be
xor eax, eax
mov byte [esp + 0x19c], 3
push 0x40098
mov dword [0x93cbf4], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x19c], 5
je 0x6f85f1
mov ecx, eax
call fcn.0045b960
jmp 0x6f85f3
xor eax, eax
mov esi, dword [sym.imp.user32.dll_LoadCursorA]
push 4
mov byte [esp + 0x1a0], 3
push ebp
mov dword [0x93cbf8], eax
call esi
push 5
push ebp
mov dword [0x93cc54], eax
call esi
push 2
push ebp
mov dword [0x93cc58], eax
call esi
push 3
push ebp
mov dword [0x93cc5c], eax
call esi
push 1
push ebp
mov dword [0x93cc60], eax
call esi
push 7
push ebp
mov dword [0x93cc64], eax
call esi
push 6
push ebp
mov dword [0x93cc68], eax
call esi
push 0x7a
push ebp
mov dword [0x93cc6c], eax
call esi
push 0x7b
push ebp
mov dword [0x93cc70], eax
call esi
push 0x7c
push ebp
mov dword [0x93cc74], eax
call esi
mov dword [0x93cc78], eax
mov al, byte [0x8056e4]
test al, al
jne 0x6f874d
push 0xe8
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x19c], 6
je 0x6f869d
mov ecx, eax
call fcn.006ede40
jmp 0x6f869f
xor eax, eax
mov byte [esp + 0x19c], 3
mov dword [0x93cc44], eax
mov al, byte [esp + 0x17]
mov edi, 0x7ab3f0
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.00401450
test al, al
je 0x6f8708
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7ab3f0
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.00404970
xor esi, esi
mov ecx, dword [0x93cc44]
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 0x6f874d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6f8744
cmp al, 0xff
je 0x6f8744
dec al
mov byte [ecx], al
jmp 0x6f874d
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [0x93cc54]
xor esi, esi
push esi
push eax
call fcn.006fa950
push 0x24
call fcn.00726f70
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 8
je 0x6f877e
mov ecx, eax
call fcn.00597a10
jmp 0x6f8780
xor eax, eax
mov byte [esp + 0x19c], 3
push 0x74
mov dword [0x93cc48], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 9
je 0x6f87b0
mov ecx, eax
call fcn.006816d0
jmp 0x6f87b2
xor eax, eax
mov cl, byte [esp + 0x17]
mov byte [esp + 0x19c], 3
mov dword [0x93cc4c], eax
mov byte [esp + 0x1c], cl
mov edi, 0x7aaef0
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.00401450
test al, al
je 0x6f8817
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7aaef0
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.00404970
mov edi, 0x7aaee8
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.00401450
test al, al
je 0x6f8865
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov eax, ecx
mov esi, 0x7aaee8
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.00726f70
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
mov byte [esp + 0x19c], 0xb
cmp eax, esi
je 0x6f888a
mov ecx, eax
call fcn.00681890
jmp 0x6f888c
xor eax, eax
mov dl, byte [esp + 0x17]
mov byte [esp + 0x19c], 0xa
mov dword [0x93cc50], 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 0x7ab3e0
push ecx
mov byte [esp + 0x1a8], bl
call fcn.004f1300
add esp, 0xc
mov edx, dword [0x76560c]
lea ecx, [esp + 0x3c]
push edx
push esi
push eax
mov byte [esp + 0x1a8], 0xd
call fcn.00404560
mov eax, dword [esp + 0x30]
mov byte [esp + 0x19c], bl
cmp eax, esi
je 0x6f8913
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6f890a
cmp al, 0xff
je 0x6f890a
dec al
mov byte [ecx], al
jmp 0x6f8913
push ecx
call fcn.00726ea6
add esp, 4
cmp dword [0x93cc50], esi
je 0x6f8942
push esi
push esi
sub esp, 0x10
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004257d0
mov ecx, dword [0x93cc50]
mov byte [esp + 0x1b4], bl
call fcn.00681b00
push 0xe70
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 0xf
je 0x6f8968
mov ecx, eax
call fcn.006f19f0
jmp 0x6f896a
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 [0x93cbf0], eax
call fcn.006f1b00
fild dword [0x8056d4]
mov edx, dword [0x8056d8]
mov ecx, 0x805678
push edx
fstp dword [0x7a4c9c]
call fcn.004495e0
push 0x38
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x19c], 0x10
je 0x6f89cb
mov ecx, eax
call fcn.00487730
jmp 0x6f89cd
xor eax, eax
mov edi, dword [0x93c8a4]
mov byte [esp + 0x19c], bl
mov dword [0x93cc00], 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.006fd610
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6f8a17
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x6f8a17
lea eax, [esp + 0x10]
jmp 0x6f8a1f
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jne 0x6f8a2e
xor edi, edi
xor esi, esi
jmp 0x6f8a33
lea esi, [eax + 0x10]
xor edi, edi
push 0xdc
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x11
je 0x6f8a59
mov ecx, eax
call fcn.005fe3a0
jmp 0x6f8a5b
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x2c
mov dword [0x93cc04], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x12
je 0x6f8a8a
mov ecx, eax
call fcn.005390b0
jmp 0x6f8a8c
xor eax, eax
add esi, 0x184
mov byte [esp + 0x19c], bl
push esi
mov dword [0x93cc0c], eax
call fcn.00402a90
push 0x44
call fcn.00726f70
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x13
je 0x6f8ac7
mov ecx, eax
call fcn.00682470
jmp 0x6f8ac9
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x93cc18], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x14
je 0x6f8af8
mov ecx, eax
call fcn.0067ce30
jmp 0x6f8afa
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x608
mov dword [0x93cc1c], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x15
je 0x6f8b2c
mov ecx, eax
call fcn.00685770
jmp 0x6f8b2e
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x54
mov dword [0x93cc24], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x16
je 0x6f8b5d
mov ecx, eax
call fcn.0045d260
jmp 0x6f8b5f
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x330
mov dword [0x93cc20], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x17
je 0x6f8b91
mov ecx, eax
call fcn.0064ab70
jmp 0x6f8b93
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x1c
mov dword [0x93cc28], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x18
je 0x6f8bc2
mov ecx, eax
call fcn.0067cb80
jmp 0x6f8bc4
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x24
mov dword [0x93cc2c], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x19
je 0x6f8bf3
mov ecx, eax
call fcn.00680590
jmp 0x6f8bf5
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x93cc30], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1a
je 0x6f8c24
mov ecx, eax
call fcn.00680af0
jmp 0x6f8c26
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x93cc34], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1b
je 0x6f8c55
mov ecx, eax
call fcn.006f5820
jmp 0x6f8c57
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x20
mov dword [0x93cc38], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1c
je 0x6f8c86
mov ecx, eax
call fcn.006901d0
jmp 0x6f8c88
xor eax, eax
mov byte [esp + 0x19c], bl
push 0x154
mov dword [0x93cc3c], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x19c], 0x1d
je 0x6f8cba
mov ecx, eax
call fcn.006f6f60
jmp 0x6f8cbc
xor eax, eax
mov byte [esp + 0x19c], bl
mov dword [0x93cc40], 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 0x6f8d02
cmp dword [esp + 0x104], 5
sbb ecx, ecx
add ecx, 5
mov dword [0x7ab3dc], ecx
jmp 0x6f8d2d
cmp eax, 1
jne 0x6f8d2d
mov eax, dword [esp + 0x108]
cmp eax, 0xa
jae 0x6f8d1f
mov dword [0x7ab3dc], 1
jmp 0x6f8d2d
cmp eax, 0x5a
sbb edx, edx
add edx, 3
mov dword [0x7ab3dc], edx
mov eax, dword [esp + 0x40]
mov byte [esp + 0x19c], 0xa
cmp eax, edi
je 0x6f8d5a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6f8d51
cmp al, 0xff
je 0x6f8d51
dec al
mov byte [ecx], al
jmp 0x6f8d5a
push ecx
call fcn.00726ea6
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 0x6f8d93
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x6f8d8a
cmp al, 0xff
je 0x6f8d8a
dec al
mov byte [ecx], al
jmp 0x6f8d93
push ecx
call fcn.00726ea6
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 0x6f8dce
mov al, byte [ecx - 1]
test al, al
je 0x6f8dc4
cmp al, 0xff
je 0x6f8dc4
dec al
mov byte [ecx - 1], al
jmp 0x6f8dce
dec ecx
push ecx
call fcn.00726ea6
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