Function at 0x426693
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
mov eax, dword [ebp + 0x1ec]
push dword [0x50b90c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1f0]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426eeb
push ebx
push esi
push 0xfffffffffffffff0
push dword [0x50b90c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, 0x80000
push eax
push eax
push 0x1036
push dword [0x50b90c]
call ebx
test si, 0x100
mov dword [ebp - 0x80], eax
je 0x426743
call fcn.00426135
shr eax, 0x10
cmp ax, 5
jbe 0x42672f
xor esi, esi
push esi
push 0x7071
push 0x111
push dword [0x50b908]
call ebx
jmp 0x426745
push 0
push 0x7051
push 0x111
push dword [0x50b908]
call ebx
xor esi, esi
lea eax, [ebp - 0x7c]
push eax
push dword [0x50b90c]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x7c]
push esi
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
mov dword [ebp - 0x34], eax
je 0x426ed8
push edi
xor eax, eax
mov dword [ebp - 0x78], esi
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push esi
push 0x1033
push dword [0x50b90c]
call ebx
and dword [ebp - 0x60], 0
push dword [0x50b90c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov esi, eax
movzx eax, ax
mov dword [ebp - 0x64], eax
xor eax, eax
shr esi, 0x10
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x54], esi
stosd dword es:[edi], eax
call fcn.004262aa
cmp eax, 0xffffffff
mov dword [ebp - 0x58], eax
je 0x426ecc
lea ecx, [ebp - 0x60]
push ecx
push eax
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426ecc
xor edi, edi
push 0x206
lea eax, [ebp - 0x26]
push edi
push eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x28], di
call fcn.0043b4c0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
cmp edx, edi
je 0x426990
cmp word [edx], di
je 0x426990
push dword [0x50b90c]
mov ecx, dword [ebp - 0x34]
call fcn.004262aa
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
je 0x426990
push dword [ebp - 0x3c]
and dword [ebp - 0x30], 0
push dword [0x50b90c]
mov dword [ebp - 0x50], edi
push dword [ebp - 0x34]
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
call fcn.00426456
test al, al
je 0x426990
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426990
mov eax, dword [ebp + 0x1f4]
test eax, eax
mov dword [ebp - 0x38], eax
jle 0x4268e2
mov eax, dword [ebp - 0x44]
add eax, esi
cmp eax, dword [ebp - 0x6c]
jae 0x4268a8
add dword [ebp - 0x2c], esi
push esi
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4268d9
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x30], eax
push 0
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x4c], esi
jbe 0x4268d9
mov edi, esi
neg edi
sub dword [ebp - 0x2c], esi
push edi
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x4c], esi
ja 0x4268c4
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0
jg 0x42688c
push dword [ebp - 0x3c]
push dword [ebp - 0x58]
push str.iSource___d__iTarget___d_ok
call fcn.0041bccd
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x4c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
add eax, ecx
add esp, 0xc
push dword [0x50b90c]
cdq
push dword [ebp - 0x34]
sub eax, edx
sar eax, 1
lea esi, [ebp - 0x40]
mov dword [ebp - 0x3c], eax
call fcn.004263dc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x42694a
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x70]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x58]
push esi
push dword [0x50b90c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x426984
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x60]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
cmp dword [ebp - 0x38], 0
jne 0x426ecc
jmp 0x426995
mov esi, 0x100f
push 0xa
lea edi, [ebp - 0x28]
call fcn.00426204
test al, al
je 0x426ae6
push dword [0x50b90c]
mov ecx, dword [ebp - 0x34]
mov edx, edi
call fcn.004262aa
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
je 0x426ae6
and dword [ebp - 0x50], 0
push dword [ebp - 0x3c]
and dword [ebp - 0x30], 0
push dword [0x50b90c]
xor eax, eax
push dword [ebp - 0x34]
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
call fcn.00426456
test al, al
je 0x426ae6
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426ae6
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x64]
add ecx, eax
cmp dword [ebp - 0x30], ecx
jae 0x426ae6
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x6c]
jae 0x426a36
add dword [ebp - 0x2c], eax
jmp 0x426a3b
sub dword [ebp - 0x2c], eax
neg eax
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
push dword [0x50b90c]
add eax, ecx
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ebp - 0x40]
mov dword [ebp - 0x3c], eax
call fcn.004263dc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x426a9d
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x70]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x58]
push esi
push dword [0x50b90c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x426ad7
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x60]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
cmp dword [ebp - 0x38], 0
jne 0x426ecc
mov esi, 0x100f
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx cx, ah
mov ch, al
cmp cx, 0x600
ja 0x426ba5
push 1
lea edi, [ebp - 0x28]
call fcn.00426204
test al, al
je 0x426ba5
push dword [0x50b90c]
mov ecx, dword [ebp - 0x34]
mov edx, edi
call fcn.004262aa
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
je 0x426ba5
and dword [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426ba5
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x70]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x3c]
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x58]
push esi
push dword [0x50b90c]
call ebx
movzx ecx, word [ebp - 0x60]
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0x5c]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x3c]
push esi
push dword [0x50b90c]
call ebx
cmp dword [ebp - 0x38], 0
jne 0x426ecc
push 0xa
lea edi, [ebp - 0x28]
call fcn.00426204
test al, al
je 0x426ce5
push dword [0x50b90c]
mov ecx, dword [ebp - 0x34]
mov edx, edi
call fcn.004262aa
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
je 0x426ce5
and dword [ebp - 0x50], 0
push dword [ebp - 0x3c]
and dword [ebp - 0x30], 0
push dword [0x50b90c]
xor eax, eax
push dword [ebp - 0x34]
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
call fcn.00426456
test al, al
je 0x426ce5
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426ce5
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x78]
add ecx, eax
cmp dword [ebp - 0x30], ecx
jae 0x426ce8
mov eax, dword [ebp - 0x54]
sub dword [ebp - 0x2c], eax
neg eax
push eax
push 0
mov eax, edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
push dword [0x50b90c]
add eax, ecx
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ebp - 0x40]
mov dword [ebp - 0x3c], eax
call fcn.004263dc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x426c9c
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x70]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x58]
push esi
push dword [0x50b90c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x426cd6
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x60]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
cmp dword [ebp - 0x38], 0
jne 0x426ecc
mov esi, 0x100f
mov eax, dword [ebp - 0x64]
shr eax, 1
add eax, dword [ebp - 0x78]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x6c]
jge 0x426e36
push dword [0x50b90c]
lea esi, [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004263dc
mov esi, eax
cmp esi, 0xffffffff
je 0x426e24
and dword [ebp - 0x50], 0
and dword [ebp - 0x68], 0
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
push dword [0x50b90c]
xor eax, eax
push dword [ebp - 0x34]
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
call fcn.00426456
test al, al
je 0x426e24
lea eax, [ebp - 0x68]
push eax
push esi
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426e24
mov esi, dword [ebp - 0x54]
mov eax, esi
shl eax, 2
push eax
mov eax, edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push 0
push eax
call edi
mov eax, esi
shl eax, 2
add dword [ebp - 0x64], eax
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x6c]
jbe 0x426db5
mov dword [ebp - 0x3c], esi
neg dword [ebp - 0x3c]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x50]
push 0
push eax
call edi
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x64], esi
sub dword [ebp - 0x2c], esi
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x6c]
ja 0x426d99
push dword [0x50b90c]
lea esi, [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.004263dc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x426dea
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x70]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x64]
movzx ecx, word [ebp - 0x68]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x58]
push esi
push dword [0x50b90c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x426e24
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x60]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50b90c]
call ebx
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x38], 0
mov esi, 0x100f
je 0x426cf4
cmp dword [ebp - 0x38], 0
jne 0x426ecc
push dword [0x50b90c]
mov ecx, dword [ebp - 0x34]
mov edx, str.Internet_Explorer
call fcn.004262aa
cmp eax, 0xffffffff
mov dword [ebp - 0x54], eax
je 0x426ecc
and dword [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x54]
push dword [0x50b90c]
push dword [ebp - 0x34]
call fcn.004264d1
test al, al
je 0x426ecc
movzx eax, word [ebp - 0x6c]
movzx ecx, word [ebp - 0x70]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x54]
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x58]
push esi
push dword [0x50b90c]
call ebx
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x60]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x54]
push esi
push dword [0x50b90c]
call ebx
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
pop edi
push dword [ebp - 0x80]
push esi
push 0x1036
push dword [0x50b90c]
call ebx
pop esi
pop ebx
mov ecx, dword [ebp + 0x1e0]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0x1e4
leave
ret