Function at 0x458f06
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
movzx ecx, word [eax]
cmp ecx, 0x2d
jne 0x458082
mov byte [esp + 0x11], 0
jmp 0x45808c
mov byte [esp + 0x11], 1
cmp ecx, 0x2b
jne 0x458093
add eax, 2
mov dword [esp + 0x14], eax
cmp word [eax], 0
je 0x459ba2
mov eax, dword [esp + 0x14]
mov ebx, 0x49eed0
call fcn.00460467
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4580d6
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4580c0
sub eax, edx
sar eax, 1
lea eax, [ebx + eax*2]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
je 0x459abf
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
xor edx, edx
push str.Section
push ebx
mov dword [esp + 0x2c], ecx
mov word [eax], dx
call 0x4d92d0
add esp, 8
test eax, eax
jne 0x45810e
mov byte [edi + 0x190], 1
jmp case.0x4589b5.11
push str.AltSubmit
push ebx
call 0x4d92ee
add esp, 8
test eax, eax
jne 0x458139
cmp byte [esi + 4], 0xc
je 0x458139
cmp byte [esp + 0x11], al
je 0x458a5d
or byte [esi + 5], 2
jmp case.0x4589b5.11
push 7
push str.Checked
push ebx
call 0x4d9b54
add esp, 0xc
test eax, eax
jne 0x4581d1
add ebx, 0xe
push str.Gray
push ebx
mov dword [esp + 0x1c], ebx
call 0x4d9338
add esp, 8
test eax, eax
jne 0x45817e
movzx eax, byte [esp + 0x11]
neg eax
sbb eax, eax
and eax, 2
mov dword [edi + 0x6c], eax
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xa
jne 0x45819d
cmp byte [esp + 0x11], 0
je 0x458194
or dword [edi + 0x10], 4
jmp case.0x4589b5.11
and dword [edi + 0x10], 0xfffffffb
jmp case.0x4589b5.11
cmp word [ebx], 0
je 0x4581c4
mov esi, dword [esp + 0x14]
call fcn.00463eb8
mov dword [edi + 0x6c], eax
cmp eax, 0xffffffff
jne case.0x4589b5.11
mov dword [edi + 0x6c], 2
jmp case.0x4589b5.11
movzx ecx, byte [esp + 0x11]
mov dword [edi + 0x6c], ecx
jmp case.0x4589b5.11
push 6
push str.Choose
push ebx
call 0x4d9bec
add byte [ebx - 0x3f7af33c], al
jne 0x45828f
cmp byte [esp + 0x11], al
je case.0x4589b5.11
movzx eax, byte [esi + 4]
add ebx, 0xc
sub eax, 0xd
mov dword [esp + 0x14], ebx
je 0x458249
dec eax
je 0x458225
mov esi, ebx
call fcn.00463f19
mov dword [edi + 0x34], eax
cmp eax, 1
jge case.0x4589b5.11
mov dword [edi + 0x34], 0
jmp case.0x4589b5.11
lea eax, [edi + 0x140]
mov ecx, ebx
call 0x4bdfde
mov dword [edi + 0x180], eax
cmp eax, 3
jne case.0x4589b5.11
or dword [edi], 2
jmp case.0x4589b5.11
push str.None
push ebx
call 0x4d9429
add esp, 8
test eax, eax
jne 0x458267
mov dword [edi + 0x34], 2
jmp case.0x4589b5.11
mov eax, dword [esp + 0x14]
push 1
lea esi, [edi + 0x140]
call 0x4be0b4
add esp, 4
test eax, eax
je case.0x4589b5.11
mov dword [edi + 0x34], 1
jmp case.0x4589b5.11
push str.Border
push ebx
call 0x4d946f
add esp, 8
test eax, eax
jne 0x4582be
cmp byte [esp + 0x11], al
je 0x4582b2
or dword [edi], 0x800000
jmp case.0x4589b5.11
or dword [edi + 4], 0x800000
jmp case.0x4589b5.11
push str.VScroll
push ebx
call 0x4d949e
add esp, 8
test eax, eax
jne 0x4582ed
cmp byte [esp + 0x11], al
je 0x4582e1
or dword [edi], 0x200000
jmp case.0x4589b5.11
or dword [edi + 4], 0x200000
jmp case.0x4589b5.11
push 7
push str.HScroll
push ebx
call 0x4d9d08
add esp, 0xc
test eax, eax
jne 0x45835d
cmp byte [esi + 4], 0xb
jne 0x45831d
cmp byte [esp + 0x11], al
je 0x4587b8
or dword [edi + 4], 0x8000
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x458351
or dword [edi], 0x100000
add ebx, 0xe
cmp word [ebx], 0
mov dword [esp + 0x14], ebx
je 0x458346
mov esi, ebx
call 0x46404a
mov dword [edi + 0x68], eax
jmp case.0x4589b5.11
or eax, 0xffffffff
mov dword [edi + 0x68], eax
jmp case.0x4589b5.11
or dword [edi + 4], 0x100000
jmp case.0x4589b5.11
push str.Tabstop
push ebx
call 0x4d953d
add esp, 8
test eax, eax
jne 0x458380
cmp byte [esp + 0x11], al
je 0x458398
or dword [edi], 0x10000
jmp case.0x4589b5.11
push str.NoTab
push ebx
call 0x4d9560
add esp, 8
test eax, eax
jne 0x4583a4
cmp byte [esp + 0x11], al
je 0x458375
or dword [edi + 4], 0x10000
jmp case.0x4589b5.11
push str.Group
push ebx
call 0x4d9584
add esp, 8
test eax, eax
jne 0x4583cc
cmp byte [esp + 0x11], 0
je 0x458646
or dword [edi], 0x20000
jmp case.0x4589b5.11
push str.Redraw
push ebx
call 0x4d95ac
add esp, 8
test eax, eax
jne 0x4583f5
xor edx, edx
cmp byte [esp + 0x11], dl
sete dl
add edx, 3
mov dword [edi + 0x188], edx
jmp case.0x4589b5.11
push 8
push str.Disabled
push ebx
call 0x4d9e10
add esp, 0xc
test eax, eax
jne 0x458460
cmp word [ebx + 0x10], ax
lea esi, [ebx + 0x10]
je 0x458424
call fcn.00464123
test eax, eax
jne 0x458424
cmp byte [esp + 0x11], al
sete al
jmp 0x458428
mov al, byte [esp + 0x11]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
je 0x458445
xor edx, edx
test al, al
sete dl
push edx
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4589b5.11
test al, al
je 0x458454
or dword [edi], 0x8000000
jmp case.0x4589b5.11
or dword [edi + 4], 0x8000000
jmp case.0x4589b5.11
push 6
push str.Hidden
push ebx
call 0x4d9e7b
add esp, 0xc
test eax, eax
jne 0x4584cf
cmp word [ebx + 0xc], ax
lea esi, [ebx + 0xc]
je 0x45848f
call fcn.0046418e
test eax, eax
jne 0x45848f
cmp byte [esp + 0x11], al
sete al
jmp 0x458493
mov al, byte [esp + 0x11]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4584b4
xor edx, edx
test al, al
setne dl
dec edx
and edx, 4
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4589b5.11
test al, al
je 0x4584c4
or dword [edi + 4], 0x10000000
jmp case.0x4589b5.11
or dword [edi], 0x10000000
jmp case.0x4589b5.11
push str.Wrap
push ebx
call 0x4d96af
add esp, 8
test eax, eax
jne 0x458550
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x12
ja case.0x4589b5.11
movzx eax, byte [eax + 0x45a0ac]
jmp dword [eax*4 + 0x45a094]
cmp byte [esp + 0x11], 0
je 0x45850d
or dword [edi + 4], 0x1f
jmp case.0x4589b5.11
mov ecx, dword [edi]
and ecx, 0xffffffec
or ecx, 0xc
mov dword [edi], ecx
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x45852f
or dword [edi + 4], 0x100080
jmp case.0x4589b5.11
or dword [edi], 0x80
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x458973
or dword [edi], 0x200
jmp case.0x4589b5.11
push 0xa
push str.Background
push ebx
call 0x4d9f6b
add esp, 0xc
test eax, eax
jne 0x45860f
movzx eax, byte [esi + 4]
add ebx, 0x14
add eax, 0xfffffff6
mov dword [esp + 0x14], ebx
cmp eax, 0xb
ja case.0x458582.12
movzx edx, byte [eax + 0x45a0c8]
jmp dword [edx*4 + 0x45a0c0]
cmp byte [esp + 0x11], 0
je 0x4585c3
mov esi, dword [esp + 0x14]
call 0x4bfa35
mov dword [edi + 0x60], eax
cmp eax, 0xffffffff
jne case.0x4589b5.11
push 0x10
mov eax, esi
push 0
push eax
call 0x4dad58
add esp, 0xc
mov ecx, eax
call 0x4842a7
mov dword [edi + 0x60], eax
jmp case.0x4589b5.11
mov dword [edi + 0x60], 0xff000000
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x4585fe
and byte [esi + 5], 0xdf
push str.Trans
push ebx
call 0x4d97ba
add esp, 8
test eax, eax
jne 0x4585f5
or byte [esi + 5], 0x40
jmp case.0x4589b5.11
and byte [esi + 5], 0xbf
jmp case.0x4589b5.11
mov cl, byte [esi + 5]
and cl, 0xbf
or cl, 0x20
mov byte [esi + 5], cl
jmp case.0x4589b5.11
push str.Group
push ebx
call 0x4d97ef
add esp, 8
test eax, eax
je 0x4583b6
push str.Theme
push ebx
call 0x4d9805
add esp, 8
test eax, eax
jne 0x458652
mov dl, byte [esp + 0x11]
mov byte [edi + 0x191], dl
jmp case.0x4589b5.11
or dword [edi + 4], 0x20000
jmp case.0x4589b5.11
push 4
push str.Hwnd
push ebx
call 0x4da06d
add esp, 0xc
test eax, eax
jne 0x45868a
mov esi, dword [esp + 0x14]
push 3
add esi, 8
xor ecx, ecx
xor edi, edi
mov ebx, 0x4c3000
call fcn.00475d39
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], eax
mov edi, ecx
jmp case.0x4589b5.11
push 4
push str.Icon
push ebx
call 0x4da0a5
add esp, 0xc
test eax, eax
jne 0x4586e7
add ebx, 8
cmp byte [esi + 4], 0xa
mov dword [esp + 0x14], ebx
jne 0x4586cb
push str.Small
push ebx
call 0x4d988b
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [edi + 0x14], eax
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je case.0x4589b5.11
mov esi, dword [esp + 0x14]
call fcn.004643eb
mov dword [edi + 0x70], eax
jmp case.0x4589b5.11
push str.Report
push ebx
call 0x4d98c7
add esp, 8
test eax, eax
jne 0x458705
mov dword [edi + 0x14], 1
jmp case.0x4589b5.11
push str.List
push ebx
call 0x4d98e5
add esp, 8
test eax, eax
jne 0x458723
mov dword [edi + 0x14], 3
jmp case.0x4589b5.11
push str.Tile
push ebx
call 0x4d9903
add esp, 8
test eax, eax
jne 0x45874d
cmp byte [0x4c3c1b], al
je case.0x4589b5.11
mov dword [edi + 0x14], 4
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xa
jne 0x458802
push 0x4a5b8c
push ebx
call 0x4d9937
add esp, 8
test eax, eax
jne 0x45877f
cmp byte [esp + 0x11], al
je 0x458b03
or dword [edi + 4], 0x4000
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xa
jne 0x458802
push 6
push str.NoSort
push ebx
call 0x4da1a0
add esp, 0xc
test eax, eax
jne 0x4587d2
push 0x4a5b8c
add ebx, 0xc
push ebx
call 0x4d997c
add esp, 8
test eax, eax
jne 0x4587c3
cmp byte [esp + 0x11], al
je 0x458311
or dword [edi], 0x8000
jmp case.0x4589b5.11
mov dl, byte [esp + 0x11]
mov byte [edi + 0x192], dl
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xa
jne 0x458802
push str.Grid
push ebx
call 0x4d99b8
add esp, 8
test eax, eax
jne 0x458802
cmp byte [esp + 0x11], al
je 0x4587f9
or dword [edi + 0x10], 1
jmp case.0x4589b5.11
and dword [edi + 0x10], 0xfffffffe
jmp case.0x4589b5.11
scasb al, byte es:[edi]
adc al, byte [eax]
invalid
push 5
push str.Count
push ebx
call 0x4da21d
add esp, 0xc
test eax, eax
jne 0x45882a
mov esi, dword [esp + 0x14]
add esi, 0xa
call fcn.0046452e
mov dword [edi + 0x64], eax
jmp case.0x4589b5.11
push 2
push 0x4a6c9c
push ebx
call 0x4da245
add esp, 0xc
test eax, eax
jne 0x45887b
push eax
push eax
push eax
add ebx, 4
push eax
mov eax, ebx
mov dword [esp + 0x24], ebx
call 0x4bea0c
add esp, 0x10
test eax, eax
je case.0x4589b5.11
mov esi, ebx
call fcn.0046a0de
cmp byte [esp + 0x11], 0
je 0x458871
or dword [edi + 0x10], eax
jmp case.0x4589b5.11
not eax
and dword [edi + 0x10], eax
jmp case.0x4589b5.11
push 9
push str.ImageList
push ebx
call 0x4da296
add esp, 0xc
test eax, eax
jne 0x4588ad
cmp byte [esp + 0x11], al
je case.0x4589b5.11
mov esi, dword [esp + 0x14]
add esi, 0x12
call fcn.0046a121
mov dword [edi + 0x18], eax
jmp case.0x4589b5.11
cmp byte [esi + 4], 4
jne 0x4588d8
push str.Default
push ebx
call 0x4d9a93
add esp, 8
test eax, eax
jne 0x4588d8
cmp byte [esp + 0x11], 0
je case.0x45920c.11
or dword [edi], 1
jmp case.0x4589b5.11
cmp byte [esi + 4], 5
jne 0x458902
push str.Check3
push ebx
call 0x4d9abe
add esp, 8
test eax, eax
jne 0x458902
cmp byte [esp + 0x11], al
je 0x458e07
or dword [edi], 6
jmp case.0x4589b5.11
push str.ReadOnly
push ebx
call 0x4d9ae2
add esp, 8
test eax, eax
jne 0x458993
movzx eax, byte [esi + 4]
add eax, 0xfffffff7
cmp eax, 3
ja case.0x4589b5.11
jmp dword [eax*4 + 0x45a0d4]
mov esi, dword [esi]
test esi, esi
je case.0x4589b5.9
movzx eax, byte [esp + 0x11]
push 0
push eax
push 0xcf
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x45895c
or dword [edi], 0x800
jmp case.0x4589b5.11
or dword [edi + 4], 0x800
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x458545
or dword [edi + 4], 0x200
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x458b32
or dword [edi + 4], 8
jmp case.0x4589b5.11
push str.Multi
push ebx
call 0x4d9b73
add esp, 8
test eax, eax
jne 0x4589db
movzx eax, byte [esi + 4]
add eax, 0xfffffff7
cmp eax, 5
ja case.0x4589b5.11
jmp dword [eax*4 + 0x45a0e4]
cmp byte [esp + 0x11], 0
je 0x4589d2
or dword [edi], 4
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x4589c3
or dword [edi + 4], 4
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xc
jne 0x458a66
push str.WantReturn
push ebx
call 0x4d9bc5
add esp, 8
test eax, eax
jne 0x458a14
cmp byte [esp + 0x11], al
je 0x458a08
or dword [edi], 0x1000
jmp case.0x4589b5.11
or dword [edi + 4], 0x1000
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xc
jne 0x458a66
push str.WantTab
push ebx
call 0x4d9bfa
add esp, 8
test eax, eax
jne 0x458a3b
cmp byte [esp + 0x11], al
je 0x458a89
or byte [esi + 5], 0x80
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xc
jne 0x458a66
push str.WantCtrlA
push ebx
call 0x4d9c21
add esp, 8
test eax, eax
jne 0x458a66
cmp byte [esp + 0x11], al
je 0x458130
and byte [esi + 5], 0xfd
jmp case.0x4589b5.11
mov al, byte [esi + 4]
cmp al, 0xa
je 0x458a71
cmp al, 0xb
jne 0x458a92
push str.WantF2
push ebx
call 0x4d9c51
add esp, 8
test eax, eax
jne 0x458a92
cmp byte [esp + 0x11], al
je 0x458a32
and byte [esi + 5], 0x7f
jmp case.0x4589b5.11
cmp byte [esi + 4], 0xc
jne 0x458ac0
push str.Number
push ebx
call 0x4d9c78
or byte [eax], al
add esp, 8
test eax, eax
jne 0x458ac0
cmp byte [esp + 0x11], 0
je 0x458b4f
or dword [edi], 0x2000
jmp case.0x4589b5.11
push str.Lowercase
push ebx
call 0x4d9ca0
add esp, 8
test eax, eax
jne 0x458b0e
mov al, byte [esi + 4]
cmp al, 0xc
jne 0x458aec
cmp byte [esp + 0x11], 0
je 0x458d52
or dword [edi], 0x10
jmp case.0x4589b5.11
cmp al, 8
je case.0x458924.9
cmp al, 7
jne case.0x4589b5.11
cmp byte [esp + 0x11], 0
je 0x458773
or dword [edi], 0x4000
jmp case.0x4589b5.11
push str.Uppercase
or dword [edi], 8
jmp case.0x4589b5.11
or dword [edi + 4], 0x2000
jmp case.0x4589b5.11
cmp byte [esp + 0x11], 0
je case.0x459307.11
or dword [edi], 2
jmp case.0x4589b5.11
or dword [edi + 4], 0x10
jmp case.0x4589b5.11
or dword [edi + 4], 6
jmp case.0x4589b5.11
or dword [edi], 0x100
mov dword [edi + 0x50], 0
jmp case.0x4589b5.11
or dword [edi + 4], 2
jmp case.0x4589b5.11
or dword [edi + 4], 1
jmp case.0x4589b5.11
mov ax, word [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x459ad0
cmp ecx, 9
jne 0x459ad5
add eax, 2
jmp 0x459ac3
cmp word [eax], 0
mov dword [esp + 0x14], eax
je 0x459ba2
jmp 0x458073
mov eax, dword [esi]
test eax, eax
je 0x45a084
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov ebx, ecx
or ebx, eax
mov eax, edx
not eax
and ebx, eax
movzx eax, byte [esi + 4]
add eax, 0xfffffffe
cmp eax, 8
ja case.0x459bd8.9
jmp dword [eax*4 + 0x45a284]
mov ecx, ebx
xor ecx, dword [esp + 0x18]
and ecx, 0xf
xor ebx, ecx
jmp case.0x459bd8.9
and ebx, 0xfffffff7
or ebx, 7
jmp case.0x459bd8.9
test bl, 1
je 0x459c07
and ebx, 0xfffffff1
or ebx, 1
jmp 0x459c0a
and ebx, 0xfffffff0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp dword [ebp + 0x18], eax
jne 0x459c44
test dl, 1
je case.0x459bd8.9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0
push 1
push 0x401
push ecx
mov dword [eax + 0x18], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [esp + 0x18], 1
jmp case.0x459bd8.9
test cl, 1
je case.0x459bd8.9
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0xc]
jae 0x459c8c
mov ecx, edx
mov edx, dword [ecx + 0x14]
push 1
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 8]
and eax, 0xfffe
push eax
mov eax, dword [ecx + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [ecx]
push 0
mov dword [ecx + 0x18], eax
add eax, 3
push eax
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x459bd8.9
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x459cbc
and ebx, 0xfffffff6
or ebx, 6
jmp case.0x459bd8.9
and ebx, 0xfffffff3
or ebx, 3
jmp case.0x459bd8.9
and ebx, 0xfffffff9
or ebx, 9
jmp case.0x459bd8.9
test bl, 1
je 0x459cd9
and ebx, 0xfffffff1
or ebx, 1
jmp case.0x459bd8.9
and ebx, 0xfffffff2
or ebx, 2
jmp case.0x459bd8.9
mov eax, dword [edi + 0x14]
cmp eax, 0xffffffff
je case.0x459bd8.9
cmp byte [0x4c3c1b], 0
je 0x459d03
mov ecx, dword [esi]
push 0
push eax
push 0x108e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x14]
cmp eax, 4
je case.0x459bd8.9
and ebx, 0xfffffffc
or ebx, eax
mov eax, dword [edi + 0x64]
test eax, eax
je 0x459d7e
mov cl, byte [esi + 4]
cmp cl, 0xc
jne 0x459d56
push 0
test eax, eax
jns 0x459d4b
mov edx, dword [esi]
push 0
push 0xc5
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x64], 0x80000000
je 0x459d7e
test bl, 4
jne 0x459d7e
and ebx, 0xffefff7f
jmp 0x459d7e
push eax
mov eax, dword [esi]
push 0xc5
push eax
jmp 0x459d78
cmp cl, 0xf
jne 0x459d7e
test eax, eax
jns 0x459d6d
mov ecx, dword [esi]
push 0
push 0
push 0x403
push ecx
jmp 0x459d78
mov edx, dword [esi]
push 6
push eax
push 0x403
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x11], 0
cmp ecx, ebx
je 0x459e48
mov al, byte [esi + 4]
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], 0
cmp al, 4
je 0x459dfc
cmp al, 9
jne 0x459e10
mov eax, ebx
and eax, 0x100000
je 0x459de4
test ecx, 0x100000
jne 0x459de4
cmp dword [edi + 0x68], 0
jge 0x459dd7
mov ecx, dword [esi]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
lea edx, [eax + eax*2]
mov dword [edi + 0x68], edx
mov eax, dword [edi + 0x68]
push 0
push eax
push 0x194
jmp 0x459e07
test eax, eax
jne 0x459e10
test ecx, 0x100000
je 0x459e10
mov edx, dword [esi]
push eax
push eax
push 0x194
push edx
jmp 0x459e0a
movzx eax, bx
push 1
push eax
push 0xf4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esi]
push ebx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x459e32
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x459e48
mov eax, dword [esi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, dword [esp + 0x18]
je 0x459e48
mov byte [esp + 0x12], 1
mov ecx, dword [esi]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
or ecx, eax
not edx
and ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x459eb8
cmp byte [esp + 0x11], 0
jne 0x459e7c
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x459ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x459eb8
mov edx, dword [esi]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, dword [esp + 0x20]
je 0x459eb8
mov byte [esp + 0x12], 1
cmp byte [esi + 4], 0xa
jne 0x459f1a
mov eax, dword [esi]
push 0
push 0
push 0x1037
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x24], eax
cmp eax, ecx
je 0x459f1a
cmp byte [esp + 0x11], 0
jne 0x459eec
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], 0
push ecx
mov ecx, dword [esi]
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
push 0
push 0
push 0x1037
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, dword [esp + 0x24]
je 0x459f1a
mov byte [esp + 0x12], 1
cmp byte [esp + 0x11], 0
je 0x459f2d
cmp byte [esp + 0x12], 0
mov byte [esp + 0x13], 1
jne 0x459f32
mov byte [esp + 0x13], 0
movzx eax, byte [esi + 4]
add eax, 0xfffffff7
cmp eax, 0xc
ja case.0x459f42.13
jmp dword [eax*4 + 0x45a2a8]
cmp byte [edi + 0x18e], 0
je case.0x459f42.13
mov ecx, edi
mov eax, esi
call 0x4b6ecb
jmp case.0x459f42.13
mov esi, dword [ebp + 0x14]
mov eax, edi
call 0x4b6f9a
test dword [edi + 4], 0x100
je case.0x459f42.13
push 0
push 0
mov eax, esi
mov ecx, dword [eax]
push 0x41d
push ecx
jmp 0x45a014
mov eax, edi
mov edi, esi
call 0x4b70a3
mov edi, dword [ebp + 0x10]
jmp case.0x459f42.13
mov esi, dword [ebp + 0x14]
call 0x4b7160
mov edi, dword [ebp + 0x10]
jmp case.0x459f42.13
mov edx, dword [ebp + 8]
push ebx
push edx
mov eax, edi
mov ecx, esi
call 0x4b71c3
jmp case.0x459f42.13
mov eax, dword [edi + 0x13c]
test eax, eax
je case.0x459f42.13
mov edx, dword [esi]
lea ecx, [edi + 0x74]
push ecx
push eax
push 0xcb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x13], 1
jmp case.0x459f42.13
mov eax, dword [edi + 0x13c]
test eax, eax
je case.0x459f42.13
mov edx, dword [esi]
lea ecx, [edi + 0x74]
push ecx
push eax
push 0x192
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x13], 1
jmp case.0x459f42.13
mov eax, dword [edi + 0x60]
cmp eax, 0xffffffff
je case.0x459f42.13
push eax
mov eax, dword [esi]
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x188]
mov esi, dword [ebp + 0x14]
test eax, eax
je 0x45a04c
mov edx, dword [esi]
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 [edi + 0x188], 3
jne 0x45a04c
cmp byte [esi + 4], 0xb
jne 0x45a053
cmp byte [esp + 0x13], 0
je 0x45a060
mov eax, dword [esi]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esp + 0x11], 0
je 0x45a084
cmp byte [esp + 0x12], 0
jne 0x45a084
mov ecx, dword [0x4c1688]
push 1
push 0
push 0xffffffffffffffff
push 0x49eb0c
call 0x4c2d20
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14