Function at 0x40f6e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6783c8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f70f
cmp dword [ebp + 8], 0
je 0x40f70f
cmp dword [ebp + 0xc], 0
jne 0x40f714
jmp 0x41062a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b3755
add esp, 8
test eax, eax
jne 0x40f72d
jmp 0x41062a
push 0xfffffffffffffff0
mov eax, dword [0x6783c8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x2e0], eax
push 0x80000
push 0x80000
push 0x1036
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x2e0]
and edx, 0x100
je 0x40f7c5
call fcn.00410880
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
cmp ecx, 5
jle 0x40f7ad
push 0
push 0x7071
push 0x111
mov edx, dword [0x6783c4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f7c5
push 0
push 0x7051
push 0x111
mov eax, dword [0x6783c4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c8], 0
lea ecx, [ebp - 0x2c8]
push ecx
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x2c8]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x40f823
mov ecx, dword [ebp - 0x2d4]
push ecx
push 0
push 0x1036
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41062a
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0x1033
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x2cc]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x2a0], 0
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410ad0
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0xffffffff
je 0x410602
lea edx, [ebp - 0x2a0]
push edx
mov eax, dword [ebp - 0x274]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410e20
movzx eax, al
test eax, eax
je 0x410602
mov dword [ebp - 0x268], 0
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call fcn.004ac380
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x40faeb
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x40faeb
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410ad0
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0xffffffff
je 0x40faeb
mov dword [ebp - 0x25c], 0
xor edx, edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x2c4], 0
xor eax, eax
mov dword [ebp - 0x2c0], eax
lea ecx, [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410d50
movzx edx, al
test edx, edx
je 0x40faeb
lea eax, [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [0x6783c8]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.00410e20
movzx ecx, al
test ecx, ecx
je 0x40faeb
mov edx, dword [ebp - 0x258]
add edx, dword [ebp - 0x264]
cmp edx, dword [ebp - 0x210]
jae 0x40fa1c
mov eax, dword [ebp - 0x2c0]
add eax, dword [ebp - 0x264]
mov dword [ebp - 0x318], eax
jmp 0x40fa2e
mov ecx, dword [ebp - 0x2c4]
add ecx, dword [ebp - 0x278]
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x214]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x210]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x27c]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2c4]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x2c0]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x274]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x31c]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x318]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x27c]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x268], 0
jne 0x40fdc3
lea edx, [ebp - 0x20c]
push edx
push 0xa
call fcn.004109d0
movzx eax, al
test eax, eax
je 0x40fdc3
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x6783c8]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.00410ad0
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
je 0x40fdc3
mov dword [ebp - 0x22c], 0
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x284], 0
xor edx, edx
mov dword [ebp - 0x280], edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [0x6783c8]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.00410d50
movzx ecx, al
test ecx, ecx
je 0x40fdc3
lea edx, [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410e20
movzx eax, al
test eax, eax
je 0x40fdc3
mov ecx, dword [ebp - 0x21c]
add ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x284], ecx
jae 0x40fdc3
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x228]
lea ecx, [eax + edx*2]
cmp ecx, dword [ebp - 0x210]
jae 0x40fc1f
mov edx, dword [ebp - 0x280]
add edx, dword [ebp - 0x264]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x264]
push eax
push 0
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x40fc49
mov edx, dword [ebp - 0x280]
sub edx, dword [ebp - 0x264]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x264]
neg eax
push eax
push 0
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x228]
add edx, dword [ebp - 0x264]
cmp edx, dword [ebp - 0x210]
jae 0x40fc71
mov eax, dword [ebp - 0x280]
add eax, dword [ebp - 0x264]
mov dword [ebp - 0x2f4], eax
jmp 0x40fc83
mov ecx, dword [ebp - 0x284]
add ecx, dword [ebp - 0x278]
mov dword [ebp - 0x2f8], ecx
mov eax, dword [ebp - 0x22c]
add eax, dword [ebp - 0x224]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x220]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x320], eax
lea edx, [ebp - 0x324]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410ca0
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
je 0x40fd1e
mov edx, dword [ebp - 0x214]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x210]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x26c]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x310], eax
jmp 0x40fd28
mov dword [ebp - 0x310], 0
mov edx, dword [ebp - 0x284]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x280]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x274]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x26c], 0xffffffff
je 0x40fdb9
mov edx, dword [ebp - 0x2f8]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x2f4]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x26c]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30c], eax
jmp 0x40fdc3
mov dword [ebp - 0x30c], 0
cmp dword [ebp - 0x268], 0
jne 0x40ffc1
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
and edx, 0xffff
movzx eax, dx
and eax, 0xff
movzx ecx, al
mov dword [ebp - 0x2f0], ecx
mov edx, dword [ebp - 0x2d0]
and edx, 0xffff
movzx eax, dx
shr eax, 8
and eax, 0xff
movzx ecx, al
mov dword [ebp - 0x308], ecx
mov edx, dword [ebp - 0x308]
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x2f0]
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
cmp eax, 0x600
jg 0x40ffc1
lea ecx, [ebp - 0x20c]
push ecx
push 1
call fcn.004109d0
movzx edx, al
test edx, edx
je 0x40ffc1
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410ad0
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0xffffffff
je 0x40ffc1
mov dword [ebp - 0x2b4], 0
xor eax, eax
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x2b4]
push ecx
mov edx, dword [ebp - 0x290]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410e20
movzx edx, al
test edx, edx
je 0x40ffc1
mov eax, dword [ebp - 0x2b4]
add eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x210]
jae 0x40fef5
mov ecx, dword [ebp - 0x2b0]
add ecx, dword [ebp - 0x264]
mov dword [ebp - 0x2fc], ecx
jmp 0x40ff07
mov edx, dword [ebp - 0x2b4]
add edx, dword [ebp - 0x278]
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x214]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x210]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x290]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x2b4]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2b0]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x274]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x300]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2fc]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x290]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x268], 0
jne 0x41021a
lea eax, [ebp - 0x20c]
push eax
push 0xa
call fcn.004109d0
movzx ecx, al
test ecx, ecx
je 0x41021a
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410ad0
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x41021a
mov dword [ebp - 0x23c], 0
xor edx, edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x2bc], 0
xor eax, eax
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410d50
movzx edx, al
test edx, edx
je 0x41021a
lea eax, [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
mov edx, dword [0x6783c8]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.00410e20
movzx ecx, al
test ecx, ecx
je 0x41021a
mov edx, dword [ebp - 0x21c]
add edx, dword [ebp - 0x278]
cmp dword [ebp - 0x2bc], edx
jae 0x41021a
mov eax, dword [ebp - 0x2b8]
sub eax, dword [ebp - 0x264]
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x264]
neg ecx
push ecx
push 0
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x23c]
add eax, dword [ebp - 0x234]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x238]
add eax, dword [ebp - 0x230]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410ca0
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x410177
mov eax, dword [ebp - 0x214]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x210]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x270]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x314], eax
jmp 0x410181
mov dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x2bc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2b8]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x274]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x410210
mov eax, dword [ebp - 0x2a0]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x29c]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x270]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2e4], eax
jmp 0x41021a
mov dword [ebp - 0x2e4], 0
cmp dword [ebp - 0x268], 0
jne 0x4104d6
mov eax, dword [ebp - 0x278]
shr eax, 1
add eax, dword [ebp - 0x21c]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], 0
jmp 0x410256
mov ecx, dword [ebp - 0x288]
add ecx, 1
mov dword [ebp - 0x288], ecx
cmp dword [ebp - 0x268], 0
jne 0x4104d6
mov edx, dword [ebp - 0x288]
cmp edx, dword [ebp - 0x210]
jge 0x4104d6
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410ca0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
je 0x4104d1
mov dword [ebp - 0x24c], 0
xor eax, eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x2a8], 0
xor ecx, ecx
mov dword [ebp - 0x2a4], ecx
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410d50
movzx eax, al
test eax, eax
je 0x4104d1
lea ecx, [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2ac]
push edx
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410e20
movzx edx, al
test edx, edx
je 0x4104d1
mov eax, dword [ebp - 0x264]
shl eax, 2
push eax
push 0
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x2a4]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x288]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x248]
lea ecx, [eax + edx*2]
cmp ecx, dword [ebp - 0x210]
jbe 0x4103c1
mov edx, dword [ebp - 0x264]
neg edx
push edx
push 0
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x2a4]
sub ecx, dword [ebp - 0x264]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x288]
sub edx, dword [ebp - 0x264]
mov dword [ebp - 0x288], edx
jmp 0x41036c
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [0x6783c8]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call fcn.00410ca0
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0xffffffff
je 0x41042e
mov eax, dword [ebp - 0x214]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x210]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x294]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2e8], eax
jmp 0x410438
mov dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x2a8]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2a4]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x274]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x294], 0xffffffff
je 0x4104c7
mov eax, dword [ebp - 0x2a0]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x29c]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x294]
push ecx
push 0x100f
mov edx, dword [0x6783c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2ec], eax
jmp 0x4104d1
mov dword [ebp - 0x2ec], 0
jmp 0x410247
cmp dword [ebp - 0x268], 0
jne 0x410602
push str.Internet_Explorer
mov eax, dword [0x6783c8]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00410ad0
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0xffffffff
je 0x410602
mov dword [ebp - 0x2dc], 0
xor edx, edx
mov dword [ebp - 0x2d8], edx
lea eax, [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x298]
push ecx
mov edx, dword [0x6783c8]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.00410e20
movzx ecx, al
test ecx, ecx
je 0x410602
mov edx, dword [ebp - 0x214]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x210]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x298]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2dc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x2d8]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x274]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2a0]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x29c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x298]
push eax
push 0x100f
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2d4]
push eax
push 0
push 0x1036
mov ecx, dword [0x6783c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret