Function at 0x4e4a3c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push dword [0x678afc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x244], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e54d7
test esi, esi
je 0x4e54d7
test ebx, ebx
je 0x4e54d7
push ebx
push esi
call fcn.00500cc7
pop ecx
pop ecx
test eax, eax
je 0x4e54d7
push edi
push 0xfffffffffffffff0
push dword [0x678afc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, 0x80000
push eax
push eax
push 0x1036
push dword [0x678afc]
call edi
xor ebx, ebx
mov dword [ebp - 0x268], eax
test esi, 0x100
je 0x4e4afb
call fcn.004e47db
shr eax, 0x10
push ebx
cmp ax, 5
jbe 0x4e4ae9
push 0x7071
jmp 0x4e4aee
push 0x7051
push 0x111
push dword [0x678af8]
call edi
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], ebx
push eax
push dword [0x678afc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x264]
push ebx
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x270], ebx
test ebx, ebx
jne 0x4e4b3d
push dword [ebp - 0x268]
xor ecx, ecx
push ecx
jmp 0x4e54c9
xor esi, esi
lea eax, [ebp - 0x22c]
push esi
push eax
push esi
xorps xmm0, xmm0
push 0x30
movups xmmword [ebp - 0x22c], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push esi
push 0x1033
push dword [0x678afc]
call edi
push dword [ebp - 0x23c]
mov esi, eax
movzx eax, ax
push dword [0x678afc]
mov dword [ebp - 0x254], eax
xor eax, eax
shr esi, 0x10
push ebx
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
call fcn.004e560f
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
je 0x4e54b9
lea ecx, [ebp - 0x250]
push ecx
push eax
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e54b9
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004f0ae0
mov eax, dword [ebp - 0x244]
xor ecx, ecx
add esp, 0xc
cmp word [eax], cx
je 0x4e4d3b
push eax
push dword [0x678afc]
push ebx
call fcn.004e560f
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x4e4d3b
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [0x678afc]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.004e57bd
test al, al
je 0x4e4d3b
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x25c]
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e4d3b
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 0x220]
add eax, esi
cmp eax, edx
jae 0x4e4c95
mov eax, dword [ebp - 0x230]
add eax, esi
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x23c], eax
jmp 0x4e4cb3
mov eax, dword [ebp - 0x234]
add eax, dword [ebp - 0x254]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], eax
movzx eax, word [ebp - 0x224]
movzx ecx, dx
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x25c]
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x258]
push 0x100f
push dword [0x678afc]
call edi
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x244]
movzx edx, ax
mov eax, dword [ebp - 0x23c]
shl edx, 0x10
movzx ecx, ax
or edx, ecx
push edx
push dword [ebp - 0x25c]
push 0x100f
push dword [0x678afc]
call edi
cmp dword [ebp - 0x238], 0
jne 0x4e54b9
lea eax, [ebp - 0x20c]
push eax
push 0xa
call fcn.004e48b9
test al, al
je 0x4e4f39
lea eax, [ebp - 0x20c]
push eax
push dword [0x678afc]
push ebx
call fcn.004e560f
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x4e4f39
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [0x678afc]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.004e57bd
test al, al
je 0x4e4f39
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x23c]
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e4f39
mov eax, dword [ebp - 0x22c]
add eax, dword [ebp - 0x254]
cmp dword [ebp - 0x234], eax
jae 0x4e4f39
mov eax, dword [ebp - 0x218]
xor ecx, ecx
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x220]
jae 0x4e4dfc
add dword [ebp - 0x230], esi
push esi
jmp 0x4e4e07
sub dword [ebp - 0x230], esi
mov eax, esi
neg eax
push eax
push ecx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x218]
add eax, esi
cmp eax, dword [ebp - 0x220]
jae 0x4e4e41
mov eax, dword [ebp - 0x230]
add eax, esi
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x244], eax
jmp 0x4e4e5f
mov eax, dword [ebp - 0x234]
add eax, dword [ebp - 0x254]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x21c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x218]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push dword [0x678afc]
push ebx
call fcn.004e5845
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x4e4ecd
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x258]
push 0x100f
push dword [0x678afc]
call edi
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x238], eax
cmp edx, 0xffffffff
je 0x4e4f31
mov eax, dword [ebp - 0x23c]
movzx ecx, ax
mov eax, dword [ebp - 0x244]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push edx
push 0x100f
push dword [0x678afc]
call edi
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x4e54b9
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
shl ax, 8
movzx ecx, cl
or cx, ax
mov eax, 0x600
cmp cx, ax
ja 0x4e5092
lea eax, [ebp - 0x20c]
push eax
push 1
call fcn.004e48b9
test al, al
je 0x4e5092
lea eax, [ebp - 0x20c]
push eax
push dword [0x678afc]
push ebx
call fcn.004e560f
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x4e5092
xor ecx, ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x234]
push ecx
push eax
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e5092
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x220]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x4e4ff0
mov eax, dword [ebp - 0x230]
add eax, esi
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x244], eax
jmp 0x4e500a
mov eax, dword [ebp - 0x254]
add eax, ecx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
movzx eax, word [ebp - 0x224]
movzx ecx, dx
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x25c]
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x258]
push 0x100f
push dword [0x678afc]
call edi
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x23c]
movzx ecx, ax
mov eax, dword [ebp - 0x244]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push dword [ebp - 0x25c]
push 0x100f
push dword [0x678afc]
call edi
cmp dword [ebp - 0x238], 0
jne 0x4e54b9
lea eax, [ebp - 0x20c]
push eax
push 0xa
call fcn.004e48b9
test al, al
je 0x4e522a
lea eax, [ebp - 0x20c]
push eax
push dword [0x678afc]
push ebx
call fcn.004e560f
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x4e522a
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [0x678afc]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.004e57bd
test al, al
je 0x4e522a
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x23c]
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e522a
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x22c]
add eax, ecx
cmp dword [ebp - 0x234], eax
jae 0x4e5230
sub dword [ebp - 0x230], esi
mov eax, esi
neg eax
xor ecx, ecx
push eax
push ecx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x21c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x218]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x240]
push eax
push dword [0x678afc]
push ebx
call fcn.004e5845
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x4e51c2
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x258]
push 0x100f
push dword [0x678afc]
call edi
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x238], eax
cmp edx, 0xffffffff
je 0x4e5222
movzx ecx, word [ebp - 0x24c]
movzx eax, word [ebp - 0x250]
shl ecx, 0x10
or ecx, eax
push ecx
push edx
push 0x100f
push dword [0x678afc]
call edi
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x4e54b9
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x254]
shr eax, 1
add eax, ecx
mov dword [ebp - 0x234], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x230], ecx
cmp ecx, dword [ebp - 0x220]
jge 0x4e53ff
lea eax, [ebp - 0x234]
push eax
push dword [0x678afc]
push ebx
call fcn.004e5845
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x4e53e4
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [0x678afc]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.004e57bd
test al, al
je 0x4e53e4
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x23c]
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e53e4
shl esi, 2
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add dword [ebp - 0x244], esi
add dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x26c]
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x220]
jbe 0x4e534a
mov edi, dword [ebp - 0x230]
mov ebx, esi
neg ebx
push ebx
xor eax, eax
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x218]
sub edi, esi
sub dword [ebp - 0x244], esi
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x220]
ja 0x4e530e
mov ebx, dword [ebp - 0x270]
mov dword [ebp - 0x230], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x234]
push eax
push dword [0x678afc]
push ebx
call fcn.004e5845
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x4e538a
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x244]
movzx eax, word [ebp - 0x248]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x258]
push 0x100f
push dword [0x678afc]
call edi
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x238], eax
cmp edx, 0xffffffff
je 0x4e53ea
movzx ecx, word [ebp - 0x24c]
movzx eax, word [ebp - 0x250]
shl ecx, 0x10
or ecx, eax
push ecx
push edx
push 0x100f
push dword [0x678afc]
call edi
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x230]
inc ecx
mov dword [ebp - 0x230], ecx
test eax, eax
je 0x4e524a
cmp dword [ebp - 0x238], 0
jne 0x4e54b9
push str.Internet_Explorer
push dword [0x678afc]
push ebx
call fcn.004e560f
mov esi, eax
cmp esi, 0xffffffff
je 0x4e54b9
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push esi
push dword [0x678afc]
push ebx
call fcn.004e5757
test al, al
je 0x4e54b9
movzx ecx, word [ebp - 0x220]
movzx eax, word [ebp - 0x224]
shl ecx, 0x10
or ecx, eax
push ecx
push esi
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x258]
push 0x100f
push dword [0x678afc]
call edi
movzx ecx, word [ebp - 0x24c]
movzx eax, word [ebp - 0x250]
shl ecx, 0x10
or ecx, eax
push ecx
push esi
push 0x100f
push dword [0x678afc]
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x268]
xor eax, eax
push eax
push 0x1036
push dword [0x678afc]
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret