Function at 0x469bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
movzx eax, word [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [sym.imp.USER32.dll_GetWindowLongW]
mov byte [esp + 0x18], 0
mov dword [esp + 0x28], edx
push edi
mov edi, dword [ebp + 0xc]
test ax, ax
je 0x46b8d8
movss xmm0, dword [esp + 0x30]
mov edx, eax
mov eax, dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x4c], eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x50], eax
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.USER32.dll_GetClassInfoExW]
mov dword [esp + 0x60], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x17]
mov byte [esp + 0xf], al
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x28], ebx
cmp dx, 0x2d
jne 0x469c4f
xor bl, bl
jmp 0x469c5a
movzx eax, dx
mov bl, 1
cmp dx, 0x2b
jne 0x469c61
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
je 0x46b8d4
mov edi, ecx
movzx edx, ax
nop
cmp dx, 0x20
je 0x469c8a
cmp dx, 9
je 0x469c8a
movzx eax, word [edi + 2]
add edi, 2
mov edx, eax
test ax, ax
jne 0x469c70
mov dword [esp + 0x40], edi
cmp edi, ecx
mov edi, dword [ebp + 0xc]
je case.0x46b0c4.7
mov eax, dword [esp + 0x40]
mov esi, 0x101
sub eax, ecx
sar eax, 1
inc eax
cmp eax, esi
cmovb esi, eax
lea eax, [esp + 0x68]
dec esi
push esi
push ecx
push eax
call fcn.004aa8b4
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x68], ax
lea eax, [esp + 0x68]
push str.Section
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469ce5
mov byte [edi + 0x18d], 1
jmp 0x46b1c5
lea eax, [esp + 0x68]
push str.AltSubmit
push eax
call fcn.0049f2b1
mov esi, dword [ebp + 0x10]
add esp, 8
test eax, eax
jne 0x469d21
cmp byte [esi + 0x30], 0xc
je 0x469d21
mov cl, byte [esi + 0x31]
mov al, cl
or cl, 2
and al, 0xfd
movzx ecx, cl
test bl, bl
movzx eax, al
cmove ecx, eax
mov byte [esi + 0x31], cl
jmp case.0x46b0c4.7
push 7
lea eax, [esp + 0x6c]
push str.Checked
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x469dae
lea eax, [esp + 0x76]
push str.Gray
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469d5c
movzx eax, bl
add eax, eax
mov dword [edi + 0x68], eax
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0xa
jne 0x469d7a
mov ecx, dword [edi + 0x10]
mov eax, ecx
and eax, 0xfffffffb
or ecx, 4
test bl, bl
cmove ecx, eax
mov dword [edi + 0x10], ecx
jmp case.0x46b0c4.7
cmp word [esp + 0x76], 0
je 0x469da3
lea ecx, [esp + 0x76]
call fcn.00481fe0
mov dword [edi + 0x68], eax
cmp eax, 0xffffffff
jne case.0x46b0c4.7
mov dword [edi + 0x68], 2
jmp case.0x46b0c4.7
movzx eax, bl
mov dword [edi + 0x68], eax
jmp case.0x46b0c4.7
push 6
lea eax, [esp + 0x6c]
push str.Choose
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x469e41
test bl, bl
je case.0x46b0c4.7
cmp byte [esi + 0x30], 0xd
je 0x469df5
lea ecx, [esp + 0x74]
call fcn.00481fe0
mov dword [edi + 0x30], eax
cmp eax, 1
jge case.0x46b0c4.7
mov dword [edi + 0x30], 0
jmp case.0x46b0c4.7
lea eax, [esp + 0x74]
push str.None
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469e18
mov eax, 2
mov dword [edi + 0x30], eax
jmp case.0x46b0c4.7
push 1
lea edx, [edi + 0x13c]
lea ecx, [esp + 0x78]
call fcn.00481400
add esp, 4
test eax, eax
je 0x46b8a3
mov eax, 1
mov dword [edi + 0x30], eax
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Border
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469e72
test bl, bl
je 0x469e66
or dword [edi], 0x800000
jmp case.0x46b0c4.7
or dword [edi + 4], 0x800000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.VScroll
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469ea3
test bl, bl
je 0x469e97
or dword [edi], 0x200000
jmp case.0x46b0c4.7
or dword [edi + 4], 0x200000
jmp case.0x46b0c4.7
push 7
lea eax, [esp + 0x6c]
push str.HScroll
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x469f0f
cmp byte [esi + 0x30], 0xb
jne 0x469ed5
test bl, bl
je 0x46a3f8
or dword [edi + 4], 0x8000
jmp case.0x46b0c4.7
test bl, bl
je 0x469f03
or dword [edi], 0x100000
cmp word [esp + 0x76], 0
je 0x469ef8
lea ecx, [esp + 0x76]
call fcn.00481fe0
mov dword [edi + 0x64], eax
jmp case.0x46b0c4.7
or eax, 0xffffffff
mov dword [edi + 0x64], eax
jmp case.0x46b0c4.7
or dword [edi + 4], 0x100000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Tabstop
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469f34
test bl, bl
je 0x469f4e
or dword [edi], 0x10000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.NoTab
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469f5a
test bl, bl
je 0x469f29
or dword [edi + 4], 0x10000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.group
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469f83
test bl, bl
je 0x46a296
or dword [edi], 0x20000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Redraw
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x469fad
movzx eax, bl
xor eax, 1
add eax, 3
mov dword [edi + 0x184], eax
jmp case.0x46b0c4.7
push 8
lea eax, [esp + 0x6c]
push str.Disabled
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a02c
cmp word [esp + 0x78], ax
je 0x469fdc
lea ecx, [esp + 0x78]
call fcn.00481fe0
test eax, eax
jne 0x469fdc
xor bl, 1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x46a001
xor eax, eax
test bl, bl
sete al
push eax
push ecx
call dword [esp + 0x50]
mov al, byte [esi + 0x31]
test bl, bl
je 0x46a022
or al, 0x10
mov byte [esi + 0x31], al
jmp case.0x46b0c4.7
test bl, bl
je 0x46a018
or dword [edi], 0x8000000
mov al, byte [esi + 0x31]
or al, 0x10
mov byte [esi + 0x31], al
jmp case.0x46b0c4.7
or dword [edi + 4], 0x8000000
mov al, byte [esi + 0x31]
and al, 0xef
mov byte [esi + 0x31], al
jmp case.0x46b0c4.7
push 6
lea eax, [esp + 0x6c]
push str.Hidden
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a0b0
cmp word [esp + 0x74], ax
je 0x46a05b
lea ecx, [esp + 0x74]
call fcn.00481fe0
test eax, eax
jne 0x46a05b
xor bl, 1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x46a085
xor edx, edx
mov eax, 4
test bl, bl
cmovne eax, edx
push eax
push ecx
call dword [esp + 0x54]
mov al, byte [esi + 0x31]
test bl, bl
je 0x46a0a6
or al, 8
mov byte [esi + 0x31], al
jmp case.0x46b0c4.7
test bl, bl
je 0x46a09d
or dword [edi + 4], 0x10000000
mov al, byte [esi + 0x31]
or al, 8
mov byte [esi + 0x31], al
jmp case.0x46b0c4.7
or dword [edi], 0x10000000
mov al, byte [esi + 0x31]
and al, 0xf7
mov byte [esi + 0x31], al
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Wrap
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a138
movzx eax, byte [esi + 0x30]
dec eax
cmp eax, 0x12
ja case.0x46b0c4.7
movzx eax, byte [eax + 0x46c1c0]
jmp dword [eax*4 + 0x46c1a8]
test bl, bl
je 0x46a0ef
or dword [edi + 4], 0x1f
jmp case.0x46b0c4.7
mov eax, dword [edi]
and eax, 0xffffffec
or eax, 0xc
mov dword [edi], eax
jmp case.0x46b0c4.7
or dword [edi + 4], 0x2000
jmp case.0x46b0c4.7
test bl, bl
je 0x46a11a
or dword [edi + 4], 0x100080
jmp case.0x46b0c4.7
or dword [edi], 0x80
jmp case.0x46b0c4.7
test bl, bl
je 0x46afe1
or dword [edi], 0x200
jmp case.0x46b0c4.7
push 0xa
lea eax, [esp + 0x6c]
push str.Background
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a271
mov eax, dword [esi + 0x38]
mov dword [esi + 0x34], 0xffffffff
test eax, eax
je 0x46a16e
push eax
call dword [esp + 0x54]
mov dword [esi + 0x38], 0
lea eax, [esp + 0x7c]
push str.Trans
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a1af
test bl, bl
je case.0x46b0c4.7
movzx eax, byte [esi + 0x30]
test byte [eax + 0x4db5dc], 1
jne 0x46a1a3
mov ecx, str.Not_supported_for_this_control_type.
jmp 0x46b8a8
mov dword [esi + 0x34], 0xff000001
jmp case.0x46b0c4.7
test bl, bl
je 0x46a25e
cmp word [esp + 0x7c], 0
je case.0x46b0c4.7
movzx eax, byte [esi + 0x30]
test byte [eax + 0x4db5dc], 2
jne 0x46a1da
mov ecx, str.Not_supported_for_this_control_type.
jmp 0x46b8a8
lea ecx, [esp + 0x7c]
call fcn.00482bc0
mov edx, eax
mov dword [edi + 0x5c], edx
cmp edx, 0xffffffff
jne 0x46a22e
push 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004a4d5d
movzx edx, al
add esp, 0xc
movzx ecx, ax
shl edx, 8
shr ecx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x5c], edx
cmp word [eax], 0
jne 0x46b8a3
cmp edx, 0xff000000
je case.0x46b0c4.7
movzx eax, byte [esi + 0x30]
test byte [eax + 0x4db5dc], 4
je case.0x46b0c4.7
push edx
call dword [esp + 0x5c]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x34], eax
jmp case.0x46b0c4.7
mov dword [esi + 0x34], 0xff000000
mov dword [edi + 0x5c], 0xff000000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.group
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a2a2
test bl, bl
je 0x46a296
or dword [edi], 0x20000
jmp case.0x46b0c4.7
or dword [edi + 4], 0x20000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Theme
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a2c3
mov byte [edi + 0x18e], bl
jmp case.0x46b0c4.7
push 4
lea eax, [esp + 0x6c]
push str.Icon
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a31e
cmp byte [esi + 0x30], 0xa
jne 0x46a305
lea eax, [esp + 0x70]
push str.Small
push eax
call fcn.0049f2b1
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [edi + 0x14], eax
jmp case.0x46b0c4.7
test bl, bl
je case.0x46b0c4.7
lea ecx, [esp + 0x70]
call fcn.00481fe0
mov dword [edi + 0x6c], eax
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Report
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a340
mov dword [edi + 0x14], 1
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.List
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a362
mov dword [edi + 0x14], 3
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Tile
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a384
mov dword [edi + 0x14], 4
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0xa
jne 0x46a442
lea eax, [esp + 0x68]
push 0x4d4eec
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a3b8
test bl, bl
je 0x46a753
or dword [edi + 4], 0x4000
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0xa
jne 0x46a442
push 6
lea eax, [esp + 0x6c]
push str.NoSort
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a40e
lea eax, [esp + 0x74]
push 0x4d4eec
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a403
test bl, bl
je 0x469ec9
or dword [edi], 0x8000
jmp case.0x46b0c4.7
mov byte [edi + 0x18f], bl
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0xa
jne 0x46a442
lea eax, [esp + 0x68]
push str.Grid
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a442
mov ecx, dword [edi + 0x10]
mov eax, ecx
and eax, 0xfffffffe
or ecx, 1
test bl, bl
cmove ecx, eax
mov dword [edi + 0x10], ecx
jmp case.0x46b0c4.7
push 5
lea eax, [esp + 0x6c]
push str.Count
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a46b
lea ecx, [esp + 0x72]
call fcn.00481fe0
mov dword [edi + 0x60], eax
jmp case.0x46b0c4.7
push 2
lea eax, [esp + 0x6c]
push 0x4db324
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a4bf
cmp word [esp + 0x6c], 0x2d
je 0x46a4bf
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x6c]
call fcn.00481f30
mov ecx, dword [esp + 0x5c]
cmp word [ecx], 0
jne 0x46a4bf
mov ecx, dword [edi + 0x10]
test bl, bl
je 0x46a4b3
or eax, ecx
mov dword [edi + 0x10], eax
jmp case.0x46b0c4.7
not eax
and eax, ecx
mov dword [edi + 0x10], eax
jmp case.0x46b0c4.7
push 9
lea eax, [esp + 0x6c]
push str.ImageList
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a4f0
test bl, bl
je case.0x46b0c4.7
lea ecx, [esp + 0x7a]
call fcn.00481fe0
mov dword [edi + 0x18], eax
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 4
jne 0x46a51c
lea eax, [esp + 0x68]
push 0x4d4610
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a51c
test bl, bl
je 0x46af87
or dword [edi], 1
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 5
jne 0x46a548
lea eax, [esp + 0x68]
push str.Check3
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a548
test bl, bl
je 0x46aa91
or dword [edi], 6
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.ReadOnly
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a5b6
movzx eax, byte [esi + 0x30]
add eax, 0xfffffff7
cmp eax, 3
ja case.0x46b0c4.7
jmp dword [eax*4 + 0x46c1d4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je case.0x46a5de.9
push 0
movzx eax, bl
push eax
push 0xcf
push ecx
call dword [esp + 0x20]
jmp case.0x46b0c4.7
test bl, bl
je 0x46a12d
or dword [edi + 4], 0x200
jmp case.0x46b0c4.7
test bl, bl
je 0x46b058
or dword [edi + 4], 8
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Multi
push eax
call fcn.0049f2b1
mov cl, byte [esi + 0x30]
add esp, 8
test eax, eax
jne 0x46a611
movzx eax, cl
add eax, 0xfffffff7
cmp eax, 5
ja case.0x46b0c4.7
jmp dword [eax*4 + 0x46c1e4]
test bl, bl
je 0x46a5f4
or dword [edi], 0x800
jmp case.0x46b0c4.7
or dword [edi + 4], 0x800
jmp case.0x46b0c4.7
test bl, bl
je 0x46af45
or dword [edi + 4], 4
jmp case.0x46b0c4.7
cmp cl, 0xc
jne 0x46a647
lea eax, [esp + 0x68]
push str.WantReturn
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a647
test bl, bl
je 0x46a63b
or dword [edi], 0x1000
jmp case.0x46b0c4.7
or dword [edi + 4], 0x1000
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0xc
jne 0x46a6a0
lea eax, [esp + 0x68]
push str.WantTab
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
je 0x46a96e
cmp byte [esi + 0x30], 0xc
jne 0x46a6a0
lea eax, [esp + 0x68]
push str.WantCtrlA
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a6a0
mov cl, byte [esi + 0x31]
mov al, cl
and cl, 0xfd
or al, 2
movzx ecx, cl
test bl, bl
movzx eax, al
cmove ecx, eax
mov byte [esi + 0x31], cl
jmp case.0x46b0c4.7
mov al, byte [esi + 0x30]
cmp al, 0xa
je 0x46a6ab
cmp al, 0xb
jne 0x46a6de
lea eax, [esp + 0x68]
push str.WantF2
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a6de
mov cl, byte [esi + 0x31]
mov al, cl
and cl, 0x7f
or al, 0x80
movzx ecx, cl
test bl, bl
movzx eax, al
cmove ecx, eax
mov byte [esi + 0x31], cl
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0xc
jne 0x46a70d
lea eax, [esp + 0x68]
push str.Number
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a70d
test bl, bl
je 0x46a0fe
or dword [edi], 0x2000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Lowercase
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a75e
mov al, byte [esi + 0x30]
cmp al, 0xc
jne 0x46a73f
test bl, bl
je 0x46a736
or dword [edi], 0x10
jmp case.0x46b0c4.7
or dword [edi + 4], 0x10
jmp case.0x46b0c4.7
cmp al, 8
je case.0x46a56e.9
cmp al, 7
jne case.0x46b0c4.7
test bl, bl
je 0x46a3ac
or dword [edi], 0x4000
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Uppercase
push eax
call fcn.0049f2b1
mov cl, byte [esi + 0x30]
add esp, 8
test eax, eax
jne 0x46a7ad
cmp cl, 0xc
jne 0x46a78c
test bl, bl
je 0x46b063
or dword [edi], 8
jmp case.0x46b0c4.7
cmp cl, 8
je case.0x46a0db.3
cmp cl, 7
jne case.0x46b0c4.7
test bl, bl
je 0x46a0fe
or dword [edi], 0x2000
jmp case.0x46b0c4.7
cmp cl, 0xc
jne 0x46a843
push 8
lea eax, [esp + 0x6c]
push str.Password
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a843
mov ax, word [esp + 0x78]
mov word [edi + 0x188], ax
test bl, bl
je 0x46a820
or dword [edi], 0x20
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x46a839
push 0
test ax, ax
jne 0x46a808
push 0x25cf
push 0xcc
push ecx
call dword [esp + 0x20]
mov byte [esp + 0x1c], 1
jmp case.0x46b0c4.7
movzx eax, ax
push eax
push 0xcc
push ecx
call dword [esp + 0x20]
mov byte [esp + 0x1c], 1
jmp case.0x46b0c4.7
or dword [edi + 4], 0x20
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46a839
push 0
push 0
push 0xcc
push eax
call dword [esp + 0x20]
mov byte [esp + 0x1c], 1
jmp case.0x46b0c4.7
push 5
lea eax, [esp + 0x6c]
push str.Limit
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46a88f
test bl, bl
je 0x46a882
cmp word [esp + 0x72], ax
je 0x46a877
lea ecx, [esp + 0x72]
call fcn.00481fe0
mov dword [edi + 0x60], eax
jmp case.0x46b0c4.7
or eax, 0xffffffff
mov dword [edi + 0x60], eax
jmp case.0x46b0c4.7
mov eax, connect
mov dword [edi + 0x60], eax
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 8
jne 0x46a8bb
lea eax, [esp + 0x68]
push str.Simple
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a8bb
test bl, bl
je 0x46af87
or dword [edi], 1
jmp case.0x46b0c4.7
push 4
lea eax, [esp + 0x6c]
push str.Sort
push eax
call fcn.0049f432
mov cl, byte [esi + 0x30]
add esp, 0xc
test eax, eax
jne 0x46a91c
movzx eax, cl
add eax, 0xfffffff9
cmp eax, 3
ja case.0x46b0c4.7
jmp dword [eax*4 + 0x46c1fc]
test bl, bl
je 0x46a913
lea eax, [esp + 0x70]
push str.Desc
push eax
call fcn.0049f2b1
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x20
or dword [edi], eax
jmp case.0x46b0c4.7
or dword [edi + 4], 0x30
jmp case.0x46b0c4.7
cmp cl, 0x10
jne 0x46a94e
lea eax, [esp + 0x68]
push str.Horz
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a94e
test bl, bl
je 0x46ab06
mov eax, dword [edi]
and eax, 0xffffffef
or eax, 0x40
mov dword [edi], eax
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0x11
jne 0x46aa1b
lea eax, [esp + 0x68]
push str.Invert
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a98b
mov cl, byte [esi + 0x31]
mov al, cl
or cl, 0x80
and al, 0x7f
movzx ecx, cl
test bl, bl
movzx eax, al
cmove ecx, eax
mov byte [esi + 0x31], cl
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0x11
jne 0x46aa1b
lea eax, [esp + 0x68]
push str.NoTicks
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46a9bb
test bl, bl
je 0x46a736
or dword [edi], 0x10
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0x11
jne 0x46aa1b
push 0xc
lea eax, [esp + 0x6c]
push str.TickInterval
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46aa1b
mov byte [edi + 0x18b], 1
test bl, bl
je 0x46aa0c
or dword [edi], 1
lea ecx, [esp + 0x80]
cmp word [esp + 0x80], ax
setne al
mov byte [edi + 0x18c], al
call fcn.00481fe0
mov dword [edi + 0x3c], eax
jmp case.0x46b0c4.7
or dword [edi + 4], 1
or eax, 0xffffffff
mov dword [edi + 0x3c], eax
jmp case.0x46b0c4.7
push 4
lea eax, [esp + 0x6c]
push str.Line
push eax
call fcn.0049f432
mov cl, byte [esi + 0x30]
add esp, 0xc
test eax, eax
jne 0x46aa9a
cmp cl, 0x11
jne 0x46aa54
test bl, bl
je case.0x46b0c4.7
lea ecx, [esp + 0x70]
call fcn.00481fe0
mov dword [edi + 0x40], eax
jmp case.0x46b0c4.7
cmp cl, 0xb
jne case.0x46b0c4.7
movzx eax, word [esp + 0x70]
mov edx, eax
lea esi, [eax - 0x61]
and eax, 0xffdf
movzx ecx, ax
cmp si, 0x19
mov eax, edx
cmova ecx, eax
cmp cx, 0x53
jne 0x46b1c5
mov esi, dword [ebp + 0x10]
test bl, bl
je 0x46aa91
or dword [edi], 6
jmp case.0x46b0c4.7
or dword [edi + 4], 6
jmp case.0x46b0c4.7
cmp cl, 0x11
jne 0x46aad0
push 4
lea eax, [esp + 0x6c]
push str.Page
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46aad0
test bl, bl
je case.0x46b0c4.7
lea ecx, [esp + 0x70]
call fcn.00481fe0
mov dword [edi + 0x44], eax
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0x11
jne 0x46ab0f
push 5
lea eax, [esp + 0x6c]
push str.Thick
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46ab0f
test bl, bl
je 0x46ab06
or dword [edi], 0x40
lea ecx, [esp + 0x72]
call fcn.00481fe0
mov dword [edi + 0x48], eax
jmp case.0x46b0c4.7
or dword [edi + 4], 0x40
jmp case.0x46b0c4.7
push 7
lea eax, [esp + 0x6c]
push str.ToolTip
push eax
call fcn.0049f432
mov cl, byte [esi + 0x30]
add esp, 0xc
test eax, eax
jne 0x46abc8
cmp cl, 0x11
jne case.0x46b0c4.7
test bl, bl
je 0x46b0f2
movzx eax, word [esp + 0x76]
mov edx, eax
add eax, 0xffffff9f
mov ecx, edx
and ecx, 0xffffffdf
cmp ax, 0x19
cmova ecx, edx
add ecx, 0xffffffbe
cmp ecx, 0x12
ja case.0x46ab64.67
movzx eax, byte [ecx + 0x46c220]
jmp dword [eax*4 + 0x46c20c]
xor eax, eax
inc eax
mov dword [edi + 0x4c], eax
or dword [edi], 0x100
jmp case.0x46b0c4.7
mov eax, 1
inc eax
mov dword [edi + 0x4c], eax
or dword [edi], 0x100
jmp case.0x46b0c4.7
mov eax, 2
inc eax
mov dword [edi + 0x4c], eax
or dword [edi], 0x100
jmp case.0x46b0c4.7
mov eax, 3
inc eax
mov dword [edi + 0x4c], eax
or dword [edi], 0x100
jmp case.0x46b0c4.7
xor eax, eax
mov dword [edi + 0x4c], eax
or dword [edi], 0x100
jmp case.0x46b0c4.7
cmp cl, 0x11
jne 0x46ac34
push 5
lea eax, [esp + 0x6c]
push str.Buddy
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46ac34
test bl, bl
je case.0x46b0c4.7
movzx esi, word [esp + 0x72]
test si, si
je 0x46b1c5
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
call fcn.0046e120
mov edx, dword [esp + 0x18]
cmp eax, dword [edx + 0x5c]
jae 0x46b1c5
mov ecx, dword [edx + 0x2c]
cmp esi, 0x31
mov esi, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
jne 0x46ac2c
mov dword [edi + 0x50], eax
jmp case.0x46b0c4.7
mov dword [edi + 0x54], eax
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Vertical
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46ac79
mov al, byte [esi + 0x30]
cmp al, 0x11
jne 0x46ac61
test bl, bl
je case.0x46afb3.11
or dword [edi], 2
jmp case.0x46b0c4.7
cmp al, 0x12
jne case.0x46b0c4.7
test bl, bl
je 0x46ae7d
or dword [edi], 4
jmp case.0x46b0c4.7
push 5
lea eax, [esp + 0x6c]
push str.Range
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46ad3b
test bl, bl
je case.0x46b0c4.7
cmp word [esp + 0x72], ax
je case.0x46b0c4.7
mov al, byte [esi + 0x30]
cmp al, 0xd
je 0x46aced
cmp al, 0xe
je 0x46aced
lea ecx, [esp + 0x72]
mov byte [edi + 0x18a], 1
call fcn.00481fe0
mov dword [edi + 0x34], eax
lea eax, [esp + 0x74]
push 0x2d
push eax
call fcn.0049ce3f
add esp, 8
test eax, eax
je case.0x46b0c4.7
lea ecx, [eax + 2]
call fcn.00481fe0
mov dword [edi + 0x38], eax
jmp case.0x46b0c4.7
lea esi, [edi + 0x15c]
mov edx, esi
lea ecx, [esp + 0x72]
call fcn.00481310
mov dword [edi + 0x180], eax
test eax, eax
je case.0x46b3b2.68
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x46b1c5
push esi
mov esi, dword [ebp + 0x10]
mov edx, 0x1004
push eax
mov eax, 0x1012
cmp byte [esi + 0x30], 0xd
cmove eax, edx
push eax
push ecx
call dword [esp + 0x20]
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0x12
jne 0x46ad67
lea eax, [esp + 0x68]
push str.Smooth
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46ad67
test bl, bl
je 0x46af87
or dword [edi], 1
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Buttons
push eax
call fcn.0049f2b1
mov cl, byte [esi + 0x30]
add esp, 8
test eax, eax
jne 0x46adb1
cmp cl, 0x13
jne 0x46ad98
test bl, bl
je 0x46b0f2
or dword [edi], 0x100
jmp case.0x46b0c4.7
cmp cl, 0xb
jne case.0x46b0c4.7
test bl, bl
je 0x46af87
or dword [edi], 1
jmp case.0x46b0c4.7
cmp cl, 0x13
jne 0x46adee
lea eax, [esp + 0x68]
push str.Bottom
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46adee
mov eax, dword [edi + 4]
test bl, bl
je 0x46ade3
or dword [edi], 2
or eax, 0x80
mov dword [edi + 4], eax
jmp case.0x46b0c4.7
or eax, 2
mov dword [edi + 4], eax
jmp case.0x46b0c4.7
cmp byte [esi + 0x30], 0x18
jne 0x46ae40
push 5
lea eax, [esp + 0x6c]
push str.Class
push eax
call fcn.0049f432
add esp, 0xc
test eax, eax
jne 0x46ae40
lea eax, [esp + 0x2a0]
push eax
lea eax, [esp + 0x76]
push eax
push dword [0x4e8c70]
call dword [esp + 0x6c]
movzx eax, ax
mov word [edi + 0x192], ax
test ax, ax
jne case.0x46b0c4.7
mov ecx, str.Unrecognized_window_class.
jmp 0x46b8a8
lea eax, [esp + 0x68]
push str.Center
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46af07
movzx eax, byte [esi + 0x30]
dec eax
cmp eax, 0x10
ja case.0x46b0c4.7
test bl, bl
je 0x46aea9
movzx eax, byte [eax + 0x46c248]
jmp dword [eax*4 + 0x46c234]
or dword [edi + 4], 4
jmp case.0x46b0c4.7
movzx eax, byte [eax + 0x46c270]
jmp dword [eax*4 + 0x46c25c]
or dword [edi + 4], 0x1f
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Right
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46b01a
movzx eax, byte [esi + 0x30]
dec eax
test bl, bl
je 0x46afa3
cmp eax, 0x16
ja case.0x46b0c4.7
movzx eax, byte [eax + 0x46c2a4]
jmp dword [eax*4 + 0x46c284]
or dword [edi + 4], 8
or dword [edi], 4
jmp case.0x46b0c4.7
or dword [edi], 2
or dword [edi + 4], 0x1d
jmp case.0x46b0c4.7
mov eax, dword [edi]
or dword [edi + 4], 0x100
or eax, 0x200
mov dword [edi], eax
mov cl, byte [esi + 0x30]
cmp cl, 5
je 0x46af7a
cmp cl, 6
jne case.0x46b0c4.7
or eax, 0x20
mov dword [edi], eax
jmp case.0x46b0c4.7
or dword [edi], 2
or dword [edi + 4], 1
jmp case.0x46b0c4.7
or dword [edi], 0x282
jmp case.0x46b0c4.7
or dword [edi], 0x20
jmp case.0x46b0c4.7
cmp eax, 0x12
ja case.0x46b0c4.7
movzx eax, byte [eax + 0x46c2d8]
jmp dword [eax*4 + 0x46c2bc]
or dword [edi + 4], 0x20
jmp case.0x46b0c4.7
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46afed
push 0xfffffffffffffff0
push eax
call dword [esp + 0x34]
and eax, 0x300
cmp eax, 0x300
je case.0x46b0c4.7
or dword [edi + 4], 0x200
jmp case.0x46b0c4.7
mov ecx, dword [edi]
mov eax, ecx
and eax, 0x300
cmp eax, 0x300
je case.0x46b0c4.7
and ecx, 0xfffffdff
mov dword [edi], ecx
jmp case.0x46b0c4.7
or dword [edi + 4], 0x82
jmp case.0x46b0c4.7
lea eax, [esp + 0x68]
push str.Left
push eax
call fcn.0049f2b1
add esp, 8
test eax, eax
jne 0x46b12b
movzx eax, byte [esi + 0x30]
test bl, bl
je 0x46b0b1
dec eax
cmp eax, 0x12
ja case.0x46b0c4.7
movzx eax, byte [eax + 0x46c30c]
jmp dword [eax*4 + 0x46c2ec]
or dword [edi + 4], 4
or dword [edi], 8
jmp case.0x46b0c4.7
or dword [edi], 4
or dword [edi + 4], 8
jmp case.0x46b0c4.7
mov eax, dword [edi + 4]
or dword [edi], 0x100
or eax, 0x200
mov dword [edi + 4], eax
mov cl, byte [esi + 0x30]
cmp cl, 5
je 0x46b08e
cmp cl, 6
jne case.0x46b0c4.7
or eax, 0x20
mov dword [edi + 4], eax
jmp case.0x46b0c4.7
or dword [edi + 4], 3
jmp case.0x46b0c4.7
or dword [edi], 0x280
or dword [edi + 4], 2
jmp case.0x46b0c4.7
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x46b0c4.7
movzx eax, byte [eax + 0x46c330]
jmp dword [eax*4 + 0x46c320]
or dword [edi + 4], 0xc
jmp case.0x46b0c4.7
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46b0fe
push 0xfffffffffffffff0
push eax
call dword [esp + 0x34]
and eax, 0x300
cmp eax, 0x300
je case.0x46b0c4.7
or dword [edi + 4], 0x100
jmp case.0x46b0c4.7
mov ecx, dword [edi]
mov eax, ecx
and eax, 0x300
cmp eax, 0x300
je case.0x46b0c4.7
and ecx, 0xfffffeff
mov dword [edi], ecx
jmp case.0x46b0c4.7
or dword [edi + 4], 0x80
jmp case.0x46b0c4.7
mov ax, word [esp + 0x68]
cmp ax, 0x2d
je 0x46b15f
lea edx, [esp + 0x64]
lea ecx, [esp + 0x68]
call fcn.00481f30
mov ecx, dword [esp + 0x64]
cmp word [ecx], 0
jne 0x46b15a
test bl, bl
je 0x46b155
or dword [edi], eax
jmp case.0x46b0c4.7
or dword [edi + 4], eax
jmp case.0x46b0c4.7
mov ax, word [esp + 0x68]
movzx eax, ax
mov esi, eax
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x46b175
and esi, 0xffdf
jmp 0x46b178
movzx esi, si
cmp word [esp + 0x6a], 0
lea ecx, [esp + 0x6a]
mov dword [esp + 0x24], esi
movzx eax, si
mov dword [esp + 0x20], ecx
jne 0x46b1e6
cmp eax, 0x43
je 0x46b1ba
cmp si, 0x56
mov esi, dword [ebp + 0x10]
jne 0x46b8a3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x46b1b1
push eax
call fcn.0049f3b2
add esp, 4
mov dword [esi + 0x1c], 0
jmp case.0x46b0c4.7
test bl, bl
jne 0x46b1c5
mov dword [edi + 0x58], 0xff000000
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x40]
nop dword [eax]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x46b1e1
cmp eax, 9
jne 0x46b8c9
add ecx, 2
jmp 0x46b1d0
push esi
push str.XYWHTER
mov dword [esp + 0x3c], 0
call fcn.0049ce3f
add esp, 8
test eax, eax
je 0x46b38c
mov cx, word [esp + 0x6a]
movzx eax, cx
mov edx, eax
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x46b21f
and edx, 0xffdf
jmp 0x46b222
movzx edx, dx
movzx eax, si
add eax, 0xffffffb8
mov dword [esp + 0x28], edx
cmp eax, 0x11
ja case.0x46b23c.73
movzx eax, byte [eax + 0x46c350]
jmp dword [eax*4 + 0x46c344]
cmp dx, 0x50
lea esi, [esp + 0x6a]
lea eax, [esp + 0x6c]
cmove esi, eax
mov dword [esp + 0x20], esi
jmp 0x46b2c0
cmp cx, 0x2b
jne 0x46b296
movzx eax, word [esp + 0x6c]
mov ecx, eax
lea edx, [eax - 0x61]
and eax, 0xffdf
movzx esi, ax
cmp dx, 0x19
mov eax, ecx
cmova esi, eax
mov eax, 0x4d
cmp ax, si
jne 0x46b292
lea esi, [esp + 0x6e]
mov byte [esp + 0xf], 1
mov dword [esp + 0x20], esi
jmp 0x46b2c0
mov edx, dword [esp + 0x28]
push edx
push str.MPS
mov byte [esp + 0x17], 0
call fcn.0049ce3f
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
cmove ecx, dword [esp + 0x20]
mov esi, ecx
mov dword [esp + 0x20], esi
jmp 0x46b2c0
mov esi, dword [esp + 0x20]
push ecx
push 1
push 0
mov edx, 1
mov ecx, esi
call fcn.00481640
add esp, 0xc
sub eax, 1
je 0x46b321
sub eax, 1
je 0x46b2fa
cmp word [esi], 0
jne 0x46b2ed
mov ecx, dword [esp + 0x28]
test cx, cx
jne 0x46b33f
mov edx, dword [esp + 0x18]
xor esi, esi
mov ecx, esi
jmp 0x46b39c
push esi
call fcn.004a9322
mov ecx, dword [esp + 0x2c]
add esp, 4
fstp dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
cvttss2si eax, xmm0
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x34], eax
jmp 0x46b343
mov ecx, esi
call fcn.00481fe0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
jmp 0x46b343
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
cmp si, 0x58
je 0x46b36a
cmp si, 0x59
je 0x46b36a
cmp si, 0x57
je 0x46b35f
cmp si, 0x48
jne 0x46b394
cmp eax, 0xffffffff
jne 0x46b36a
cmp cx, 0x50
jne 0x46b394
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc6], 0
je 0x46b398
push 0x60
push dword [0x4e9eac]
push eax
call dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov ecx, eax
jmp 0x46b39c
mov edx, dword [esp + 0x18]
xor ecx, ecx
jmp 0x46b39c
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
movzx eax, si
add eax, 0xffffffbd
cmp eax, 0x16
ja case.0x46b3b2.68
movzx eax, byte [eax + 0x46c38c]
jmp dword [eax*4 + 0x46c364]
mov eax, dword [edi + 0x138]
mov esi, dword [ebp + 0x10]
cmp eax, 0x32
jae case.0x46b0c4.7
mov dword [edi + eax*4 + 0x70], ecx
inc dword [edi + 0x138]
jmp case.0x46b0c4.7
mov esi, dword [esp + 0x20]
mov ecx, edx
push esi
mov esi, dword [ebp + 0x10]
push esi
call fcn.004635f0
cmp eax, 0xa0000000
je 0x46b8be
cmp eax, 0xa00e0001
jne case.0x46b0c4.7
push dword [0x4e9d8c]
mov ecx, 0x4e9ec0
push 0
push 0
push 0
push str.Out_of_memory.
call fcn.0040c9d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [esp + 0x20]
cmp word [esi], 0
je 0x46b1be
mov ecx, esi
call fcn.00482bc0
mov dword [edi + 0x58], eax
cmp eax, 0xffffffff
jne 0x46b1c5
push 0x10
lea eax, [esp + 0x40]
push eax
push esi
call fcn.004a4d5d
mov esi, dword [ebp + 0x10]
add esp, 0xc
movzx edx, al
movzx ecx, ax
shl edx, 8
shr ecx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x58], edx
cmp word [eax], 0
je case.0x46b0c4.7
jmp 0x46b8a3
cmp word [esp + 0x28], 0x50
jne 0x46b49f
mov eax, dword [edx + 0x8c]
add eax, ecx
mov dword [edi + 0x24], eax
jmp 0x46b1c5
mov eax, ecx
mov dword [edi + 0x24], eax
jmp 0x46b1c5
cmp word [esp + 0x28], 0x50
jne 0x46b4c1
mov eax, dword [edx + 0x90]
add eax, ecx
mov dword [edi + 0x28], eax
jmp 0x46b1c5
mov eax, ecx
mov dword [edi + 0x28], eax
jmp 0x46b1c5
mov ebx, dword [esp + 0x28]
cmp bx, 0x2b
jne 0x46b5e8
cmp byte [esp + 0xf], 0
je 0x46b4e5
mov eax, dword [edx + 0x7c]
jmp 0x46b4e7
xor eax, eax
mov esi, dword [ebp + 0x10]
add eax, ecx
mov dword [esp + 0x24], eax
mov ah, byte [esi + 0x32]
mov byte [esp + 0x17], ah
cmp ah, 0xff
je 0x46b52f
mov ecx, dword [esp + 0x18]
xor al, al
xor edx, edx
mov ebx, dword [ecx + 0x5c]
test ebx, ebx
je 0x46b52f
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x34], ecx
mov esi, dword [ecx]
mov dword [esp + 0x20], esi
cmp byte [esi + 0x30], 0x13
jne 0x46b524
cmp al, ah
je 0x46b561
inc al
inc edx
add ecx, 4
cmp edx, ebx
jb 0x46b512
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x8c]
add eax, dword [ebx + 0x84]
add eax, dword [esp + 0x24]
cmp dword [edi + 0x20], 0x80000000
mov dword [edi + 0x1c], eax
jne case.0x46b0c4.7
mov eax, dword [ebx + 0x88]
mov dword [edi + 0x20], eax
jmp case.0x46b0c4.7
test esi, esi
je 0x46b52c
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov bh, byte [esp + 0x17]
xor eax, eax
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov bl, byte [ecx + 0x33]
nop dword [eax + eax]
mov ecx, dword [edi + eax*4]
cmp byte [ecx + 0x33], bl
jne 0x46b58e
cmp byte [ecx + 0x32], bh
jne 0x46b58e
inc edx
inc eax
cmp eax, dword [esi + 0x5c]
jb 0x46b580
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
test edx, edx
jne 0x46b52c
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x270]
push eax
push dword [esi + 0x18]
mov ecx, ebx
call fcn.00470cb0
mov eax, dword [esp + 0x270]
add eax, dword [esp + 0x24]
cmp dword [edi + 0x20], 0x80000000
mov ecx, dword [esp + 0x274]
mov esi, dword [ebp + 0x10]
mov dword [edi + 0x1c], eax
jne case.0x46b0c4.7
add ecx, dword [ebx + 0x80]
mov dword [edi + 0x20], ecx
jmp case.0x46b0c4.7
cmp bx, 0x4d
jne 0x46b61a
mov eax, dword [edx + 0x7c]
add eax, ecx
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x20], 0x80000000
mov esi, dword [ebp + 0x10]
jne case.0x46b0c4.7
mov eax, dword [edx + 0x98]
add eax, dword [edx + 0x80]
mov dword [edi + 0x20], eax
jmp case.0x46b0c4.7
cmp bx, 0x50
jne 0x46b65c
mov eax, dword [edx + 0x84]
add eax, ecx
cmp dword [edi + 0x20], 0x80000000
mov dword [edi + 0x1c], eax
jne 0x46b1c5
mov ecx, dword [edx + 0x88]
cmp eax, dword [edx + 0x84]
jne 0x46b654
mov eax, dword [edx + 0x90]
add eax, dword [edx + 0x80]
add ecx, eax
mov dword [edi + 0x20], ecx
jmp 0x46b1c5
cmp bx, 0x53
jne 0x46b691
mov eax, dword [edx + 0x9c]
mov esi, dword [ebp + 0x10]
add eax, ecx
cmp dword [edi + 0x20], 0x80000000
mov dword [edi + 0x1c], eax
jne case.0x46b0c4.7
mov eax, dword [edx + 0xa8]
add eax, dword [edx + 0x80]
mov dword [edi + 0x20], eax
jmp case.0x46b0c4.7
mov dword [edi + 0x1c], ecx
jmp 0x46b5f6
mov ebx, dword [esp + 0x28]
cmp bx, 0x2b
jne 0x46b7cb
cmp byte [esp + 0xf], 0
je 0x46b6b6
mov eax, dword [edx + 0x80]
jmp 0x46b6b8
xor eax, eax
mov esi, dword [ebp + 0x10]
add eax, ecx
mov dword [esp + 0x24], eax
mov ah, byte [esi + 0x32]
mov byte [esp + 0x17], ah
cmp ah, 0xff
je 0x46b79d
mov ecx, dword [esp + 0x18]
xor al, al
xor edx, edx
mov ebx, dword [ecx + 0x5c]
test ebx, ebx
je 0x46b79b
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x34], ecx
nop dword [eax + eax]
mov esi, dword [ecx]
mov dword [esp + 0x20], esi
cmp byte [esi + 0x30], 0x13
jne 0x46b702
cmp al, ah
je 0x46b716
inc al
inc edx
add ecx, 4
cmp edx, ebx
jb 0x46b6f0
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
jmp 0x46b79d
test esi, esi
je 0x46b70a
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov bh, byte [esp + 0x17]
xor eax, eax
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov bl, byte [ecx + 0x33]
mov ecx, dword [edi + eax*4]
cmp byte [ecx + 0x33], bl
jne 0x46b73e
cmp byte [ecx + 0x32], bh
jne 0x46b73e
inc edx
inc eax
cmp eax, dword [esi + 0x5c]
jb 0x46b730
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
test edx, edx
jne 0x46b70a
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x280]
push eax
push dword [esi + 0x18]
mov ecx, ebx
call fcn.00470cb0
mov eax, dword [esp + 0x284]
add eax, dword [esp + 0x24]
cmp dword [edi + 0x1c], 0x80000000
mov ecx, dword [esp + 0x280]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov dword [edi + 0x20], eax
jne case.0x46b0c4.7
mov eax, dword [ebx + 0x7c]
add eax, ecx
mov dword [edi + 0x1c], eax
jmp case.0x46b0c4.7
mov edx, ecx
mov eax, dword [edx + 0x90]
add eax, dword [edx + 0x88]
add eax, dword [esp + 0x24]
cmp dword [edi + 0x1c], 0x80000000
mov dword [edi + 0x20], eax
jne case.0x46b0c4.7
mov eax, dword [edx + 0x84]
mov dword [edi + 0x1c], eax
jmp case.0x46b0c4.7
cmp bx, 0x4d
jne 0x46b7fd
mov eax, dword [edx + 0x80]
add eax, ecx
mov dword [edi + 0x20], eax
cmp dword [edi + 0x1c], 0x80000000
mov esi, dword [ebp + 0x10]
jne case.0x46b0c4.7
mov eax, dword [edx + 0x94]
add eax, dword [edx + 0x7c]
mov dword [edi + 0x1c], eax
jmp case.0x46b0c4.7
cmp bx, 0x50
jne 0x46b83f
mov eax, dword [edx + 0x88]
add eax, ecx
cmp dword [edi + 0x1c], 0x80000000
mov dword [edi + 0x20], eax
jne 0x46b1c5
mov ecx, dword [edx + 0x84]
cmp eax, dword [edx + 0x88]
jne 0x46b837
mov eax, dword [edx + 0x8c]
add eax, dword [edx + 0x80]
add ecx, eax
mov dword [edi + 0x1c], ecx
jmp 0x46b1c5
cmp bx, 0x53
jne 0x46b871
mov eax, dword [edx + 0xa0]
mov esi, dword [ebp + 0x10]
add eax, ecx
cmp dword [edi + 0x1c], 0x80000000
mov dword [edi + 0x20], eax
jne case.0x46b0c4.7
mov eax, dword [edx + 0xa4]
add eax, dword [edx + 0x7c]
mov dword [edi + 0x1c], eax
jmp case.0x46b0c4.7
mov dword [edi + 0x20], ecx
jmp 0x46b7dc
movss xmm0, dword [esp + 0x30]
movss dword [edi + 0x2c], xmm0
jmp 0x46b1c5
mov esi, dword [ebp + 0x10]
test bl, bl
je 0x46b898
or dword [edi + 8], ecx
jmp case.0x46b0c4.7
or dword [edi + 0xc], ecx
jmp case.0x46b0c4.7
mov esi, dword [ebp + 0x10]
mov ecx, str.Invalid_option.
push 9
lea edx, [esp + 0x6c]
call fcn.0040dd50
add esp, 4
test eax, eax
jne case.0x46b0c4.7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, eax
test ax, ax
jne 0x469c45
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46c199
push 0xfffffffffffffff0
push eax
call edx
mov edx, dword [edi + 4]
mov esi, eax
mov ebx, esi
mov dword [esp + 0x24], esi
or ebx, dword [edi]
mov ecx, edx
not ecx
and ebx, ecx
mov ecx, dword [ebp + 0x10]
movzx eax, byte [ecx + 0x30]
add eax, 0xfffffffe
cmp eax, 8
ja case.0x46b90e.9
jmp dword [eax*4 + 0x46c3a4]
mov eax, ebx
xor eax, esi
and eax, 0xf
xor ebx, eax
jmp case.0x46b90e.9
and ebx, 0xfffffff7
or ebx, 7
jmp case.0x46b90e.9
test bl, 1
je 0x46b93b
and ebx, 0xfffffff1
or ebx, 1
jmp 0x46b93e
and ebx, 0xfffffff0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x64]
cmp dword [ebp + 0x14], ecx
jne 0x46b976
test dl, 1
je case.0x46b90e.9
push 0
push 1
push 0x401
push dword [eax + 0x1c]
mov dword [eax + 0x64], 0xffffffff
call dword [esp + 0x20]
or esi, 1
mov dword [esp + 0x24], esi
jmp case.0x46b90e.9
test byte [edi], 1
je case.0x46b90e.9
cmp ecx, dword [eax + 0x5c]
jae 0x46b9b8
mov eax, dword [eax + 0x2c]
push 1
push 0xfffffffffffffff0
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
call dword [esp + 0x38]
and eax, 0xfffe
push eax
mov eax, dword [esp + 0x20]
push 0xf4
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
call dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x64], ecx
push 0
lea eax, [ecx + 3]
push eax
mov eax, dword [esp + 0x20]
push 0x401
push dword [eax + 0x1c]
call dword [esp + 0x20]
jmp case.0x46b90e.9
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x46b9e7
and ebx, 0xfffffff6
or ebx, 6
jmp case.0x46b90e.9
and ebx, 0xfffffff3
or ebx, 3
jmp case.0x46b90e.9
and ebx, 0xfffffff9
or ebx, 9
jmp case.0x46b90e.9
test bl, 1
je 0x46ba04
and ebx, 0xfffffff1
or ebx, 1
jmp case.0x46b90e.9
and ebx, 0xfffffff2
or ebx, 2
jmp case.0x46b90e.9
mov eax, dword [edi + 0x14]
cmp eax, 0xffffffff
je case.0x46b90e.9
push 0
push eax
push 0x108e
push dword [ecx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x14]
cmp eax, 4
je case.0x46b90e.9
and ebx, 0xfffffffc
or ebx, eax
mov eax, dword [edi + 0x60]
mov edx, dword [ebp + 0x10]
test eax, eax
je 0x46ba9a
mov cl, byte [edx + 0x30]
cmp cl, 0xc
jne 0x46ba78
mov ecx, dword [edx + 0x18]
push 0
test eax, eax
jns 0x46ba70
push 0
push 0xc5
push ecx
call dword [esp + 0x20]
cmp dword [edi + 0x60], 0x80000000
mov edx, dword [ebp + 0x10]
je 0x46ba9a
test bl, 4
jne 0x46ba9a
and ebx, 0xffefff7f
jmp 0x46ba9a
push eax
push 0xc5
jmp 0x46ba92
cmp cl, 0xf
jne 0x46ba9a
mov ecx, dword [edx + 0x18]
test eax, eax
jns 0x46ba8a
push 0
push 0
jmp 0x46ba8d
push 6
push eax
push 0x403
push ecx
call dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
mov byte [esp + 0xf], 0
cmp esi, ebx
je 0x46bb8f
mov al, byte [edx + 0x30]
mov byte [esp + 0xf], 1
mov byte [esp + 0x18], 0
cmp al, 4
je 0x46bb35
cmp al, 9
je 0x46bada
cmp al, 0x12
jne 0x46bb47
push 0
push 0
push 0x408
push dword [edx + 0x18]
call dword [esp + 0x20]
mov dword [esp + 0x44], eax
jmp 0x46bb47
mov eax, esi
and eax, 0x100000
test ebx, 0x100000
je 0x46bb26
test eax, eax
jne 0x46bb47
mov eax, dword [edi + 0x64]
test eax, eax
jns 0x46bb1c
lea eax, [esp + 0x290]
push eax
push dword [edx + 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x298]
sub eax, dword [esp + 0x290]
mov edx, dword [ebp + 0x10]
lea eax, [eax + eax*2]
mov dword [edi + 0x64], eax
push 0
push eax
push 0x194
jmp 0x46bb40
test eax, eax
je 0x46bb47
push 0
push 0
push 0x194
jmp 0x46bb40
push 1
movzx eax, bx
push eax
push 0xf4
push dword [edx + 0x18]
call dword [esp + 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 0x10]
push ebx
push 0xfffffffffffffff0
push dword [ecx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x46bb6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46bb97
mov eax, dword [ebp + 0x10]
push 0xfffffffffffffff0
push dword [eax + 0x18]
call dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
cmp eax, esi
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x46bb97
mov al, byte [esp + 0x17]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffec
push dword [eax + 0x18]
call dword [esp + 0x34]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0xc]
or esi, eax
not ecx
mov dword [esp + 0x3c], eax
and esi, ecx
cmp eax, esi
je 0x46bc31
mov cl, byte [esp + 0xf]
movzx eax, cl
test cl, cl
mov ecx, 1
cmove eax, ecx
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
and al, byte [esp + 0x17]
push 0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1b], al
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [ebp + 0x10]
push 0xffffffffffffffec
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x46bc11
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x46bc34
push 0xffffffffffffffec
push dword [esi + 0x18]
call dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
mov eax, 1
movzx ecx, byte [esp + 0x17]
cmovne ecx, eax
mov byte [esp + 0x18], cl
jmp 0x46bc34
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x30], 0xa
jne 0x46bc92
push 0
push 0
push 0x1037
push dword [esi + 0x18]
call dword [esp + 0x20]
mov esi, eax
mov eax, dword [edi + 0x10]
cmp esi, eax
je 0x46bc92
cmp byte [esp + 0xf], 0
jne 0x46bc64
mov byte [esp + 0xf], 1
mov byte [esp + 0x18], 0
push eax
mov eax, dword [ebp + 0x10]
push 0
push 0x1036
push dword [eax + 0x18]
call dword [esp + 0x20]
mov eax, dword [ebp + 0x10]
push 0
push 0
push 0x1037
push dword [eax + 0x18]
call dword [esp + 0x20]
cmp eax, esi
je 0x46bc99
mov byte [esp + 0x18], 1
cmp byte [esp + 0xf], 0
je 0x46bcb1
mov eax, dword [esp + 0x1c]
mov ecx, 1
cmp byte [esp + 0x18], 0
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
movzx eax, byte [edx + 0x30]
add eax, 0xfffffff7
cmp eax, 0x10
ja case.0x46bcd1.13
movzx eax, byte [eax + 0x46c3ec]
jmp dword [eax*4 + 0x46c3c8]
cmp byte [edi + 0x18a], 0
je case.0x46bcd1.13
push dword [edi + 0x38]
push dword [edi + 0x34]
push 0x46f
jmp 0x46c05a
cmp byte [edi + 0x18a], 0
mov ebx, dword [esp + 0x10]
je 0x46bd26
push dword [edi + 0x34]
push 0
push 0x407
push dword [edx + 0x18]
call ebx
push dword [edi + 0x38]
mov eax, dword [ebp + 0x10]
push 1
push 0x408
push dword [eax + 0x18]
call ebx
mov edx, dword [ebp + 0x10]
cmp byte [edi + 0x18b], 0
je 0x46bd48
mov eax, dword [edi + 0x3c]
test eax, eax
jns 0x46bdf2
push 0
push 1
push 0x409
push dword [edx + 0x18]
call ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [edi + 0x40]
test eax, eax
jle 0x46bd61
push eax
push 0
push 0x417
push dword [ebx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x44]
test eax, eax
jle 0x46bd77
push eax
push 0
push 0x415
push dword [ebx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x48]
test eax, eax
jle 0x46bd8d
push 0
push eax
push 0x41b
push dword [ebx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x46bda4
push 0
dec eax
push eax
push 0x41f
push dword [ebx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x50]
test eax, eax
je 0x46bdbc
push dword [eax + 0x18]
push 1
push 0x420
push dword [ebx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x54]
test eax, eax
je 0x46bdd4
push dword [eax + 0x18]
push 0
push 0x420
push dword [ebx + 0x18]
call dword [esp + 0x20]
test dword [edi + 4], 0x100
je case.0x46bcd1.13
push 0
push 0
push 0x41d
push dword [ebx + 0x18]
jmp 0x46c05d
cmp byte [edi + 0x18c], 0
je 0x46be08
push 0
push eax
push 0x414
jmp 0x46bd43
cmp byte [edi + 0x18a], 0
jne 0x46bd48
push 0
push 0
push 0x402
push dword [edx + 0x18]
call ebx
mov ebx, dword [ebp + 0x10]
push eax
push 1
push 0x408
push dword [ebx + 0x18]
call dword [esp + 0x20]
jmp 0x46bd4b
cmp dword [edi + 0x60], 0
mov ebx, dword [esp + 0x10]
je 0x46be7c
push 0
push 0
push 0x1004
push dword [edx + 0x18]
call ebx
test eax, eax
jle 0x46be6d
mov eax, dword [ebp + 0x10]
push 0
push dword [edi + 0x60]
push 0x102f
push dword [eax + 0x18]
call ebx
mov edx, dword [ebp + 0x10]
jmp 0x46be7c
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0x60]
mov ecx, dword [edx + 0x3c]
mov dword [ecx + 0x3f4], eax
mov eax, dword [edi + 0x58]
cmp eax, 0xffffffff
jne 0x46be8f
cmp dword [edi + 0x5c], eax
je case.0x46bcd1.13
jmp 0x46bea3
push eax
push 0
push 0x1024
push dword [edx + 0x18]
call ebx
mov dword [edi + 0x58], 0xffffffff
mov esi, dword [edi + 0x5c]
cmp esi, 0xffffffff
je 0x46bee0
cmp esi, 0xff000000
jne 0x46bebd
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, eax
mov ebx, dword [ebp + 0x10]
push esi
push 0
push 0x1026
push dword [ebx + 0x18]
call dword [esp + 0x20]
push esi
push 0
push 0x1001
push dword [ebx + 0x18]
call dword [esp + 0x20]
jmp 0x46bee3
mov ebx, dword [ebp + 0x10]
push 1
push 0
push dword [ebx + 0x18]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
call ebx
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x46c067
mov eax, dword [edi + 0x58]
mov ebx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x46bf2d
cmp eax, 0xff000000
mov ecx, 0xffffffff
cmove eax, ecx
push eax
push 0
push 0x111e
push dword [edx + 0x18]
call ebx
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x58], 0xffffffff
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je case.0x46bcd1.13
cmp eax, 0xff000000
mov ecx, 0xffffffff
cmove eax, ecx
push eax
push 0
push 0x111d
push dword [edx + 0x18]
call ebx
jmp case.0x46bcd1.13
test dword [edi + 0x58], 0xff000000
je 0x46bf6f
test dword [edi + 0x5c], 0xff000000
je 0x46bf6f
test bl, 1
je 0x46bf85
push 0x4cee90
push 0x4cee90
push dword [edx + 0x18]
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x46bf91
cmp dword [edi + 0x38], eax
je 0x46bfa1
push dword [edi + 0x38]
push eax
push 0x406
push dword [edx + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x58]
cmp eax, 0xffffffff
je 0x46bfbb
push eax
mov eax, dword [ebp + 0x10]
push 0
push 0x409
push dword [eax + 0x18]
call dword [esp + 0x20]
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je 0x46bfd5
push eax
mov eax, dword [ebp + 0x10]
push 0
push 0x2001
push dword [eax + 0x18]
call dword [esp + 0x20]
cmp dword [esp + 0x24], ebx
je case.0x46bcd1.13
mov eax, dword [ebp + 0x10]
push 0
push dword [esp + 0x48]
push 0x402
push dword [eax + 0x18]
jmp 0x46c05d
mov ecx, dword [edi + 0x138]
test ecx, ecx
je case.0x46bcd1.13
lea eax, [edi + 0x70]
push eax
push ecx
push 0xcb
push dword [edx + 0x18]
call dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x46c06b
mov ecx, dword [edi + 0x138]
test ecx, ecx
je case.0x46bcd1.13
lea eax, [edi + 0x70]
push eax
push ecx
push 0x192
push dword [edx + 0x18]
call dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x46c06b
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je case.0x46bcd1.13
push eax
push 0
push 0x2001
push dword [edx + 0x18]
call dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x58]
cmp ecx, 0xffffffff
je 0x46c123
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 0x30]
lea edx, [eax - 0xa]
cmp edx, 4
ja case.0x46c08a.12
jmp dword [edx*4 + 0x46c400]
mov eax, dword [ebp + 0x10]
push ecx
push 0
push 0x1024
push dword [eax + 0x18]
call dword [esp + 0x20]
jmp 0x46c11d
cmp ecx, 0xff000000
mov eax, 0xffffffff
cmove ecx, eax
mov eax, dword [ebp + 0x10]
push ecx
push 0
push 0x111e
push dword [eax + 0x18]
call dword [esp + 0x20]
jmp 0x46c11d
cmp ecx, 0xff000000
jne 0x46c0d5
push 8
call esi
mov ecx, eax
mov eax, dword [ebp + 0x10]
push ecx
push 1
push 0x1006
push dword [eax + 0x18]
call dword [esp + 0x20]
jmp 0x46c11d
cmp ecx, 0xff000000
jne 0x46c0f7
push 8
call esi
mov ecx, eax
mov eax, dword [ebp + 0x10]
push ecx
push 1
push 0x100a
push dword [eax + 0x18]
call dword [esp + 0x20]
jmp 0x46c11d
mov al, byte [eax + 0x4db5dc]
not al
test al, 0x20
je 0x46c11d
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x3c], ecx
mov al, 1
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x184]
mov esi, dword [ebp + 0x10]
test ecx, ecx
je 0x46c157
xor eax, eax
cmp ecx, 3
push 0
sete al
push eax
push 0xb
push dword [esi + 0x18]
call dword [esp + 0x20]
cmp dword [edi + 0x184], 3
jne 0x46c153
cmp byte [esi + 0x30], 0xb
jne 0x46c15b
mov eax, dword [esp + 0x1c]
test al, al
je 0x46c164
push 1
push 0
push dword [esi + 0x18]
call ebx
cmp byte [esp + 0xf], 0
je 0x46c199
cmp byte [esp + 0x18], 0
jne 0x46c199
push 0
push 0
push dword [0x4ea504]
mov ecx, 0x4e9ec0
push 0x4cee90
push str.Failed
call fcn.0040c430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10