Function at 0x46ca20
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 0x46ca45
cmp al, 2
je 0x46ca45
lea eax, [ebx + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x46ca4c
lea ecx, [ebp + 0x5c]
mov dword [esp + 0x1c], ecx
cmp word [edi], 0
mov byte [esp + 0x13], 0
je 0x46e6ec
jmp 0x46ca60
movzx eax, word [edi]
cmp eax, 0x2d
jne 0x46ca6f
mov byte [esp + 0x78], 0
jmp 0x46ca79
mov byte [esp + 0x78], 1
cmp eax, 0x2b
jne 0x46ca7c
add edi, 2
movzx eax, word [edi]
test ax, ax
je 0x46e6ec
mov esi, edi
lea ebx, [ebx]
movzx edx, ax
mov ecx, 0x4b3a54
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x46cb10
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x46caa0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x46ca90
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46cac2
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], edi
je 0x46e6c5
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.00499229
add esp, 8
test eax, eax
jne 0x46cb16
mov byte [ebp + 0x192], 1
jmp case.0x46de7e.7
mov dword [esp + 0x14], esi
jmp 0x46cad8
push str.AltSubmit
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cb41
cmp byte [ebx + 4], 0xc
je 0x46cb41
cmp byte [esp + 0x78], al
je 0x46d460
or byte [ebx + 5], 2
jmp case.0x46de7e.7
push 7
push str.Checked
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46cbcf
add edi, 0xe
push str.Gray
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cb7e
movzx eax, byte [esp + 0x78]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp + 0x6c], eax
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xa
jne 0x46cb9d
cmp byte [esp + 0x78], 0
je 0x46cb94
or dword [ebp + 0x10], 4
jmp case.0x46de7e.7
and dword [ebp + 0x10], 0xfffffffb
jmp case.0x46de7e.7
cmp word [edi], 0
je 0x46cbc2
mov esi, edi
call fcn.004141a0
mov dword [ebp + 0x6c], eax
cmp eax, 0xffffffff
jne case.0x46de7e.7
mov dword [ebp + 0x6c], 2
jmp case.0x46de7e.7
movzx ecx, byte [esp + 0x78]
mov dword [ebp + 0x6c], ecx
jmp case.0x46de7e.7
push 6
push str.Choose
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46cc88
cmp byte [esp + 0x78], al
je case.0x46de7e.7
movzx eax, byte [ebx + 4]
add edi, 0xc
sub eax, 0xd
je 0x46cc44
dec eax
je 0x46cc1f
mov esi, edi
call fcn.004141a0
mov dword [ebp + 0x34], eax
cmp eax, 1
jge case.0x46de7e.7
mov dword [ebp + 0x34], 0
jmp case.0x46de7e.7
lea eax, [ebp + 0x140]
mov ecx, edi
call fcn.0047f0c0
mov dword [ebp + 0x180], eax
cmp eax, 3
jne case.0x46de7e.7
or dword [ebp], 2
jmp case.0x46de7e.7
push str.None
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cc62
mov dword [ebp + 0x34], 2
jmp case.0x46de7e.7
push 1
lea esi, [ebp + 0x140]
mov eax, edi
call fcn.0047f150
add esp, 4
test eax, eax
je case.0x46de7e.7
mov dword [ebp + 0x34], 1
jmp case.0x46de7e.7
push str.Border
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46ccb8
cmp byte [esp + 0x78], al
je 0x46ccac
or dword [ebp], 0x800000
jmp case.0x46de7e.7
or dword [ebp + 4], 0x800000
jmp case.0x46de7e.7
push str.VScroll
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cce8
cmp byte [esp + 0x78], al
je 0x46ccdc
or dword [ebp], 0x200000
jmp case.0x46de7e.7
or dword [ebp + 4], 0x200000
jmp case.0x46de7e.7
push 7
push str.HScroll
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46cd54
cmp byte [ebx + 4], 0xb
jne 0x46cd18
cmp byte [esp + 0x78], al
je 0x46d1b6
or dword [ebp + 4], 0x8000
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46cd48
or dword [ebp], 0x100000
cmp word [edi + 0xe], 0
je 0x46cd3d
lea esi, [edi + 0xe]
call fcn.004141a0
mov dword [ebp + 0x68], eax
jmp case.0x46de7e.7
or eax, 0xffffffff
mov dword [ebp + 0x68], eax
jmp case.0x46de7e.7
or dword [ebp + 4], 0x100000
jmp case.0x46de7e.7
push str.Tabstop
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cd78
cmp byte [esp + 0x78], al
je 0x46cd90
or dword [ebp], 0x10000
jmp case.0x46de7e.7
push str.NoTab
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cd9c
cmp byte [esp + 0x78], al
je 0x46cd6c
or dword [ebp + 4], 0x10000
jmp case.0x46de7e.7
push str.Group
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cdc5
cmp byte [esp + 0x78], 0
je 0x46d055
or dword [ebp], 0x20000
jmp case.0x46de7e.7
push str.Redraw
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cdee
xor edx, edx
cmp byte [esp + 0x78], dl
sete dl
add edx, 3
mov dword [ebp + 0x188], edx
jmp case.0x46de7e.7
push 8
push str.Disabled
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46ce66
cmp word [edi + 0x10], ax
je 0x46ce1f
lea esi, [edi + 0x10]
call fcn.004141a0
test eax, eax
jne 0x46ce1f
cmp byte [esp + 0x78], al
sete al
mov byte [esp + 0x78], al
mov eax, dword [ebx]
test eax, eax
je 0x46ce46
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 0x46ce5d
or byte [ebx + 5], 0x10
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46ce56
or dword [ebp], 0x8000000
jmp 0x46ce36
or dword [ebp + 4], 0x8000000
and byte [ebx + 5], 0xef
jmp case.0x46de7e.7
push 6
push str.Hidden
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46cee2
cmp word [edi + 0xc], ax
je 0x46ce97
lea esi, [edi + 0xc]
call fcn.004141a0
test eax, eax
jne 0x46ce97
cmp byte [esp + 0x78], al
sete dl
mov byte [esp + 0x78], dl
mov eax, dword [ebx]
test eax, eax
je 0x46cec2
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 0x46ced9
or byte [ebx + 5], 8
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46ced2
or dword [ebp + 4], 0x10000000
jmp 0x46ceb2
or dword [ebp], 0x10000000
and byte [ebx + 5], 0xf7
jmp case.0x46de7e.7
push str.Wrap
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46cf67
movzx eax, byte [ebx + 4]
dec eax
cmp eax, 0x12
ja case.0x46de7e.7
movzx edx, byte [eax + 0x46ed74]
jmp dword [edx*4 + 0x46ed5c]
cmp byte [esp + 0x78], 0
je 0x46cf20
or dword [ebp + 4], 0x1f
jmp case.0x46de7e.7
mov eax, dword [ebp]
and eax, 0xffffffec
or eax, 0xc
mov dword [ebp], eax
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46cf44
or dword [ebp + 4], 0x100080
jmp case.0x46de7e.7
or dword [ebp], 0x80
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d374
or dword [ebp], 0x200
jmp case.0x46de7e.7
push 0xa
push str.Background
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d01e
movzx eax, byte [ebx + 4]
add eax, 0xfffffff6
add edi, 0x14
cmp eax, 0xf
ja case.0x46cf95.12
movzx ecx, byte [eax + 0x46ed90]
jmp dword [ecx*4 + 0x46ed88]
cmp byte [esp + 0x78], 0
je 0x46cfd2
mov esi, edi
call fcn.00480840
mov dword [ebp + 0x60], eax
cmp eax, 0xffffffff
jne case.0x46de7e.7
push 0x10
push 0
push edi
call fcn.0049b84d
add esp, 0xc
mov ecx, eax
call fcn.0043ba30
mov dword [ebp + 0x60], eax
jmp case.0x46de7e.7
mov dword [ebp + 0x60], 0xff000000
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d00d
and byte [ebx + 5], 0xdf
push str.Trans
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d004
or byte [ebx + 5], 0x40
jmp case.0x46de7e.7
and byte [ebx + 5], 0xbf
jmp case.0x46de7e.7
mov dl, byte [ebx + 5]
and dl, 0xbf
or dl, 0x20
mov byte [ebx + 5], dl
jmp case.0x46de7e.7
push str.Group
push edi
call fcn.00499229
add esp, 8
test eax, eax
je 0x46cdae
push str.Theme
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d061
mov al, byte [esp + 0x78]
mov byte [ebp + 0x193], al
jmp case.0x46de7e.7
or dword [ebp + 4], 0x20000
jmp case.0x46de7e.7
push 4
push str.Hwnd
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d08e
push 3
push eax
add edi, 8
push edi
mov ecx, 0x4d96d0
call fcn.0042cec0
mov dword [ebp + 0x1c], eax
jmp case.0x46de7e.7
push 4
push str.Icon
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d0e5
add edi, 8
cmp byte [ebx + 4], 0xa
jne 0x46d0cb
push str.Small
push edi
call fcn.00499229
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [ebp + 0x14], eax
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je case.0x46de7e.7
mov esi, edi
call fcn.004141a0
mov dword [ebp + 0x70], eax
jmp case.0x46de7e.7
push str.Report
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d103
mov dword [ebp + 0x14], 1
jmp case.0x46de7e.7
push str.List
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d121
mov dword [ebp + 0x14], 3
jmp case.0x46de7e.7
push str.Tile
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d14b
cmp byte [0x4da382], al
je case.0x46de7e.7
mov dword [ebp + 0x14], 4
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xa
jne 0x46d201
push 0x4bc520
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d17d
cmp byte [esp + 0x78], al
je 0x46d50a
or dword [ebp + 4], 0x4000
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xa
jne 0x46d201
push 6
push str.NoSort
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d1d1
push 0x4bc520
add edi, 0xc
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d1c2
cmp byte [esp + 0x78], al
je 0x46cd0c
or dword [ebp], 0x8000
jmp case.0x46de7e.7
mov cl, byte [esp + 0x78]
mov byte [ebp + 0x194], cl
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xa
jne 0x46d201
push str.Grid
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d201
cmp byte [esp + 0x78], al
je 0x46d1f8
or dword [ebp + 0x10], 1
jmp case.0x46de7e.7
and dword [ebp + 0x10], 0xfffffffe
jmp case.0x46de7e.7
push 5
push 0x4b5d80
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d225
lea esi, [edi + 0xa]
call fcn.004141a0
mov dword [ebp + 0x64], eax
jmp case.0x46de7e.7
mov esi, 2
push esi
push 0x4cdad0
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d275
push eax
push eax
push eax
push eax
lea eax, [edi + 4]
call fcn.0047f4d0
add esp, 0x10
test eax, eax
je case.0x46de7e.7
lea esi, [edi + 4]
call fcn.00404040
cmp byte [esp + 0x78], 0
je 0x46d26b
or dword [ebp + 0x10], eax
jmp case.0x46de7e.7
not eax
and dword [ebp + 0x10], eax
jmp case.0x46de7e.7
push 9
push str.ImageList
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d2a3
cmp byte [esp + 0x78], al
je case.0x46de7e.7
lea esi, [edi + 0x12]
call fcn.00404040
mov dword [ebp + 0x18], eax
jmp case.0x46de7e.7
cmp byte [ebx + 4], 4
jne 0x46d2cf
push str.Default
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d2cf
cmp byte [esp + 0x78], 0
je case.0x46dc56.11
or dword [ebp], 1
jmp case.0x46de7e.7
cmp byte [ebx + 4], 5
jne 0x46d2fa
push str.Check3
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d2fa
cmp byte [esp + 0x78], al
je 0x46d812
or dword [ebp], 6
jmp case.0x46de7e.7
push str.ReadOnly
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d394
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 3
ja case.0x46de7e.7
jmp dword [eax*4 + 0x46eda0]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je case.0x46d3b6.9
movzx ecx, byte [esp + 0x78]
push 0
push ecx
push 0xcf
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d35d
or dword [ebp], 0x800
jmp case.0x46de7e.7
or dword [ebp + 4], 0x800
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46cf5b
or dword [ebp + 4], 0x200
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d53a
or dword [ebp + 4], 8
jmp case.0x46de7e.7
push str.Multi
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d3dd
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 5
ja case.0x46de7e.7
jmp dword [eax*4 + 0x46edb0]
cmp byte [esp + 0x78], 0
je 0x46d3d4
or dword [ebp], 4
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d3c4
or dword [ebp + 4], 4
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d469
push str.WantReturn
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d417
cmp byte [esp + 0x78], al
je 0x46d40b
or dword [ebp], 0x1000
jmp case.0x46de7e.7
or dword [ebp + 4], 0x1000
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d469
push str.WantTab
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d43e
cmp byte [esp + 0x78], al
je 0x46d48c
or byte [ebx + 5], 0x80
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d469
push str.WantCtrlA
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d469
cmp byte [esp + 0x78], al
je 0x46cb38
and byte [ebx + 5], 0xfd
jmp case.0x46de7e.7
mov al, byte [ebx + 4]
cmp al, 0xa
je 0x46d474
cmp al, 0xb
jne 0x46d495
push str.WantF2
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d495
cmp byte [esp + 0x78], al
je 0x46d435
and byte [ebx + 5], 0x7f
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d4c4
push str.Number
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d4c4
cmp byte [esp + 0x78], 0
je 0x46d55a
or dword [ebp], 0x2000
jmp case.0x46de7e.7
push str.Lowercase
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d516
mov bl, byte [ebx + 4]
cmp bl, 0xc
jne 0x46d4f1
cmp byte [esp + 0x78], al
je 0x46d74f
or dword [ebp], 0x10
jmp case.0x46de7e.7
cmp bl, 8
je case.0x46d320.9
cmp bl, 7
jne case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d171
or dword [ebp], 0x4000
jmp case.0x46de7e.7
push str.Uppercase
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d566
mov bl, byte [ebx + 4]
cmp bl, 0xc
jne 0x46d543
cmp byte [esp + 0x78], al
je case.0x46dc56.16
or dword [ebp], 8
jmp case.0x46de7e.7
cmp bl, 8
je case.0x46cf09.3
cmp bl, 7
jne case.0x46de7e.7
jmp case.0x46cf09.3
or dword [ebp + 4], 0x2000
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0xc
jne 0x46d5df
push 8
push str.Password
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d5df
mov dx, word [edi + 0x10]
mov word [ebp + 0x18c], dx
cmp byte [esp + 0x78], al
je 0x46d5bb
or dword [ebp], 0x20
mov ebx, dword [ebx]
test ebx, ebx
je 0x46d5d5
movzx eax, dx
push 0
test ax, ax
jne 0x46d5b8
movzx eax, byte [0x4da382]
neg eax
sbb eax, eax
and eax, 0x25a5
add eax, 0x2a
push eax
jmp 0x46d5c9
or dword [ebp + 4], 0x20
mov ebx, dword [ebx]
test ebx, ebx
je 0x46d5d5
push 0
push 0
push 0xcc
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x13], 1
jmp case.0x46de7e.7
push 5
push str.Limit
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d626
cmp byte [esp + 0x78], al
je 0x46d61a
cmp word [edi + 0xa], ax
je 0x46d60f
lea esi, [edi + 0xa]
call fcn.004141a0
mov dword [ebp + 0x64], eax
jmp case.0x46de7e.7
or eax, 0xffffffff
mov dword [ebp + 0x64], eax
jmp case.0x46de7e.7
mov dword [ebp + 0x64], closesocket
jmp case.0x46de7e.7
cmp byte [ebx + 4], 8
jne 0x46d651
push str.Simple
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d651
cmp byte [esp + 0x78], al
je case.0x46dc56.11
or dword [ebp], 1
jmp case.0x46de7e.7
push 4
push str.Sort
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d6c2
movzx eax, byte [ebx + 4]
add eax, 0xfffffff9
cmp eax, 3
ja case.0x46de7e.7
jmp dword [eax*4 + 0x46edc8]
cmp byte [esp + 0x78], 0
je case.0x46dd62.11
or dword [ebp], esi
jmp case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d6b9
push str.Desc
add edi, 8
push edi
call fcn.00499229
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x20
or dword [ebp], eax
jmp case.0x46de7e.7
or dword [ebp + 4], 0x30
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x10
jne 0x46d6f5
push str.Horz
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d6f5
cmp byte [esp + 0x78], al
je 0x46d883
mov edx, dword [ebp]
and edx, 0xffffffef
or edx, 0x40
mov dword [ebp], edx
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d7b0
push str.Invert
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d724
cmp byte [esp + 0x78], al
je 0x46d48c
or byte [ebx + 5], 0x80
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d7b0
push str.NoTicks
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46d758
cmp byte [esp + 0x78], al
je 0x46d74f
or dword [ebp], 0x10
jmp case.0x46de7e.7
or dword [ebp + 4], 0x10
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d7b0
push 0xc
push str.TickInterval
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d7b0
mov byte [ebp + 0x190], 1
cmp byte [esp + 0x78], al
je 0x46d7a0
or dword [ebp], 1
cmp word [edi + 0x18], ax
lea esi, [edi + 0x18]
setne al
mov byte [ebp + 0x191], al
call fcn.004141a0
mov dword [ebp + 0x40], eax
jmp case.0x46de7e.7
or dword [ebp + 4], 1
mov dword [ebp + 0x40], 0xffffffff
jmp case.0x46de7e.7
push 4
push str.Line
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d81b
mov bl, byte [ebx + 4]
cmp bl, 0x11
jne 0x46d7e6
cmp byte [esp + 0x78], al
je case.0x46de7e.7
lea esi, [edi + 8]
call fcn.004141a0
mov dword [ebp + 0x44], eax
jmp case.0x46de7e.7
cmp bl, 0xb
jne case.0x46de7e.7
mov ax, word [edi + 8]
call fcn.0040ecd0
cmp ax, 0x53
jne case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d812
or dword [ebp], 6
jmp case.0x46de7e.7
or dword [ebp + 4], 6
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d88c
push 4
push str.Page
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d84f
cmp byte [esp + 0x78], al
je case.0x46de7e.7
lea esi, [edi + 8]
call fcn.004141a0
mov dword [ebp + 0x48], eax
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d88c
push 5
push str.Thick
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d88c
cmp byte [esp + 0x78], al
je 0x46d883
or dword [ebp], 0x40
lea esi, [edi + 0xa]
call fcn.004141a0
mov dword [ebp + 0x4c], eax
jmp case.0x46de7e.7
or dword [ebp + 4], 0x40
jmp case.0x46de7e.7
push 7
push str.ToolTip
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d929
cmp byte [ebx + 4], 0x11
jne case.0x46de7e.7
cmp byte [esp + 0x78], al
je 0x46deb1
mov dword [ebp + 0x50], 0xffffffff
mov ax, word [edi + 0xe]
call fcn.0040ecd0
movzx eax, ax
add eax, 0xffffffbe
cmp eax, 0x12
ja case.0x46d8da.67
movzx ecx, byte [eax + 0x46edec]
jmp dword [ecx*4 + 0x46edd8]
mov dword [ebp + 0x50], 0
jmp case.0x46d8da.67
mov dword [ebp + 0x50], 1
jmp case.0x46d8da.67
mov dword [ebp + 0x50], esi
jmp case.0x46d8da.67
mov dword [ebp + 0x50], 3
mov eax, dword [ebp + 0x50]
test eax, eax
jns 0x46d919
or dword [ebp], 0x100
mov dword [ebp + 0x50], 0
jmp case.0x46de7e.7
inc eax
or dword [ebp], 0x100
mov dword [ebp + 0x50], eax
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x11
jne 0x46d9d5
push 5
push str.Buddy
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46d9d5
cmp byte [esp + 0x78], al
je case.0x46de7e.7
movzx ebx, word [edi + 0xa]
test bx, bx
je case.0x46de7e.7
push eax
push 1
push eax
push eax
add edi, 0xc
push edi
mov ecx, 0x4d96d0
call fcn.0042cf20
test eax, eax
je case.0x46de7e.7
cmp byte [eax + 0x17], 0
jne 0x46d986
mov eax, dword [eax + 0xc]
test byte [eax + 0x16], 2
jne case.0x46de7e.7
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x10]
lea edx, [ecx - 1]
cmp edx, ecx
jae case.0x46de7e.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 0x46d9c7
cmp ebx, 0x31
jne 0x46d9c4
mov dword [ebp + 0x54], ecx
jmp 0x46d9c7
mov dword [ebp + 0x58], ecx
dec edx
sub esi, 0x14
cmp edx, dword [edi + 0x10]
jb 0x46d9b0
jmp case.0x46de7e.7
push str.Vertical
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46da1e
mov bl, byte [ebx + 4]
cmp bl, 0x11
jne 0x46da01
cmp byte [esp + 0x78], al
je case.0x46dd62.11
or dword [ebp], esi
jmp case.0x46de7e.7
cmp bl, 0x12
jne case.0x46de7e.7
cmp byte [esp + 0x78], 0
je 0x46d3d4
or dword [ebp], 4
jmp case.0x46de7e.7
push 5
push str.Range
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46dae6
cmp byte [esp + 0x78], al
je case.0x46de7e.7
cmp word [edi + 0xa], ax
je case.0x46de7e.7
mov edx, dword [esp + 0x7c]
mov al, byte [edx + 4]
cmp al, 0xd
je 0x46da91
cmp al, 0xe
je 0x46da91
lea esi, [edi + 0xa]
mov byte [ebp + 0x18e], 1
call fcn.004141a0
push 0x2d
add edi, 0xc
push edi
mov dword [ebp + 0x38], eax
call fcn.0049a1b9
add esp, 8
test eax, eax
je case.0x46de7e.7
lea esi, [eax + 2]
call fcn.004141a0
mov dword [ebp + 0x3c], eax
jmp case.0x46de7e.7
lea esi, [ebp + 0x160]
mov eax, esi
lea ecx, [edi + 0xa]
call fcn.0047f0c0
mov dword [ebp + 0x184], eax
test eax, eax
je case.0x46de7e.7
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
test ecx, ecx
je case.0x46de7e.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.0x46de7e.7
cmp byte [ebx + 4], 0x12
jne 0x46db11
push str.Smooth
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46db11
cmp byte [esp + 0x78], al
je case.0x46dc56.11
or dword [ebp], 1
jmp case.0x46de7e.7
push str.Buttons
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46db5f
mov bl, byte [ebx + 4]
cmp bl, 0x13
jne 0x46db42
cmp byte [esp + 0x78], 0
je 0x46deb1
or dword [ebp], 0x100
jmp case.0x46de7e.7
cmp bl, 0xb
jne case.0x46de7e.7
cmp byte [esp + 0x78], 0
je case.0x46dc56.11
or dword [ebp], 1
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x13
jne 0x46db90
push str.Bottom
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46db90
cmp byte [esp + 0x78], al
je case.0x46dd62.11
or dword [ebp], esi
or dword [ebp + 4], 0x80
jmp case.0x46de7e.7
cmp byte [ebx + 4], 0x18
jne 0x46dbdb
push 5
push str.Class
push edi
call fcn.004999aa
add esp, 0xc
test eax, eax
jne 0x46dbdb
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.0x46de7e.7
push edi
push str.Unregistered_window_class.
jmp 0x46e790
push str.Center
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46dcac
movzx eax, byte [ebx + 4]
dec eax
cmp byte [esp + 0x78], 0
je 0x46dc46
cmp eax, 0x10
ja case.0x46de7e.7
movzx eax, byte [eax + 0x46ee14]
jmp dword [eax*4 + 0x46ee00]
or dword [ebp], 8
or dword [ebp + 4], 4
jmp case.0x46de7e.7
or dword [ebp], 1
or dword [ebp + 4], 0x1e
jmp case.0x46de7e.7
or dword [ebp], 0x300
jmp case.0x46de7e.7
or dword [ebp], 1
or dword [ebp + 4], esi
jmp case.0x46de7e.7
cmp eax, 0x10
ja case.0x46de7e.7
movzx ecx, byte [eax + 0x46ee3c]
jmp dword [ecx*4 + 0x46ee28]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46dc88
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
jne case.0x46de7e.7
or dword [ebp + 4], eax
jmp case.0x46de7e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
jne case.0x46de7e.7
and eax, 0xfffffcff
mov dword [ebp], eax
jmp case.0x46de7e.7
push str.Right
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46ddde
movzx eax, byte [ebx + 4]
dec eax
cmp byte [esp + 0x78], 0
je 0x46dd52
cmp eax, 0x16
ja case.0x46de7e.7
movzx edx, byte [eax + 0x46ee70]
jmp dword [edx*4 + 0x46ee50]
or dword [ebp + 4], 8
or dword [ebp], 4
jmp case.0x46de7e.7
or dword [ebp], esi
or dword [ebp + 4], 0x1d
jmp case.0x46de7e.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 0x46dd26
cmp al, 6
jne case.0x46de7e.7
or ecx, 0x20
mov dword [ebp], ecx
jmp case.0x46de7e.7
or dword [ebp], esi
or dword [ebp + 4], 1
jmp case.0x46de7e.7
or dword [ebp], 0x282
jmp case.0x46de7e.7
or dword [ebp], 0x20
jmp case.0x46de7e.7
cmp eax, 0x12
ja case.0x46de7e.7
movzx ecx, byte [eax + 0x46eea4]
jmp dword [ecx*4 + 0x46ee88]
or dword [ebp + 4], 0x20
jmp case.0x46de7e.7
or dword [ebp], 4
or dword [ebp + 4], 8
jmp case.0x46de7e.7
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46ddae
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
je case.0x46de7e.7
or dword [ebp + 4], 0x200
jmp case.0x46de7e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
je case.0x46de7e.7
and eax, 0xfffffdff
mov dword [ebp], eax
jmp case.0x46de7e.7
or dword [ebp + 4], 0x82
jmp case.0x46de7e.7
push str.Left
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46dee1
cmp byte [esp + 0x78], 0
movzx eax, byte [ebx + 4]
je 0x46de6b
dec eax
cmp eax, 0x12
ja case.0x46de7e.7
movzx edx, byte [eax + 0x46eed8]
jmp dword [edx*4 + 0x46eeb8]
or dword [ebp + 4], 4
or dword [ebp], 8
jmp case.0x46de7e.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 0x46de48
cmp al, 6
jne case.0x46de7e.7
or ecx, 0x20
mov dword [ebp + 4], ecx
jmp case.0x46de7e.7
or dword [ebp + 4], 3
jmp case.0x46de7e.7
or dword [ebp], 0x280
or dword [ebp + 4], esi
jmp case.0x46de7e.7
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x46de7e.7
movzx ecx, byte [eax + 0x46eefc]
jmp dword [ecx*4 + 0x46eeec]
or dword [ebp + 4], 0xc
jmp case.0x46de7e.7
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
test eax, eax
je 0x46debd
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x300
cmp eax, 0x300
je case.0x46de7e.7
or dword [ebp + 4], 0x100
jmp case.0x46de7e.7
mov eax, dword [ebp]
mov ecx, eax
and ecx, 0x300
cmp ecx, 0x300
je case.0x46de7e.7
and eax, 0xfffffeff
mov dword [ebp], eax
jmp case.0x46de7e.7
push 0
push 0
push 1
push 0
mov eax, edi
call fcn.0047f4d0
add esp, 0x10
test eax, eax
je 0x46df15
mov esi, edi
call fcn.00404040
cmp byte [esp + 0x78], 0
je 0x46df0d
or dword [ebp], eax
jmp 0x46e6b9
or dword [ebp + 4], eax
jmp 0x46e6b9
add edi, esi
cmp word [edi], 0
jne 0x46dfdb
cmp byte [esp + 0x78], 0
je 0x46df46
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46df46
cmp byte [eax + 0x17], 0
jne 0x46df3c
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x46dfdb
mov ax, word [edi - 2]
call fcn.0040ecd0
movzx eax, ax
cmp eax, 0x43
je 0x46dfa4
cmp eax, 0x47
je 0x46df7d
cmp eax, 0x56
jne 0x46e787
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], 0
mov word [ecx], ax
jmp 0x46e6c5
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x46df8c
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 0x46e6c5
cmp byte [esp + 0x78], 0
jne 0x46dfca
cmp byte [ebx + 4], 2
je 0x46dfca
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0xff000000
je 0x46dfca
mov dword [eax], 0xff000000
mov byte [ebp + 0x18f], 1
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
jmp 0x46e6c5
mov ax, word [edi - 2]
call fcn.0040ecd0
movzx eax, ax
add eax, 0xffffffbd
cmp eax, 0x16
ja case.0x46dffa.68
movzx edx, byte [eax + 0x46ef38]
jmp dword [edx*4 + 0x46ef10]
mov al, byte [ebx + 4]
cmp al, 3
je 0x46e737
cmp al, 0x12
je 0x46e737
mov eax, dword [esp + 0x84]
push 4
mov ebx, 0x4d96d0
call fcn.00423740
mov ebx, eax
test ebx, ebx
jne 0x46e04d
push 0x4b57a4
push edi
call fcn.00499229
add esp, 8
test eax, eax
jne 0x46e72c
mov eax, dword [esp + 0x7c]
or byte [eax + 5], 1
jmp 0x46e051
mov eax, dword [esp + 0x7c]
mov al, byte [eax + 4]
cmp al, 1
je 0x46e05c
cmp al, 2
jne 0x46e063
or dword [ebp], 0x100
mov esi, dword [esp + 0x7c]
add esi, 0xc
mov edi, ebx
call fcn.004013c0
jmp case.0x46de7e.7
cmp dword [ebp + 0x13c], 0x32
jae case.0x46de7e.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.0x46de7e.7
push 3
push 0
push edi
mov ecx, 0x4d96d0
call fcn.0042cec0
test eax, eax
je 0x46e79a
cmp byte [eax + 0x17], 0
jne 0x46e0bf
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x16]
and dl, 0x22
cmp dl, 2
je 0x46e73e
mov ecx, dword [esp + 0x74]
xor edx, edx
cmp dword [ecx + 0x10], edx
jbe 0x46e0f4
mov ecx, dword [ecx + 0x18]
mov esi, dword [esp + 0x74]
add ecx, 8
cmp dword [ecx], eax
je 0x46e749
inc edx
add ecx, 0x14
cmp edx, dword [esi + 0x10]
jb 0x46e0e3
mov dword [ebx + 8], eax
jmp case.0x46de7e.7
cmp byte [ebx + 4], 2
je case.0x46de7e.7
mov esi, edi
call fcn.00480840
cmp eax, 0xffffffff
jne 0x46e126
push 0x10
push 0
push edi
call fcn.0049b84d
add esp, 0xc
mov ecx, eax
call fcn.0043ba30
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], eax
jne 0x46e139
lea edx, [ebp + 0x5c]
cmp ecx, edx
jne case.0x46de7e.7
mov dword [ecx], eax
mov byte [ebp + 0x18f], 1
jmp case.0x46de7e.7
mov ax, word [edi]
call fcn.0040ecd0
cmp ax, 0x50
jne 0x46e18a
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e17a
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.0x46de7e.7
mov esi, edi
call fcn.004141a0
mov ecx, dword [esp + 0x74]
call fcn.00466380
mov dword [ebp + 0x28], eax
jmp case.0x46de7e.7
mov ax, word [edi]
call fcn.0040ecd0
cmp ax, 0x50
jne 0x46e1e5
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e1d5
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.0x46de7e.7
mov esi, edi
call fcn.004141a0
mov ecx, dword [esp + 0x74]
call fcn.00466380
mov dword [ebp + 0x2c], eax
jmp case.0x46de7e.7
movzx eax, word [edi]
cmp eax, 0x2b
jne 0x46e2d9
mov ax, word [edi + 2]
call fcn.0040ecd0
cmp ax, 0x4d
jne 0x46e221
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 0x78]
jmp 0x46e248
lea esi, [edi + 2]
call fcn.004141a0
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e246
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.004735b0
mov edi, eax
test edi, edi
je 0x46e2a9
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 7]
mov ecx, dword [esp + 0x74]
call fcn.00473730
test eax, eax
jne 0x46e2a9
mov ecx, dword [esp + 0x74]
mov edx, edi
lea edi, [esp + 0x20]
call fcn.00473840
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, esi
cmp dword [ebp + 0x24], 0x80000000
mov dword [ebp + 0x20], ecx
jne case.0x46de7e.7
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0x7c]
add ecx, eax
mov dword [ebp + 0x24], ecx
jmp case.0x46de7e.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.0x46de7e.7
mov ecx, dword [eax + 0x84]
mov dword [ebp + 0x24], ecx
jmp case.0x46de7e.7
call fcn.0040ecd0
cmp ax, 0x4d
jne 0x46e331
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e309
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.0x46de7e.7
mov eax, esi
mov edx, dword [eax + 0x94]
add edx, dword [eax + 0x7c]
mov dword [ebp + 0x24], edx
jmp case.0x46de7e.7
mov ax, word [edi]
call fcn.0040ecd0
cmp ax, 0x50
jne 0x46e38c
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e364
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.0x46de7e.7
mov eax, esi
mov ecx, dword [eax + 0x84]
mov dword [ebp + 0x24], ecx
jmp case.0x46de7e.7
mov ax, word [edi]
call fcn.0040ecd0
cmp ax, 0x53
jne 0x46e3ea
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e3bf
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.0x46de7e.7
mov eax, esi
mov edx, dword [eax + 0xa4]
add edx, dword [eax + 0x7c]
mov dword [ebp + 0x24], edx
jmp case.0x46de7e.7
mov esi, edi
call fcn.004141a0
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e40e
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.0x46de7e.7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x94]
add ecx, dword [eax + 0x7c]
mov dword [ebp + 0x24], ecx
jmp case.0x46de7e.7
movzx eax, word [edi]
cmp eax, 0x2b
jne 0x46e513
mov ax, word [edi + 2]
call fcn.0040ecd0
cmp ax, 0x4d
jne 0x46e457
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x7c]
jmp 0x46e47c
lea esi, [edi + 2]
call fcn.004141a0
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e47c
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.004735b0
mov esi, eax
test esi, esi
je 0x46e4e5
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 7]
mov ecx, edi
call fcn.00473730
test eax, eax
jne 0x46e4e5
mov ecx, dword [esp + 0x74]
mov edx, esi
lea edi, [esp + 0x28]
call fcn.00473840
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.0x46de7e.7
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x78]
add edx, ecx
mov dword [ebp + 0x20], edx
jmp case.0x46de7e.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.0x46de7e.7
mov ecx, dword [edi + 0x80]
mov dword [ebp + 0x20], ecx
jmp case.0x46de7e.7
call fcn.0040ecd0
cmp ax, 0x4d
jne 0x46e56b
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e543
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.0x46de7e.7
mov eax, esi
mov edx, dword [eax + 0x90]
add edx, dword [eax + 0x78]
mov dword [ebp + 0x20], edx
jmp case.0x46de7e.7
mov ax, word [edi]
call fcn.0040ecd0
cmp ax, 0x50
jne 0x46e5c6
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e59e
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.0x46de7e.7
mov eax, esi
mov ecx, dword [eax + 0x80]
mov dword [ebp + 0x20], ecx
jmp case.0x46de7e.7
mov ax, word [edi]
call fcn.0040ecd0
cmp ax, 0x53
jne 0x46e624
lea esi, [edi + 2]
call fcn.004141a0
mov esi, dword [esp + 0x74]
cmp byte [esi + 0xc0], 0
je 0x46e5f9
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.0x46de7e.7
mov eax, esi
mov edx, dword [eax + 0xa0]
add edx, dword [eax + 0x78]
mov dword [ebp + 0x20], edx
jmp case.0x46de7e.7
mov esi, edi
call fcn.004141a0
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0xc0], 0
je 0x46e648
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.0x46de7e.7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x90]
add ecx, dword [eax + 0x78]
mov dword [ebp + 0x20], ecx
jmp case.0x46de7e.7
mov esi, edi
call fcn.0041a210
fstp dword [ebp + 0x30]
jmp case.0x46de7e.7
mov ax, word [edi - 2]
call fcn.0040ecd0
cmp ax, 0x45
jne 0x46e787
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.0047f4d0
add esp, 0x10
test eax, eax
je 0x46e787
mov esi, edi
call fcn.00404040
cmp byte [esp + 0x78], 0
je 0x46e6b2
or dword [ebp + 8], eax
jmp case.0x46de7e.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 0x46e6dd
cmp eax, 9
jne 0x46e6e2
add edi, 2
jmp 0x46e6d0
cmp word [edi], 0
jne 0x46ca60
mov eax, dword [ebx]
test eax, eax
je 0x46ed4d
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.0x46e725.9
jmp dword [eax*4 + 0x46ef50]
mov ebx, dword [esp + 0x7c]
mov eax, str.Target_label_does_not_exist.
jmp 0x46e74e
mov eax, str.This_control_type_should_not_have_an_associated_subroutine.
jmp 0x46e74e
add edi, 0xfffffffe
push edi
push str.A_controls_variable_must_be_global_or_static.
jmp 0x46e790
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 0x46e76e
call fcn.0040eee0
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.0043a280
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.0043a280
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 0x46e82b
mov eax, dword [esp + 0x14]
and eax, 0xfffffff7
or eax, 7
mov dword [esp + 0x14], eax
jmp 0x46e82b
mov eax, dword [esp + 0x14]
test al, 1
je 0x46e7e5
and eax, 0xfffffff1
or eax, 1
jmp 0x46e7e8
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 0x46e883
test byte [ebp + 4], 1
je case.0x46e725.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 0x46e9ca
mov cl, byte [ebx + 4]
cmp cl, 0xc
jne 0x46e99c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
test eax, eax
jns 0x46e98f
mov edx, dword [ebx]
push 0
push 0xc5
push edx
call edi
cmp dword [ebp + 0x64], 0x80000000
je 0x46e9d0
test byte [esp + 0x14], 4
jne 0x46e9d0
and dword [esp + 0x14], 0xffefff7f
jmp 0x46e9d0
test cl, 1
je case.0x46e725.9
cmp eax, dword [esi + 0x10]
jae 0x46e8bf
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.0x46e725.9
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 6
cmp cl, 6
jne 0x46e8f9
and eax, 0xfffffff6
or eax, 6
mov dword [esp + 0x14], eax
jmp 0x46e82b
and eax, 0xfffffff3
or eax, 3
mov dword [esp + 0x14], eax
jmp 0x46e82b
mov edx, dword [esp + 0x14]
and edx, 0xfffffff9
or edx, 9
mov dword [esp + 0x14], edx
jmp 0x46e82b
or dword [esp + 0x14], 3
jmp 0x46e82b
mov eax, dword [esp + 0x14]
test al, 1
je 0x46e93c
and eax, 0xfffffff1
or eax, 1
mov dword [esp + 0x14], eax
jmp 0x46e82b
and eax, 0xfffffff2
or eax, 2
mov dword [esp + 0x14], eax
jmp 0x46e82b
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
je case.0x46e725.9
cmp byte [0x4da382], 0
je 0x46e971
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 0x46e82b
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x46e82b
push eax
mov eax, dword [ebx]
push 0xc5
push eax
call edi
jmp 0x46e9d0
cmp cl, 0xf
jne 0x46e9ca
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jns 0x46e9bb
mov ecx, dword [ebx]
push 0
push 0
push 0x403
push ecx
call edi
jmp 0x46e9d0
mov edx, dword [ebx]
push 6
push eax
push 0x403
push edx
call edi
jmp 0x46e9d0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x84], 0
cmp esi, ecx
je 0x46eabf
mov al, byte [ebx + 4]
mov byte [esp + 0x84], 1
mov byte [esp + 0x78], 0
cmp al, 4
je 0x46ea73
cmp al, 9
je 0x46ea1b
cmp al, 0x12
jne 0x46ea85
mov eax, dword [ebx]
push 0
push 0
push 0x408
push eax
call edi
mov dword [esp + 0x80], eax
jmp 0x46ea85
mov eax, ecx
and eax, 0x100000
je 0x46ea5b
test esi, 0x100000
jne 0x46ea5b
cmp dword [ebp + 0x68], 0
jge 0x46ea4e
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 0x46ea80
test eax, eax
jne 0x46ea85
test esi, 0x100000
je 0x46ea85
push eax
push eax
mov eax, dword [ebx]
push 0x194
push eax
jmp 0x46ea83
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 0x46eaab
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x46eabf
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, esi
je 0x46eabf
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 0x46eb29
cmp byte [esp + 0x84], 0
jne 0x46eaf3
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 0x46eb15
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x46eb29
mov eax, dword [ebx]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, esi
je 0x46eb29
mov byte [esp + 0x78], 1
cmp byte [ebx + 4], 0xa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x46eb87
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 0x46eb87
cmp byte [esp + 0x84], 0
jne 0x46eb63
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 0x46eb87
mov byte [esp + 0x78], 1
cmp byte [esp + 0x84], 0
je 0x46eb9d
cmp byte [esp + 0x78], 0
je 0x46eb9d
mov byte [esp + 0x13], 1
movzx eax, byte [ebx + 4]
add eax, 0xfffffff7
cmp eax, 0x10
ja case.0x46ebb4.13
movzx ecx, byte [eax + 0x46ef98]
jmp dword [ecx*4 + 0x46ef74]
cmp byte [ebp + 0x18e], 0
je case.0x46ebb4.13
mov ecx, ebp
mov eax, ebx
call fcn.00472d50
jmp case.0x46ebb4.13
mov eax, ebp
mov esi, ebx
call fcn.00472e30
test dword [ebp + 4], 0x100
je case.0x46ebb4.13
mov edx, dword [ebx]
push 0
push 0
push 0x41d
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x46ebb4.13
mov edi, dword [esp + 0x7c]
mov eax, ebp
call fcn.00472f40
mov ebx, edi
jmp case.0x46ebb4.13
mov esi, dword [esp + 0x7c]
mov edi, ebp
call fcn.00472ff0
mov ebx, esi
jmp case.0x46ebb4.13
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov eax, ebp
mov ecx, ebx
call fcn.00473040
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
je case.0x46ebb4.13
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx]
push 0
push eax
push 0x402
push ecx
jmp 0x46ecab
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.0x46ebb4.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.0x46ebb4.13
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.0x46ebb4.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.0x46ebb4.13
mov eax, dword [ebp + 0x60]
cmp eax, 0xffffffff
je case.0x46ebb4.13
push eax
mov eax, dword [ebx]
push 0
push 0x2001
push eax
call esi
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x46ecdc
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 0x46ecdc
cmp byte [ebx + 4], 0xb
jne 0x46ece3
cmp byte [esp + 0x13], 0
je 0x46ecf0
mov eax, dword [ebx]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esp + 0x84], 0
je 0x46ed4d
cmp byte [esp + 0x78], 0
jne 0x46ed4d
mov ecx, dword [0x4d4b14]
test byte [ecx + 0x100], 1
jne 0x46ed36
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b355c
push edx
call fcn.00482920
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x14
mov edi, dword [0x4d9d04]
push 0x4af9ac
push 0
push 0x4b355c
call fcn.00439ba0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret 0x14