Function at 0x46c720
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 0x46c745
cmp al, 2
je 0x46c745
lea eax, [ebx + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x46c74c
lea ecx, [ebp + 0x5c]
mov dword [esp + 0x1c], ecx
cmp word [edi], 0
mov byte [esp + 0x13], 0
je 0x46e3ec
jmp 0x46c760
movzx eax, word [edi]
cmp eax, 0x2d
jne 0x46c76f
mov byte [esp + 0x78], 0
jmp 0x46c779
mov byte [esp + 0x78], 1
cmp eax, 0x2b
jne 0x46c77c
add edi, 2
movzx eax, word [edi]
test ax, ax
je 0x46e3ec
mov esi, edi
lea ebx, [ebx]
movzx edx, ax
mov ecx, 0x4b3a64
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x46c810
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x46c7a0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x46c790
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46c7c2
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], edi
je 0x46e3c5
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.00498e69
add esp, 8
test eax, eax
jne 0x46c816
mov byte [ebp + 0x192], 1
jmp case.0x46db7e.7
mov dword [esp + 0x14], esi
jmp 0x46c7d8
push str.AltSubmit
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46c841
cmp byte [ebx + 4], 0xc
je 0x46c841
cmp byte [esp + 0x78], al
je 0x46d160
or byte [ebx + 5], 2
jmp case.0x46db7e.7
push 7
push str.Checked
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46c8cf
add edi, 0xe
push str.Gray
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46c87e
movzx eax, byte [esp + 0x78]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp + 0x6c], eax
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xa
jne 0x46c89d
cmp byte [esp + 0x78], 0
je 0x46c894
or dword [ebp + 0x10], 4
jmp case.0x46db7e.7
and dword [ebp + 0x10], 0xfffffffb
jmp case.0x46db7e.7
cmp word [edi], 0
je 0x46c8c2
mov esi, edi
call fcn.00414120
mov dword [ebp + 0x6c], eax
cmp eax, 0xffffffff
jne case.0x46db7e.7
mov dword [ebp + 0x6c], 2
jmp case.0x46db7e.7
movzx ecx, byte [esp + 0x78]
mov dword [ebp + 0x6c], ecx
jmp case.0x46db7e.7
push 6
push str.Choose
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46c988
cmp byte [esp + 0x78], al
je case.0x46db7e.7
movzx eax, byte [ebx + 4]
add edi, 0xc
sub eax, 0xd
je 0x46c944
dec eax
je 0x46c91f
mov esi, edi
call fcn.00414120
mov dword [ebp + 0x34], eax
cmp eax, 1
jge case.0x46db7e.7
mov dword [ebp + 0x34], 0
jmp case.0x46db7e.7
lea eax, [ebp + 0x140]
mov ecx, edi
call fcn.0047ed70
mov dword [ebp + 0x180], eax
cmp eax, 3
jne case.0x46db7e.7
or dword [ebp], 2
jmp case.0x46db7e.7
push str.None
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46c962
mov dword [ebp + 0x34], 2
jmp case.0x46db7e.7
push 1
lea esi, [ebp + 0x140]
mov eax, edi
call fcn.0047ee00
add esp, 4
test eax, eax
je case.0x46db7e.7
mov dword [ebp + 0x34], 1
jmp case.0x46db7e.7
push str.Border
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46c9b8
cmp byte [esp + 0x78], al
je 0x46c9ac
or dword [ebp], 0x800000
jmp case.0x46db7e.7
or dword [ebp + 4], 0x800000
jmp case.0x46db7e.7
push str.VScroll
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46c9e8
cmp byte [esp + 0x78], al
je 0x46c9dc
or dword [ebp], 0x200000
jmp case.0x46db7e.7
or dword [ebp + 4], 0x200000
jmp case.0x46db7e.7
push 7
push str.HScroll
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46ca54
cmp byte [ebx + 4], 0xb
jne 0x46ca18
cmp byte [esp + 0x78], al
je 0x46ceb6
or dword [ebp + 4], 0x8000
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46ca48
or dword [ebp], 0x100000
cmp word [edi + 0xe], 0
je 0x46ca3d
lea esi, [edi + 0xe]
call fcn.00414120
mov dword [ebp + 0x68], eax
jmp case.0x46db7e.7
or eax, 0xffffffff
mov dword [ebp + 0x68], eax
jmp case.0x46db7e.7
or dword [ebp + 4], 0x100000
jmp case.0x46db7e.7
push str.Tabstop
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46ca78
cmp byte [esp + 0x78], al
je 0x46ca90
or dword [ebp], 0x10000
jmp case.0x46db7e.7
push str.NoTab
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46ca9c
cmp byte [esp + 0x78], al
je 0x46ca6c
or dword [ebp + 4], 0x10000
jmp case.0x46db7e.7
push str.Group
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cac5
cmp byte [esp + 0x78], 0
je 0x46cd55
or dword [ebp], 0x20000
jmp case.0x46db7e.7
push str.Redraw
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46caee
xor edx, edx
cmp byte [esp + 0x78], dl
sete dl
add edx, 3
mov dword [ebp + 0x188], edx
jmp case.0x46db7e.7
push 8
push str.Disabled
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cb66
cmp word [edi + 0x10], ax
je 0x46cb1f
lea esi, [edi + 0x10]
call fcn.00414120
test eax, eax
jne 0x46cb1f
cmp byte [esp + 0x78], al
sete al
mov byte [esp + 0x78], al
mov eax, dword [ebx]
test eax, eax
je 0x46cb46
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 0x46cb5d
or byte [ebx + 5], 0x10
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46cb56
or dword [ebp], 0x8000000
jmp 0x46cb36
or dword [ebp + 4], 0x8000000
and byte [ebx + 5], 0xef
jmp case.0x46db7e.7
push 6
push str.Hidden
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cbe2
cmp word [edi + 0xc], ax
je 0x46cb97
lea esi, [edi + 0xc]
call fcn.00414120
test eax, eax
jne 0x46cb97
cmp byte [esp + 0x78], al
sete dl
mov byte [esp + 0x78], dl
mov eax, dword [ebx]
test eax, eax
je 0x46cbc2
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 0x46cbd9
or byte [ebx + 5], 8
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46cbd2
or dword [ebp + 4], 0x10000000
jmp 0x46cbb2
or dword [ebp], 0x10000000
and byte [ebx + 5], 0xf7
jmp case.0x46db7e.7
push str.Wrap
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cc67
movzx eax, byte [ebx + 4]
dec eax
cmp eax, 0x12
ja case.0x46db7e.7
movzx edx, byte [eax + 0x46ea74]
jmp dword [edx*4 + 0x46ea5c]
cmp byte [esp + 0x78], 0
je 0x46cc20
or dword [ebp + 4], 0x1f
jmp case.0x46db7e.7
mov eax, dword [ebp]
and eax, 0xffffffec
or eax, 0xc
mov dword [ebp], eax
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46cc44
or dword [ebp + 4], 0x100080
jmp case.0x46db7e.7
or dword [ebp], 0x80
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d074
or dword [ebp], 0x200
jmp case.0x46db7e.7
push 0xa
push str.Background
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cd1e
movzx eax, byte [ebx + 4]
add eax, 0xfffffff6
add edi, 0x14
cmp eax, 0xf
ja case.0x46cc95.12
movzx ecx, byte [eax + 0x46ea90]
jmp dword [ecx*4 + 0x46ea88]
cmp byte [esp + 0x78], 0
je 0x46ccd2
mov esi, edi
call fcn.004804f0
mov dword [ebp + 0x60], eax
cmp eax, 0xffffffff
jne case.0x46db7e.7
push 0x10
push 0
push edi
call fcn.0049b48d
add esp, 0xc
mov ecx, eax
call fcn.0043b8d0
mov dword [ebp + 0x60], eax
jmp case.0x46db7e.7
mov dword [ebp + 0x60], 0xff000000
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46cd0d
and byte [ebx + 5], 0xdf
push str.Trans
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cd04
or byte [ebx + 5], 0x40
jmp case.0x46db7e.7
and byte [ebx + 5], 0xbf
jmp case.0x46db7e.7
mov dl, byte [ebx + 5]
and dl, 0xbf
or dl, 0x20
mov byte [ebx + 5], dl
jmp case.0x46db7e.7
push str.Group
push edi
call fcn.00498e69
add esp, 8
test eax, eax
je 0x46caae
push str.Theme
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cd61
mov al, byte [esp + 0x78]
mov byte [ebp + 0x193], al
jmp case.0x46db7e.7
or dword [ebp + 4], 0x20000
jmp case.0x46db7e.7
push 4
push str.Hwnd
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cd8e
push 3
push eax
add edi, 8
push edi
mov ecx, 0x4d96d0
call fcn.0042cde0
mov dword [ebp + 0x1c], eax
jmp case.0x46db7e.7
push 4
push str.Icon
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cde5
add edi, 8
cmp byte [ebx + 4], 0xa
jne 0x46cdcb
push str.Small
push edi
call fcn.00498e69
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [ebp + 0x14], eax
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je case.0x46db7e.7
mov esi, edi
call fcn.00414120
mov dword [ebp + 0x70], eax
jmp case.0x46db7e.7
push str.Report
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46ce03
mov dword [ebp + 0x14], 1
jmp case.0x46db7e.7
push str.List
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46ce21
mov dword [ebp + 0x14], 3
jmp case.0x46db7e.7
push str.Tile
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46ce4b
cmp byte [0x4da382], al
je case.0x46db7e.7
mov dword [ebp + 0x14], 4
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xa
jne 0x46cf01
push 0x4bc500
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46ce7d
cmp byte [esp + 0x78], al
je 0x46d20a
or dword [ebp + 4], 0x4000
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xa
jne 0x46cf01
push 6
push str.NoSort
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46ced1
push 0x4bc500
add edi, 0xc
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cec2
cmp byte [esp + 0x78], al
je 0x46ca0c
or dword [ebp], 0x8000
jmp case.0x46db7e.7
mov cl, byte [esp + 0x78]
mov byte [ebp + 0x194], cl
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xa
jne 0x46cf01
push str.Grid
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cf01
cmp byte [esp + 0x78], al
je 0x46cef8
or dword [ebp + 0x10], 1
jmp case.0x46db7e.7
and dword [ebp + 0x10], 0xfffffffe
jmp case.0x46db7e.7
push 5
push 0x4b5d6c
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cf25
lea esi, [edi + 0xa]
call fcn.00414120
mov dword [ebp + 0x64], eax
jmp case.0x46db7e.7
mov esi, 2
push esi
push 0x4cdaa0
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cf75
push eax
push eax
push eax
push eax
lea eax, [edi + 4]
call fcn.0047f180
add esp, 0x10
test eax, eax
je case.0x46db7e.7
lea esi, [edi + 4]
call fcn.00403fa0
cmp byte [esp + 0x78], 0
je 0x46cf6b
or dword [ebp + 0x10], eax
jmp case.0x46db7e.7
not eax
and dword [ebp + 0x10], eax
jmp case.0x46db7e.7
push 9
push str.ImageList
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46cfa3
cmp byte [esp + 0x78], al
je case.0x46db7e.7
lea esi, [edi + 0x12]
call fcn.00403fa0
mov dword [ebp + 0x18], eax
jmp case.0x46db7e.7
cmp byte [ebx + 4], 4
jne 0x46cfcf
push str.Default
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cfcf
cmp byte [esp + 0x78], 0
je case.0x46d956.11
or dword [ebp], 1
jmp case.0x46db7e.7
cmp byte [ebx + 4], 5
jne 0x46cffa
push str.Check3
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46cffa
cmp byte [esp + 0x78], al
je 0x46d512
or dword [ebp], 6
jmp case.0x46db7e.7
push str.ReadOnly
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d094
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 3
ja case.0x46db7e.7
jmp dword [eax*4 + 0x46eaa0]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je case.0x46d0b6.9
movzx ecx, byte [esp + 0x78]
push 0
push ecx
push 0xcf
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d05d
or dword [ebp], 0x800
jmp case.0x46db7e.7
or dword [ebp + 4], 0x800
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46cc5b
or dword [ebp + 4], 0x200
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d23a
or dword [ebp + 4], 8
jmp case.0x46db7e.7
push str.Multi
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d0dd
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 5
ja case.0x46db7e.7
jmp dword [eax*4 + 0x46eab0]
cmp byte [esp + 0x78], 0
je 0x46d0d4
or dword [ebp], 4
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d0c4
or dword [ebp + 4], 4
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d169
push str.WantReturn
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d117
cmp byte [esp + 0x78], al
je 0x46d10b
or dword [ebp], 0x1000
jmp case.0x46db7e.7
or dword [ebp + 4], 0x1000
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d169
push str.WantTab
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d13e
cmp byte [esp + 0x78], al
je 0x46d18c
or byte [ebx + 5], 0x80
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d169
push str.WantCtrlA
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d169
cmp byte [esp + 0x78], al
je 0x46c838
and byte [ebx + 5], 0xfd
jmp case.0x46db7e.7
mov al, byte [ebx + 4]
cmp al, 0xa
je 0x46d174
cmp al, 0xb
jne 0x46d195
push str.WantF2
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d195
cmp byte [esp + 0x78], al
je 0x46d135
and byte [ebx + 5], 0x7f
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d1c4
push str.Number
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d1c4
cmp byte [esp + 0x78], 0
je 0x46d25a
or dword [ebp], 0x2000
jmp case.0x46db7e.7
push str.Lowercase
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d216
mov bl, byte [ebx + 4]
cmp bl, 0xc
jne 0x46d1f1
cmp byte [esp + 0x78], al
je 0x46d44f
or dword [ebp], 0x10
jmp case.0x46db7e.7
cmp bl, 8
je case.0x46d020.9
cmp bl, 7
jne case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46ce71
or dword [ebp], 0x4000
jmp case.0x46db7e.7
push str.Uppercase
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d266
mov bl, byte [ebx + 4]
cmp bl, 0xc
jne 0x46d243
cmp byte [esp + 0x78], al
je case.0x46d956.16
or dword [ebp], 8
jmp case.0x46db7e.7
cmp bl, 8
je case.0x46cc09.3
cmp bl, 7
jne case.0x46db7e.7
jmp case.0x46cc09.3
or dword [ebp + 4], 0x2000
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d2df
push 8
push str.Password
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d2df
mov dx, word [edi + 0x10]
mov word [ebp + 0x18c], dx
cmp byte [esp + 0x78], al
je 0x46d2bb
or dword [ebp], 0x20
mov ebx, dword [ebx]
test ebx, ebx
je 0x46d2d5
movzx eax, dx
push 0
test ax, ax
jne 0x46d2b8
movzx eax, byte [0x4da382]
neg eax
sbb eax, eax
and eax, 0x25a5
add eax, 0x2a
push eax
jmp 0x46d2c9
or dword [ebp + 4], 0x20
mov ebx, dword [ebx]
test ebx, ebx
je 0x46d2d5
push 0
push 0
push 0xcc
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x13], 1
jmp case.0x46db7e.7
push 5
push str.Limit
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d326
cmp byte [esp + 0x78], al
je 0x46d31a
cmp word [edi + 0xa], ax
je 0x46d30f
lea esi, [edi + 0xa]
call fcn.00414120
mov dword [ebp + 0x64], eax
jmp case.0x46db7e.7
or eax, 0xffffffff
mov dword [ebp + 0x64], eax
jmp case.0x46db7e.7
mov dword [ebp + 0x64], connect
jmp case.0x46db7e.7
cmp byte [ebx + 4], 8
jne 0x46d351
push str.Simple
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d351
cmp byte [esp + 0x78], al
je case.0x46d956.11
or dword [ebp], 1
jmp case.0x46db7e.7
push 4
push str.Sort
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d3c2
movzx eax, byte [ebx + 4]
add eax, 0xfffffff9
cmp eax, 3
ja case.0x46db7e.7
jmp dword [eax*4 + 0x46eac8]
cmp byte [esp + 0x78], 0
je case.0x46da62.11
or dword [ebp], esi
jmp case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d3b9
push str.Desc
add edi, 8
push edi
call fcn.00498e69
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x20
or dword [ebp], eax
jmp case.0x46db7e.7
or dword [ebp + 4], 0x30
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x10
jne 0x46d3f5
push str.Horz
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d3f5
cmp byte [esp + 0x78], al
je 0x46d583
mov edx, dword [ebp]
and edx, 0xffffffef
or edx, 0x40
mov dword [ebp], edx
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d4b0
push str.Invert
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d424
cmp byte [esp + 0x78], al
je 0x46d18c
or byte [ebx + 5], 0x80
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d4b0
push str.NoTicks
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d458
cmp byte [esp + 0x78], al
je 0x46d44f
or dword [ebp], 0x10
jmp case.0x46db7e.7
or dword [ebp + 4], 0x10
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d4b0
push 0xc
push str.TickInterval
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d4b0
mov byte [ebp + 0x190], 1
cmp byte [esp + 0x78], al
je 0x46d4a0
or dword [ebp], 1
cmp word [edi + 0x18], ax
lea esi, [edi + 0x18]
setne al
mov byte [ebp + 0x191], al
call fcn.00414120
mov dword [ebp + 0x40], eax
jmp case.0x46db7e.7
or dword [ebp + 4], 1
mov dword [ebp + 0x40], 0xffffffff
jmp case.0x46db7e.7
push 4
push str.Line
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d51b
mov bl, byte [ebx + 4]
cmp bl, 0x11
jne 0x46d4e6
cmp byte [esp + 0x78], al
je case.0x46db7e.7
lea esi, [edi + 8]
call fcn.00414120
mov dword [ebp + 0x44], eax
jmp case.0x46db7e.7
cmp bl, 0xb
jne case.0x46db7e.7
mov ax, word [edi + 8]
call fcn.0040ec40
cmp ax, 0x53
jne case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d512
or dword [ebp], 6
jmp case.0x46db7e.7
or dword [ebp + 4], 6
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d58c
push 4
push str.Page
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d54f
cmp byte [esp + 0x78], al
je case.0x46db7e.7
lea esi, [edi + 8]
call fcn.00414120
mov dword [ebp + 0x48], eax
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d58c
push 5
push str.Thick
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d58c
cmp byte [esp + 0x78], al
je 0x46d583
or dword [ebp], 0x40
lea esi, [edi + 0xa]
call fcn.00414120
mov dword [ebp + 0x4c], eax
jmp case.0x46db7e.7
or dword [ebp + 4], 0x40
jmp case.0x46db7e.7
push 7
push str.ToolTip
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d629
cmp byte [ebx + 4], 0x11
jne case.0x46db7e.7
cmp byte [esp + 0x78], al
je 0x46dbb1
mov dword [ebp + 0x50], 0xffffffff
mov ax, word [edi + 0xe]
call fcn.0040ec40
movzx eax, ax
add eax, 0xffffffbe
cmp eax, 0x12
ja case.0x46d5da.67
movzx ecx, byte [eax + 0x46eaec]
jmp dword [ecx*4 + 0x46ead8]
mov dword [ebp + 0x50], 0
jmp case.0x46d5da.67
mov dword [ebp + 0x50], 1
jmp case.0x46d5da.67
mov dword [ebp + 0x50], esi
jmp case.0x46d5da.67
mov dword [ebp + 0x50], 3
mov eax, dword [ebp + 0x50]
test eax, eax
jns 0x46d619
or dword [ebp], 0x100
mov dword [ebp + 0x50], 0
jmp case.0x46db7e.7
inc eax
or dword [ebp], 0x100
mov dword [ebp + 0x50], eax
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d6d5
push 5
push str.Buddy
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d6d5
cmp byte [esp + 0x78], al
je case.0x46db7e.7
movzx ebx, word [edi + 0xa]
test bx, bx
je case.0x46db7e.7
push eax
push 1
push eax
push eax
add edi, 0xc
push edi
mov ecx, 0x4d96d0
call fcn.0042ce40
test eax, eax
je case.0x46db7e.7
cmp byte [eax + 0x17], 0
jne 0x46d686
mov eax, dword [eax + 0xc]
test byte [eax + 0x16], 2
jne case.0x46db7e.7
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x10]
lea edx, [ecx - 1]
cmp edx, ecx
jae case.0x46db7e.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 0x46d6c7
cmp ebx, 0x31
jne 0x46d6c4
mov dword [ebp + 0x54], ecx
jmp 0x46d6c7
mov dword [ebp + 0x58], ecx
dec edx
sub esi, 0x14
cmp edx, dword [edi + 0x10]
jb 0x46d6b0
jmp case.0x46db7e.7
push str.Vertical
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d71e
mov bl, byte [ebx + 4]
cmp bl, 0x11
jne 0x46d701
cmp byte [esp + 0x78], al
je case.0x46da62.11
or dword [ebp], esi
jmp case.0x46db7e.7
cmp bl, 0x12
jne case.0x46db7e.7
cmp byte [esp + 0x78], 0
je 0x46d0d4
or dword [ebp], 4
jmp case.0x46db7e.7
push 5
push str.Range
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d7e6
cmp byte [esp + 0x78], al
je case.0x46db7e.7
cmp word [edi + 0xa], ax
je case.0x46db7e.7
mov edx, dword [esp + 0x7c]
mov al, byte [edx + 4]
cmp al, 0xd
je 0x46d791
cmp al, 0xe
je 0x46d791
lea esi, [edi + 0xa]
mov byte [ebp + 0x18e], 1
call fcn.00414120
push 0x2d
add edi, 0xc
push edi
mov dword [ebp + 0x38], eax
call fcn.00499df9
add esp, 8
test eax, eax
je case.0x46db7e.7
lea esi, [eax + 2]
call fcn.00414120
mov dword [ebp + 0x3c], eax
jmp case.0x46db7e.7
lea esi, [ebp + 0x160]
mov eax, esi
lea ecx, [edi + 0xa]
call fcn.0047ed70
mov dword [ebp + 0x184], eax
test eax, eax
je case.0x46db7e.7
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
test ecx, ecx
je case.0x46db7e.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.0x46db7e.7
cmp byte [ebx + 4], 0x12
jne 0x46d811
push str.Smooth
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d811
cmp byte [esp + 0x78], al
je case.0x46d956.11
or dword [ebp], 1
jmp case.0x46db7e.7
push str.Buttons
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d85f
mov bl, byte [ebx + 4]
cmp bl, 0x13
jne 0x46d842
cmp byte [esp + 0x78], 0
je 0x46dbb1
or dword [ebp], 0x100
jmp case.0x46db7e.7
cmp bl, 0xb
jne case.0x46db7e.7
cmp byte [esp + 0x78], 0
je case.0x46d956.11
or dword [ebp], 1
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x13
jne 0x46d890
push str.Bottom
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d890
cmp byte [esp + 0x78], al
je case.0x46da62.11
or dword [ebp], esi
or dword [ebp + 4], 0x80
jmp case.0x46db7e.7
cmp byte [ebx + 4], 0x18
jne 0x46d8db
push 5
push str.Class
push edi
call fcn.004995ea
add esp, 0xc
test eax, eax
jne 0x46d8db
mov edx, dword [0x4d8694]
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.0x46db7e.7
push edi
push str.Unregistered_window_class.
jmp 0x46e490
push str.Center
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46d9ac
movzx eax, byte [ebx + 4]
dec eax
cmp byte [esp + 0x78], 0
je 0x46d946
cmp eax, 0x10
ja case.0x46db7e.7
movzx eax, byte [eax + 0x46eb14]
jmp dword [eax*4 + 0x46eb00]
or dword [ebp], 8
or dword [ebp + 4], 4
jmp case.0x46db7e.7
or dword [ebp], 1
or dword [ebp + 4], 0x1e
jmp case.0x46db7e.7
or dword [ebp], 0x300
jmp case.0x46db7e.7
or dword [ebp], 1
or dword [ebp + 4], esi
jmp case.0x46db7e.7
cmp eax, 0x10
ja case.0x46db7e.7
movzx ecx, byte [eax + 0x46eb3c]
jmp dword [ecx*4 + 0x46eb28]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46d988
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
jne case.0x46db7e.7
or dword [ebp + 4], eax
jmp case.0x46db7e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
jne case.0x46db7e.7
and eax, 0xfffffcff
mov dword [ebp], eax
jmp case.0x46db7e.7
push str.Right
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46dade
movzx eax, byte [ebx + 4]
dec eax
cmp byte [esp + 0x78], 0
je 0x46da52
cmp eax, 0x16
ja case.0x46db7e.7
movzx edx, byte [eax + 0x46eb70]
jmp dword [edx*4 + 0x46eb50]
or dword [ebp + 4], 8
or dword [ebp], 4
jmp case.0x46db7e.7
or dword [ebp], esi
or dword [ebp + 4], 0x1d
jmp case.0x46db7e.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 0x46da26
cmp al, 6
jne case.0x46db7e.7
or ecx, 0x20
mov dword [ebp], ecx
jmp case.0x46db7e.7
or dword [ebp], esi
or dword [ebp + 4], 1
jmp case.0x46db7e.7
or dword [ebp], 0x282
jmp case.0x46db7e.7
or dword [ebp], 0x20
jmp case.0x46db7e.7
cmp eax, 0x12
ja case.0x46db7e.7
movzx ecx, byte [eax + 0x46eba4]
jmp dword [ecx*4 + 0x46eb88]
or dword [ebp + 4], 0x20
jmp case.0x46db7e.7
or dword [ebp], 4
or dword [ebp + 4], 8
jmp case.0x46db7e.7
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46daae
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
je case.0x46db7e.7
or dword [ebp + 4], 0x200
jmp case.0x46db7e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
je case.0x46db7e.7
and eax, 0xfffffdff
mov dword [ebp], eax
jmp case.0x46db7e.7
or dword [ebp + 4], 0x82
jmp case.0x46db7e.7
push str.Left
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46dbe1
cmp byte [esp + 0x78], 0
movzx eax, byte [ebx + 4]
je 0x46db6b
dec eax
cmp eax, 0x12
ja case.0x46db7e.7
movzx edx, byte [eax + 0x46ebd8]
jmp dword [edx*4 + 0x46ebb8]
or dword [ebp + 4], 4
or dword [ebp], 8
jmp case.0x46db7e.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 0x46db48
cmp al, 6
jne case.0x46db7e.7
or ecx, 0x20
mov dword [ebp + 4], ecx
jmp case.0x46db7e.7
or dword [ebp + 4], 3
jmp case.0x46db7e.7
or dword [ebp], 0x280
or dword [ebp + 4], esi
jmp case.0x46db7e.7
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x46db7e.7
movzx ecx, byte [eax + 0x46ebfc]
jmp dword [ecx*4 + 0x46ebec]
or dword [ebp + 4], 0xc
jmp case.0x46db7e.7
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46dbbd
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
je case.0x46db7e.7
or dword [ebp + 4], 0x100
jmp case.0x46db7e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
je case.0x46db7e.7
and eax, 0xfffffeff
mov dword [ebp], eax
jmp case.0x46db7e.7
push 0
push 0
push 1
push 0
mov eax, edi
call fcn.0047f180
add esp, 0x10
test eax, eax
je 0x46dc15
mov esi, edi
call fcn.00403fa0
cmp byte [esp + 0x78], 0
je 0x46dc0d
or dword [ebp], eax
jmp 0x46e3b9
or dword [ebp + 4], eax
jmp 0x46e3b9
add edi, esi
cmp word [edi], 0
jne 0x46dcdb
cmp byte [esp + 0x78], 0
je 0x46dc46
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46dc46
cmp byte [eax + 0x17], 0
jne 0x46dc3c
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x46dcdb
mov ax, word [edi - 2]
call fcn.0040ec40
movzx eax, ax
cmp eax, 0x43
je 0x46dca4
cmp eax, 0x47
je 0x46dc7d
cmp eax, 0x56
jne 0x46e487
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], 0
mov word [ecx], ax
jmp 0x46e3c5
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x46dc8c
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 0x46e3c5
cmp byte [esp + 0x78], 0
jne 0x46dcca
cmp byte [ebx + 4], 2
je 0x46dcca
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0xff000000
je 0x46dcca
mov dword [eax], 0xff000000
mov byte [ebp + 0x18f], 1
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
jmp 0x46e3c5
mov ax, word [edi - 2]
call fcn.0040ec40
movzx eax, ax
add eax, 0xffffffbd
cmp eax, 0x16
ja case.0x46dcfa.68
movzx edx, byte [eax + 0x46ec38]
jmp dword [edx*4 + 0x46ec10]
mov al, byte [ebx + 4]
cmp al, 3
je 0x46e437
cmp al, 0x12
je 0x46e437
mov eax, dword [esp + 0x84]
push 4
mov ebx, 0x4d96d0
call fcn.004236f0
mov ebx, eax
test ebx, ebx
jne 0x46dd4d
push 0x4b5790
push edi
call fcn.00498e69
add esp, 8
test eax, eax
jne 0x46e42c
mov eax, dword [esp + 0x7c]
or byte [eax + 5], 1
jmp 0x46dd51
mov eax, dword [esp + 0x7c]
mov al, byte [eax + 4]
cmp al, 1
je 0x46dd5c
cmp al, 2
jne 0x46dd63
or dword [ebp], 0x100
mov esi, dword [esp + 0x7c]
add esi, 0xc
mov edi, ebx
call fcn.00401360
jmp case.0x46db7e.7
cmp dword [ebp + 0x13c], 0x32
jae case.0x46db7e.7
mov esi, edi
call fcn.00403fa0
mov ecx, dword [ebp + 0x13c]
mov dword [ebp + ecx*4 + 0x74], eax
inc dword [ebp + 0x13c]
jmp case.0x46db7e.7
push 3
push 0
push edi
mov ecx, 0x4d96d0
call fcn.0042cde0
test eax, eax
je 0x46e49a
cmp byte [eax + 0x17], 0
jne 0x46ddbf
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x16]
and dl, 0x22
cmp dl, 2
je 0x46e43e
mov ecx, dword [esp + 0x74]
xor edx, edx
cmp dword [ecx + 0x10], edx
jbe 0x46ddf4
mov ecx, dword [ecx + 0x18]
mov esi, dword [esp + 0x74]
add ecx, 8
cmp dword [ecx], eax
je 0x46e449
inc edx
add ecx, 0x14
cmp edx, dword [esi + 0x10]
jb 0x46dde3
mov dword [ebx + 8], eax
jmp case.0x46db7e.7
cmp byte [ebx + 4], 2
je case.0x46db7e.7
mov esi, edi
call fcn.004804f0
cmp eax, 0xffffffff
jne 0x46de26
push 0x10
push 0
push edi
call fcn.0049b48d
add esp, 0xc
mov ecx, eax
call fcn.0043b8d0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], eax
jne 0x46de39
lea edx, [ebp + 0x5c]
cmp ecx, edx
jne case.0x46db7e.7
mov dword [ecx], eax
mov byte [ebp + 0x18f], 1
jmp case.0x46db7e.7
mov ax, word [edi]
call fcn.0040ec40
cmp ax, 0x50
jne 0x46de8a
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46de7a
mov ecx, dword [0x4d96a0]
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.0x46db7e.7
mov esi, edi
call fcn.00414120
mov ecx, dword [esp + 0x74]
call fcn.00466080
mov dword [ebp + 0x28], eax
jmp case.0x46db7e.7
mov ax, word [edi]
call fcn.0040ec40
cmp ax, 0x50
jne 0x46dee5
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46ded5
mov ecx, dword [0x4d96a0]
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.0x46db7e.7
mov esi, edi
call fcn.00414120
mov ecx, dword [esp + 0x74]
call fcn.00466080
mov dword [ebp + 0x2c], eax
jmp case.0x46db7e.7
movzx eax, word [edi]
cmp eax, 0x2b
jne 0x46dfd9
mov ax, word [edi + 2]
call fcn.0040ec40
cmp ax, 0x4d
jne 0x46df21
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 0x78]
jmp 0x46df48
lea esi, [edi + 2]
call fcn.00414120
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46df46
mov edx, dword [0x4d96a0]
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.004732b0
mov edi, eax
test edi, edi
je 0x46dfa9
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 7]
mov ecx, dword [esp + 0x74]
call fcn.00473430
test eax, eax
jne 0x46dfa9
mov ecx, dword [esp + 0x74]
mov edx, edi
lea edi, [esp + 0x20]
call fcn.00473540
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, esi
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], ecx
jne case.0x46db7e.7
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x7c]
add ecx, eax
mov dword [ebp + 0x24], ecx
jmp case.0x46db7e.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.0x46db7e.7
mov ecx, dword [eax + 0x84]
mov dword [ebp + 0x24], ecx
jmp case.0x46db7e.7
call fcn.0040ec40
cmp ax, 0x4d
jne 0x46e031
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e009
mov edx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, esi
mov edx, dword [eax + 0x94]
add edx, dword [eax + 0x7c]
mov dword [ebp + 0x24], edx
jmp case.0x46db7e.7
mov ax, word [edi]
call fcn.0040ec40
cmp ax, 0x50
jne 0x46e08c
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e064
mov ecx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, esi
mov ecx, dword [eax + 0x84]
mov dword [ebp + 0x24], ecx
jmp case.0x46db7e.7
mov ax, word [edi]
call fcn.0040ec40
cmp ax, 0x53
jne 0x46e0ea
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e0bf
mov edx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, esi
mov edx, dword [eax + 0xa4]
add edx, dword [eax + 0x7c]
mov dword [ebp + 0x24], edx
jmp case.0x46db7e.7
mov esi, edi
call fcn.00414120
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e10e
mov edx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x94]
add ecx, dword [eax + 0x7c]
mov dword [ebp + 0x24], ecx
jmp case.0x46db7e.7
movzx eax, word [edi]
cmp eax, 0x2b
jne 0x46e213
mov ax, word [edi + 2]
call fcn.0040ec40
cmp ax, 0x4d
jne 0x46e157
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x7c]
jmp 0x46e17c
lea esi, [edi + 2]
call fcn.00414120
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e17c
mov edx, dword [0x4d96a0]
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.004732b0
mov esi, eax
test esi, esi
je 0x46e1e5
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 7]
mov ecx, edi
call fcn.00473430
test eax, eax
jne 0x46e1e5
mov ecx, dword [esp + 0x74]
mov edx, esi
lea edi, [esp + 0x28]
call fcn.00473540
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.0x46db7e.7
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x78]
add edx, ecx
mov dword [ebp + 0x20], edx
jmp case.0x46db7e.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.0x46db7e.7
mov ecx, dword [edi + 0x80]
mov dword [ebp + 0x20], ecx
jmp case.0x46db7e.7
call fcn.0040ec40
cmp ax, 0x4d
jne 0x46e26b
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e243
mov edx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, esi
mov edx, dword [eax + 0x90]
add edx, dword [eax + 0x78]
mov dword [ebp + 0x20], edx
jmp case.0x46db7e.7
mov ax, word [edi]
call fcn.0040ec40
cmp ax, 0x50
jne 0x46e2c6
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e29e
mov ecx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, esi
mov ecx, dword [eax + 0x80]
mov dword [ebp + 0x20], ecx
jmp case.0x46db7e.7
mov ax, word [edi]
call fcn.0040ec40
cmp ax, 0x53
jne 0x46e324
lea esi, [edi + 2]
call fcn.00414120
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e2f9
mov edx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, esi
mov edx, dword [eax + 0xa0]
add edx, dword [eax + 0x78]
mov dword [ebp + 0x20], edx
jmp case.0x46db7e.7
mov esi, edi
call fcn.00414120
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e348
mov edx, dword [0x4d96a0]
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.0x46db7e.7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x90]
add ecx, dword [eax + 0x78]
mov dword [ebp + 0x20], ecx
jmp case.0x46db7e.7
mov esi, edi
call fcn.0041a190
fstp dword [ebp + 0x30]
jmp case.0x46db7e.7
mov ax, word [edi - 2]
call fcn.0040ec40
cmp ax, 0x45
jne 0x46e487
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.0047f180
add esp, 0x10
test eax, eax
je 0x46e487
mov esi, edi
call fcn.00403fa0
cmp byte [esp + 0x78], 0
je 0x46e3b2
or dword [ebp + 8], eax
jmp case.0x46db7e.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 0x46e3dd
cmp eax, 9
jne 0x46e3e2
add edi, 2
jmp 0x46e3d0
cmp word [edi], 0
jne 0x46c760
mov eax, dword [ebx]
test eax, eax
je 0x46ea4d
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.0x46e425.9
jmp dword [eax*4 + 0x46ec50]
mov ebx, dword [esp + 0x7c]
mov eax, str.Target_label_does_not_exist.
jmp 0x46e44e
mov eax, str.This_control_type_should_not_have_an_associated_subroutine.
jmp 0x46e44e
add edi, 0xfffffffe
push edi
push str.A_controls_variable_must_be_global_or_static.
jmp 0x46e490
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 0x46e46e
call fcn.0040ee50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
add edi, 0xfffffffe
push edi
push eax
mov ecx, 0x4d96d0
call fcn.0043a120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
add edi, 0xfffffffe
push edi
push str.Invalid_option.
mov ecx, 0x4d96d0
call fcn.0043a120
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 0x46e52b
mov eax, dword [esp + 0x14]
and eax, 0xfffffff7
or eax, 7
mov dword [esp + 0x14], eax
jmp 0x46e52b
mov eax, dword [esp + 0x14]
test al, 1
je 0x46e4e5
and eax, 0xfffffff1
or eax, 1
jmp 0x46e4e8
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 0x46e583
test byte [ebp + 4], 1
je case.0x46e425.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 0x46e6ca
mov cl, byte [ebx + 4]
cmp cl, 0xc
jne 0x46e69c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
test eax, eax
jns 0x46e68f
mov edx, dword [ebx]
push 0
push 0xc5
push edx
call edi
cmp dword [ebp + 0x64], 0x80000000
je 0x46e6d0
test byte [esp + 0x14], 4
jne 0x46e6d0
and dword [esp + 0x14], 0xffefff7f
jmp 0x46e6d0
test cl, 1
je case.0x46e425.9
cmp eax, dword [esi + 0x10]
jae 0x46e5bf
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.0x46e425.9
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 6
cmp cl, 6
jne 0x46e5f9
and eax, 0xfffffff6
or eax, 6
mov dword [esp + 0x14], eax
jmp 0x46e52b
and eax, 0xfffffff3
or eax, 3
mov dword [esp + 0x14], eax
jmp 0x46e52b
mov edx, dword [esp + 0x14]
and edx, 0xfffffff9
or edx, 9
mov dword [esp + 0x14], edx
jmp 0x46e52b
or dword [esp + 0x14], 3
jmp 0x46e52b
mov eax, dword [esp + 0x14]
test al, 1
je 0x46e63c
and eax, 0xfffffff1
or eax, 1
mov dword [esp + 0x14], eax
jmp 0x46e52b
and eax, 0xfffffff2
or eax, 2
mov dword [esp + 0x14], eax
jmp 0x46e52b
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
je case.0x46e425.9
cmp byte [0x4da382], 0
je 0x46e671
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 0x46e52b
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x46e52b
push eax
mov eax, dword [ebx]
push 0xc5
push eax
call edi
jmp 0x46e6d0
cmp cl, 0xf
jne 0x46e6ca
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jns 0x46e6bb
mov ecx, dword [ebx]
push 0
push 0
push 0x403
push ecx
call edi
jmp 0x46e6d0
mov edx, dword [ebx]
push 6
push eax
push 0x403
push edx
call edi
jmp 0x46e6d0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x84], 0
cmp esi, ecx
je 0x46e7bf
mov al, byte [ebx + 4]
mov byte [esp + 0x84], 1
mov byte [esp + 0x78], 0
cmp al, 4
je 0x46e773
cmp al, 9
je 0x46e71b
cmp al, 0x12
jne 0x46e785
mov eax, dword [ebx]
push 0
push 0
push 0x408
push eax
call edi
mov dword [esp + 0x80], eax
jmp 0x46e785
mov eax, ecx
and eax, 0x100000
je 0x46e75b
test esi, 0x100000
jne 0x46e75b
cmp dword [ebp + 0x68], 0
jge 0x46e74e
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 0x46e780
test eax, eax
jne 0x46e785
test esi, 0x100000
je 0x46e785
push eax
push eax
mov eax, dword [ebx]
push 0x194
push eax
jmp 0x46e783
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 0x46e7ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46e7bf
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, esi
je 0x46e7bf
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 0x46e829
cmp byte [esp + 0x84], 0
jne 0x46e7f3
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 0x46e815
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46e829
mov eax, dword [ebx]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, esi
je 0x46e829
mov byte [esp + 0x78], 1
cmp byte [ebx + 4], 0xa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x46e887
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 0x46e887
cmp byte [esp + 0x84], 0
jne 0x46e863
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 0x46e887
mov byte [esp + 0x78], 1
cmp byte [esp + 0x84], 0
je 0x46e89d
cmp byte [esp + 0x78], 0
je 0x46e89d
mov byte [esp + 0x13], 1
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 0x10
ja case.0x46e8b4.13
movzx ecx, byte [eax + 0x46ec98]
jmp dword [ecx*4 + 0x46ec74]
cmp byte [ebp + 0x18e], 0
je case.0x46e8b4.13
mov ecx, ebp
mov eax, ebx
call fcn.00472a50
jmp case.0x46e8b4.13
mov eax, ebp
mov esi, ebx
call fcn.00472b30
test dword [ebp + 4], 0x100
je case.0x46e8b4.13
mov edx, dword [ebx]
push 0
push 0
push 0x41d
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46e8b4.13
mov edi, dword [esp + 0x7c]
mov eax, ebp
call fcn.00472c40
mov ebx, edi
jmp case.0x46e8b4.13
mov esi, dword [esp + 0x7c]
mov edi, ebp
call fcn.00472cf0
mov ebx, esi
jmp case.0x46e8b4.13
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov eax, ebp
mov ecx, ebx
call fcn.00472d40
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
je case.0x46e8b4.13
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx]
push 0
push eax
push 0x402
push ecx
jmp 0x46e9ab
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.0x46e8b4.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.0x46e8b4.13
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.0x46e8b4.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.0x46e8b4.13
mov eax, dword [ebp + 0x60]
cmp eax, 0xffffffff
je case.0x46e8b4.13
push eax
mov eax, dword [ebx]
push 0
push 0x2001
push eax
call esi
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x46e9dc
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 0x46e9dc
cmp byte [ebx + 4], 0xb
jne 0x46e9e3
cmp byte [esp + 0x13], 0
je 0x46e9f0
mov eax, dword [ebx]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esp + 0x84], 0
je 0x46ea4d
cmp byte [esp + 0x78], 0
jne 0x46ea4d
mov ecx, dword [0x4d4b04]
test byte [ecx + 0x100], 1
jne 0x46ea36
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b356c
push edx
call fcn.004825d0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
mov edi, dword [0x4d9d04]
push 0x4af9bc
push 0
push 0x4b356c
call fcn.00439a40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret 0x14