Function at 0x4060e7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x384
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x32c], eax
cmp dword [0x410004], esi
je 0x4046e0
cmp esi, 0x4e
je 0x404708
ja 0x402cc8
lea eax, [esi - 1]
cmp eax, 0xf
ja case.0x402cba.0
cmp esi, 0x10
ja case.0x402cba.0
jmp dword [esi*4 + 0x41328c]
cmp esi, 0x117
je 0x404868
jbe 0x403110
cmp esi, 0x233
je 0x4031e0
cmp esi, 0x400
jne case.0x402cba.0
mov edi, dword [ebp - 0x32c]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d1
mov dword [esp], edi
call ebx
sub esp, 8
mov esi, eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d4
call ebx
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x7d2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x32c], eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d3
call ebx
lea edx, [ebp - 0x284]
mov ecx, 0x1c
mov dword [ebp - 0x2e4], 8
mov edi, edx
mov ebx, eax
xor eax, eax
sub esp, 8
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x210]
mov ecx, 0x2e
mov dword [ebp - 0x288], 0x74
mov dword [ebp - 0x2e0], 0x4b0
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.user32.dll_SendMessageW]
lea eax, [ebp - 0x2e4]
mov dword [esp], esi
mov dword [ebp - 0x214], 0xbc
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45f
mov dword [ebp - 0x328], edi
call edi
sub esp, 0x10
test eax, eax
setne al
mov dword [esp + 8], 0x3f6
movzx eax, al
mov dword [esp + 4], 0x401
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp], eax
call edi
lea edx, [ebp - 0x288]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [esp], esi
call edi
lea eax, [ebp - 0x2f4]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x300]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb0
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc6
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp + 8], 0x51b
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x455
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp + 8], 0x51c
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x2f4]
xor eax, eax
sub esp, 0x10
cmp dword [ebp - 0x300], edx
setne al
mov dword [esp + 8], 0x51f
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x2f4]
xor eax, eax
sub esp, 0x10
cmp dword [ebp - 0x300], edx
setne al
mov dword [esp + 8], 0x51e
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x284], 1
je 0x402f2e
mov eax, dword [ebp - 0x280]
and eax, 1
mov edi, dword [ebp - 0x328]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x578
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x284]
sub esp, 0x10
not eax
mov dword [esp + 8], 0x578
and eax, 1
mov dword [esp + 4], 0x405
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call edi
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x284], 2
je 0x402f8d
mov eax, dword [ebp - 0x280]
shr eax, 1
and eax, 1
mov edi, dword [ebp - 0x328]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x579
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x284]
sub esp, 0x10
shr eax, 1
mov dword [esp + 8], 0x579
xor eax, 1
mov dword [esp + 4], 0x405
and eax, 1
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call edi
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x284], 4
je 0x402ff0
mov eax, dword [ebp - 0x280]
shr eax, 2
and eax, 1
mov edi, dword [ebp - 0x328]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x57a
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x284]
sub esp, 0x10
shr eax, 2
mov dword [esp + 8], 0x57a
xor eax, 1
mov dword [esp + 4], 0x405
and eax, 1
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call edi
lea eax, [ebp - 0x214]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
call edi
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x1fc], 1
sete al
mov dword [esp + 8], 0x44c
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x1fc], 3
sete al
mov dword [esp + 8], 0x44d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x1fc], 2
sete al
mov dword [esp + 8], 0x44e
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x20c], 0
setne al
mov dword [esp + 8], 0x522
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call edi
sub esp, 0x10
jmp 0x403242
cmp esi, 0x7b
je 0x4031d2
cmp esi, 0x111
jne case.0x402cba.0
call sym._preview_isactive
mov esi, eax
test eax, eax
jne 0x4052b0
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], 0x7d1
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x328], eax
call eax
mov dword [ebp - 0x330], eax
sub esp, 8
cmp eax, edi
je 0x40321f
movzx edx, bx
cmp bx, 0x57b
ja 0x406230
cmp edx, 0x513
ja 0x405830
cmp edx, 0x44e
ja 0x4057e8
cmp edx, 0x3e7
jbe case.0x40583f.1321
lea eax, [edx - 0x3e8]
cmp eax, 0x66
ja case.0x40583f.1321
jmp dword [eax*4 + 0x4132d0]
call sym._preview_isactive
test eax, eax
je 0x405308
lea esi, [esi]
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], esi
mov eax, dword [ebp - 0x32c]
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.user32.dll_DefWindowProcW]
lea esi, [ebp - 0x214]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.shell32.dll_DragQueryFileW]
sub esp, 0x10
mov dword [esp], ebx
call dword [sym.imp.shell32.dll_DragFinish]
sub esp, 4
call sym._prompt_save_changes
test eax, eax
jne 0x4052d0
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], 0
xor esi, esi
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp - 0x32c]
mov ecx, edi
mov edx, ebx
call sym._OnSize
mov esi, eax
jmp 0x403242
test bx, bx
je 0x40321f
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], 0x7d1
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
sub esp, 4
jmp 0x403242
call sym._preview_isactive
mov esi, eax
test eax, eax
jne 0x4051f0
call sym._prompt_save_changes
test eax, eax
je 0x40321f
mov eax, dword [0x410cb8]
mov dword [esp], eax
call sym._registry_set_options
mov dword [esp + 4], 0x411860
mov dword [esp], 0x41004c
call sym._registry_set_formatopts_all
mov dword [esp], 0
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
jmp 0x403242
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [esp], 0
mov dword [ebp - 0x348], eax
call eax
mov edi, dword [ebp - 0x32c]
sub esp, 4
mov ebx, eax
mov dword [ebp - 0x334], eax
mov dword [esp + 0xc], 0x7d0
mov dword [esp + 8], edi
mov dword [esp + 4], str.RichEdit_text
mov dword [esp], 0x50000040
call dword [sym.imp.comctl32.dll_CreateStatusWindowW]
mov eax, dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x7d4
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0x56000241
mov dword [esp + 8], 0
mov dword [esp + 4], str.ReBarWindow32
mov dword [esp], pe_nt_image_headers32
mov dword [ebp - 0x33c], eax
call eax
mov dword [ebp - 0x30c], 0xc
sub esp, 0x30
mov edx, eax
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x30c]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x404
mov dword [esp], edx
mov dword [ebp - 0x328], eax
call eax
sub esp, 0x10
test eax, eax
je 0x406874
mov eax, dword [ebp - 0x334]
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x64
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x7d2
mov dword [esp + 4], 0x5000010a
mov dword [esp], eax
call sym._CreateToolbarEx_52
mov ebx, dword [ebp - 0x32c]
sub esp, 0x34
mov edi, eax
mov dword [esp], ebx
mov ebx, dword [sym.imp.user32.dll_GetDC]
mov dword [ebp - 0x344], ebx
call ebx
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ecx, dword [ebp - 0x32c]
sub esp, 8
mov dword [ebp - 0x338], eax
mov dword [esp], ecx
mov ecx, dword [sym.imp.user32.dll_ReleaseDC]
mov dword [esp + 4], ebx
mov dword [ebp - 0x350], ecx
call ecx
xor eax, eax
mov dword [ebp - 0x324], 0xffffffff
sub esp, 8
cmp dword [ebp - 0x338], 0x77
setg al
mov dword [esp], edi
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x324]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x413
call eax
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
mov ebx, eax
sub esp, 0x10
lea eax, [eax + 6]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x210], 0x3eb
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 7]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x3e9
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 8]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x3ea
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 0xe]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x3f5
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 9]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x3f3
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 0xc]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x3f6
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], ebx
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x51f
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 1]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x51e
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 2]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x520
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 3]
lea edx, [ebp - 0x214]
add ebx, 4
sub esp, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x51b
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], ebx
mov ebx, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x210], 0x51c
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call ebx
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call ebx
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0x640
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call ebx
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x421
call ebx
mov dword [ebp - 0x328], ebx
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43a
call ebx
mov ecx, dword [ebp - 0x334]
mov edx, dword [ebp - 0x33c]
shr eax, 0x10
sub esp, 0x10
mov ebx, eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7dd
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x96
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800102
mov dword [esp + 8], 0
mov dword [esp + 4], str.ComboBoxEx32
mov dword [esp], 0
call edx
mov ecx, eax
sub esp, 0x30
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x338], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2e8]
mov ecx, ebx
sub eax, dword [ebp - 0x2f0]
sub esp, 8
cmp eax, ebx
mov ebx, dword [ebp - 0x328]
cmovge ecx, eax
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [ebp - 0x340], ecx
movzx edx, cx
shl ecx, 0x10
or edx, ecx
mov dword [esp + 4], 0x41f
mov dword [esp + 0xc], edx
mov dword [ebp - 0x35c], edx
call ebx
mov ecx, dword [ebp - 0x340]
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x268], edi
sub esp, 0x10
lea edi, [ebp - 0x288]
mov dword [ebp - 0x288], 0x50
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x284], 0x171
mov dword [ebp - 0x280], 0x105
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x254], 2
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x338]
mov dword [ebp - 0x328], ebx
sub esp, 0x10
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x31
call ebx
mov edx, dword [ebp - 0x338]
sub esp, 0x10
mov dword [ebp - 0x34c], eax
mov dword [esp], edx
mov edx, dword [ebp - 0x344]
call edx
mov ebx, eax
mov eax, dword [ebp - 0x34c]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [ebp - 0x354], eax
call eax
mov ecx, dword [sym.imp.gdi32.dll_GetTextExtentPointW]
sub esp, 8
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x31c]
mov dword [esp], ebx
mov dword [ebp - 0x358], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xf
mov dword [esp + 4], 0x41c260
call ecx
lea eax, [ebp - 0x314]
mov ecx, dword [ebp - 0x358]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x41c340
call ecx
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x354]
sub esp, 0x10
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
mov edx, dword [ebp - 0x350]
sub esp, 8
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x338]
mov dword [esp], ebx
call edx
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x268], ebx
sub esp, 8
mov ebx, dword [sym.imp.kernel32.dll_MulDiv]
mov dword [esp + 8], 2
mov dword [esp + 4], 3
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x330]
add eax, dword [ebp - 0x340]
mov dword [ebp - 0x254], 4
sub esp, 0xc
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x328]
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call eax
mov ecx, dword [ebp - 0x334]
mov edx, dword [ebp - 0x330]
sub esp, 0x10
mov eax, dword [ebp - 0x33c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7de
mov dword [esp + 0x1c], 0x96
mov dword [esp + 0x18], 0x32
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50800002
mov dword [esp + 8], 0
mov dword [esp + 4], str.ComboBoxEx32
mov dword [esp], 0
call eax
mov dword [ebp - 0x34c], eax
sub esp, 0x30
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x314]
mov dword [esp + 8], 2
mov dword [esp + 4], 3
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x330]
add eax, dword [ebp - 0x340]
mov dword [ebp - 0x254], 5
sub esp, 0xc
xor dword [ebp - 0x280], 1
mov ebx, dword [ebp - 0x328]
mov dword [esp], edx
mov dword [ebp - 0x25c], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call ebx
mov ecx, dword [ebp - 0x334]
mov edx, dword [ebp - 0x330]
sub esp, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp], edx
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x65
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0x7d3
mov dword [esp + 4], 0x1000010a
call sym._CreateToolbarEx_52
sub esp, 0x34
mov ebx, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x454
call eax
mov edx, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x328]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x41f
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0x578
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x210], 0x579
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 2
mov dword [ebp - 0x210], 0x57a
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 3
mov dword [ebp - 0x210], 0x57b
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 4
mov dword [ebp - 0x210], 0x44c
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 5
mov dword [ebp - 0x210], 0x44d
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x208], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x214], 6
mov dword [ebp - 0x210], 0x44e
mov byte [ebp - 0x20c], 4
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 0xffffffff
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x214]
mov eax, 0x804
mov dword [ebp - 0x20c], 0
sub esp, 0x10
mov word [ebp - 0x20c], ax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x210], 0x522
mov dword [ebp - 0x204], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov eax, dword [ebp - 0x328]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x421
call eax
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x268], ebx
sub esp, 0x10
mov ebx, dword [ebp - 0x328]
mov dword [ebp - 0x254], 3
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call ebx
mov ecx, dword [ebp - 0x334]
mov edx, dword [ebp - 0x330]
sub esp, 0x10
mov eax, dword [ebp - 0x33c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7df
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.Static
mov dword [esp], 0
call eax
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x254], 0
sub esp, 0x30
mov dword [ebp - 0x268], eax
mov dword [esp], edx
or dword [ebp - 0x280], 1
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call ebx
sub esp, 0x10
mov dword [esp], str.RICHED20.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x406750
mov eax, dword [ebp - 0x334]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7d1
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 0x18], 0x3e8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x51301144
mov dword [esp + 8], 0
mov dword [esp + 4], str.RichEdit20W
mov dword [esp], 0x200
call eax
mov dword [0x410cb0], eax
sub esp, 0x30
test eax, eax
je 0x406874
mov dword [esp], eax
call sym._setup_richedit_olecallback
mov eax, dword [0x410cb0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [0x410cb0]
mov edi, dword [ebp - 0x328]
sub esp, 4
mov dword [esp + 0xc], 0x80000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], eax
call edi
sub esp, 0x10
call sym._set_default_font
mov eax, dword [0x410cb8]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x2f8], 0
call eax
mov ebx, eax
mov eax, dword [ebp - 0x338]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call edi
mov byte [ebp - 0x2cd], 1
mov dword [ebp - 0x33c], eax
xor eax, eax
sub esp, 0x10
mov word [ebp - 0x2c8], ax
lea eax, [ebp - 0x300]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 0x2c9], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], sym._enum_font_proc_16
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_EnumFontFamiliesExW]
mov eax, dword [ebp - 0x2fc]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x300]
mov dword [esp + 0xc], sym._fonts_desc_compare
mov dword [esp + 8], 8
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
cmp dword [ebp - 0x2fc], 1
jbe 0x406845
mov eax, dword [sym.imp.ucrtbase.dll_free]
xor edi, edi
mov dword [ebp - 0x334], eax
jmp 0x404680
inc edi
cmp esi, edi
je 0x404673
mov eax, dword [ebp - 0x300]
mov edx, dword [ebp - 0x330]
mov ecx, dword [eax + edx + 4]
mov edx, dword [eax + edx]
mov dword [eax + ebx + 0xc], ecx
mov dword [eax + ebx + 8], edx
mov edx, dword [ebp - 0x330]
mov eax, dword [ebp - 0x300]
mov dword [eax + edx], 0
inc esi
cmp esi, dword [ebp - 0x2fc]
jae 0x404d50
mov eax, dword [ebp - 0x300]
lea ecx, [esi*8]
lea edx, [edi*8]
mov dword [ebp - 0x330], ecx
mov ebx, edx
mov ecx, dword [eax + edi*8]
mov dword [esp + 4], ecx
mov eax, dword [eax + esi*8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x404640
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + esi*8]
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
call eax
mov eax, dword [ebp - 0x300]
mov dword [eax + esi*8], 0
jmp 0x404673
mov eax, dword [edi + 0xc]
test al, 0x40
jne 0x4057d0
test al, 0x38
je 0x40321f
mov eax, edi
call sym._handle_findmsg.part.0
mov esi, eax
jmp 0x403242
mov esi, dword [ebp - 0x32c]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d1
mov dword [esp], esi
call ebx
sub esp, 8
mov dword [ebp - 0x334], eax
mov dword [esp], esi
mov dword [esp + 4], 0x7d4
call ebx
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x7dd
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x328], eax
mov dword [esp + 4], 0x7de
mov dword [esp], esi
call ebx
sub esp, 8
mov dword [ebp - 0x330], eax
mov dword [esp + 4], 0x7d3
mov dword [esp], esi
call ebx
mov edx, eax
sub esp, 8
mov eax, dword [edi]
cmp dword [ebp - 0x328], eax
je 0x406700
cmp dword [ebp - 0x330], eax
je 0x405320
cmp edx, eax
je 0x4065d0
cmp dword [ebp - 0x334], eax
jne 0x40321f
cmp dword [edi + 8], 0x702
jne 0x40321f
call sym._update_font_list
mov eax, dword [ebp - 0x334]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0xc]
lea edi, [ebp - 0x214]
mov dword [esp + 4], str.selection___ld.._ld__line_count_Id
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._sprintf
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], 0x7d0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x32c]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x400
mov dword [esp], eax
call esi
mov esi, 1
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x32c]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d1
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x32c]
sub esp, 8
mov dword [esp + 4], 0x7d0
mov dword [esp], eax
call esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x2f4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x300]
mov dword [esp + 8], eax
mov eax, dword [0x410cb0]
mov dword [esp + 4], 0xb0
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x2f4]
sub esp, 0x10
cmp dword [ebp - 0x300], eax
sete al
mov dword [esp + 4], 0x51e
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [sym.imp.user32.dll_EnableMenuItem]
mov dword [ebp - 0x32c], eax
call eax
mov edx, dword [ebp - 0x2f4]
xor eax, eax
sub esp, 0xc
cmp dword [ebp - 0x300], edx
sete al
mov dword [esp + 4], 0x51f
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x32c]
mov dword [esp], ebx
call eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x328], esi
mov dword [ebp - 0x214], 0x9c
sub esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
mov dword [esp], edi
call esi
sub esp, 0x10
mov dword [esp + 4], 0xfffffff0
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowLongW]
mov esi, dword [sym.imp.user32.dll_CheckMenuItem]
shr eax, 8
sub esp, 8
and eax, 8
mov dword [esp + 4], 0x516
mov dword [esp + 8], eax
mov dword [esp], ebx
call esi
mov eax, dword [ebp - 0x328]
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb8
mov dword [esp], edi
call eax
sub esp, 0x10
test eax, eax
setne al
mov dword [esp + 4], 0x517
movzx eax, al
mov dword [esp], ebx
shl eax, 3
mov dword [esp + 8], eax
call esi
mov edx, dword [ebp - 0x210]
sub esp, 0xc
and edx, 8
mov dword [ebp - 0x334], edx
jne 0x405190
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44c
mov dword [esp], ebx
call esi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x334]
sub esp, 0xc
mov dword [esp + 8], edx
mov dword [esp + 4], 0x44e
mov dword [esp], ebx
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x20c], 1
sete al
mov dword [esp + 4], 0x523
shl eax, 3
mov dword [esp], ebx
mov dword [esp + 8], eax
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x20c], 2
sete al
mov dword [esp + 4], 0x524
shl eax, 3
mov dword [esp], ebx
mov dword [esp + 8], eax
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x20c], 3
sete al
mov dword [esp + 4], 0x525
shl eax, 3
mov dword [esp], ebx
mov dword [esp + 8], eax
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x20c], 4
sete al
mov dword [esp + 4], 0x526
shl eax, 3
mov dword [esp], ebx
mov dword [esp + 8], eax
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x20c], 5
sete al
mov dword [esp + 4], 0x527
shl eax, 3
mov dword [esp], ebx
mov dword [esp + 8], eax
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x20c], 6
sete al
mov dword [esp + 4], 0x528
shl eax, 3
mov dword [esp], ebx
mov dword [esp + 8], eax
call esi
mov eax, dword [ebp - 0x328]
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc6
call eax
mov edx, dword [ebp - 0x32c]
sub esp, 0x10
test eax, eax
sete al
mov dword [esp + 4], 0x51b
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 8], eax
call edx
mov eax, dword [ebp - 0x328]
sub esp, 0xc
mov dword [esp], edi
mov edi, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x455
call eax
mov edx, dword [ebp - 0x32c]
sub esp, 0x10
test eax, eax
sete al
mov dword [esp + 4], 0x51c
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 8], eax
call edx
mov eax, dword [0x410c40]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov dword [esp + 4], 0x5dc
mov eax, dword [eax*4 + 0x41004c]
mov dword [esp], ebx
and eax, 4
cmovne eax, edi
mov dword [esp + 8], eax
call esi
mov eax, dword [0x410c40]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov dword [esp + 4], 0x5dd
mov eax, dword [eax*4 + 0x41004c]
mov dword [esp], ebx
and eax, 8
cmovne eax, edi
mov dword [esp + 8], eax
call esi
mov ecx, dword [ebp - 0x330]
sub esp, 0xc
mov dword [esp], ecx
call dword [sym.imp.user32.dll_IsWindowVisible]
sub esp, 4
test eax, eax
setne al
mov dword [esp + 4], 0x5de
movzx eax, al
mov dword [esp], ebx
shl eax, 3
mov dword [esp + 8], eax
call esi
mov eax, dword [0x410c40]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov dword [esp + 4], 0x5df
mov eax, dword [eax*4 + 0x41004c]
mov dword [esp], ebx
and eax, 1
cmovne eax, edi
mov dword [esp + 8], eax
call esi
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], 8
mov dword [ebp - 0x2e0], 0x4b0
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [0x410cb0]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 4], 0x45f
call eax
mov edx, dword [ebp - 0x32c]
mov edi, eax
sub esp, 0x10
xor eax, eax
test edi, edi
mov dword [esp + 4], 0x3f6
sete al
mov dword [esp], ebx
mov esi, eax
mov dword [esp + 8], esi
call edx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x30
mov dword [ebp - 0x284], 0x20
sub esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f7
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
mov eax, 1
sub esp, 0x10
test edi, edi
je 0x404d15
mov edx, dword [ebp - 0x268]
xor eax, eax
test edx, edx
sete al
mov edi, dword [ebp - 0x32c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3f7
mov dword [esp], ebx
mov eax, edi
call eax
mov eax, edi
sub esp, 0xc
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 4], 0x3f8
mov dword [esp], ebx
call eax
sub esp, 0xc
jmp 0x403221
lea edx, [edi + 1]
mov dword [ebp - 0x2fc], edx
test edx, edx
je 0x406869
xor ebx, ebx
lea esi, [ebp - 0x210]
mov dword [ebp - 0x330], esi
mov esi, ebx
mov ebx, dword [ebp - 0x338]
lea esi, [esi]
nop
mov edi, dword [ebp - 0x330]
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x214], 0x21
lea eax, [eax + esi*8]
mov ecx, dword [eax]
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x20c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 8], 0
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0x214]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 4], 0x40b
mov dword [esp], ebx
call eax
mov eax, dword [ebp - 0x300]
sub esp, 0x10
mov eax, dword [eax + esi*8]
inc esi
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
call eax
cmp esi, dword [ebp - 0x2fc]
jb 0x404d80
mov esi, dword [ebp - 0x330]
mov eax, dword [ebp - 0x300]
mov edi, esi
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
call eax
xor eax, eax
mov ecx, 0x1c
mov ebx, dword [ebp - 0x328]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x74
mov dword [esp + 0xc], eax
mov eax, dword [0x410cb0]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x1fa]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x34c]
sub esp, 0x10
call sym._populate_size_list
mov dword [esp], 0
mov eax, dword [ebp - 0x348]
call eax
mov esi, dword [sym.imp.user32.dll_LoadStringW]
sub esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x411ca0
mov dword [esp + 4], 0x57b
mov dword [esp], eax
call esi
mov edx, 0x2a
lea edi, [eax + eax + 2]
sub esp, 0x10
xor eax, eax
lea ecx, [edi + 0x411ca0]
jmp 0x404ee7
movzx edx, word [eax + 0x41c20c]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x404ee0
cmp word [edi + 0x411ca0], 0
je 0x40685f
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404f08
sub eax, ecx
add eax, 2
lea edi, [ecx + eax]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], edi
mov dword [esp + 4], 0x579
mov dword [esp], ebx
call esi
mov ecx, 0x2a
lea edx, [edi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
jmp 0x404f4f
movzx ecx, word [eax + str..txt]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404f48
cmp word [edx], 0
je 0x40683b
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404f70
sub eax, edx
add eax, 2
lea edi, [edx + eax]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], edi
mov dword [esp + 4], 0x57a
mov dword [esp], ebx
call esi
mov ecx, 0x2a
lea edx, [edi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
jmp 0x404fb7
movzx ecx, word [eax + str..txt]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404fb0
cmp word [edx], 0
je 0x406831
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x404fd0
sub eax, edx
add eax, 2
lea edi, [edx + eax]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], edi
mov dword [esp + 4], 0x578
mov dword [esp], ebx
call esi
mov ecx, 0x2a
lea edx, [edi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
jmp 0x405017
movzx ecx, word [eax + 0x41c204]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x405010
cmp word [edx], 0
je 0x406827
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x405030
sub eax, edx
add eax, 2
xor edi, edi
mov word [edx + eax], di
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x411880
mov dword [esp + 4], 0x6a4
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x412900
mov dword [esp + 4], 0x6a5
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x411060
mov dword [esp + 4], 0x5b2
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x411260
mov dword [esp + 4], 0x5b3
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x411460
mov dword [esp + 4], 0x5b4
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x411660
mov dword [esp + 4], 0x5b5
call esi
mov eax, dword [0x410cb0]
xor esi, esi
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
call eax
sub esp, 0x10
mov dword [esp], str.commdlg_FindReplace
call dword [sym.imp.user32.dll_RegisterWindowMessageW]
mov ebx, dword [ebp - 0x32c]
sub esp, 4
mov dword [0x410004], eax
mov dword [esp], ebx
call sym._registry_read_filelist
mov dword [esp + 4], 0x411860
mov dword [esp], 0x41004c
call sym._registry_read_formatopts_all
call sym._registry_read_options
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.shell32.dll_DragAcceptFiles]
sub esp, 8
jmp 0x403242
movzx edx, word [ebp - 0x1fc]
cmp edx, 1
mov dword [ebp - 0x334], edx
je 0x4067f0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44c
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x334]
sub esp, 0xc
cmp edx, 3
jne 0x40671c
mov dword [esp + 8], 8
mov dword [esp + 4], 0x44d
mov dword [esp], ebx
call esi
sub esp, 0xc
xor edx, edx
jmp 0x404a23
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 4], 0x898
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadMenuW]
mov edi, dword [ebp - 0x32c]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x7d1
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov esi, eax
call sym._set_bar_states
mov dword [esp], esi
xor esi, esi
mov dword [esp + 4], 1
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], edi
call sym._close_preview
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetMenu]
sub esp, 8
mov dword [esp], edi
call sym._registry_read_filelist
lea eax, [ebp - 0x214]
mov dword [esp + 4], eax
mov eax, dword [0x410cb8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x208]
movzx ecx, word [ebp - 0x20c]
xor edx, edx
sub esp, 8
shl eax, 0x10
or ecx, eax
mov eax, dword [0x410cb8]
call sym._OnSize
jmp 0x403242
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._preview_command
mov esi, eax
jmp 0x403242
mov eax, esi
xor esi, esi
call sym._DoOpenFile
jmp 0x403221
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x111
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], 0xf
jmp 0x4031c9
cmp dword [edi + 8], 0xfffffcda
jne 0x40321f
mov eax, dword [ebp - 0x330]
lea edx, [edi + 0x14]
xor esi, esi
call sym._on_sizelist_modified
jmp 0x403242
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x328], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov edx, dword [ebp - 0x328]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 0x30
push edi
mov dword [ebp - 0x210], 0x20
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
je 0x403242
mov eax, dword [ebp - 0x1f4]
call sym._DoOpenFile
jmp 0x403242
mov dword [ebp - 0x214], 0xbc
mov dword [ebp - 0x210], 8
cmp edx, 0x44d
je 0x406a59
cmp edx, 0x44e
jne 0x406a4b
mov word [ebp - 0x1fc], 2
lea eax, [ebp - 0x214]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 4], 0x447
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
call sym._DialogSaveFile
jmp 0x403242
mov eax, dword [0x410cb4]
test eax, eax
je 0x406997
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetActiveWindow]
push ebx
jmp 0x403242
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov edi, dword [eax*4 + 0x41004c]
mov ebx, eax
mov dword [eax*4 + 0x41004c], 2
call sym._set_bar_states
mov eax, dword [0x410cb0]
mov dword [esp + 4], 0
mov dword [ebx*4 + 0x41004c], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ebx, dword [ebp - 0x32c]
push ecx
push ecx
mov dword [esp], ebx
mov dword [esp + 4], 0x411a80
call sym._init_preview
mov dword [esp], ebx
mov dword [esp + 4], 0
call dword [sym.imp.user32.dll_SetMenu]
push ebx
push ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.user32.dll_InvalidateRect]
sub esp, 0xc
jmp 0x403242
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push ecx
mov ecx, dword [ebp - 0x32c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._newfile_proc_16
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x835
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
mov ebx, eax
cmp eax, 0x64
je 0x40321f
call sym._prompt_save_changes
test eax, eax
je 0x40321f
xor eax, eax
call sym._set_caption
mov eax, dword [0x410cb0]
lea edx, [ebp - 0x214]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x214], 0xbc
mov dword [ebp - 0x210], 8
mov word [ebp - 0x1fc], 1
mov dword [esp + 0xc], edx
mov word [0x411a80], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x447
mov dword [esp], eax
call edi
mov eax, dword [0x410cb0]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0x4b0
sub esp, 0x10
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x461
mov dword [esp], eax
call edi
mov eax, dword [0x410cb0]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov dword [esp], eax
call edi
mov dword [0x410c40], ebx
sub esp, 0x10
call sym._set_bar_states
call sym._set_default_font
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x411860]
mov dword [esp + 4], eax
mov eax, dword [0x410cb8]
mov dword [esp], eax
call sym._target_device
call sym._update_font_list
jmp 0x403242
cmp word [0x411a80], 0
je case.0x4031a4.1004
mov edx, dword [0x410c40]
mov eax, 0x411a80
call sym._DoSaveFile
jmp 0x403242
xor eax, eax
lea edi, [ebp - 0x214]
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x280]
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x410cb8]
mov dword [ebp - 0x288], 0x58
mov dword [ebp - 0x254], 0x801804
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x26c], eax
mov eax, dword [0x410c40]
mov dword [ebp - 0x27c], 0x411ca0
mov dword [ebp - 0x268], 0x104
mov dword [ebp - 0x24c], 0x41c494
cmp eax, 1
je 0x4069df
cmp eax, 0x11
sete al
movzx eax, al
add eax, eax
inc eax
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x288]
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
push edx
test eax, eax
je 0x403242
call sym._prompt_save_changes
test eax, eax
je 0x403242
mov eax, dword [ebp - 0x26c]
call sym._DoOpenFile
jmp 0x403242
mov eax, dword [ebp - 0x32c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [0x410c6c]
test al, 0x40
jne 0x4069e9
test al, 0x38
je 0x40321f
mov eax, 0x410c60
call sym._handle_findmsg.part.0
jmp 0x403242
mov eax, dword [0x410cb4]
test eax, eax
jne 0x405429
xor eax, eax
call sym._dialog_find.part.0.constprop.0
jmp 0x403242
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], 0x411a80
mov dword [esp], eax
call sym._dialog_print
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x411860]
mov dword [esp + 4], eax
mov eax, dword [0x410cb8]
mov dword [esp], eax
call sym._target_device
jmp 0x403242
mov eax, dword [0x410cb8]
mov dword [esp + 4], 0x411a80
mov dword [esp], eax
call sym._print_quick
jmp 0x405779
mov eax, dword [ebp - 0x32c]
mov dword [esp], eax
call sym._dialog_printsetup
jmp 0x405779
mov dword [0x410cb4], 0
xor esi, esi
mov dword [edi + 0xc], 8
jmp 0x403242
cmp edx, 0x4b0
je 0x4068b8
cmp edx, 0x4b1
jne case.0x40583f.1321
mov dword [esp + 0xc], 0xc0ffff
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x330]
mov dword [esp + 4], 0x443
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
sub edx, 0x514
cmp edx, 0x67
ja case.0x40583f.1321
jmp dword [edx*4 + 0x41346c]
mov eax, dword [ebp - 0x330]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], 0xbc
lea edi, [ebx - 0x522]
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x210], 0x20
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
mov dword [ebp - 0x328], eax
call eax
movzx eax, word [ebp - 0x20c]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x210], 0x8000e024
sub esp, 0x10
test ax, ax
je 0x406971
cmp bx, 0x522
je 0x406a16
cmp di, ax
je 0x406a16
mov dword [ebp - 0x208], 0
mov word [ebp - 0x20c], di
movzx edi, di
mov dword [0x410cc0], edi
mov dword [ebp - 0x164], 0x2000001
mov word [ebp - 0x160], 0x168
mov dword [ebp - 0x200], 0x168
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x447
mov eax, dword [ebp - 0x330]
mov dword [esp], eax
mov eax, dword [ebp - 0x328]
call eax
sub esp, 0x10
jmp 0x403242
lea edx, [ebp - 0x210]
xor eax, eax
mov ecx, 0x1c
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x74
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 8], 1
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x43a
mov dword [ebp - 0x328], eax
call eax
sub esp, 0x10
cmp bx, 0x579
je 0x4069cb
cmp bx, 0x57a
je 0x406a02
mov dword [ebp - 0x210], 1
mov eax, 1
xor dword [ebp - 0x20c], eax
lea eax, [ebp - 0x214]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x444
jmp 0x405912
xor eax, eax
mov ecx, 0x1c
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
xor eax, eax
cmp bx, 0x518
lea edx, [ebp - 0x214]
sete al
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x214], 0x74
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
lea edx, [ebp - 0x210]
xor eax, eax
mov ecx, 0x2e
mov edi, edx
lea ebx, [ebp - 0x214]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x214], 0xbc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x302
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x300
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x303
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [0x410cb8]
lea ebx, [ebp - 0x214]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
lea edx, [ebp - 0x2dc]
mov edi, edx
mov edx, dword [0x410cb8]
push ecx
mov ecx, 0xd
mov dword [ebp - 0x32c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2e0], edx
lea edx, [ebp - 0x288]
mov ecx, 0x1c
mov dword [ebp - 0x2d8], edx
lea edx, [ebp - 0x210]
mov dword [ebp - 0x2e4], 0x3c
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x410cb0]
mov dword [ebp - 0x2d0], 0x1800141
mov dword [ebp - 0x214], 0x74
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [ebp - 0x328], eax
call eax
mov ecx, dword [ebp - 0x2d8]
xor eax, eax
sub esp, 0x10
movzx edx, word [ebp + eax - 0x1fa]
mov word [ecx + eax + 0x1c], dx
add eax, 2
test dx, dx
jne 0x405b91
mov eax, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x2d8]
mov ecx, eax
shr ecx, 1
and ecx, 1
mov byte [edx + 0x14], cl
mov ecx, eax
and ecx, 1
cmp ecx, 1
sbb ecx, ecx
and ecx, 0xfffffed4
add ecx, 0x2bc
mov dword [edx + 0x10], ecx
mov ecx, eax
shr eax, 3
and eax, 1
shr ecx, 2
mov byte [edx + 0x16], al
mov eax, dword [ebp - 0x32c]
and ecx, 1
mov byte [edx + 0x15], cl
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov ecx, 0x14
push edi
push edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x208]
mov dword [esp + 8], 0x48
cdq
idiv ecx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MulDiv]
mov edx, dword [ebp - 0x2d8]
neg eax
sub esp, 0xc
mov dword [edx], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2e4]
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_ChooseFontW]
push edx
test eax, eax
je 0x403242
lea edx, [ebp - 0x20c]
xor eax, eax
mov ecx, 0x1b
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x214], 0x74
mov dword [ebp - 0x210], 0xc000000f
add eax, eax
mov dword [ebp - 0x208], eax
movzx eax, word [ebp - 0x2b4]
test ah, 1
je 0x405c9f
mov dword [ebp - 0x20c], 1
test ah, 2
je 0x405cab
or dword [ebp - 0x20c], 2
mov eax, dword [ebp - 0x2d8]
cmp byte [eax + 0x15], 0
je 0x405cbe
or dword [ebp - 0x20c], 4
cmp byte [eax + 0x16], 0
je 0x405ccb
or dword [ebp - 0x20c], 8
mov eax, dword [ebp - 0x2cc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [ebp - 0x200], eax
mov eax, dword [0x410cb0]
mov dword [esp + 4], 0x444
mov dword [esp], eax
mov eax, dword [ebp - 0x328]
call eax
mov eax, dword [ebp - 0x2d8]
sub esp, 0x10
add eax, 0x1c
call sym._set_font
jmp 0x403242
lea eax, [ebp - 0x288]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x288], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x284], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0x434
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x284]
sub esp, 0x10
lea eax, [ecx + 1]
sub eax, dword [ebp - 0x288]
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 8], 0
mov ebx, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 4], 0x43e
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x284]
lea edi, [ebp - 0x214]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x288]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.Start___ld__End___ld
call sym._sprintf
mov dword [esp + 4], edi
mov edi, dword [ebp - 0x32c]
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 8], str.Editor
call dword [sym.imp.user32.dll_MessageBoxA]
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x41c470
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x403242
lea eax, [ebp - 0x214]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 4], 0x437
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x32c]
mov ebx, dword [ebp - 0x328]
mov dword [esp + 4], 0x7d4
mov dword [esp], eax
call ebx
push ecx
push ecx
mov dword [esp + 4], 0x7d3
mov dword [esp], eax
call ebx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
push ebx
push ebx
mov ebx, eax
mov dword [ebp - 0x328], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x57b
mov dword [esp + 4], 0x419
mov dword [esp], eax
call edi
lea edx, [ebp - 0x288]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x41d
call edi
mov eax, dword [ebp - 0x288]
sub esp, 0x10
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e4]
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ClientToScreen]
mov eax, dword [0x410cac]
push edi
push edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetSubMenu]
mov ecx, dword [ebp - 0x32c]
push edx
push edx
mov edx, dword [ebp - 0x2e0]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x2e4]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0x180
mov dword [esp], eax
call dword [sym.imp.user32.dll_TrackPopupMenu]
lea ebx, [eax - 0x708]
mov dword [ebp - 0x32c], eax
sub esp, 0x1c
cmp ebx, 0x10
ja 0x403242
lea edx, [ebp - 0x210]
xor eax, eax
mov ecx, 0x1c
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x74
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [esp + 8], 1
mov dword [esp], eax
mov eax, dword [ebp - 0x328]
mov dword [esp + 4], 0x43a
call eax
mov dword [ebp - 0x210], 0x40000000
sub esp, 0x10
cmp dword [ebp - 0x32c], 0x718
je 0x406a67
mov eax, dword [ebx*4 + 0x41c380]
and dword [ebp - 0x20c], 0xbfffffff
mov dword [ebp - 0x200], eax
jmp 0x4059a4
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x301
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
jmp 0x403242
mov edi, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0xb8
mov dword [esp], edi
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 0
test eax, eax
je 0x4069a6
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov dword [esp], edi
call ebx
sub esp, 0x10
jmp 0x403242
mov ebx, dword [ebp - 0x330]
mov dword [esp + 4], 0xfffffff0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
push edi
push edi
mov dword [esp + 0xc], 0
test ah, 8
je 0x406948
mov dword [esp + 8], 0
mov dword [esp + 4], 0xcf
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x454
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
mov ebx, dword [sym.imp.ucrtbase.dll_malloc]
push edx
lea edi, [eax + 1]
lea ecx, [edi + edi]
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x338], ecx
mov dword [esp], ecx
mov dword [ebp - 0x328], eax
call ebx
mov dword [esp + 8], edi
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x330]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edi, dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x41c470
mov dword [esp], 0
call edi
mov edx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0x10
mov dword [ebp - 0x334], edx
mov dword [esp], ebx
call edx
mov ecx, dword [ebp - 0x338]
mov ebx, dword [ebp - 0x32c]
mov dword [esp], ecx
call ebx
mov ecx, dword [ebp - 0x328]
mov dword [ebp - 0x214], 0
mov ebx, eax
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x214]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x210], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44b
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x41c470
mov dword [esp], 0
call edi
mov edx, dword [ebp - 0x334]
sub esp, 0x10
mov dword [esp], ebx
call edx
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc7
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
cmp edx, 0x644
ja 0x4062c8
cmp edx, 0x63f
ja 0x4063a0
cmp edx, 0x5de
je 0x4068fb
jbe 0x406310
cmp edx, 0x5df
jne case.0x40583f.1321
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41004c]
xor eax, eax
not edx
and edx, 1
call sym._set_toolbar_state
lea eax, [ebp - 0x214]
mov dword [esp + 4], eax
mov eax, dword [0x410cb8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x208]
movzx ecx, word [ebp - 0x20c]
xor edx, edx
sub esp, 8
shl eax, 0x10
or ecx, eax
mov eax, dword [0x410cb8]
call sym._OnSize
jmp 0x403242
cmp edx, 0x7dd
je 0x4068cd
cmp edx, 0x7de
jne case.0x40583f.1321
shr ebx, 0x10
cmp ebx, 9
jne 0x40321f
lea edx, [ebp - 0x214]
mov eax, edi
mov ecx, 0x100
call sym._get_comboexlist_selection.isra.0
lea edx, [ebp - 0x214]
mov eax, edi
call sym._on_sizelist_modified
jmp 0x403242
cmp edx, 0x5dc
je 0x406921
cmp edx, 0x5dd
jne case.0x40583f.1321
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41004c]
mov eax, 4
shr edx, 3
xor edx, 1
and edx, 1
call sym._set_toolbar_state
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41004c]
mov eax, 5
shr edx, 3
xor edx, 1
and edx, 1
call sym._set_toolbar_state
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41004c]
mov eax, 3
shr edx, 3
xor edx, 1
and edx, 1
jmp 0x406281
sub edx, 0x641
mov dword [esp], 0
cmp edx, 3
ja case.default.0x4063b6
jmp dword [edx*4 + 0x41360c]
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x32c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._tabstops_proc_16
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x837
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x403242
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push ecx
mov ecx, dword [ebp - 0x32c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._paraformat_proc_16
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x836
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x403242
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push edi
mov dword [esp + 0x14], 0x8000
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], 1
mov dword [esp + 4], 0x66
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [0x410cb8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x41c470
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellAboutW]
sub esp, 0x10
jmp 0x403242
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [ebp - 0x214], 0x38
push ecx
mov ebx, eax
mov dword [ebp - 0x210], 8
mov dword [ebp - 0x208], 0x838
mov dword [esp], 1
mov dword [ebp - 0x1fc], sym._formatopts_proc_16
mov dword [ebp - 0x20c], eax
call sym._reg_formatindex
mov dword [esp], 2
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x200], 0x599
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1d4], eax
call sym._reg_formatindex
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1c8], 0x59a
mov dword [ebp - 0x1bc], eax
mov eax, dword [0x410cb8]
mov dword [ebp - 0x288], 0x34
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x268], eax
mov eax, dword [0x410c40]
mov dword [ebp - 0x284], 0x8c
mov dword [ebp - 0x274], 0x598
shr eax, 1
mov dword [ebp - 0x270], 2
and eax, 1
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x288]
mov dword [ebp - 0x278], 0x66
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_PropertySheetW]
push ebx
call sym._set_bar_states
jmp 0x405779
cmp dword [edi + 8], 0xfffffd3a
jne 0x40321f
mov esi, dword [ebp - 0x32c]
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
test eax, eax
je 0x40321f
lea edx, [ebp - 0x214]
mov dword [esp + 8], 0
mov dword [ebp - 0x214], 0x30
mov dword [ebp - 0x210], 4
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x52d
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
mov ebx, dword [ebp - 0x200]
sub esp, 0x10
test ebx, ebx
je 0x40321f
lea ebx, [ebp - 0x2e4]
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 0xc]
mov dword [esp + 4], 0x433
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MapWindowPoints]
mov edx, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x288], 0x14
sub esp, 0x10
mov dword [ebp - 0x280], edx
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x27c], edx
mov edx, dword [ebp - 0x2d8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x200]
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [ebp - 0x278], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x40
mov dword [esp], eax
call dword [sym.imp.user32.dll_TrackPopupMenuEx]
sub esp, 0x18
jmp 0x403242
cmp dword [edi + 8], 0xfffffcda
jne 0x40321f
lea eax, [edi + 0x14]
xor esi, esi
call sym._on_fontlist_modified
jmp 0x403242
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x334]
sub esp, 0xc
cmp edx, 2
jne 0x4051e5
mov edx, 8
jmp 0x404a23
mov eax, dword [ebp - 0x32c]
mov dword [esp], 0
mov dword [ebp - 0x214], 0x28
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x348]
call eax
mov dword [ebp - 0x208], 0x6a7
mov dword [ebp - 0x20c], eax
sub esp, 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x204], 0x41c470
mov dword [ebp - 0x200], 0x30
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxIndirectW]
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
jmp 0x404489
mov dword [esp + 8], 8
mov dword [esp + 4], 0x44c
mov dword [esp], ebx
call esi
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], ebx
call esi
xor edx, edx
sub esp, 0xc
jmp 0x404a23
mov eax, 2
jmp 0x40503e
mov eax, 2
jmp 0x404fde
mov eax, 2
jmp 0x404f7e
mov dword [ebp - 0x2fc], 1
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x334], eax
jmp 0x404d61
mov eax, 2
jmp 0x404f16
lea esi, [ebp - 0x210]
jmp 0x404e0c
mov esi, 0xffffffff
jmp 0x403242
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x32c]
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._datetime_proc_16
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x834
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x403242
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
jmp 0x405810
shr ebx, 0x10
cmp ebx, 9
jne 0x40321f
mov eax, edi
mov ecx, 0x20
lea edx, [ebp - 0x214]
call sym._get_comboexlist_selection.isra.0
lea eax, [ebp - 0x214]
call sym._on_fontlist_modified
jmp 0x403242
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41004c]
shr eax, 1
xor eax, 1
and eax, 1
call sym._set_statusbar_state
jmp 0x406286
mov eax, dword [0x410c40]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41004c]
mov eax, 2
shr edx, 2
xor edx, 1
and edx, 1
jmp 0x406281
mov eax, dword [ebp - 0x330]
mov dword [esp + 8], 1
xor esi, esi
mov dword [esp + 4], 0xcf
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x403242
mov dword [ebp - 0x208], 0x168
cmp bx, 0x522
jne 0x4058d1
mov eax, dword [0x410cc0]
mov word [ebp - 0x20c], ax
jmp 0x4058e1
mov eax, 1
call sym._dialog_find.part.0.constprop.0
jmp 0x403242
mov eax, dword [ebp - 0x330]
mov dword [esp + 8], 1
xor esi, esi
mov dword [esp + 4], 0xb9
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x403242
mov dword [ebp - 0x210], 2
mov eax, 2
jmp 0x40599e
mov eax, 1
jmp 0x4056bb
mov dword [0x410cb4], 0
mov dword [0x410c6c], 8
jmp 0x403242
mov dword [ebp - 0x210], 4
mov eax, 4
jmp 0x40599e
mov word [ebp - 0x20c], 0
mov dword [ebp - 0x164], 0
mov word [ebp - 0x160], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x208], 0xfffffe98
jmp 0x4058fe
mov word [ebp - 0x1fc], 1
jmp 0x4053e1
mov word [ebp - 0x1fc], 3
jmp 0x4053e1
or dword [ebp - 0x20c], 0x40000000
jmp 0x4059a4