Function at 0x46cb10
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x70]
mov al, byte [ebx + 4]
push ebp
mov ebp, dword [esp + 0x70]
push esi
push edi
mov edi, ecx
cmp al, 0xa
je 0x46cb35
cmp al, 2
je 0x46cb35
lea eax, [ebx + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x46cb3c
lea ecx, [ebp + 0x5c]
mov dword [esp + 0x1c], ecx
cmp word [edi], 0
mov byte [esp + 0x13], 0
je 0x46e7dc
jmp 0x46cb50
movzx eax, word [edi]
cmp eax, 0x2d
jne 0x46cb5f
mov byte [esp + 0x78], 0
jmp 0x46cb69
mov byte [esp + 0x78], 1
cmp eax, 0x2b
jne 0x46cb6c
add edi, 2
movzx eax, word [edi]
test ax, ax
je 0x46e7dc
mov esi, edi
lea ebx, [ebx]
movzx edx, ax
mov ecx, 0x4b3b04
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x46cc00
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x46cb90
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x46cb80
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46cbb2
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], edi
je 0x46e7b5
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
xor edx, edx
push str.Section
push edi
mov dword [esp + 0x20], ecx
mov word [eax], dx
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cc06
mov byte [ebp + 0x192], 1
jmp case.0x46df6e.7
mov dword [esp + 0x14], esi
jmp 0x46cbc8
push str.AltSubmit
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cc31
cmp byte [ebx + 4], 0xc
je 0x46cc31
cmp byte [esp + 0x78], al
je 0x46d550
or byte [ebx + 5], 2
jmp case.0x46df6e.7
push 7
push str.Checked
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46ccbf
add edi, 0xe
push str.Gray
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cc6e
movzx eax, byte [esp + 0x78]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp + 0x6c], eax
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xa
jne 0x46cc8d
cmp byte [esp + 0x78], 0
je 0x46cc84
or dword [ebp + 0x10], 4
jmp case.0x46df6e.7
and dword [ebp + 0x10], 0xfffffffb
jmp case.0x46df6e.7
cmp word [edi], 0
je 0x46ccb2
mov esi, edi
call fcn.00414390
mov dword [ebp + 0x6c], eax
cmp eax, 0xffffffff
jne case.0x46df6e.7
mov dword [ebp + 0x6c], 2
jmp case.0x46df6e.7
movzx ecx, byte [esp + 0x78]
mov dword [ebp + 0x6c], ecx
jmp case.0x46df6e.7
push 6
push str.Choose
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46cd78
cmp byte [esp + 0x78], al
je case.0x46df6e.7
movzx eax, byte [ebx + 4]
add edi, 0xc
sub eax, 0xd
je 0x46cd34
dec eax
je 0x46cd0f
mov esi, edi
call fcn.00414390
mov dword [ebp + 0x34], eax
cmp eax, 1
jge case.0x46df6e.7
mov dword [ebp + 0x34], 0
jmp case.0x46df6e.7
lea eax, [ebp + 0x140]
mov ecx, edi
call fcn.0047f1c0
mov dword [ebp + 0x180], eax
cmp eax, 3
jne case.0x46df6e.7
or dword [ebp], 2
jmp case.0x46df6e.7
push str.None
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cd52
mov dword [ebp + 0x34], 2
jmp case.0x46df6e.7
push 1
lea esi, [ebp + 0x140]
mov eax, edi
call fcn.0047f250
add esp, 4
test eax, eax
je case.0x46df6e.7
mov dword [ebp + 0x34], 1
jmp case.0x46df6e.7
push str.Border
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cda8
cmp byte [esp + 0x78], al
je 0x46cd9c
or dword [ebp], 0x800000
jmp case.0x46df6e.7
or dword [ebp + 4], 0x800000
jmp case.0x46df6e.7
push str.VScroll
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cdd8
cmp byte [esp + 0x78], al
je 0x46cdcc
or dword [ebp], 0x200000
jmp case.0x46df6e.7
or dword [ebp + 4], 0x200000
jmp case.0x46df6e.7
push 7
push str.HScroll
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46ce44
cmp byte [ebx + 4], 0xb
jne 0x46ce08
cmp byte [esp + 0x78], al
je 0x46d2a6
or dword [ebp + 4], 0x8000
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46ce38
or dword [ebp], 0x100000
cmp word [edi + 0xe], 0
je 0x46ce2d
lea esi, [edi + 0xe]
call fcn.00414390
mov dword [ebp + 0x68], eax
jmp case.0x46df6e.7
or eax, 0xffffffff
mov dword [ebp + 0x68], eax
jmp case.0x46df6e.7
or dword [ebp + 4], 0x100000
jmp case.0x46df6e.7
push str.Tabstop
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46ce68
cmp byte [esp + 0x78], al
je 0x46ce80
or dword [ebp], 0x10000
jmp case.0x46df6e.7
push str.NoTab
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46ce8c
cmp byte [esp + 0x78], al
je 0x46ce5c
or dword [ebp + 4], 0x10000
jmp case.0x46df6e.7
push str.Group
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46ceb5
cmp byte [esp + 0x78], 0
je 0x46d145
or dword [ebp], 0x20000
jmp case.0x46df6e.7
push str.Redraw
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46cede
xor edx, edx
cmp byte [esp + 0x78], dl
sete dl
add edx, 3
mov dword [ebp + 0x188], edx
jmp case.0x46df6e.7
push 8
push str.Disabled
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46cf56
cmp word [edi + 0x10], ax
je 0x46cf0f
lea esi, [edi + 0x10]
call fcn.00414390
test eax, eax
jne 0x46cf0f
cmp byte [esp + 0x78], al
sete al
mov byte [esp + 0x78], al
mov eax, dword [ebx]
test eax, eax
je 0x46cf36
xor ecx, ecx
cmp byte [esp + 0x78], cl
sete cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esp + 0x78], 0
je 0x46cf4d
or byte [ebx + 5], 0x10
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46cf46
or dword [ebp], 0x8000000
jmp 0x46cf26
or dword [ebp + 4], 0x8000000
and byte [ebx + 5], 0xef
jmp case.0x46df6e.7
push 6
push str.Hidden
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46cfd2
cmp word [edi + 0xc], ax
je 0x46cf87
lea esi, [edi + 0xc]
call fcn.00414390
test eax, eax
jne 0x46cf87
cmp byte [esp + 0x78], al
sete dl
mov byte [esp + 0x78], dl
mov eax, dword [ebx]
test eax, eax
je 0x46cfb2
xor ecx, ecx
cmp byte [esp + 0x78], cl
setne cl
dec ecx
and ecx, 4
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0x78], 0
je 0x46cfc9
or byte [ebx + 5], 8
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46cfc2
or dword [ebp + 4], 0x10000000
jmp 0x46cfa2
or dword [ebp], 0x10000000
and byte [ebx + 5], 0xf7
jmp case.0x46df6e.7
push str.Wrap
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d057
movzx eax, byte [ebx + 4]
dec eax
cmp eax, 0x12
ja case.0x46df6e.7
movzx edx, byte [eax + 0x46ee64]
jmp dword [edx*4 + 0x46ee4c]
cmp byte [esp + 0x78], 0
je 0x46d010
or dword [ebp + 4], 0x1f
jmp case.0x46df6e.7
mov eax, dword [ebp]
and eax, 0xffffffec
or eax, 0xc
mov dword [ebp], eax
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d034
or dword [ebp + 4], 0x100080
jmp case.0x46df6e.7
or dword [ebp], 0x80
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d464
or dword [ebp], 0x200
jmp case.0x46df6e.7
push 0xa
push str.Background
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d10e
movzx eax, byte [ebx + 4]
add eax, 0xfffffff6
add edi, 0x14
cmp eax, 0xf
ja case.0x46d085.12
movzx ecx, byte [eax + 0x46ee80]
jmp dword [ecx*4 + 0x46ee78]
cmp byte [esp + 0x78], 0
je 0x46d0c2
mov esi, edi
call fcn.00480940
mov dword [ebp + 0x60], eax
cmp eax, 0xffffffff
jne case.0x46df6e.7
push 0x10
push 0
push edi
call fcn.0049ba2d
add esp, 0xc
mov ecx, eax
call fcn.0043bb30
mov dword [ebp + 0x60], eax
jmp case.0x46df6e.7
mov dword [ebp + 0x60], 0xff000000
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d0fd
and byte [ebx + 5], 0xdf
push str.Trans
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d0f4
or byte [ebx + 5], 0x40
jmp case.0x46df6e.7
and byte [ebx + 5], 0xbf
jmp case.0x46df6e.7
mov dl, byte [ebx + 5]
and dl, 0xbf
or dl, 0x20
mov byte [ebx + 5], dl
jmp case.0x46df6e.7
push str.Group
push edi
call fcn.00499409
add esp, 8
test eax, eax
je 0x46ce9e
push str.Theme
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d151
mov al, byte [esp + 0x78]
mov byte [ebp + 0x193], al
jmp case.0x46df6e.7
or dword [ebp + 4], 0x20000
jmp case.0x46df6e.7
push 4
push str.Hwnd
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d17e
push 3
push eax
add edi, 8
push edi
mov ecx, 0x4da6c0
call fcn.0042d090
mov dword [ebp + 0x1c], eax
jmp case.0x46df6e.7
push 4
push str.Icon
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d1d5
add edi, 8
cmp byte [ebx + 4], 0xa
jne 0x46d1bb
push str.Small
push edi
call fcn.00499409
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [ebp + 0x14], eax
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je case.0x46df6e.7
mov esi, edi
call fcn.00414390
mov dword [ebp + 0x70], eax
jmp case.0x46df6e.7
push str.Report
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d1f3
mov dword [ebp + 0x14], 1
jmp case.0x46df6e.7
push str.List
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d211
mov dword [ebp + 0x14], 3
jmp case.0x46df6e.7
push str.Tile
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d23b
cmp byte [0x4db392], al
je case.0x46df6e.7
mov dword [ebp + 0x14], 4
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xa
jne 0x46d2f1
push 0x4bc618
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d26d
cmp byte [esp + 0x78], al
je 0x46d5fa
or dword [ebp + 4], 0x4000
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xa
jne 0x46d2f1
push 6
push str.NoSort
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d2c1
push 0x4bc618
add edi, 0xc
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d2b2
cmp byte [esp + 0x78], al
je 0x46cdfc
or dword [ebp], 0x8000
jmp case.0x46df6e.7
mov cl, byte [esp + 0x78]
mov byte [ebp + 0x194], cl
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xa
jne 0x46d2f1
push str.Grid
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d2f1
cmp byte [esp + 0x78], al
je 0x46d2e8
or dword [ebp + 0x10], 1
jmp case.0x46df6e.7
and dword [ebp + 0x10], 0xfffffffe
jmp case.0x46df6e.7
push 5
push 0x4b5e30
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d315
lea esi, [edi + 0xa]
call fcn.00414390
mov dword [ebp + 0x64], eax
jmp case.0x46df6e.7
mov esi, 2
push esi
push 0x4cdbb8
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d365
push eax
push eax
push eax
push eax
lea eax, [edi + 4]
call fcn.0047f5d0
add esp, 0x10
test eax, eax
je case.0x46df6e.7
lea esi, [edi + 4]
call fcn.00404040
cmp byte [esp + 0x78], 0
je 0x46d35b
or dword [ebp + 0x10], eax
jmp case.0x46df6e.7
not eax
and dword [ebp + 0x10], eax
jmp case.0x46df6e.7
push 9
push str.ImageList
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d393
cmp byte [esp + 0x78], al
je case.0x46df6e.7
lea esi, [edi + 0x12]
call fcn.00404040
mov dword [ebp + 0x18], eax
jmp case.0x46df6e.7
cmp byte [ebx + 4], 4
jne 0x46d3bf
push str.Default
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d3bf
cmp byte [esp + 0x78], 0
je case.0x46dd46.11
or dword [ebp], 1
jmp case.0x46df6e.7
cmp byte [ebx + 4], 5
jne 0x46d3ea
push str.Check3
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d3ea
cmp byte [esp + 0x78], al
je 0x46d902
or dword [ebp], 6
jmp case.0x46df6e.7
push str.ReadOnly
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d484
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 3
ja case.0x46df6e.7
jmp dword [eax*4 + 0x46ee90]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je case.0x46d4a6.9
movzx ecx, byte [esp + 0x78]
push 0
push ecx
push 0xcf
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d44d
or dword [ebp], 0x800
jmp case.0x46df6e.7
or dword [ebp + 4], 0x800
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d04b
or dword [ebp + 4], 0x200
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d62a
or dword [ebp + 4], 8
jmp case.0x46df6e.7
push str.Multi
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d4cd
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 5
ja case.0x46df6e.7
jmp dword [eax*4 + 0x46eea0]
cmp byte [esp + 0x78], 0
je 0x46d4c4
or dword [ebp], 4
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d4b4
or dword [ebp + 4], 4
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xc
jne 0x46d559
push str.WantReturn
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d507
cmp byte [esp + 0x78], al
je 0x46d4fb
or dword [ebp], 0x1000
jmp case.0x46df6e.7
or dword [ebp + 4], 0x1000
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xc
jne 0x46d559
push str.WantTab
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d52e
cmp byte [esp + 0x78], al
je 0x46d57c
or byte [ebx + 5], 0x80
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xc
jne 0x46d559
push str.WantCtrlA
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d559
cmp byte [esp + 0x78], al
je 0x46cc28
and byte [ebx + 5], 0xfd
jmp case.0x46df6e.7
mov al, byte [ebx + 4]
cmp al, 0xa
je 0x46d564
cmp al, 0xb
jne 0x46d585
push str.WantF2
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d585
cmp byte [esp + 0x78], al
je 0x46d525
and byte [ebx + 5], 0x7f
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xc
jne 0x46d5b4
push str.Number
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d5b4
cmp byte [esp + 0x78], 0
je 0x46d64a
or dword [ebp], 0x2000
jmp case.0x46df6e.7
push str.Lowercase
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d606
mov bl, byte [ebx + 4]
cmp bl, 0xc
jne 0x46d5e1
cmp byte [esp + 0x78], al
je 0x46d83f
or dword [ebp], 0x10
jmp case.0x46df6e.7
cmp bl, 8
je case.0x46d410.9
cmp bl, 7
jne case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d261
or dword [ebp], 0x4000
jmp case.0x46df6e.7
push str.Uppercase
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d656
mov bl, byte [ebx + 4]
cmp bl, 0xc
jne 0x46d633
cmp byte [esp + 0x78], al
je case.0x46dd46.16
or dword [ebp], 8
jmp case.0x46df6e.7
cmp bl, 8
je case.0x46cff9.3
cmp bl, 7
jne case.0x46df6e.7
jmp case.0x46cff9.3
or dword [ebp + 4], 0x2000
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0xc
jne 0x46d6cf
push 8
push str.Password
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d6cf
mov dx, word [edi + 0x10]
mov word [ebp + 0x18c], dx
cmp byte [esp + 0x78], al
je 0x46d6ab
or dword [ebp], 0x20
mov ebx, dword [ebx]
test ebx, ebx
je 0x46d6c5
movzx eax, dx
push 0
test ax, ax
jne 0x46d6a8
movzx eax, byte [0x4db392]
neg eax
sbb eax, eax
and eax, 0x25a5
add eax, 0x2a
push eax
jmp 0x46d6b9
or dword [ebp + 4], 0x20
mov ebx, dword [ebx]
test ebx, ebx
je 0x46d6c5
push 0
push 0
push 0xcc
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x13], 1
jmp case.0x46df6e.7
push 5
push str.Limit
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d716
cmp byte [esp + 0x78], al
je 0x46d70a
cmp word [edi + 0xa], ax
je 0x46d6ff
lea esi, [edi + 0xa]
call fcn.00414390
mov dword [ebp + 0x64], eax
jmp case.0x46df6e.7
or eax, 0xffffffff
mov dword [ebp + 0x64], eax
jmp case.0x46df6e.7
mov dword [ebp + 0x64], connect
jmp case.0x46df6e.7
cmp byte [ebx + 4], 8
jne 0x46d741
push str.Simple
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d741
cmp byte [esp + 0x78], al
je case.0x46dd46.11
or dword [ebp], 1
jmp case.0x46df6e.7
push 4
push str.Sort
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d7b2
movzx eax, byte [ebx + 4]
add eax, 0xfffffff9
cmp eax, 3
ja case.0x46df6e.7
jmp dword [eax*4 + 0x46eeb8]
cmp byte [esp + 0x78], 0
je case.0x46de52.11
or dword [ebp], esi
jmp case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d7a9
push str.Desc
add edi, 8
push edi
call fcn.00499409
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x20
or dword [ebp], eax
jmp case.0x46df6e.7
or dword [ebp + 4], 0x30
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x10
jne 0x46d7e5
push str.Horz
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d7e5
cmp byte [esp + 0x78], al
je 0x46d973
mov edx, dword [ebp]
and edx, 0xffffffef
or edx, 0x40
mov dword [ebp], edx
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x11
jne 0x46d8a0
push str.Invert
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d814
cmp byte [esp + 0x78], al
je 0x46d57c
or byte [ebx + 5], 0x80
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x11
jne 0x46d8a0
push str.NoTicks
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46d848
cmp byte [esp + 0x78], al
je 0x46d83f
or dword [ebp], 0x10
jmp case.0x46df6e.7
or dword [ebp + 4], 0x10
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x11
jne 0x46d8a0
push 0xc
push str.TickInterval
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d8a0
mov byte [ebp + 0x190], 1
cmp byte [esp + 0x78], al
je 0x46d890
or dword [ebp], 1
cmp word [edi + 0x18], ax
lea esi, [edi + 0x18]
setne al
mov byte [ebp + 0x191], al
call fcn.00414390
mov dword [ebp + 0x40], eax
jmp case.0x46df6e.7
or dword [ebp + 4], 1
mov dword [ebp + 0x40], 0xffffffff
jmp case.0x46df6e.7
push 4
push str.Line
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d90b
mov bl, byte [ebx + 4]
cmp bl, 0x11
jne 0x46d8d6
cmp byte [esp + 0x78], al
je case.0x46df6e.7
lea esi, [edi + 8]
call fcn.00414390
mov dword [ebp + 0x44], eax
jmp case.0x46df6e.7
cmp bl, 0xb
jne case.0x46df6e.7
mov ax, word [edi + 8]
call fcn.0040eec0
cmp ax, 0x53
jne case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d902
or dword [ebp], 6
jmp case.0x46df6e.7
or dword [ebp + 4], 6
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x11
jne 0x46d97c
push 4
push str.Page
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d93f
cmp byte [esp + 0x78], al
je case.0x46df6e.7
lea esi, [edi + 8]
call fcn.00414390
mov dword [ebp + 0x48], eax
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x11
jne 0x46d97c
push 5
push str.Thick
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46d97c
cmp byte [esp + 0x78], al
je 0x46d973
or dword [ebp], 0x40
lea esi, [edi + 0xa]
call fcn.00414390
mov dword [ebp + 0x4c], eax
jmp case.0x46df6e.7
or dword [ebp + 4], 0x40
jmp case.0x46df6e.7
push 7
push str.ToolTip
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46da19
cmp byte [ebx + 4], 0x11
jne case.0x46df6e.7
cmp byte [esp + 0x78], al
je 0x46dfa1
mov dword [ebp + 0x50], 0xffffffff
mov ax, word [edi + 0xe]
call fcn.0040eec0
movzx eax, ax
add eax, 0xffffffbe
cmp eax, 0x12
ja case.0x46d9ca.67
movzx ecx, byte [eax + 0x46eedc]
jmp dword [ecx*4 + 0x46eec8]
mov dword [ebp + 0x50], 0
jmp case.0x46d9ca.67
mov dword [ebp + 0x50], 1
jmp case.0x46d9ca.67
mov dword [ebp + 0x50], esi
jmp case.0x46d9ca.67
mov dword [ebp + 0x50], 3
mov eax, dword [ebp + 0x50]
test eax, eax
jns 0x46da09
or dword [ebp], 0x100
mov dword [ebp + 0x50], 0
jmp case.0x46df6e.7
inc eax
or dword [ebp], 0x100
mov dword [ebp + 0x50], eax
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x11
jne 0x46dac5
push 5
push str.Buddy
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46dac5
cmp byte [esp + 0x78], al
je case.0x46df6e.7
movzx ebx, word [edi + 0xa]
test bx, bx
je case.0x46df6e.7
push eax
push 1
push eax
push eax
add edi, 0xc
push edi
mov ecx, 0x4da6c0
call fcn.0042d0f0
test eax, eax
je case.0x46df6e.7
cmp byte [eax + 0x17], 0
jne 0x46da76
mov eax, dword [eax + 0xc]
test byte [eax + 0x16], 2
jne case.0x46df6e.7
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x10]
lea edx, [ecx - 1]
cmp edx, ecx
jae case.0x46df6e.7
mov edi, dword [esp + 0x74]
lea esi, [edx + edx*4]
add esi, esi
add esi, esi
lea ecx, [ecx]
mov ecx, dword [edi + 0x18]
add ecx, esi
cmp dword [ecx + 8], eax
jne 0x46dab7
cmp ebx, 0x31
jne 0x46dab4
mov dword [ebp + 0x54], ecx
jmp 0x46dab7
mov dword [ebp + 0x58], ecx
dec edx
sub esi, 0x14
cmp edx, dword [edi + 0x10]
jb 0x46daa0
jmp case.0x46df6e.7
push str.Vertical
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46db0e
mov bl, byte [ebx + 4]
cmp bl, 0x11
jne 0x46daf1
cmp byte [esp + 0x78], al
je case.0x46de52.11
or dword [ebp], esi
jmp case.0x46df6e.7
cmp bl, 0x12
jne case.0x46df6e.7
cmp byte [esp + 0x78], 0
je 0x46d4c4
or dword [ebp], 4
jmp case.0x46df6e.7
push 5
push str.Range
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46dbd6
cmp byte [esp + 0x78], al
je case.0x46df6e.7
cmp word [edi + 0xa], ax
je case.0x46df6e.7
mov edx, dword [esp + 0x7c]
mov al, byte [edx + 4]
cmp al, 0xd
je 0x46db81
cmp al, 0xe
je 0x46db81
lea esi, [edi + 0xa]
mov byte [ebp + 0x18e], 1
call fcn.00414390
push 0x2d
add edi, 0xc
push edi
mov dword [ebp + 0x38], eax
call fcn.0049a399
add esp, 8
test eax, eax
je case.0x46df6e.7
lea esi, [eax + 2]
call fcn.00414390
mov dword [ebp + 0x3c], eax
jmp case.0x46df6e.7
lea esi, [ebp + 0x160]
mov eax, esi
lea ecx, [edi + 0xa]
call fcn.0047f1c0
mov dword [ebp + 0x184], eax
test eax, eax
je case.0x46df6e.7
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
test ecx, ecx
je case.0x46df6e.7
push esi
push eax
mov eax, dword [esp + 0x84]
xor edx, edx
cmp byte [eax + 4], 0xd
setne dl
dec edx
and edx, 0xfffffff2
add edx, 0x1012
push edx
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x12
jne 0x46dc01
push str.Smooth
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46dc01
cmp byte [esp + 0x78], al
je case.0x46dd46.11
or dword [ebp], 1
jmp case.0x46df6e.7
push str.Buttons
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46dc4f
mov bl, byte [ebx + 4]
cmp bl, 0x13
jne 0x46dc32
cmp byte [esp + 0x78], 0
je 0x46dfa1
or dword [ebp], 0x100
jmp case.0x46df6e.7
cmp bl, 0xb
jne case.0x46df6e.7
cmp byte [esp + 0x78], 0
je case.0x46dd46.11
or dword [ebp], 1
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x13
jne 0x46dc80
push str.Bottom
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46dc80
cmp byte [esp + 0x78], al
je case.0x46de52.11
or dword [ebp], esi
or dword [ebp + 4], 0x80
jmp case.0x46df6e.7
cmp byte [ebx + 4], 0x18
jne 0x46dccb
push 5
push str.Class
push edi
call fcn.00499b8a
add esp, 0xc
test eax, eax
jne 0x46dccb
mov edx, dword [0x4d9694]
lea ecx, [esp + 0x40]
push ecx
add edi, 0xa
push edi
push edx
call dword [sym.imp.USER32.dll_GetClassInfoExW]
mov word [ebp + 0x198], ax
test ax, ax
jne case.0x46df6e.7
push edi
push str.Unregistered_window_class.
jmp 0x46e880
push str.Center
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46dd9c
movzx eax, byte [ebx + 4]
dec eax
cmp byte [esp + 0x78], 0
je 0x46dd36
cmp eax, 0x10
ja case.0x46df6e.7
movzx eax, byte [eax + 0x46ef04]
jmp dword [eax*4 + 0x46eef0]
or dword [ebp], 8
or dword [ebp + 4], 4
jmp case.0x46df6e.7
or dword [ebp], 1
or dword [ebp + 4], 0x1e
jmp case.0x46df6e.7
or dword [ebp], 0x300
jmp case.0x46df6e.7
or dword [ebp], 1
or dword [ebp + 4], esi
jmp case.0x46df6e.7
cmp eax, 0x10
ja case.0x46df6e.7
movzx ecx, byte [eax + 0x46ef2c]
jmp dword [ecx*4 + 0x46ef18]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46dd78
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
jne case.0x46df6e.7
or dword [ebp + 4], eax
jmp case.0x46df6e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
jne case.0x46df6e.7
and eax, 0xfffffcff
mov dword [ebp], eax
jmp case.0x46df6e.7
push str.Right
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46dece
movzx eax, byte [ebx + 4]
dec eax
cmp byte [esp + 0x78], 0
je 0x46de42
cmp eax, 0x16
ja case.0x46df6e.7
movzx edx, byte [eax + 0x46ef60]
jmp dword [edx*4 + 0x46ef40]
or dword [ebp + 4], 8
or dword [ebp], 4
jmp case.0x46df6e.7
or dword [ebp], esi
or dword [ebp + 4], 0x1d
jmp case.0x46df6e.7
or dword [ebp], 0x200
or dword [ebp + 4], 0x100
mov eax, dword [esp + 0x7c]
mov al, byte [eax + 4]
mov ecx, dword [ebp]
cmp al, 5
je 0x46de16
cmp al, 6
jne case.0x46df6e.7
or ecx, 0x20
mov dword [ebp], ecx
jmp case.0x46df6e.7
or dword [ebp], esi
or dword [ebp + 4], 1
jmp case.0x46df6e.7
or dword [ebp], 0x282
jmp case.0x46df6e.7
or dword [ebp], 0x20
jmp case.0x46df6e.7
cmp eax, 0x12
ja case.0x46df6e.7
movzx ecx, byte [eax + 0x46ef94]
jmp dword [ecx*4 + 0x46ef78]
or dword [ebp + 4], 0x20
jmp case.0x46df6e.7
or dword [ebp], 4
or dword [ebp + 4], 8
jmp case.0x46df6e.7
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46de9e
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
je case.0x46df6e.7
or dword [ebp + 4], 0x200
jmp case.0x46df6e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
je case.0x46df6e.7
and eax, 0xfffffdff
mov dword [ebp], eax
jmp case.0x46df6e.7
or dword [ebp + 4], 0x82
jmp case.0x46df6e.7
push str.Left
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46dfd1
cmp byte [esp + 0x78], 0
movzx eax, byte [ebx + 4]
je 0x46df5b
dec eax
cmp eax, 0x12
ja case.0x46df6e.7
movzx edx, byte [eax + 0x46efc8]
jmp dword [edx*4 + 0x46efa8]
or dword [ebp + 4], 4
or dword [ebp], 8
jmp case.0x46df6e.7
or dword [ebp + 4], 0x200
or dword [ebp], 0x100
mov eax, dword [esp + 0x7c]
mov al, byte [eax + 4]
mov ecx, dword [ebp + 4]
cmp al, 5
je 0x46df38
cmp al, 6
jne case.0x46df6e.7
or ecx, 0x20
mov dword [ebp + 4], ecx
jmp case.0x46df6e.7
or dword [ebp + 4], 3
jmp case.0x46df6e.7
or dword [ebp], 0x280
or dword [ebp + 4], esi
jmp case.0x46df6e.7
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x46df6e.7
movzx ecx, byte [eax + 0x46efec]
jmp dword [ecx*4 + 0x46efdc]
or dword [ebp + 4], 0xc
jmp case.0x46df6e.7
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46dfad
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
je case.0x46df6e.7
or dword [ebp + 4], 0x100
jmp case.0x46df6e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
je case.0x46df6e.7
and eax, 0xfffffeff
mov dword [ebp], eax
jmp case.0x46df6e.7
push 0
push 0
push 1
push 0
mov eax, edi
call fcn.0047f5d0
add esp, 0x10
test eax, eax
je 0x46e005
mov esi, edi
call fcn.00404040
cmp byte [esp + 0x78], 0
je 0x46dffd
or dword [ebp], eax
jmp 0x46e7a9
or dword [ebp + 4], eax
jmp 0x46e7a9
add edi, esi
cmp word [edi], 0
jne 0x46e0cb
cmp byte [esp + 0x78], 0
je 0x46e036
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46e036
cmp byte [eax + 0x17], 0
jne 0x46e02c
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x46e0cb
mov ax, word [edi - 2]
call fcn.0040eec0
movzx eax, ax
cmp eax, 0x43
je 0x46e094
cmp eax, 0x47
je 0x46e06d
cmp eax, 0x56
jne 0x46e877
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], 0
mov word [ecx], ax
jmp 0x46e7b5
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x46e07c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0xc], 0
mov word [ecx], ax
jmp 0x46e7b5
cmp byte [esp + 0x78], 0
jne 0x46e0ba
cmp byte [ebx + 4], 2
je 0x46e0ba
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0xff000000
je 0x46e0ba
mov dword [eax], 0xff000000
mov byte [ebp + 0x18f], 1
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
jmp 0x46e7b5
mov ax, word [edi - 2]
call fcn.0040eec0
movzx eax, ax
add eax, 0xffffffbd
cmp eax, 0x16
ja case.0x46e0ea.68
movzx edx, byte [eax + 0x46f028]
jmp dword [edx*4 + 0x46f000]
mov al, byte [ebx + 4]
cmp al, 3
je 0x46e827
cmp al, 0x12
je 0x46e827
mov eax, dword [esp + 0x84]
push 4
mov ebx, 0x4da6c0
call fcn.004238e0
mov ebx, eax
test ebx, ebx
jne 0x46e13d
push 0x4b5854
push edi
call fcn.00499409
add esp, 8
test eax, eax
jne 0x46e81c
mov eax, dword [esp + 0x7c]
or byte [eax + 5], 1
jmp 0x46e141
mov eax, dword [esp + 0x7c]
mov al, byte [eax + 4]
cmp al, 1
je 0x46e14c
cmp al, 2
jne 0x46e153
or dword [ebp], 0x100
mov esi, dword [esp + 0x7c]
add esi, 0xc
mov edi, ebx
call fcn.004013c0
jmp case.0x46df6e.7
cmp dword [ebp + 0x13c], 0x32
jae case.0x46df6e.7
mov esi, edi
call fcn.00404040
mov ecx, dword [ebp + 0x13c]
mov dword [ebp + ecx*4 + 0x74], eax
inc dword [ebp + 0x13c]
jmp case.0x46df6e.7
push 3
push 0
push edi
mov ecx, 0x4da6c0
call fcn.0042d090
test eax, eax
je 0x46e88a
cmp byte [eax + 0x17], 0
jne 0x46e1af
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x16]
and dl, 0x22
cmp dl, 2
je 0x46e82e
mov ecx, dword [esp + 0x74]
xor edx, edx
cmp dword [ecx + 0x10], edx
jbe 0x46e1e4
mov ecx, dword [ecx + 0x18]
mov esi, dword [esp + 0x74]
add ecx, 8
cmp dword [ecx], eax
je 0x46e839
inc edx
add ecx, 0x14
cmp edx, dword [esi + 0x10]
jb 0x46e1d3
mov dword [ebx + 8], eax
jmp case.0x46df6e.7
cmp byte [ebx + 4], 2
je case.0x46df6e.7
mov esi, edi
call fcn.00480940
cmp eax, 0xffffffff
jne 0x46e216
push 0x10
push 0
push edi
call fcn.0049ba2d
add esp, 0xc
mov ecx, eax
call fcn.0043bb30
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], eax
jne 0x46e229
lea edx, [ebp + 0x5c]
cmp ecx, edx
jne case.0x46df6e.7
mov dword [ecx], eax
mov byte [ebp + 0x18f], 1
jmp case.0x46df6e.7
mov ax, word [edi]
call fcn.0040eec0
cmp ax, 0x50
jne 0x46e27a
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e26a
mov ecx, dword [0x4da6ac]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi + 0x88]
add edx, eax
mov dword [ebp + 0x28], edx
jmp case.0x46df6e.7
mov esi, edi
call fcn.00414390
mov ecx, dword [esp + 0x74]
call fcn.00466450
mov dword [ebp + 0x28], eax
jmp case.0x46df6e.7
mov ax, word [edi]
call fcn.0040eec0
cmp ax, 0x50
jne 0x46e2d5
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e2c5
mov ecx, dword [0x4da6ac]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi + 0x8c]
add edx, eax
mov dword [ebp + 0x2c], edx
jmp case.0x46df6e.7
mov esi, edi
call fcn.00414390
mov ecx, dword [esp + 0x74]
call fcn.00466450
mov dword [ebp + 0x2c], eax
jmp case.0x46df6e.7
movzx eax, word [edi]
cmp eax, 0x2b
jne 0x46e3c9
mov ax, word [edi + 2]
call fcn.0040eec0
cmp ax, 0x4d
jne 0x46e311
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 0x78]
jmp 0x46e338
lea esi, [edi + 2]
call fcn.00414390
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e336
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov eax, dword [esp + 0x7c]
mov bl, byte [eax + 6]
mov ecx, dword [esp + 0x74]
call fcn.004736a0
mov edi, eax
test edi, edi
je 0x46e399
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 7]
mov ecx, dword [esp + 0x74]
call fcn.00473820
test eax, eax
jne 0x46e399
mov ecx, dword [esp + 0x74]
mov edx, edi
lea edi, [esp + 0x20]
call fcn.00473930
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, esi
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], ecx
jne case.0x46df6e.7
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x7c]
add ecx, eax
mov dword [ebp + 0x24], ecx
jmp case.0x46df6e.7
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x88]
add edx, dword [eax + 0x80]
add edx, esi
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], edx
jne case.0x46df6e.7
mov ecx, dword [eax + 0x84]
mov dword [ebp + 0x24], ecx
jmp case.0x46df6e.7
call fcn.0040eec0
cmp ax, 0x4d
jne 0x46e421
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e3f9
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esi + 0x78]
add ecx, eax
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], ecx
jne case.0x46df6e.7
mov eax, esi
mov edx, dword [eax + 0x94]
add edx, dword [eax + 0x7c]
mov dword [ebp + 0x24], edx
jmp case.0x46df6e.7
mov ax, word [edi]
call fcn.0040eec0
cmp ax, 0x50
jne 0x46e47c
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e454
mov ecx, dword [0x4da6ac]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi + 0x80]
add edx, eax
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], edx
jne case.0x46df6e.7
mov eax, esi
mov ecx, dword [eax + 0x84]
mov dword [ebp + 0x24], ecx
jmp case.0x46df6e.7
mov ax, word [edi]
call fcn.0040eec0
cmp ax, 0x53
jne 0x46e4da
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e4af
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esi + 0x98]
add ecx, eax
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], ecx
jne case.0x46df6e.7
mov eax, esi
mov edx, dword [eax + 0xa4]
add edx, dword [eax + 0x7c]
mov dword [ebp + 0x24], edx
jmp case.0x46df6e.7
mov esi, edi
call fcn.00414390
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e4fe
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], eax
jne case.0x46df6e.7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x94]
add ecx, dword [eax + 0x7c]
mov dword [ebp + 0x24], ecx
jmp case.0x46df6e.7
movzx eax, word [edi]
cmp eax, 0x2b
jne 0x46e603
mov ax, word [edi + 2]
call fcn.0040eec0
cmp ax, 0x4d
jne 0x46e547
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x7c]
jmp 0x46e56c
lea esi, [edi + 2]
call fcn.00414390
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e56c
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x7c]
mov bl, byte [eax + 6]
mov ecx, edi
call fcn.004736a0
mov esi, eax
test esi, esi
je 0x46e5d5
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 7]
mov ecx, edi
call fcn.00473820
test eax, eax
jne 0x46e5d5
mov ecx, dword [esp + 0x74]
mov edx, esi
lea edi, [esp + 0x28]
call fcn.00473930
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x78]
add edx, eax
cmp dword [ebp + 0x20], 0x80000000
mov dword [ebp + 0x24], edx
jne case.0x46df6e.7
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x78]
add edx, ecx
mov dword [ebp + 0x20], edx
jmp case.0x46df6e.7
mov eax, dword [edi + 0x8c]
add eax, dword [edi + 0x84]
add eax, dword [esp + 0x78]
cmp dword [ebp + 0x20], 0x80000000
mov dword [ebp + 0x24], eax
jne case.0x46df6e.7
mov ecx, dword [edi + 0x80]
mov dword [ebp + 0x20], ecx
jmp case.0x46df6e.7
call fcn.0040eec0
cmp ax, 0x4d
jne 0x46e65b
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e633
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esi + 0x7c]
add ecx, eax
cmp dword [ebp + 0x20], 0x80000000
mov dword [ebp + 0x24], ecx
jne case.0x46df6e.7
mov eax, esi
mov edx, dword [eax + 0x90]
add edx, dword [eax + 0x78]
mov dword [ebp + 0x20], edx
jmp case.0x46df6e.7
mov ax, word [edi]
call fcn.0040eec0
cmp ax, 0x50
jne 0x46e6b6
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e68e
mov ecx, dword [0x4da6ac]
push 0x60
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esi + 0x84]
add edx, eax
cmp dword [ebp + 0x20], 0x80000000
mov dword [ebp + 0x24], edx
jne case.0x46df6e.7
mov eax, esi
mov ecx, dword [eax + 0x80]
mov dword [ebp + 0x20], ecx
jmp case.0x46df6e.7
mov ax, word [edi]
call fcn.0040eec0
cmp ax, 0x53
jne 0x46e714
lea esi, [edi + 2]
call fcn.00414390
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e6e9
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esi + 0x9c]
add ecx, eax
cmp dword [ebp + 0x20], 0x80000000
mov dword [ebp + 0x24], ecx
jne case.0x46df6e.7
mov eax, esi
mov edx, dword [eax + 0xa0]
add edx, dword [eax + 0x78]
mov dword [ebp + 0x20], edx
jmp case.0x46df6e.7
mov esi, edi
call fcn.00414390
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e738
mov edx, dword [0x4da6ac]
push 0x60
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [ebp + 0x20], 0x80000000
mov dword [ebp + 0x24], eax
jne case.0x46df6e.7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x90]
add ecx, dword [eax + 0x78]
mov dword [ebp + 0x20], ecx
jmp case.0x46df6e.7
mov esi, edi
call fcn.0041a400
fstp dword [ebp + 0x30]
jmp case.0x46df6e.7
mov ax, word [edi - 2]
call fcn.0040eec0
cmp ax, 0x45
jne 0x46e877
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.0047f5d0
add esp, 0x10
test eax, eax
je 0x46e877
mov esi, edi
call fcn.00404040
cmp byte [esp + 0x78], 0
je 0x46e7a2
or dword [ebp + 8], eax
jmp case.0x46df6e.7
or dword [ebp + 0xc], eax
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
mov dx, word [esp + 0x18]
mov word [eax], dx
mov edi, dword [esp + 0x14]
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x46e7cd
cmp eax, 9
jne 0x46e7d2
add edi, 2
jmp 0x46e7c0
cmp word [edi], 0
jne 0x46cb50
mov eax, dword [ebx]
test eax, eax
je 0x46ee3d
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov esi, eax
or eax, ecx
not edx
and eax, edx
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 4]
add eax, 0xfffffffe
mov dword [esp + 0x18], esi
cmp eax, 8
ja case.0x46e815.9
jmp dword [eax*4 + 0x46f040]
mov ebx, dword [esp + 0x7c]
mov eax, str.Target_label_does_not_exist.
jmp 0x46e83e
mov eax, str.This_control_type_should_not_have_an_associated_subroutine.
jmp 0x46e83e
add edi, 0xfffffffe
push edi
push str.A_controls_variable_must_be_global_or_static.
jmp 0x46e880
mov eax, str.The_same_variable_cannot_be_used_for_more_than_one_control.
mov cx, word [esp + 0x18]
mov edx, dword [esp + 0x14]
mov word [edx], cx
cmp dword [ebx], 0
je 0x46e85e
call fcn.0040f0d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
add edi, 0xfffffffe
push edi
push eax
mov ecx, 0x4da6c0
call fcn.0043a380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
add edi, 0xfffffffe
push edi
push str.Invalid_option.
mov ecx, 0x4da6c0
call fcn.0043a380
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
mov eax, dword [esp + 0x14]
mov edx, eax
xor edx, esi
and edx, 0xf
xor eax, edx
mov dword [esp + 0x14], eax
jmp 0x46e91b
mov eax, dword [esp + 0x14]
and eax, 0xfffffff7
or eax, 7
mov dword [esp + 0x14], eax
jmp 0x46e91b
mov eax, dword [esp + 0x14]
test al, 1
je 0x46e8d5
and eax, 0xfffffff1
or eax, 1
jmp 0x46e8d8
and eax, 0xfffffff0
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
cmp edi, eax
jne 0x46e973
test byte [ebp + 4], 1
je case.0x46e815.9
mov ecx, dword [esi + 4]
push 0
push 1
push 0x401
push ecx
mov dword [esi + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [esp + 0x18], 1
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x46eaba
mov cl, byte [ebx + 4]
cmp cl, 0xc
jne 0x46ea8c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
test eax, eax
jns 0x46ea7f
mov edx, dword [ebx]
push 0
push 0xc5
push edx
call edi
cmp dword [ebp + 0x64], 0x80000000
je 0x46eac0
test byte [esp + 0x14], 4
jne 0x46eac0
and dword [esp + 0x14], 0xffefff7f
jmp 0x46eac0
test cl, 1
je case.0x46e815.9
cmp eax, dword [esi + 0x10]
jae 0x46e9af
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 0
mov dword [esi + 0x1c], edi
add edi, 3
push edi
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46e815.9
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 6
cmp cl, 6
jne 0x46e9e9
and eax, 0xfffffff6
or eax, 6
mov dword [esp + 0x14], eax
jmp 0x46e91b
and eax, 0xfffffff3
or eax, 3
mov dword [esp + 0x14], eax
jmp 0x46e91b
mov edx, dword [esp + 0x14]
and edx, 0xfffffff9
or edx, 9
mov dword [esp + 0x14], edx
jmp 0x46e91b
or dword [esp + 0x14], 3
jmp 0x46e91b
mov eax, dword [esp + 0x14]
test al, 1
je 0x46ea2c
and eax, 0xfffffff1
or eax, 1
mov dword [esp + 0x14], eax
jmp 0x46e91b
and eax, 0xfffffff2
or eax, 2
mov dword [esp + 0x14], eax
jmp 0x46e91b
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
je case.0x46e815.9
cmp byte [0x4db392], 0
je 0x46ea61
push 0
push eax
mov eax, dword [ebx]
push 0x108e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x14]
cmp eax, 4
je 0x46e91b
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x46e91b
push eax
mov eax, dword [ebx]
push 0xc5
push eax
call edi
jmp 0x46eac0
cmp cl, 0xf
jne 0x46eaba
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jns 0x46eaab
mov ecx, dword [ebx]
push 0
push 0
push 0x403
push ecx
call edi
jmp 0x46eac0
mov edx, dword [ebx]
push 6
push eax
push 0x403
push edx
call edi
jmp 0x46eac0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x84], 0
cmp esi, ecx
je 0x46ebaf
mov al, byte [ebx + 4]
mov byte [esp + 0x84], 1
mov byte [esp + 0x78], 0
cmp al, 4
je 0x46eb63
cmp al, 9
je 0x46eb0b
cmp al, 0x12
jne 0x46eb75
mov eax, dword [ebx]
push 0
push 0
push 0x408
push eax
call edi
mov dword [esp + 0x80], eax
jmp 0x46eb75
mov eax, ecx
and eax, 0x100000
je 0x46eb4b
test esi, 0x100000
jne 0x46eb4b
cmp dword [ebp + 0x68], 0
jge 0x46eb3e
mov edx, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
lea eax, [eax + eax*2]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x68]
push 0
push ecx
push 0x194
jmp 0x46eb70
test eax, eax
jne 0x46eb75
test esi, 0x100000
je 0x46eb75
push eax
push eax
mov eax, dword [ebx]
push 0x194
push eax
jmp 0x46eb73
movzx ecx, word [esp + 0x14]
push 1
push ecx
push 0xf4
mov edx, dword [ebx]
push edx
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x46eb9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46ebaf
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, esi
je 0x46ebaf
mov byte [esp + 0x78], 1
mov eax, dword [ebx]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, eax
or edi, esi
not ecx
and edi, ecx
cmp esi, edi
je 0x46ec19
cmp byte [esp + 0x84], 0
jne 0x46ebe3
mov byte [esp + 0x84], 1
mov byte [esp + 0x78], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebx]
push edi
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x46ec05
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46ec19
mov eax, dword [ebx]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, esi
je 0x46ec19
mov byte [esp + 0x78], 1
cmp byte [ebx + 4], 0xa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x46ec77
mov ecx, dword [ebx]
push 0
push 0
push 0x1037
push ecx
call esi
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp edi, eax
je 0x46ec77
cmp byte [esp + 0x84], 0
jne 0x46ec53
mov byte [esp + 0x84], 1
mov byte [esp + 0x78], 0
mov edx, dword [ebx]
push eax
push 0
push 0x1036
push edx
call esi
mov eax, dword [ebx]
push 0
push 0
push 0x1037
push eax
call esi
cmp eax, edi
je 0x46ec77
mov byte [esp + 0x78], 1
cmp byte [esp + 0x84], 0
je 0x46ec8d
cmp byte [esp + 0x78], 0
je 0x46ec8d
mov byte [esp + 0x13], 1
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 0x10
ja case.0x46eca4.13
movzx ecx, byte [eax + 0x46f088]
jmp dword [ecx*4 + 0x46f064]
cmp byte [ebp + 0x18e], 0
je case.0x46eca4.13
mov ecx, ebp
mov eax, ebx
call fcn.00472e40
jmp case.0x46eca4.13
mov eax, ebp
mov esi, ebx
call fcn.00472f20
test dword [ebp + 4], 0x100
je case.0x46eca4.13
mov edx, dword [ebx]
push 0
push 0
push 0x41d
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46eca4.13
mov edi, dword [esp + 0x7c]
mov eax, ebp
call fcn.00473030
mov ebx, edi
jmp case.0x46eca4.13
mov esi, dword [esp + 0x7c]
mov edi, ebp
call fcn.004730e0
mov ebx, esi
jmp case.0x46eca4.13
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov eax, ebp
mov ecx, ebx
call fcn.00473130
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
je case.0x46eca4.13
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx]
push 0
push eax
push 0x402
push ecx
jmp 0x46ed9b
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.0x46eca4.13
lea edx, [ebp + 0x74]
push edx
push eax
mov eax, dword [ebx]
push 0xcb
push eax
call esi
mov byte [esp + 0x13], 1
jmp case.0x46eca4.13
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.0x46eca4.13
mov edx, dword [ebx]
lea ecx, [ebp + 0x74]
push ecx
push eax
push 0x192
push edx
call esi
mov byte [esp + 0x13], 1
jmp case.0x46eca4.13
mov eax, dword [ebp + 0x60]
cmp eax, 0xffffffff
je case.0x46eca4.13
push eax
mov eax, dword [ebx]
push 0
push 0x2001
push eax
call esi
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x46edcc
mov edx, dword [ebx]
xor ecx, ecx
cmp eax, 3
sete cl
push 0
push ecx
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x188], 3
jne 0x46edcc
cmp byte [ebx + 4], 0xb
jne 0x46edd3
cmp byte [esp + 0x13], 0
je 0x46ede0
mov eax, dword [ebx]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esp + 0x84], 0
je 0x46ee3d
cmp byte [esp + 0x78], 0
jne 0x46ee3d
mov ecx, dword [0x4d5b14]
test byte [ecx + 0x100], 1
jne 0x46ee26
mov edx, dword [0x4d9ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b360c
push edx
call fcn.00482b00
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
mov ebx, dword [0x4dacf4]
push 0x4af9bc
push 0
push 0x4b360c
call fcn.00439c30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret 0x14