Function at 0x410c60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8d8e
mov eax, dword fs:[0]
push eax
sub esp, 0x924
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x8d0], eax
mov dword [ebp - 0x8cc], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ebx, ebx
mov ecx, 2
lea esi, [eax + 1]
mov eax, esi
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.004ad065
push ebx
push 0
push eax
mov dword [ebp - 0x8e4], eax
call fcn.004affe0
mov ecx, dword [ebp - 0x8e4]
add esp, 0x10
mov dword [ebp - 0x8f0], ecx
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x868], eax
mov dword [ebp - 0x864], eax
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x85c], eax
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
mov ebx, dword [ebp - 0x8d0]
push esi
mov esi, ecx
mov byte [ebp - 4], 1
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x410f80
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410d60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x828]
call fcn.00403450
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x834]
mov ecx, edi
push eax
call fcn.00404ea0
mov edi, dword [ebp - 0x82c]
cmp byte [edi + 0xd], 0
jne 0x410e02
cmp dword [edi + 0x24], 7
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x410daf
mov eax, dword [eax]
cmp dword [ebp - 0x814], 7
lea ecx, [ebp - 0x828]
mov esi, dword [ebp - 0x828]
jbe 0x410dc6
mov ecx, esi
push edx
mov edx, dword [ebp - 0x818]
push eax
call fcn.00405130
add esp, 8
test eax, eax
je 0x410de1
shr eax, 0x1f
test al, al
jne 0x410e02
mov eax, dword [ebp - 0x8cc]
cmp edi, dword [eax]
je 0x410e02
cmp dword [edi + 0x38], 0
je 0x410e02
lea eax, [edi + 0x28]
push eax
lea ecx, [ebp - 0x850]
call fcn.004024d0
jmp 0x410e1a
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x850]
call fcn.004024d0
mov esi, dword [ebp - 0x828]
lea ecx, [ebp - 0x868]
call fcn.004027a0
mov eax, dword [ebp - 0x850]
lea ecx, [ebp - 0x850]
mov dword [ebp - 0x868], eax
mov eax, dword [ebp - 0x84c]
mov dword [ebp - 0x864], eax
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x840]
mov dword [ebp - 0x858], eax
mov eax, dword [ebp - 0x83c]
mov dword [ebp - 0x854], eax
xor eax, eax
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 7
mov word [ebp - 0x850], ax
call fcn.004027a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x814]
cmp eax, 7
jbe 0x410ed3
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x410ec9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abb
push ecx
push esi
call fcn.004accfd
add esp, 8
mov ecx, dword [ebp - 0x8e4]
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410f00
sub ecx, edx
lea edi, [ebp - 0x868]
mov edx, dword [ebp - 0x868]
sar ecx, 1
cmp dword [ebp - 0x854], 7
seta byte [ebp - 0x8d5]
jbe 0x410f2d
mov edi, edx
mov esi, dword [ebp - 0x858]
cmp esi, ecx
jne 0x410f61
mov eax, dword [ebp - 0x8e4]
mov edx, eax
test esi, esi
je 0x410f7a
sub edi, eax
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x410f5b
add edx, 2
sub esi, 1
jne 0x410f45
jmp 0x410f7a
mov edx, dword [ebp - 0x868]
cmp byte [ebp - 0x8d5], 0
lea eax, [ebp - 0x868]
je 0x410f72
mov eax, edx
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp - 0x8cc]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004affe0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x411a7f
mov ecx, str.ComboBox
lea eax, [ebp - 0x810]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410fe6
test dx, dx
je 0x410fe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410fe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410fc0
xor eax, eax
jmp 0x410feb
sbb eax, eax
or eax, 1
test eax, eax
je 0x411848
mov ecx, str.ComboBoxEx32
lea eax, [ebp - 0x810]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411026
test dx, dx
je 0x411022
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411026
add eax, 4
add ecx, 4
test dx, dx
jne 0x411000
xor eax, eax
jmp 0x41102b
sbb eax, eax
or eax, 1
test eax, eax
je 0x411848
mov ecx, str.Button
lea eax, [ebp - 0x810]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411066
test dx, dx
je 0x411062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411066
add eax, 4
add ecx, 4
test dx, dx
jne 0x411040
xor eax, eax
jmp 0x41106b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4111e5
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 7
jne 0x411a7f
test al, 0xf
je 0x411a7f
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
lea eax, [ebp - 0x838]
push eax
push ebx
mov dword [ebp - 0x8cc], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x838]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x838]
mov dword [ebp - 0x8e0], eax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x8e8], eax
mov eax, dword [ebp - 0x830]
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x8ec], eax
test esi, esi
je 0x411a7f
push 0
push 0
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x854], 7
lea ecx, [ebp - 0x868]
mov dword [ebp - 0x8d4], eax
jbe 0x41112a
mov ecx, dword [ebp - 0x868]
push 0x450
lea eax, [ebp - 0x838]
push eax
push 0xffffffffffffffff
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x4111cb
call fcn.00402820
push 0x60
push ebx
mov ecx, eax
call fcn.004028b0
push eax
push 3
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x2d
call esi
mov edi, eax
push 0x47
add edi, edi
call esi
mov ecx, dword [ebp - 0x830]
add eax, ebx
mov edx, dword [ebp - 0x8dc]
add eax, edi
mov edi, dword [ebp - 0x838]
add ecx, eax
mov esi, dword [ebp - 0x8e0]
mov eax, ecx
mov ebx, dword [ebp - 0x8d0]
sub eax, edi
sub edx, esi
mov dword [ebp - 0x830], ecx
cmp edx, eax
jle 0x4111c5
mov edx, dword [ebp - 0x8e8]
sub ecx, edi
mov eax, dword [ebp - 0x8ec]
push 1
sub eax, edx
push eax
push ecx
push edx
push esi
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [ebp - 0x8cc]
push dword [ebp - 0x8d4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x411a7f
mov ecx, str.SysHeader32
lea eax, [ebp - 0x810]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411216
test dx, dx
je 0x411212
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411216
add eax, 4
add ecx, 4
test dx, dx
jne 0x4111f0
xor eax, eax
jmp 0x41121b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4113f2
push eax
push eax
push 0x1200
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x21c
mov dword [ebp - 0x8d0], eax
call fcn.004ad065
push 0x21c
mov esi, eax
push 0
push esi
mov dword [ebp - 0x8dc], esi
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x8d4], esi
xor edi, edi
mov byte [ebp - 4], 5
cmp dword [ebp - 0x8d0], edi
jle 0x4113e4
push 0x30
lea eax, [ebp - 0x930]
push 0
push eax
call fcn.004affe0
add esp, 0xc
mov dword [ebp - 0x930], 2
lea eax, [ebp - 0x930]
mov dword [ebp - 0x928], esi
mov dword [ebp - 0x920], 0x10e
push eax
push edi
push 0x120b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4112e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x828]
call fcn.00403450
mov ecx, dword [ebp - 0x8cc]
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x834]
mov byte [ebp - 4], 6
push eax
call fcn.00404ea0
mov esi, dword [ebp - 0x82c]
cmp byte [esi + 0xd], 0
jne 0x411376
cmp dword [esi + 0x24], 7
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x411333
mov eax, dword [eax]
cmp dword [ebp - 0x814], 7
lea ecx, [ebp - 0x828]
jbe 0x411348
mov ecx, dword [ebp - 0x828]
push edx
mov edx, dword [ebp - 0x818]
push eax
call fcn.00405130
add esp, 8
test eax, eax
je 0x411363
shr eax, 0x1f
test al, al
jne 0x411376
mov eax, dword [ebp - 0x8cc]
cmp esi, dword [eax]
je 0x411376
cmp dword [esi + 0x38], 0
lea eax, [esi + 0x28]
jne 0x41137c
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x850]
call fcn.004024d0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 5
call fcn.004027a0
cmp dword [ebp - 0x83c], 7
lea eax, [ebp - 0x850]
jbe 0x4113ac
mov eax, dword [ebp - 0x850]
mov dword [ebp - 0x928], eax
lea eax, [ebp - 0x930]
push eax
push edi
push 0x120c
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x850]
call fcn.004027a0
mov esi, dword [ebp - 0x8dc]
inc edi
cmp edi, dword [ebp - 0x8d0]
jl 0x411271
push esi
call fcn.004ad06e
add esp, 4
jmp 0x411a7f
mov ecx, 0x4eb3e8
lea eax, [ebp - 0x810]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411426
test dx, dx
je 0x411422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411426
add eax, 4
add ecx, 4
test dx, dx
jne 0x411400
xor eax, eax
jmp 0x41142b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411582
push 0x2000
call fcn.004ad065
push 0x2000
mov esi, eax
push 0
push esi
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x8d4], esi
mov byte [ebp - 4], 7
mov ecx, 0x2000
mov eax, esi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x411460
push 0x1000
push esi
push 0x1502
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
jmp 0x4114b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4114b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x828]
call fcn.00403450
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x834]
mov ecx, edi
push eax
call fcn.00404ea0
mov edi, dword [ebp - 0x82c]
cmp byte [edi + 0xd], 0
jne 0x41153d
cmp dword [edi + 0x24], 7
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x4114ff
mov eax, dword [eax]
cmp dword [ebp - 0x814], 7
lea ecx, [ebp - 0x828]
jbe 0x411514
mov ecx, dword [ebp - 0x828]
push edx
mov edx, dword [ebp - 0x818]
push eax
call fcn.00405130
add esp, 8
test eax, eax
je 0x41152a
js 0x41153d
mov eax, dword [ebp - 0x8cc]
cmp edi, dword [eax]
je 0x41153d
cmp dword [edi + 0x38], 0
lea eax, [edi + 0x28]
jne 0x411543
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x850]
call fcn.004024d0
lea ecx, [ebp - 0x828]
call fcn.004027a0
push esi
push 0
push 0x1501
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x850]
call fcn.004027a0
push esi
call fcn.004ad06e
add esp, 4
jmp 0x411a7f
mov ecx, str.tooltips_class32
lea eax, [ebp - 0x810]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4115b6
test dx, dx
je 0x4115b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4115b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x411590
xor eax, eax
jmp 0x4115bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411a7f
push 0x2000
call fcn.004ad065
push 0x2000
mov esi, eax
push 0
push esi
mov dword [ebp - 0x8e0], esi
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x8e8], esi
push 0
push 0
push 0x40d
mov byte [ebp - 4], 9
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call edi
xor edx, edx
mov dword [ebp - 0x8d4], eax
mov dword [ebp - 0x8dc], edx
test eax, eax
jle 0x411574
jmp 0x411620
mov ecx, 0x2000
mov eax, esi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x411627
lea eax, [ebp - 0x8c8]
mov dword [ebp - 0x8c4], ecx
push eax
push edx
push 0x43a
push ebx
mov dword [ebp - 0x8c0], ecx
mov dword [ebp - 0x8bc], ecx
mov dword [ebp - 0x8b8], ecx
mov dword [ebp - 0x8b4], ecx
mov dword [ebp - 0x8b0], ecx
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x8a8], ecx
mov dword [ebp - 0x8a0], ecx
mov dword [ebp - 0x89c], ecx
mov dword [ebp - 0x8c8], 0x30
mov dword [ebp - 0x8a4], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x874], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x86c], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4116c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x880]
call fcn.00403450
mov ecx, dword [ebp - 0x8cc]
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x900]
mov byte [ebp - 4], 0xa
push eax
call fcn.00404ea0
mov edi, dword [ebp - 0x8f8]
cmp byte [edi + 0xd], 0
jne 0x411768
cmp dword [edi + 0x24], 7
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x411713
mov eax, dword [eax]
mov ebx, dword [ebp - 0x86c]
lea ecx, [ebp - 0x880]
mov esi, dword [ebp - 0x880]
cmp ebx, 7
jbe 0x41172c
mov ecx, esi
push edx
mov edx, dword [ebp - 0x870]
push eax
call fcn.00405130
add esp, 8
test eax, eax
je 0x411747
shr eax, 0x1f
test al, al
jne 0x411768
mov eax, dword [ebp - 0x8cc]
cmp edi, dword [eax]
je 0x411768
cmp dword [edi + 0x38], 0
je 0x411768
lea eax, [edi + 0x28]
push eax
lea ecx, [ebp - 0x898]
call fcn.004024d0
jmp 0x411786
lea eax, [ebp - 0x880]
push eax
lea ecx, [ebp - 0x898]
call fcn.004024d0
mov ebx, dword [ebp - 0x86c]
mov esi, dword [ebp - 0x880]
mov byte [ebp - 4], 9
cmp ebx, 7
jbe 0x4117be
lea ecx, [ebx*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4117b4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abb
push ecx
push esi
call fcn.004accfd
add esp, 8
xor eax, eax
mov dword [ebp - 0x870], 0
cmp dword [ebp - 0x884], 7
mov word [ebp - 0x880], ax
lea eax, [ebp - 0x898]
mov dword [ebp - 0x86c], 7
jbe 0x4117f0
mov eax, dword [ebp - 0x898]
mov ebx, dword [ebp - 0x8d0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x8a4], eax
cmp word [eax], 0
je 0x411819
lea eax, [ebp - 0x8c8]
push eax
push 0
push 0x436
push ebx
call edi
lea ecx, [ebp - 0x898]
call fcn.004027a0
mov edx, dword [ebp - 0x8dc]
mov esi, dword [ebp - 0x8e0]
inc edx
mov dword [ebp - 0x8dc], edx
cmp edx, dword [ebp - 0x8d4]
jge 0x411574
jmp 0x411620
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push ebx
call edi
push 0
push 0
push 0x146
push ebx
mov dword [ebp - 0x8ec], eax
call edi
xor esi, esi
mov dword [ebp - 0x8e8], eax
mov dword [ebp - 0x8e0], esi
test eax, eax
jle 0x411a6f
push 0
push esi
push 0x149
push ebx
call edi
xor ebx, ebx
inc eax
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.004ad065
push ebx
mov edi, eax
push 0
push edi
mov dword [ebp - 0x8d4], edi
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x8f4], edi
mov eax, dword [ebp - 0x8d0]
push edi
push esi
push 0x148
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411901
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x828]
call fcn.00403450
mov ecx, dword [ebp - 0x8cc]
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x834]
mov byte [ebp - 4], 4
push eax
call fcn.00404ea0
mov edi, dword [ebp - 0x82c]
cmp byte [edi + 0xd], 0
jne 0x4119a9
cmp dword [edi + 0x24], 7
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x411954
mov eax, dword [eax]
mov ebx, dword [ebp - 0x814]
lea ecx, [ebp - 0x828]
mov esi, dword [ebp - 0x828]
cmp ebx, 7
jbe 0x41196d
mov ecx, esi
push edx
mov edx, dword [ebp - 0x818]
push eax
call fcn.00405130
add esp, 8
test eax, eax
je 0x411988
shr eax, 0x1f
test al, al
jne 0x4119a9
mov eax, dword [ebp - 0x8cc]
cmp edi, dword [eax]
je 0x4119a9
cmp dword [edi + 0x38], 0
je 0x4119a9
lea eax, [edi + 0x28]
push eax
lea ecx, [ebp - 0x850]
call fcn.004024d0
jmp 0x4119c7
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x850]
call fcn.004024d0
mov ebx, dword [ebp - 0x814]
mov esi, dword [ebp - 0x828]
mov byte [ebp - 4], 3
cmp ebx, 7
jbe 0x4119ff
lea ecx, [ebx*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4119f5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411abb
push ecx
push esi
call fcn.004accfd
add esp, 8
cmp dword [ebp - 0x83c], 7
lea eax, [ebp - 0x850]
jbe 0x411a14
mov eax, dword [ebp - 0x850]
mov esi, dword [ebp - 0x8e0]
mov ebx, dword [ebp - 0x8d0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
push 0x14a
push ebx
call edi
push 0
lea eax, [esi + 1]
push eax
push 0x144
mov esi, eax
push ebx
mov dword [ebp - 0x8e0], esi
call edi
lea ecx, [ebp - 0x850]
call fcn.004027a0
mov byte [ebp - 4], 1
push dword [ebp - 0x8d4]
call fcn.004ad06e
add esp, 4
cmp esi, dword [ebp - 0x8e8]
jl 0x411882
push 0
push dword [ebp - 0x8ec]
push 0x14e
push ebx
call edi
lea ecx, [ebp - 0x868]
call fcn.004027a0
push dword [ebp - 0x8e4]
call fcn.004ad06e
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004accbf
mov esp, ebp
pop ebp
ret 8
call fcn.004b306f
int3