Function at 0x4fe830
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57ab99
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
push 5
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebx + 0x30]
push ecx
xor edi, edi
mov byte [ebx + 0x49c], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x4fe8a2
mov edi, ebx
call fcn.004fa210
xor edi, edi
cmp dword [ebx + 0x490], 7
je 0x4ff362
mov dword [esp + 0x58], edi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
mov dword [esp + 0x78], edi
lea edx, [esp + 0x58]
push edx
mov ecx, esi
mov dword [esp + 0xe4], edi
call fcn.004582a0
test al, al
je 0x4fef08
test dword [esp + 0x58], 0x4000
je 0x4fe91b
cmp dword [ebx + 0x200], edi
je 0x4fe901
mov byte [ebx + 0x49d], 1
jmp 0x4ff34e
mov edx, dword [ebx + 0x38c]
mov eax, dword [edx + 0x10]
add ebx, 0x38c
push 1
mov ecx, ebx
call eax
jmp 0x4ff34e
mov ecx, ebx
call fcn.004f8c90
mov eax, dword [ebx + 0x490]
mov esi, 9
cmp eax, 2
je 0x4feb2c
cmp eax, esi
je 0x4feb2c
mov eax, dword [esp + 0x58]
test al, 2
je 0x4fe955
mov dword [ebx + 0x490], 1
jmp 0x4feb2c
test al, 4
je 0x4fe968
mov dword [ebx + 0x490], 4
jmp 0x4feb2c
test al, 0x10
je 0x4fe97b
mov dword [ebx + 0x490], 3
jmp 0x4feb2c
test al, 0x20
je 0x4fe98e
mov dword [ebx + 0x490], 5
jmp 0x4feb2c
test al, 0x40
je 0x4fe9a1
mov dword [ebx + 0x490], 6
jmp 0x4feb2c
test al, al
jns 0x4fe9b4
mov dword [ebx + 0x490], 8
jmp 0x4feb2c
test eax, 0x100
je 0x4fe9c6
mov dword [ebx + 0x490], esi
jmp 0x4feb2c
test eax, 0x1000
je 0x4fe9dc
mov dword [ebx + 0x490], 0xa
jmp 0x4feb2c
test eax, 0x8000
je 0x4feba1
mov dword [ebx + 0x490], 0xb
cmp dword [ebx + 0x4a8], edi
jne 0x4feb1d
mov eax, 0xf
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x24]
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], 3
call fcn.004d88a0
mov eax, dword [esp + 0x38]
xor ecx, ecx
add esp, 4
cmp eax, edi
setne cl
inc ecx
mov dword [ebx + 0x1fc], ecx
cmp eax, edi
jne 0x4fea6a
or eax, 0xffffffff
jmp 0x4fea82
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x4fea79
lea eax, [esp + 0x24]
push eax
call fcn.00543fb3
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea esi, [esp + 0x9c]
mov dword [ebx + 0x4b4], eax
call fcn.00404e80
add esp, 4
mov byte [esp + 0xe0], 4
cmp dword [eax + 0x18], 8
jb 0x4feaaf
mov eax, dword [eax + 4]
jmp 0x4feab2
add eax, 4
lea edi, [ebx + 0x4dc]
mov edx, eax
call fcn.00425220
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 3
call fcn.0040f400
push 0
push ebx
call fcn.004f5a50
push 1
mov ecx, ebx
call fcn.004f5d10
cmp dword [esp + 0x50], 0
jne 0x4feaf8
push 0
push 3
push 1
mov eax, ebx
call fcn.004eaf50
lea ecx, [esp + 0x20]
call fcn.00424920
lea ecx, [esp + 0x3c]
call fcn.00424920
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 0
call fcn.00424920
xor edi, edi
mov ecx, dword [esp + 0x78]
call fcn.004fe6b0
mov dword [ebx + 0x4e8], eax
push ebx
call fcn.004f10b0
cmp dword [ebx + 0x4a8], edi
jne 0x4fec9f
mov eax, 0xf
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], edi
mov byte [esp + 0xb8], 0
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 5
call fcn.00462b70
push 0xffffffffffffffff
lea ecx, [ebx + 0x4c0]
push edi
cmp al, 1
jne 0x4fec7f
lea edx, [esp + 0xbc]
push edx
jmp 0x4fec84
mov ecx, eax
shr ecx, 0x10
and cl, 1
mov dword [ebx + 0x490], edi
mov byte [0x5d0e15], cl
test eax, 0x200
je 0x4febc7
mov esi, ebx
call fcn.004fe710
xor edi, edi
jmp 0x4fec45
test eax, 0x2000
je 0x4fec1f
cmp dword [ebx + 0x4a8], edi
jne 0x4fec45
push edi
push edi
push 3
mov eax, ebx
mov dword [ebx + 0x490], 7
call fcn.004eaf50
cmp dword [ebx + 0x39c], edi
lea eax, [ebx + 0x39c]
je 0x4fec45
push 1
push ecx
mov esi, esp
mov dword [esp + 0x20], esp
push 1
push 0xc350
call fcn.00473640
call fcn.00471100
call fcn.0048c7e0
add esp, 8
xor edi, edi
jmp 0x4fec45
cmp dword [esp + 0x78], edi
jne 0x4fec45
push 0x800000
call fcn.0045d0c0
add esp, 4
test al, al
je 0x4fec45
call fcn.0045e330
test al, al
je 0x4fec45
mov dword [ebx + 0x4e8], esi
cmp dword [ebx + 0x4e8], edi
jne 0x4feb2c
mov ecx, dword [esp + 0x78]
call fcn.004fe6b0
cmp dword [ebx + 0x4a8], 2
jne 0x4feb26
cmp eax, edi
je 0x4feb2c
push edi
push eax
push 2
mov eax, ebx
call fcn.004eaf50
jmp 0x4feb2c
lea eax, [esp + 0x64]
push eax
call fcn.00424780
lea esi, [esp + 0x98]
mov byte [esp + 0xe0], 0
call fcn.00451eb0
xor edi, edi
cmp dword [ebx + 0x490], 0xa
je 0x4fecb4
mov esi, str.BindParam
call fcn.00463c90
xor edi, edi
mov eax, dword [ebx + 0x490]
cmp eax, 5
jne 0x4fed1f
push 1
lea ecx, [esp + 0x18]
mov edi, ebx
call fcn.004f9e10
mov esi, dword [esp + 0x14]
cmp esi, 1
je 0x4fed0a
push 0x5cea3e
push 0x10
call fcn.0053f363
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x4fed0a
push ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push eax
mov dword [eax + 4], esi
mov dword [eax], 4
mov ecx, dword [ebx + 0x30]
push 0x40b
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x74], 0x10
jb 0x4ff362
mov edx, dword [esp + 0x60]
push edx
jmp 0x4ff35a
cmp eax, 0xa
jne 0x4fef69
mov esi, 0xf
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x80]
mov byte [esp + 0xe4], 8
call fcn.004d88a0
add esp, 4
cmp dword [esp + 0x50], edi
jne 0x4fef1d
mov eax, dword [ebx + 0x4a8]
cmp eax, 2
je 0x4fef1d
cmp eax, 1
je 0x4fef1d
mov eax, 0x5d1440
call fcn.0047f590
test al, al
jne 0x4fef1d
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], al
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], edi
mov byte [esp + 0xb8], al
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 9
call fcn.00462b70
test al, al
je 0x4feece
cmp dword [esp + 0xac], edi
je 0x4feece
lea esi, [esp + 0x14]
call fcn.004dfc50
lea ecx, [esp + 0x98]
push ecx
mov eax, esi
mov byte [esp + 0xe4], 0xa
call fcn.00404dd0
add esp, 4
push 0
push 0
push 3
mov eax, ebx
mov dword [ebx + 0x490], 7
call fcn.004eaf50
mov edi, dword [esp + 0x14]
push 1
push 0xea6a
lea eax, [ebx + 0x39c]
call fcn.00473640
lea esi, [esp + 0x20]
call fcn.00471100
push ecx
mov ecx, esp
mov byte [esp + 0xe4], 0xb
mov dword [esp + 0x20], esp
call fcn.00484d90
mov ecx, edi
call fcn.004d7360
mov byte [esp + 0xe4], 0xa
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4fee93
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebx
call fcn.004fde40
push 0
push 1
push 0
mov eax, ebx
mov dword [ebx + 0x508], 2
call fcn.004eaf50
mov ecx, dword [ebx + 0x30]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, ebx
call fcn.004fa210
lea ecx, [esp + 0x14]
call fcn.00425530
jmp 0x4feee1
mov edx, dword [ebx + 0x30]
push 0
push 0x1388
push 5
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea esi, [esp + 0x98]
call fcn.00451eb0
lea ecx, [esp + 0x20]
call fcn.00424920
lea ecx, [esp + 0x7c]
call fcn.00424920
lea ecx, [esp + 0x3c]
call fcn.00424920
cmp dword [esp + 0x74], 0x10
jb 0x4ff362
mov eax, dword [esp + 0x60]
push eax
jmp 0x4ff35a
lea ecx, [esp + 0x18]
push ecx
mov edi, ebx
call fcn.004f9f70
mov esi, dword [esp + 0x18]
cmp esi, 1
je 0x4feeed
push 0x5cea3e
push 0x10
call fcn.0053f363
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x4feeed
push ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push eax
mov dword [eax + 4], esi
mov dword [eax], 0x20
mov edx, dword [ebx + 0x30]
push 0x40b
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4feeed
cmp eax, 2
je 0x4ff0fd
cmp eax, 4
je 0x4ff0fd
cmp eax, 6
je 0x4ff0fd
cmp eax, 3
je 0x4ff25f
cmp eax, 8
jne 0x4fefbb
cmp dword [ebx + 0x4a8], 2
jne 0x4fefac
push edi
push 0xb
push 2
mov eax, ebx
call fcn.004eaf50
jmp 0x4ff267
mov dword [ebx + 0x4e8], 0xb
jmp 0x4ff267
cmp eax, 1
jne 0x4ff088
mov eax, 0xf
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x24]
mov byte [esp + 0xe4], 0x12
call fcn.004d88a0
add esp, 4
cmp dword [esp + 0x90], edi
jne 0x4ff076
mov eax, dword [ebx + 0x4a8]
cmp eax, 2
je 0x4ff076
cmp eax, 1
je 0x4ff076
push edi
push edi
push 3
mov eax, ebx
mov dword [ebx + 0x490], 7
call fcn.004eaf50
cmp dword [ebx + 0x39c], edi
lea eax, [ebx + 0x39c]
je 0x4ff076
push 1
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 1
push 0xc350
call fcn.00473640
call fcn.00471100
call fcn.0048c7e0
add esp, 8
xor edi, edi
lea ecx, [esp + 0x3c]
call fcn.00424920
lea ecx, [esp + 0x20]
jmp 0x4ff242
cmp eax, 9
jne 0x4ff0b2
call fcn.0045daf0
cmp al, 1
jne 0x4ff0a7
push edi
push 3
push 1
mov eax, ebx
call fcn.004eaf50
jmp 0x4ff267
mov dword [ebx + 0x490], edi
jmp 0x4ff267
cmp eax, edi
jne 0x4ff267
cmp dword [ebx + 0x4a8], edi
jne 0x4ff267
mov eax, dword [esp + 0x58]
test eax, 0x400
je 0x4ff0e1
push edi
push 1
push edi
mov eax, ebx
call fcn.004eaf50
jmp 0x4ff267
test eax, 0x800
je 0x4ff267
push edi
push 3
push 1
mov eax, ebx
call fcn.004eaf50
jmp 0x4ff267
mov eax, dword [ebx + 0x4a8]
cmp eax, edi
jne 0x4ff25a
mov edx, dword [ebx + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4ff11f
push ebx
call fcn.004f16b0
cmp dword [ebx + 0x4a8], edi
jne 0x4ff267
mov eax, 0xf
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
lea eax, [esp + 0x7c]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], 0xe
call fcn.004d88a0
add esp, 4
cmp dword [esp + 0x50], edi
je 0x4ff220
mov eax, dword [esp + 0x34]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [ebx + 0x1fc], ecx
cmp eax, edi
jne 0x4ff1a2
or eax, 0xffffffff
jmp 0x4ff1ba
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x4ff1b1
lea eax, [esp + 0x24]
push eax
call fcn.00543fb3
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea esi, [esp + 0x9c]
mov dword [ebx + 0x4b4], eax
call fcn.00404e80
add esp, 4
mov byte [esp + 0xe0], 0xf
cmp dword [eax + 0x18], 8
jb 0x4ff1e7
mov eax, dword [eax + 4]
jmp 0x4ff1ea
add eax, 4
lea edi, [ebx + 0x4dc]
mov edx, eax
call fcn.00425220
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 0xe
call fcn.0040f400
push 0
push ebx
call fcn.004f5a50
push 0
mov ecx, ebx
call fcn.004f5d10
xor edi, edi
jmp 0x4ff235
cmp dword [ebx + 0x490], 6
je 0x4ff235
push edi
push 3
push 1
mov eax, ebx
call fcn.004eaf50
lea ecx, [esp + 0x20]
call fcn.00424920
lea ecx, [esp + 0x3c]
call fcn.00424920
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 0
call fcn.00424920
jmp 0x4ff267
cmp eax, 2
jne 0x4ff267
push 1
push ebx
call fcn.004f7650
mov eax, dword [ebx + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4ff29a
mov eax, dword [ebx + 0x494]
cmp eax, 3
je 0x4ff29a
cmp eax, 5
je 0x4ff29a
mov ecx, dword [ebx + 0x30]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, ebx
call fcn.004fa210
xor edi, edi
mov esi, 1
cmp dword [ebx + 0x490], esi
jne 0x4fed0a
mov eax, dword [ebx + 0x454]
cmp eax, edi
je 0x4ff2f5
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ff2f5
mov eax, dword [ebx + 0x454]
mov ecx, dword [eax + 0x30]
add eax, 0x30
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ff2f5
cmp dword [ebx + 0x4a8], esi
jne 0x4fed0a
mov dword [ebx + 0x4e8], 9
jmp 0x4fed0a
call fcn.00468790
mov ecx, eax
call fcn.00468a20
cmp eax, edi
je 0x4ff30e
cmp eax, dword [ebx + 0x30]
jne 0x4fef08
cmp dword [ebx + 0x4a8], 2
jne 0x4ff34e
call fcn.00425b30
call fcn.00426460
test al, al
jne 0x4ff32f
push 0xa
push ebx
call fcn.004f3ac0
jmp 0x4ff342
push edi
push 9
push 2
mov eax, ebx
call fcn.004eaf50
push edi
push ebx
call fcn.004f7650
push ebx
mov dword [ebx + 0x490], edi
call fcn.004f10b0
cmp dword [esp + 0x74], 0x10
jb 0x4ff362
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0053d782
add esp, 4
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret 4