Function at 0x42e32e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [0x666020]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42edca
push ebx
push esi
push edi
push 0xfffffffffffffff0
push dword [0x666020]
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 [0x666020]
call edi
xor ebx, ebx
mov dword [ebp - 0x268], eax
test esi, 0x100
je 0x42e3cc
call fcn.0042d1f2
shr eax, 0x10
push ebx
cmp ax, 5
jbe 0x42e3ba
push 0x7071
jmp 0x42e3bf
push 0x7051
push 0x111
push dword [0x66601c]
call edi
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], ebx
push eax
push dword [0x666020]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x260]
push ebx
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x264], ebx
test ebx, ebx
je 0x42edb1
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 [0x666020]
call edi
push dword [ebp - 0x230]
mov esi, eax
movzx eax, ax
push dword [0x666020]
mov dword [ebp - 0x248], eax
xor eax, eax
shr esi, 0x10
push ebx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
call fcn.0042e026
mov dword [ebp - 0x244], eax
cmp eax, 0xffffffff
je 0x42edaa
lea ecx, [ebp - 0x254]
push ecx
push eax
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42edaa
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005a8e00
mov eax, dword [ebp - 0x238]
add esp, 0xc
test eax, eax
je 0x42e6c3
xor ecx, ecx
cmp word [eax], cx
je 0x42e6c3
push eax
push dword [0x666020]
push ebx
call fcn.0042e026
mov dword [ebp - 0x230], eax
cmp eax, 0xffffffff
je 0x42e6c3
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [0x666020]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.0042e1d4
test al, al
je 0x42e6c3
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x230]
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42e6c3
cmp dword [ebp + 0x10], 0
jle 0x42e5d1
mov edi, dword [ebp - 0x248]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x210]
add eax, esi
cmp eax, dword [ebp - 0x220]
jae 0x42e572
add dword [ebp - 0x238], esi
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x42e5bd
add dword [ebp - 0x23c], edi
xor eax, eax
push eax
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x218], esi
jbe 0x42e5bd
mov edi, esi
neg edi
xor ebx, ebx
sub dword [ebp - 0x238], esi
lea eax, [ebp - 0x21c]
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x218], esi
ja 0x42e597
mov edi, dword [ebp - 0x248]
mov ebx, dword [ebp + 0x10]
dec ebx
mov dword [ebp + 0x10], ebx
test ebx, ebx
jg 0x42e549
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x264]
push dword [ebp - 0x230]
push dword [ebp - 0x244]
push str.iSource___d__iTarget___d_ok
call fcn.0042c9be
mov eax, dword [ebp - 0x214]
add esp, 0xc
add eax, dword [ebp - 0x21c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x218]
add eax, dword [ebp - 0x210]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x234]
push eax
push dword [0x666020]
push ebx
call fcn.0042e25c
mov dword [ebp - 0x230], eax
cmp eax, 0xffffffff
je 0x42e658
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x238]
movzx eax, word [ebp - 0x23c]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x244]
push 0x100f
push dword [0x666020]
call edi
cmp dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x240], eax
je 0x42e6bb
movzx edx, word [ebp - 0x250]
movzx ecx, word [ebp - 0x254]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp - 0x230]
push 0x100f
push dword [0x666020]
call edi
mov eax, dword [ebp - 0x240]
test eax, eax
jne 0x42edaa
lea eax, [ebp - 0x20c]
push eax
push 0xa
call fcn.0042d2d0
test al, al
je 0x42e873
lea eax, [ebp - 0x20c]
push eax
push dword [0x666020]
push ebx
call fcn.0042e026
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
je 0x42e873
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 [0x666020]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.0042e1d4
test al, al
je 0x42e873
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x238]
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42e873
mov eax, dword [ebp - 0x22c]
add eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], eax
jae 0x42e873
mov eax, dword [ebp - 0x218]
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x220]
jae 0x42e782
add dword [ebp - 0x230], esi
push esi
jmp 0x42e78d
sub dword [ebp - 0x230], esi
mov eax, esi
neg eax
push eax
xor eax, eax
push eax
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 - 0x23c], eax
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x218]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push dword [0x666020]
push ebx
call fcn.0042e25c
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
je 0x42e80b
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x244]
push 0x100f
push dword [0x666020]
call edi
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
cmp edx, 0xffffffff
je 0x42e86b
movzx ecx, word [ebp - 0x250]
movzx eax, word [ebp - 0x254]
shl ecx, 0x10
or ecx, eax
push ecx
push edx
push 0x100f
push dword [0x666020]
call edi
mov eax, dword [ebp - 0x240]
test eax, eax
jne 0x42edaa
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 0x42e983
lea eax, [ebp - 0x20c]
push eax
push 1
call fcn.0042d2d0
test al, al
je 0x42e983
lea eax, [ebp - 0x20c]
push eax
push dword [0x666020]
push ebx
call fcn.0042e026
mov dword [ebp - 0x230], eax
cmp eax, 0xffffffff
je 0x42e983
xor ecx, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x23c]
push ecx
push eax
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42e983
movzx ecx, word [ebp - 0x220]
movzx eax, word [ebp - 0x224]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x230]
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x238]
movzx eax, word [ebp - 0x23c]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x244]
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x250]
mov dword [ebp - 0x240], eax
movzx eax, word [ebp - 0x254]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x230]
push 0x100f
push dword [0x666020]
call edi
cmp dword [ebp - 0x240], 0
jne 0x42edaa
lea eax, [ebp - 0x20c]
push eax
push 0xa
call fcn.0042d2d0
test al, al
je 0x42eb1b
lea eax, [ebp - 0x20c]
push eax
push dword [0x666020]
push ebx
call fcn.0042e026
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
je 0x42eb1b
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 [0x666020]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.0042e1d4
test al, al
je 0x42eb1b
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x238]
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42eb1b
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x22c]
add eax, ecx
cmp dword [ebp - 0x234], eax
jae 0x42eb21
sub dword [ebp - 0x230], esi
mov eax, esi
neg eax
push eax
xor eax, eax
push eax
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 - 0x23c], eax
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x218]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push dword [0x666020]
push ebx
call fcn.0042e25c
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
je 0x42eab3
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x230]
movzx eax, word [ebp - 0x234]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x244]
push 0x100f
push dword [0x666020]
call edi
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
cmp edx, 0xffffffff
je 0x42eb13
movzx ecx, word [ebp - 0x250]
movzx eax, word [ebp - 0x254]
shl ecx, 0x10
or ecx, eax
push ecx
push edx
push 0x100f
push dword [0x666020]
call edi
mov eax, dword [ebp - 0x240]
test eax, eax
jne 0x42edaa
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x248]
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 0x42ecf0
lea eax, [ebp - 0x234]
push eax
push dword [0x666020]
push ebx
call fcn.0042e25c
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
je 0x42ecd5
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [0x666020]
movups xmmword [ebp - 0x21c], xmm0
push ebx
call fcn.0042e1d4
test al, al
je 0x42ecd5
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x238]
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42ecd5
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 - 0x248], esi
add dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x258]
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x220]
jbe 0x42ec3b
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 - 0x248], esi
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x220]
ja 0x42ebff
mov ebx, dword [ebp - 0x264]
mov dword [ebp - 0x230], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x234]
push eax
push dword [0x666020]
push ebx
call fcn.0042e25c
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
je 0x42ec7b
movzx edx, word [ebp - 0x220]
movzx ecx, word [ebp - 0x224]
shl edx, 0x10
or edx, ecx
push edx
push eax
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x248]
movzx eax, word [ebp - 0x24c]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x244]
push 0x100f
push dword [0x666020]
call edi
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
cmp edx, 0xffffffff
je 0x42ecdb
movzx ecx, word [ebp - 0x250]
movzx eax, word [ebp - 0x254]
shl ecx, 0x10
or ecx, eax
push ecx
push edx
push 0x100f
push dword [0x666020]
call edi
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x230]
inc ecx
mov dword [ebp - 0x230], ecx
test eax, eax
je 0x42eb3b
cmp dword [ebp - 0x240], 0
jne 0x42edaa
push str.Internet_Explorer
push dword [0x666020]
push ebx
call fcn.0042e026
mov esi, eax
cmp esi, 0xffffffff
je 0x42edaa
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x25c]
push eax
push esi
push dword [0x666020]
push ebx
call fcn.0042e16e
test al, al
je 0x42edaa
movzx ecx, word [ebp - 0x220]
movzx eax, word [ebp - 0x224]
shl ecx, 0x10
or ecx, eax
push ecx
push esi
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x258]
movzx eax, word [ebp - 0x25c]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp - 0x244]
push 0x100f
push dword [0x666020]
call edi
movzx ecx, word [ebp - 0x250]
movzx eax, word [ebp - 0x254]
shl ecx, 0x10
or ecx, eax
push ecx
push esi
push 0x100f
push dword [0x666020]
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x268]
xor eax, eax
push eax
push 0x1036
push dword [0x666020]
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492e23
mov esp, ebp
pop ebp
ret