Function at 0x41b360
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
mov eax, dword [ebp + 0x1ec]
push dword [0x50d00c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1f0]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bb77
push ebx
push esi
push 0xfffffffffffffff0
push dword [0x50d00c]
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 [0x50d00c]
call ebx
test si, 0x100
mov dword [ebp - 0x80], eax
je 0x41b410
call fcn.0041ad90
shr eax, 0x10
cmp ax, 5
jbe 0x41b3fc
xor esi, esi
push esi
push 0x7071
push 0x111
push dword [0x50d008]
call ebx
jmp 0x41b412
push 0
push 0x7051
push 0x111
push dword [0x50d008]
call ebx
xor esi, esi
lea eax, [ebp - 0x7c]
push eax
push dword [0x50d00c]
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 0x41bb64
push edi
xor eax, eax
mov dword [ebp - 0x74], esi
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push esi
push 0x1033
push dword [0x50d00c]
call ebx
push dword [ebp - 0x38]
mov ecx, eax
push dword [0x50d00c]
movzx eax, ax
push dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
shr ecx, 0x10
xor eax, eax
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x54]
mov dword [ebp - 0x78], ecx
stosd dword es:[edi], eax
call fcn.0041af05
cmp eax, 0xffffffff
mov dword [ebp - 0x64], eax
je 0x41bb5a
lea ecx, [ebp - 0x58]
push ecx
push eax
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41bb5a
push 0x206
lea eax, [ebp - 0x26]
push esi
push eax
mov dword [ebp - 0x40], esi
mov word [ebp - 0x28], si
call fcn.0041d6a0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, esi
je 0x41b619
cmp word [eax], si
je 0x41b619
push eax
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041af05
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x41b619
push dword [ebp - 0x38]
xor eax, eax
push dword [0x50d00c]
mov dword [ebp - 0x50], esi
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
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
call fcn.0041b036
test al, al
je 0x41b619
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41b619
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x5c]
add ecx, eax
cmp dword [ebp - 0x30], ecx
jae 0x41b619
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x78]
lea edx, [edx + ecx*2]
cmp edx, dword [ebp - 0x68]
jae 0x41b56f
add dword [ebp - 0x2c], ecx
push ecx
push esi
jmp 0x41b574
add dword [ebp - 0x30], eax
push esi
push eax
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 [0x50d00c]
add eax, ecx
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
call fcn.0041afbc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x41b5d3
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x6c]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x64]
push esi
push dword [0x50d00c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x40], eax
je 0x41b60d
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 0x58]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
cmp dword [ebp - 0x40], 0
jne 0x41bb58
jmp 0x41b61e
mov esi, 0x100f
push 0xa
lea edi, [ebp - 0x28]
call fcn.0041ae5f
test al, al
je 0x41b770
mov eax, edi
push eax
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041af05
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x41b770
and dword [ebp - 0x50], 0
push dword [ebp - 0x38]
and dword [ebp - 0x30], 0
push dword [0x50d00c]
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.0041b036
test al, al
je 0x41b770
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41b770
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x5c]
add ecx, eax
cmp dword [ebp - 0x30], ecx
jae 0x41b770
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x78]
lea ecx, [ecx + eax*2]
cmp ecx, dword [ebp - 0x68]
jae 0x41b6c0
add dword [ebp - 0x2c], eax
jmp 0x41b6c5
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 [0x50d00c]
add eax, ecx
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
call fcn.0041afbc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x41b727
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x6c]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x64]
push esi
push dword [0x50d00c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x40], eax
je 0x41b761
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 0x58]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
cmp dword [ebp - 0x40], 0
jne 0x41bb58
mov esi, 0x100f
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx cx, ah
mov ch, al
cmp cx, 0x600
ja 0x41b830
push 1
lea edi, [ebp - 0x28]
call fcn.0041ae5f
test al, al
je 0x41b830
mov eax, edi
push eax
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041af05
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x41b830
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 - 0x38]
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41b830
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x6c]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x38]
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x64]
push esi
push dword [0x50d00c]
call ebx
movzx ecx, word [ebp - 0x58]
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0x54]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x38]
push esi
push dword [0x50d00c]
call ebx
cmp dword [ebp - 0x40], 0
jne 0x41bb58
push 0xa
lea edi, [ebp - 0x28]
call fcn.0041ae5f
test al, al
je 0x41b971
mov eax, edi
push eax
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041af05
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x41b971
and dword [ebp - 0x50], 0
push dword [ebp - 0x38]
and dword [ebp - 0x30], 0
push dword [0x50d00c]
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.0041b036
test al, al
je 0x41b971
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41b971
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x74]
add ecx, eax
cmp dword [ebp - 0x30], ecx
jae 0x41b974
mov eax, dword [ebp - 0x78]
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 [0x50d00c]
add eax, ecx
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
call fcn.0041afbc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x41b928
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x6c]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x64]
push esi
push dword [0x50d00c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x40], eax
je 0x41b962
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 0x58]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
cmp dword [ebp - 0x40], 0
jne 0x41bb58
mov esi, 0x100f
mov eax, dword [ebp - 0x5c]
shr eax, 1
add eax, dword [ebp - 0x74]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x68]
jge 0x41bac2
push dword [0x50d00c]
lea esi, [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0041afbc
mov esi, eax
cmp esi, 0xffffffff
je 0x41bab0
and dword [ebp - 0x50], 0
and dword [ebp - 0x60], 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 [0x50d00c]
xor eax, eax
push dword [ebp - 0x34]
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
call fcn.0041b036
test al, al
je 0x41bab0
lea eax, [ebp - 0x60]
push eax
push esi
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41bab0
mov esi, dword [ebp - 0x78]
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 - 0x5c], eax
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x68]
jbe 0x41ba41
mov dword [ebp - 0x38], esi
neg dword [ebp - 0x38]
push dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push 0
push eax
call edi
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x5c], esi
sub dword [ebp - 0x2c], esi
lea eax, [eax + esi*2]
cmp eax, dword [ebp - 0x68]
ja 0x41ba25
push dword [0x50d00c]
lea esi, [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0041afbc
mov edi, eax
cmp edi, 0xffffffff
mov esi, 0x100f
je 0x41ba76
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x6c]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x5c]
movzx ecx, word [ebp - 0x60]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x64]
push esi
push dword [0x50d00c]
call ebx
cmp edi, 0xffffffff
mov dword [ebp - 0x40], eax
je 0x41bab0
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 0x58]
shl eax, 0x10
or eax, ecx
push eax
push edi
push esi
push dword [0x50d00c]
call ebx
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x40], 0
mov esi, 0x100f
je 0x41b980
cmp dword [ebp - 0x40], 0
jne 0x41bb58
push str.Internet_Explorer
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041af05
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x41bb58
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 - 0x38]
push dword [0x50d00c]
push dword [ebp - 0x34]
call fcn.0041b0b1
test al, al
je 0x41bb58
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x6c]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x38]
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x64]
push esi
push dword [0x50d00c]
call ebx
movzx eax, word [ebp - 0x54]
movzx ecx, word [ebp - 0x58]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp - 0x38]
push esi
push dword [0x50d00c]
call ebx
xor esi, esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push dword [ebp - 0x80]
push esi
push 0x1036
push dword [0x50d00c]
call ebx
pop esi
pop ebx
mov ecx, dword [ebp + 0x1e0]
xor ecx, ebp
call fcn.0041d685
add ebp, 0x1e4
leave
ret