Function at 0x423010
Capabilities:
Check os version

Disassembly:
sub esp, 0x25c
mov eax, dword [0x49a670]
xor eax, esp
mov dword [esp + 0x258], eax
mov edx, dword [0x49c3b0]
mov eax, dword [esp + 0x260]
mov ecx, dword [esp + 0x264]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42390c
mov eax, dword [0x49c3b0]
push ebp
push esi
push edi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [0x49c3b0]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0x80000
push 0x80000
push 0x1036
push ecx
mov esi, eax
call ebp
test esi, 0x100
mov dword [esp + 0x58], eax
je 0x4230c5
call fcn.00422920
shr eax, 0x10
cmp eax, 5
jbe 0x4230b1
mov edx, dword [0x49c3ac]
xor esi, esi
push esi
push 0x7071
push 0x111
push edx
call ebp
jmp 0x4230c7
mov eax, dword [0x49c3ac]
push 0
push 0x7051
push 0x111
push eax
call ebp
xor esi, esi
mov edx, dword [0x49c3b0]
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x54]
push eax
push esi
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x3c], edi
je 0x4238f6
push ebx
push esi
lea ecx, [esp + 0x48]
push ecx
xor eax, eax
push esi
push 0x30
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [0x49c3b0]
push esi
push esi
push 0x1033
push edx
call ebp
mov ecx, dword [esp + 0x34]
mov edx, dword [0x49c3b0]
mov ebx, eax
movzx eax, ax
push ecx
push edx
shr ebx, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.00422ae0
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x4238ee
mov edx, dword [0x49c3b0]
lea ecx, [esp + 0x38]
push ecx
push eax
push edx
call fcn.00422cc0
test al, al
je 0x4238ee
push 0x206
lea eax, [esp + 0x66]
push esi
push eax
mov dword [esp + 0x24], esi
mov word [esp + 0x6c], si
call fcn.0042cac0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, esi
je 0x423304
cmp word [eax], si
je 0x423304
mov ecx, dword [0x49c3b0]
push eax
push ecx
call fcn.00422ae0
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x423304
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [0x49c3b0]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00422c40
test al, al
je 0x423304
mov edx, dword [esp + 0x2c]
mov eax, dword [0x49c3b0]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.00422cc0
test al, al
je 0x423304
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
lea edx, [eax + ecx]
cmp dword [esp + 0x10], edx
jae 0x423304
mov ecx, dword [esp + 0x20]
lea edx, [ecx + ebx*2]
cmp edx, dword [esp + 0x50]
jae 0x42323f
add dword [esp + 0x14], ebx
push ebx
push esi
lea eax, [esp + 0x24]
push eax
jmp 0x42324a
add dword [esp + 0x10], eax
push esi
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
mov dword [esp + 0x2c], eax
lea eax, [edx + ecx]
mov ecx, dword [0x49c3b0]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00422bc0
mov esi, eax
cmp esi, 0xffffffff
je 0x4232ae
movzx edx, word [esp + 0x50]
movzx eax, word [esp + 0x4c]
mov ecx, dword [0x49c3b0]
shl edx, 0x10
or edx, eax
push edx
push esi
push 0x100f
push ecx
call ebp
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x10]
mov ecx, dword [esp + 0x34]
shl edx, 0x10
or edx, eax
push edx
mov edx, dword [0x49c3b0]
push ecx
push 0x100f
push edx
call ebp
cmp esi, 0xffffffff
mov dword [esp + 0x18], eax
je 0x4232f9
movzx eax, word [esp + 0x3c]
movzx ecx, word [esp + 0x38]
mov edx, dword [0x49c3b0]
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x100f
push edx
call ebp
cmp dword [esp + 0x18], 0
jne 0x4238ec
lea esi, [esp + 0x60]
mov ecx, 0xa
call fcn.00422a30
test al, al
je 0x423478
mov ecx, dword [0x49c3b0]
mov eax, esi
push eax
push ecx
call fcn.00422ae0
mov esi, eax
cmp esi, 0xffffffff
je 0x423478
xor eax, eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [0x49c3b0]
push esi
push eax
call fcn.00422c40
test al, al
je 0x423478
mov edx, dword [0x49c3b0]
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
call fcn.00422cc0
test al, al
je 0x423478
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
add ecx, eax
cmp dword [esp + 0x10], ecx
jae 0x423478
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx*2]
cmp eax, dword [esp + 0x50]
jae 0x4233b0
add dword [esp + 0x14], ebx
push ebx
push 0
lea ecx, [esp + 0x24]
push ecx
jmp 0x4233c0
sub dword [esp + 0x14], ebx
mov edx, ebx
neg edx
push edx
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [0x49c3b0]
push edx
push eax
call fcn.00422bc0
mov esi, eax
cmp esi, 0xffffffff
je 0x423422
movzx ecx, word [esp + 0x50]
movzx edx, word [esp + 0x4c]
mov eax, dword [0x49c3b0]
shl ecx, 0x10
or ecx, edx
push ecx
push esi
push 0x100f
push eax
call ebp
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
mov eax, dword [esp + 0x34]
shl ecx, 0x10
or ecx, edx
push ecx
mov ecx, dword [0x49c3b0]
push eax
push 0x100f
push ecx
call ebp
cmp esi, 0xffffffff
mov dword [esp + 0x18], eax
je 0x42346d
movzx edx, word [esp + 0x3c]
movzx eax, word [esp + 0x38]
mov ecx, dword [0x49c3b0]
shl edx, 0x10
or edx, eax
push edx
push esi
push 0x100f
push ecx
call ebp
cmp dword [esp + 0x18], 0
jne 0x4238ec
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx dx, ah
mov dh, al
cmp dx, 0x600
ja 0x42354d
lea esi, [esp + 0x60]
mov ecx, 1
call fcn.00422a30
test al, al
je 0x42354d
mov ecx, dword [0x49c3b0]
mov eax, esi
push eax
push ecx
call fcn.00422ae0
mov esi, eax
cmp esi, 0xffffffff
je 0x42354d
xor eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [0x49c3b0]
push esi
push eax
call fcn.00422cc0
test al, al
je 0x42354d
movzx ecx, word [esp + 0x50]
movzx edx, word [esp + 0x4c]
mov eax, dword [0x49c3b0]
shl ecx, 0x10
or ecx, edx
push ecx
push esi
push 0x100f
push eax
call ebp
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
mov eax, dword [esp + 0x34]
shl ecx, 0x10
or ecx, edx
push ecx
mov ecx, dword [0x49c3b0]
push eax
push 0x100f
push ecx
call ebp
movzx edx, word [esp + 0x3c]
mov ecx, dword [0x49c3b0]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x38]
shl edx, 0x10
or edx, eax
push edx
push esi
push 0x100f
push ecx
call ebp
cmp dword [esp + 0x18], 0
jne 0x4238ec
lea esi, [esp + 0x60]
mov ecx, 0xa
call fcn.00422a30
test al, al
je 0x4236a5
mov eax, dword [0x49c3b0]
mov edx, esi
push edx
push eax
call fcn.00422ae0
mov esi, eax
cmp esi, 0xffffffff
je 0x4236a5
mov edx, dword [0x49c3b0]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.00422c40
test al, al
je 0x4236a5
mov ecx, dword [0x49c3b0]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call fcn.00422cc0
test al, al
je 0x4236a5
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
add edx, eax
cmp dword [esp + 0x10], edx
jae 0x4236a5
sub dword [esp + 0x14], ebx
mov ecx, ebx
neg ecx
push ecx
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
add eax, edx
cdq
sub eax, edx
mov edx, dword [0x49c3b0]
lea ecx, [esp + 0x2c]
push ecx
sar eax, 1
push edx
mov dword [esp + 0x38], eax
call fcn.00422bc0
mov esi, eax
cmp esi, 0xffffffff
je 0x423651
movzx eax, word [esp + 0x50]
movzx ecx, word [esp + 0x4c]
mov edx, dword [0x49c3b0]
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x100f
push edx
call ebp
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
mov edx, dword [esp + 0x34]
shl eax, 0x10
or eax, ecx
push eax
mov eax, dword [0x49c3b0]
push edx
push 0x100f
push eax
call ebp
cmp esi, 0xffffffff
mov dword [esp + 0x18], eax
je 0x42369a
movzx ecx, word [esp + 0x3c]
movzx edx, word [esp + 0x38]
mov eax, dword [0x49c3b0]
shl ecx, 0x10
or ecx, edx
push ecx
push esi
push 0x100f
push eax
call ebp
cmp dword [esp + 0x18], 0
jne 0x4238ec
mov eax, dword [esp + 0x54]
shr eax, 1
add eax, dword [esp + 0x44]
xor ebp, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
lea esp, [esp]
cmp ebp, dword [esp + 0x50]
jge 0x423832
mov edx, dword [0x49c3b0]
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00422bc0
mov esi, eax
cmp esi, 0xffffffff
je 0x42381b
mov ecx, dword [0x49c3b0]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
call fcn.00422c40
test al, al
je 0x42381b
mov eax, dword [0x49c3b0]
lea edx, [esp + 0x10]
push edx
push esi
push eax
call fcn.00422cc0
test al, al
je 0x42381b
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [ebx*4]
push esi
push 0
lea ecx, [esp + 0x24]
push ecx
call edi
mov edx, dword [esp + 0x20]
add dword [esp + 0x14], esi
add ebp, esi
lea eax, [edx + ebx*2]
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x30], ebp
jbe 0x423791
mov esi, ebx
neg esi
lea esp, [esp]
push esi
push 0
lea ecx, [esp + 0x24]
push ecx
call edi
mov edx, dword [esp + 0x20]
sub dword [esp + 0x14], ebx
lea eax, [edx + ebx*2]
sub ebp, ebx
cmp eax, dword [esp + 0x50]
ja 0x423770
mov dword [esp + 0x30], ebp
mov edx, dword [0x49c3b0]
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00422bc0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4237d2
movzx eax, word [esp + 0x50]
movzx ecx, word [esp + 0x4c]
mov edx, dword [0x49c3b0]
shl eax, 0x10
or eax, ecx
push eax
push esi
push 0x100f
push edx
call edi
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
mov edx, dword [esp + 0x34]
shl eax, 0x10
or eax, ecx
push eax
mov eax, dword [0x49c3b0]
push edx
push 0x100f
push eax
call edi
cmp esi, 0xffffffff
mov dword [esp + 0x18], eax
je 0x42381b
movzx ecx, word [esp + 0x3c]
movzx edx, word [esp + 0x38]
mov eax, dword [0x49c3b0]
shl ecx, 0x10
or ecx, edx
push ecx
push esi
push 0x100f
push eax
call edi
add ebp, 1
cmp dword [esp + 0x18], 0
mov dword [esp + 0x30], ebp
je 0x4236c0
jmp 0x4238e2
cmp dword [esp + 0x18], 0
jne 0x4238e2
mov ecx, dword [0x49c3b0]
mov edi, dword [esp + 0x40]
push str.Internet_Explorer
push ecx
call fcn.00422ae0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4238e2
xor eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [0x49c3b0]
push ebx
push eax
call fcn.00422cc0
test al, al
je 0x4238e2
movzx ecx, word [esp + 0x50]
movzx edx, word [esp + 0x4c]
mov eax, dword [0x49c3b0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, edx
push ecx
push ebx
push 0x100f
push eax
call esi
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
mov eax, dword [esp + 0x34]
shl ecx, 0x10
or ecx, edx
push ecx
mov ecx, dword [0x49c3b0]
push eax
push 0x100f
push ecx
call esi
movzx edx, word [esp + 0x3c]
movzx eax, word [esp + 0x38]
mov ecx, dword [0x49c3b0]
shl edx, 0x10
or edx, eax
push edx
push ebx
push 0x100f
push ecx
call esi
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x40]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov edx, dword [esp + 0x58]
mov eax, dword [0x49c3b0]
push edx
push esi
push 0x1036
push eax
call ebp
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0042caa2
add esp, 0x25c
ret