Function at 0x403030
Capabilities:
Hide graphical window

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
mov edx, edi
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x390
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x338], eax
cmp dword [0x423718], esi
je 0x404480
cmp esi, 0x4e
je 0x4044a8
ja 0x402a30
lea eax, [esi - 1]
cmp eax, 0xf
ja case.0x402a26.0
cmp esi, 0x10
ja case.0x402a26.0
jmp dword [esi*4 + 0x4118a0]
cmp esi, 0x117
je 0x404608
jbe 0x402e78
cmp esi, 0x233
je 0x402f68
cmp esi, 0x400
jne case.0x402a26.0
mov edi, dword [ebp - 0x338]
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 - 0x338], eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d3
call ebx
lea edx, [ebp - 0x28c]
mov ecx, 0x1c
mov edi, edx
mov ebx, eax
lea edx, [ebp - 0x214]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, edx
mov ecx, 0x2e
mov edx, 0x4b0
rep stosd dword es:[edi], eax
mov eax, 8
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x290], 0x74
mov dword [ebp - 0x218], 0xbc
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45f
mov dword [esp], esi
mov dword [ebp - 0x334], 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 - 0x338]
mov dword [esp], eax
call edi
lea ecx, [ebp - 0x290]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [esp], esi
call edi
lea eax, [ebp - 0x300]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x30c]
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 - 0x338]
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 - 0x338]
mov dword [esp + 8], 0x51c
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x300]
xor eax, eax
sub esp, 0x10
cmp dword [ebp - 0x30c], ecx
setne al
mov dword [esp + 8], 0x51f
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x338]
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x300]
xor eax, eax
sub esp, 0x10
cmp dword [ebp - 0x30c], ecx
setne al
mov dword [esp + 8], 0x51e
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x338]
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x28c], 1
je 0x402c98
mov eax, dword [ebp - 0x288]
and eax, 1
mov edi, dword [ebp - 0x334]
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 - 0x28c]
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 - 0x28c], 2
je 0x402cf7
mov eax, dword [ebp - 0x288]
shr eax, 1
and eax, 1
mov edi, dword [ebp - 0x334]
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 - 0x28c]
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 - 0x28c], 4
je 0x402d5a
mov eax, dword [ebp - 0x288]
shr eax, 2
and eax, 1
mov edi, dword [ebp - 0x334]
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 - 0x28c]
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 - 0x218]
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 - 0x200], 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 - 0x200], 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 - 0x200], 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 - 0x210], 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 0x402fd2
cmp esi, 0x7b
je 0x402f51
cmp esi, 0x111
jne case.0x402a26.0
call sym._preview_isactive
mov esi, eax
test eax, eax
jne 0x405010
mov eax, dword [ebp - 0x338]
mov ecx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d1
mov dword [esp], eax
mov dword [ebp - 0x334], ecx
call ecx
mov dword [ebp - 0x33c], eax
sub esp, 8
cmp eax, edi
je 0x402fa7
movzx edx, bx
cmp bx, 0x57b
ja 0x405f88
cmp edx, 0x513
mov ecx, dword [ebp - 0x334]
ja 0x405580
cmp edx, 0x44e
ja 0x405538
cmp edx, 0x3e7
jbe case.0x40558f.1321
lea eax, [edx - 0x3e8]
cmp eax, 0x66
ja case.0x40558f.1321
jmp dword [eax*4 + 0x4118e4]
mov dword [ebp - 0x334], edx
call sym._preview_isactive
mov edx, dword [ebp - 0x334]
test eax, eax
je 0x405068
lea esi, [esi]
mov dword [edx + 0xc], edi
mov dword [edx + 8], ebx
mov dword [edx + 4], esi
mov eax, dword [ebp - 0x338]
mov dword [edx], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
jmp dword [sym.imp.user32.dll_DefWindowProcW]
lea esi, [ebp - 0x218]
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 0x405030
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
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
lea esp, [edi - 8]
pop edi
ret 0x10
mov eax, dword [ebp - 0x338]
mov ecx, edi
mov edx, ebx
call sym._OnSize
mov esi, eax
jmp 0x402fd2
test bx, bx
je 0x402fa7
mov eax, dword [ebp - 0x338]
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 0x402fd2
call sym._preview_isactive
mov esi, eax
test eax, eax
jne 0x404f50
call sym._prompt_save_changes
test eax, eax
je 0x402fa7
mov eax, dword [0x423728]
mov dword [esp], eax
call sym._registry_set_options
mov dword [esp + 4], 0x423710
mov dword [esp], 0x423708
call sym._registry_set_formatopts_all
mov dword [esp], 0
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
jmp 0x402fd2
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [esp], 0
mov dword [ebp - 0x354], eax
call eax
mov ebx, dword [ebp - 0x338]
sub esp, 4
mov edi, eax
mov dword [ebp - 0x340], eax
mov dword [esp + 0xc], 0x7d0
mov dword [esp + 8], ebx
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], edi
mov dword [esp + 0x24], 0x7d4
mov dword [esp + 0x20], ebx
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 - 0x348], eax
call eax
xor edx, edx
mov dword [ebp - 0x310], 0
mov ecx, eax
mov dword [ebp - 0x33c], eax
sub esp, 0x30
mov eax, 0xc
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x318]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x314], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x404
mov dword [esp], ecx
mov dword [ebp - 0x334], eax
call eax
sub esp, 0x10
test eax, eax
je 0x4065ad
mov eax, dword [ebp - 0x340]
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x33c]
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 - 0x338]
sub esp, 0x34
mov edi, eax
mov dword [esp], ebx
mov ebx, dword [sym.imp.user32.dll_GetDC]
mov dword [ebp - 0x350], 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 edx, dword [ebp - 0x338]
sub esp, 8
mov dword [ebp - 0x344], eax
mov dword [esp], edx
mov edx, dword [sym.imp.user32.dll_ReleaseDC]
mov dword [esp + 4], ebx
mov dword [ebp - 0x360], edx
call edx
xor eax, eax
mov dword [ebp - 0x330], 0xffffffff
sub esp, 8
cmp dword [ebp - 0x344], 0x77
setg al
mov dword [esp], edi
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x330]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x413
call eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
mov ebx, eax
sub esp, 0x10
lea eax, [eax + 6]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x214], 0x3eb
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 7]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x3e9
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 8]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x3ea
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], 0
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov byte [ebp - 0x20f], 1
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 0xe]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x3f5
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 9]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x3f3
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], 0
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov byte [ebp - 0x20f], 1
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 0xc]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x3f6
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x218]
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], 0
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov byte [ebp - 0x20f], 1
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], ebx
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x51f
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 1]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x51e
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 2]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x520
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea eax, [ebx + 3]
lea ecx, [ebp - 0x218]
add ebx, 4
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x51b
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], ebx
mov ebx, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0x51c
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call ebx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], 0
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov byte [ebp - 0x20f], 1
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call ebx
mov edx, 0x640
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], 0
sub esp, 0x10
xor eax, eax
mov dword [ebp - 0x214], edx
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], eax
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 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 - 0x334], 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 edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x348]
shr eax, 0x10
sub esp, 0x10
mov ebx, eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 0x28], edx
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 ecx
mov edx, eax
sub esp, 0x30
lea eax, [ebp - 0x300]
mov dword [ebp - 0x344], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2f4]
mov edx, ebx
sub eax, dword [ebp - 0x2fc]
sub esp, 8
cmp eax, ebx
mov ebx, dword [ebp - 0x334]
cmovge edx, eax
mov dword [esp], edi
mov dword [esp + 8], 0
mov ecx, edx
movzx edx, dx
mov dword [esp + 4], 0x41f
mov dword [ebp - 0x34c], ecx
shl ecx, 0x10
or edx, ecx
mov dword [ebp - 0x358], edx
mov dword [esp + 0xc], edx
call ebx
mov eax, 0x50
mov edx, 0x171
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x33c]
sub esp, 0x10
lea edi, [ebp - 0x290]
mov dword [ebp - 0x28c], edx
mov edx, dword [ebp - 0x34c]
mov dword [ebp - 0x288], 0x105
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x25c], 2
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x334], ebx
sub esp, 0x10
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x31
call ebx
mov ecx, dword [ebp - 0x344]
sub esp, 0x10
mov dword [ebp - 0x35c], eax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x350]
call ecx
mov edx, dword [ebp - 0x35c]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], edx
mov edx, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp], eax
mov dword [ebp - 0x368], edx
call edx
mov ecx, dword [sym.imp.gdi32.dll_GetTextExtentPointW]
sub esp, 8
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x328]
mov dword [esp], ebx
mov dword [ebp - 0x364], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xf
mov dword [esp + 4], str.Times_New_Roman
call ecx
lea eax, [ebp - 0x320]
mov ecx, dword [ebp - 0x364]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x4117cc
call ecx
mov ecx, dword [ebp - 0x35c]
mov edx, dword [ebp - 0x368]
sub esp, 0x10
mov dword [esp + 4], ecx
mov dword [esp], ebx
call edx
mov ecx, dword [ebp - 0x360]
sub esp, 8
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x344]
mov dword [esp], ebx
call ecx
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x270], 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 ecx, dword [ebp - 0x33c]
add eax, dword [ebp - 0x34c]
mov dword [ebp - 0x25c], 4
sub esp, 0xc
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x334]
mov dword [esp], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call eax
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x33c]
sub esp, 0x10
mov eax, dword [ebp - 0x348]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
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 - 0x35c], eax
sub esp, 0x30
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x320]
mov dword [esp + 8], 2
mov dword [esp + 4], 3
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x33c]
add eax, dword [ebp - 0x34c]
mov dword [ebp - 0x25c], 5
sub esp, 0xc
xor dword [ebp - 0x288], 1
mov ebx, dword [ebp - 0x334]
mov dword [esp], ecx
mov dword [ebp - 0x264], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call ebx
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ebp - 0x340]
sub esp, 0x10
mov dword [esp], ecx
mov dword [esp + 0x10], 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 - 0x334]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x454
call eax
mov edx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x334]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x41f
call eax
mov edx, 0x578
xor eax, eax
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov edx, 0x579
mov eax, 1
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov edx, 0x57a
mov eax, 2
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov edx, 0x57b
mov eax, 3
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], 0
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov byte [ebp - 0x20f], 1
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov edx, 0x44c
mov eax, 4
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov edx, 0x44d
mov eax, 5
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov edx, 0x44e
mov eax, 6
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x210], 4
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x214], 0
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0xffffffff
mov byte [ebp - 0x20f], 1
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov eax, 7
mov edx, 0x522
mov dword [ebp - 0x210], 0
sub esp, 0x10
mov dword [ebp - 0x218], eax
mov eax, 0x804
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [esp + 0xc], edx
mov word [ebp - 0x210], ax
mov eax, dword [ebp - 0x334]
mov dword [esp], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call eax
mov eax, dword [ebp - 0x334]
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 ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x270], ebx
sub esp, 0x10
mov ebx, dword [ebp - 0x334]
mov dword [ebp - 0x25c], 3
mov dword [esp], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
call ebx
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x33c]
sub esp, 0x10
mov eax, dword [ebp - 0x348]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
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 ecx, dword [ebp - 0x33c]
or dword [ebp - 0x288], 1
sub esp, 0x30
mov dword [ebp - 0x270], eax
mov dword [esp], ecx
mov dword [ebp - 0x25c], 0
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 0x4064d0
mov eax, dword [ebp - 0x340]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7d1
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x338]
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x348]
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 [0x423724], eax
sub esp, 0x30
test eax, eax
je 0x4065ad
mov dword [esp], eax
call sym._setup_richedit_olecallback
mov eax, dword [0x423724]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [0x423724]
mov edi, dword [ebp - 0x334]
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 [0x423728]
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x304], 0
call eax
mov ebx, eax
mov eax, dword [ebp - 0x344]
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 - 0x2d9], 1
mov dword [ebp - 0x348], eax
xor eax, eax
sub esp, 0x10
mov word [ebp - 0x2d4], ax
lea eax, [ebp - 0x30c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2f0]
mov byte [ebp - 0x2d5], 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 - 0x308]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30c]
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 - 0x308], 1
jbe 0x40656b
mov eax, dword [sym.imp.ucrtbase.dll_free]
xor edi, edi
mov dword [ebp - 0x340], eax
jmp 0x404424
add edi, 1
cmp esi, edi
je 0x404415
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x33c]
mov edx, dword [eax + ecx]
mov ecx, dword [eax + ecx + 4]
mov dword [eax + ebx + 8], edx
mov dword [eax + ebx + 0xc], ecx
mov ebx, dword [ebp - 0x33c]
mov eax, dword [ebp - 0x30c]
mov dword [eax + ebx], 0
add esi, 1
cmp esi, dword [ebp - 0x308]
jae 0x404ae0
mov eax, dword [ebp - 0x30c]
lea ecx, [edi*8]
mov ebx, ecx
lea ecx, [esi*8]
mov dword [ebp - 0x33c], ecx
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 0x4043e0
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax + esi*8]
mov dword [esp], eax
mov eax, dword [ebp - 0x340]
call eax
mov eax, dword [ebp - 0x30c]
mov dword [eax + esi*8], 0
jmp 0x404415
mov eax, dword [edi + 0xc]
test al, 0x40
jne 0x405520
test al, 0x38
je 0x402fa7
mov eax, edi
call sym._handle_findmsg.part.0
mov esi, eax
jmp 0x402fd2
mov esi, dword [ebp - 0x338]
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 - 0x340], 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 - 0x334], eax
mov dword [esp + 4], 0x7de
mov dword [esp], esi
call ebx
sub esp, 8
mov dword [ebp - 0x33c], eax
mov dword [esp + 4], 0x7d3
mov dword [esp], esi
call ebx
mov edx, dword [edi]
sub esp, 8
cmp dword [ebp - 0x334], edx
je 0x406490
cmp dword [ebp - 0x33c], edx
je 0x405080
cmp eax, edx
je 0x406360
cmp dword [ebp - 0x340], edx
jne 0x402fa7
cmp dword [edi + 8], 0x702
jne 0x402fa7
call sym._update_font_list
mov eax, dword [ebp - 0x340]
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 - 0x218]
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 - 0x338]
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 - 0x338]
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 0x402fd2
mov edi, dword [ebp - 0x338]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d1
mov dword [esp], edi
call esi
sub esp, 8
mov dword [ebp - 0x338], eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d0
call esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x300]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x30c]
mov dword [esp + 8], eax
mov eax, dword [0x423724]
mov dword [esp + 4], 0xb0
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x300]
xor eax, eax
mov edi, dword [sym.imp.user32.dll_EnableMenuItem]
sub esp, 0x10
cmp dword [ebp - 0x30c], edx
sete al
mov dword [esp + 4], 0x51e
mov dword [esp + 8], eax
mov dword [esp], ebx
call edi
mov edx, dword [ebp - 0x300]
xor eax, eax
sub esp, 0xc
cmp dword [ebp - 0x30c], edx
sete al
mov dword [esp + 4], 0x51f
mov dword [esp + 8], eax
mov dword [esp], ebx
call edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x218], 0x9c
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x338]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x338]
sub esp, 0x10
mov dword [esp], ecx
mov dword [esp + 4], 0xfffffff0
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 ecx, dword [ebp - 0x338]
mov eax, dword [ebp - 0x334]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb8
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
sub esp, 0xc
test byte [ebp - 0x214], 8
jne 0x404f00
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
xor eax, eax
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0x44e
mov dword [esp], ebx
call esi
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x210], 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 - 0x210], 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 - 0x210], 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 - 0x210], 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 - 0x210], 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 - 0x210], 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 - 0x338]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc6
call eax
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 edi
mov ecx, dword [ebp - 0x338]
mov eax, dword [ebp - 0x334]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x455
call eax
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 edi
mov eax, dword [0x40f284]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov dword [esp + 4], 0x5dc
mov eax, dword [eax*4 + 0x423708]
mov dword [esp], ebx
add eax, eax
and eax, 8
mov dword [esp + 8], eax
call esi
mov eax, dword [0x40f284]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov dword [esp + 4], 0x5dd
mov eax, dword [eax*4 + 0x423708]
mov dword [esp], ebx
and eax, 8
mov dword [esp + 8], eax
call esi
mov ecx, dword [ebp - 0x33c]
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 [0x40f284]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov dword [esp + 4], 0x5df
mov eax, dword [eax*4 + 0x423708]
mov dword [esp], ebx
shl eax, 3
and eax, 8
mov dword [esp + 8], eax
call esi
mov eax, 8
mov edx, 0x4b0
sub esp, 0xc
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f0]
mov dword [esp + 8], eax
mov eax, dword [0x423724]
mov dword [ebp - 0x2ec], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x45f
call eax
sub esp, 0x10
test eax, eax
mov dword [ebp - 0x334], eax
sete al
mov dword [esp + 4], 0x3f6
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 8], eax
mov esi, eax
call edi
lea eax, [ebp - 0x290]
movq xmm0, qword [str.0__b]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f7
mov dword [esp], ebx
movq qword [ebp - 0x290], xmm0
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
mov edx, dword [ebp - 0x334]
mov eax, 1
sub esp, 0x10
test edx, edx
je 0x404aa7
mov edx, dword [ebp - 0x270]
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3f7
mov dword [esp], ebx
call edi
sub esp, 0xc
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 4], 0x3f8
mov dword [esp], ebx
call edi
sub esp, 0xc
jmp 0x402fa9
lea edx, [edi + 1]
mov dword [ebp - 0x308], edx
test edx, edx
je 0x404b85
mov edi, dword [ebp - 0x344]
xor esi, esi
xor ebx, ebx
xor eax, eax
mov dword [ebp + eax - 0x214], ebx
add eax, 4
cmp eax, 0x20
jb 0x404afd
mov dword [ebp - 0x218], 0x21
mov eax, dword [ebp - 0x30c]
lea eax, [eax + esi*8]
mov ecx, dword [eax]
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x210], ecx
mov eax, dword [eax + 4]
mov dword [esp + 8], 0
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x218]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 4], 0x40b
mov dword [esp], edi
call eax
mov eax, dword [ebp - 0x30c]
sub esp, 0x10
mov eax, dword [eax + esi*8]
add esi, 1
mov dword [esp], eax
mov eax, dword [ebp - 0x340]
call eax
cmp esi, dword [ebp - 0x308]
jb 0x404afb
mov eax, dword [ebp - 0x30c]
mov dword [esp], eax
mov eax, dword [ebp - 0x340]
call eax
lea edx, [ebp - 0x214]
xor eax, eax
mov ecx, 0x1c
mov edi, edx
mov ebx, dword [ebp - 0x334]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x74
mov dword [esp + 0xc], eax
mov eax, dword [0x423724]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x1fe]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x348]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x35c]
sub esp, 0x10
call sym._populate_size_list
mov dword [esp], 0
mov eax, dword [ebp - 0x354]
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], 0x422cc0
mov dword [esp + 4], 0x57b
mov dword [esp], eax
call esi
lea edi, [eax + eax + 2]
sub esp, 0x10
xor eax, eax
lea ecx, [edi + 0x422cc0]
lea esi, [esi]
nop
movzx edx, word [eax + str..rtf]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x404c60
cmp word [edi + 0x422cc0], 0
je 0x4065a3
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404c88
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
lea edx, [edi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str..txt]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404cc0
cmp word [edx], 0
je 0x406599
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x404ce0
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
lea edx, [edi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str..txt]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404d18
cmp word [edx], 0
je 0x40658f
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404d40
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
lea edx, [edi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x41182c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404d78
cmp word [edx], 0
je 0x406585
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404da0
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], 0x422ac0
mov dword [esp + 4], 0x6a4
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4228c0
mov dword [esp + 4], 0x6a5
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4226c0
mov dword [esp + 4], 0x5b2
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4224c0
mov dword [esp + 4], 0x5b3
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4222c0
mov dword [esp + 4], 0x5b4
call esi
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4220c0
mov dword [esp + 4], 0x5b5
call esi
mov eax, dword [0x423724]
xor esi, esi
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
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 - 0x338]
sub esp, 4
mov dword [0x423718], eax
mov dword [esp], ebx
call sym._registry_read_filelist
mov dword [esp + 4], 0x423710
mov dword [esp], 0x423708
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 0x402fd2
movzx edx, word [ebp - 0x200]
cmp edx, 1
je 0x4064b0
mov dword [ebp - 0x340], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44c
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x340]
sub esp, 0xc
cmp edx, 3
jne 0x406328
mov dword [esp + 8], 8
jmp 0x4047a9
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 - 0x338]
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 - 0x218]
mov dword [esp + 4], eax
mov eax, dword [0x423728]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x20c]
movzx ecx, word [ebp - 0x210]
xor edx, edx
sub esp, 8
shl eax, 0x10
or ecx, eax
mov eax, dword [0x423728]
call sym._OnSize
jmp 0x402fd2
mov eax, dword [ebp - 0x338]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._preview_command
mov esi, eax
jmp 0x402fd2
mov eax, esi
xor esi, esi
call sym._DoOpenFile
jmp 0x402fa9
mov eax, dword [ebp - 0x33c]
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 0x402fd2
mov dword [edx + 0xc], edi
mov dword [edx + 8], ebx
mov dword [edx + 4], 0xf
jmp 0x402f49
cmp dword [edi + 8], 0xfffffcda
jne 0x402fa7
mov eax, dword [ebp - 0x33c]
lea edx, [edi + 0x14]
xor esi, esi
call sym._on_sizelist_modified
jmp 0x402fd2
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x334], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov edx, dword [ebp - 0x334]
mov ecx, 0x30
push ebx
mov ebx, 0x20
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x214], ebx
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 0x402fd2
mov eax, dword [ebp - 0x1f8]
call sym._DoOpenFile
jmp 0x402fd2
cmp edx, 0x44d
je 0x406700
xor eax, eax
cmp edx, 0x44e
sete al
add eax, 1
mov word [ebp - 0x200], ax
lea eax, [ebp - 0x218]
mov ecx, 0xbc
mov ebx, 8
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x447
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x402fd2
call sym._DialogSaveFile
jmp 0x402fd2
mov eax, 1
call sym._dialog_find.constprop.0
jmp 0x402fd2
mov eax, dword [0x42208c]
test al, 0x40
jne 0x40670a
test al, 0x38
je 0x402fa7
mov eax, 0x422080
call sym._handle_findmsg.part.0
jmp 0x402fd2
xor eax, eax
call sym._dialog_find.constprop.0
jmp 0x402fd2
mov eax, dword [0x423728]
mov dword [esp + 4], 0x423500
mov dword [esp], eax
call sym._print_quick
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x423710]
mov dword [esp + 4], eax
mov eax, dword [0x423728]
mov dword [esp], eax
call sym._target_device
jmp 0x402fd2
mov eax, dword [ebp - 0x338]
mov dword [esp], eax
call sym._dialog_printsetup
jmp 0x4051d4
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
mov edi, dword [eax*4 + 0x423708]
mov ebx, eax
mov dword [eax*4 + 0x423708], 2
call sym._set_bar_states
mov eax, dword [0x423724]
mov dword [esp + 4], 0
mov dword [ebx*4 + 0x423708], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ebx, dword [ebp - 0x338]
push ecx
push ecx
mov dword [esp], ebx
mov dword [esp + 4], 0x423500
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 0x402fd2
mov eax, dword [ebp - 0x338]
mov dword [esp + 4], 0x423500
mov dword [esp], eax
call sym._dialog_print
jmp 0x4051d4
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, dword [ebp - 0x338]
push edx
mov dword [esp + 8], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._newfile_proc_16
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 0x402fa7
call sym._prompt_save_changes
test eax, eax
je 0x402fa7
xor eax, eax
call sym._set_caption
mov eax, 0xbc
mov edx, 8
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x218], eax
mov eax, dword [0x423724]
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov word [ebp - 0x200], 1
mov dword [esp + 0xc], edx
mov word [0x423500], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x447
mov dword [esp], eax
call edi
mov eax, dword [0x423724]
lea edx, [ebp - 0x218]
movq xmm0, qword [0x411d38]
sub esp, 0x10
mov dword [esp + 8], edx
movq qword [ebp - 0x218], xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x461
mov dword [esp], eax
call edi
mov eax, dword [0x423724]
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 [0x40f284], ebx
sub esp, 0x10
call sym._set_bar_states
call sym._set_default_font
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x423710]
mov dword [esp + 4], eax
mov eax, dword [0x423728]
mov dword [esp], eax
call sym._target_device
call sym._update_font_list
jmp 0x402fd2
cmp word [0x423500], 0
je case.0x402f13.1004
mov edx, dword [0x40f284]
mov eax, 0x423500
call sym._DoSaveFile
jmp 0x402fd2
xor eax, eax
lea edi, [ebp - 0x218]
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x288]
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x423728]
mov dword [ebp - 0x290], 0x58
mov dword [ebp - 0x25c], 0x801804
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x274], eax
mov eax, dword [0x40f284]
mov dword [ebp - 0x284], 0x422cc0
mov dword [ebp - 0x270], 0x104
mov dword [ebp - 0x254], 0x411772
cmp eax, 1
je 0x406723
cmp eax, 0x11
sete al
movzx eax, al
add eax, eax
add eax, 1
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x290]
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
push edi
test eax, eax
je 0x402fd2
call sym._prompt_save_changes
test eax, eax
je 0x402fd2
mov eax, dword [ebp - 0x274]
call sym._DoOpenFile
jmp 0x402fd2
mov eax, dword [ebp - 0x338]
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 0x402fd2
mov dword [0x423720], 0
xor esi, esi
mov dword [edi + 0xc], 8
jmp 0x402fd2
cmp edx, 0x4b0
je 0x40661f
cmp edx, 0x4b1
jne case.0x40558f.1321
mov dword [esp + 0xc], 0xc0ffff
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x33c]
mov dword [esp + 4], 0x443
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x402fd2
sub edx, 0x514
cmp edx, 0x67
ja case.0x40558f.1321
jmp dword [edx*4 + 0x411a80]
mov eax, 0xbc
mov edx, 0x20
mov dword [esp + 8], 0
lea edi, [ebx - 0x522]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x214], edx
lea edx, [ebp - 0x218]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x43d
mov dword [ebp - 0x334], eax
call eax
movzx eax, word [ebp - 0x210]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x214], 0x8000e024
sub esp, 0x10
test ax, ax
je 0x40667d
cmp bx, 0x522
je 0x40672d
cmp di, ax
je 0x40672d
mov dword [ebp - 0x20c], 0
movzx eax, di
mov dword [0x40f280], eax
mov word [ebp - 0x210], di
mov dword [ebp - 0x168], 0x2000001
mov word [ebp - 0x164], 0x168
mov dword [ebp - 0x204], 0x168
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x447
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
call eax
sub esp, 0x10
jmp 0x402fd2
lea edx, [ebp - 0x214]
xor eax, eax
mov ecx, 0x1c
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x74
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
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 - 0x334], eax
call eax
sub esp, 0x10
cmp bx, 0x579
je 0x4066ec
cmp bx, 0x57a
je 0x406762
mov dword [ebp - 0x214], 1
mov eax, 1
xor dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x444
jmp 0x405663
xor eax, eax
mov ecx, 0x1c
lea edi, [ebp - 0x214]
rep stosd dword es:[edi], eax
xor eax, eax
cmp bx, 0x518
lea edx, [ebp - 0x218]
sete al
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x218], 0x74
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x402fd2
mov eax, dword [0x423728]
lea ebx, [ebp - 0x218]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
lea edx, [ebp - 0x2e8]
mov edi, edx
mov edx, dword [0x423728]
push ecx
mov ecx, 0xd
mov dword [ebp - 0x338], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2ec], edx
lea edx, [ebp - 0x290]
mov ecx, 0x1c
mov dword [ebp - 0x2e4], edx
lea edx, [ebp - 0x214]
mov dword [ebp - 0x2f0], 0x3c
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x423724]
mov dword [ebp - 0x2dc], 0x1800141
mov dword [ebp - 0x218], 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 - 0x334], eax
call eax
mov ecx, dword [ebp - 0x2e4]
xor eax, eax
sub esp, 0x10
movzx edx, word [ebp + eax - 0x1fe]
mov word [ecx + eax + 0x1c], dx
add eax, 2
test dx, dx
jne 0x405809
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x2e4]
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 - 0x338]
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 - 0x20c]
mov dword [esp + 8], 0x48
cdq
idiv ecx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MulDiv]
mov edx, dword [ebp - 0x2e4]
neg eax
sub esp, 0xc
mov dword [edx], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2f0]
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_ChooseFontW]
push edx
test eax, eax
je 0x402fd2
lea edx, [ebp - 0x210]
xor eax, eax
mov ecx, 0x1b
mov edi, edx
mov edx, 0xc000000f
rep stosd dword es:[edi], eax
mov eax, 0x74
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x2e0]
add eax, eax
mov dword [ebp - 0x20c], eax
movzx eax, word [ebp - 0x2c0]
test ah, 1
je 0x405919
mov dword [ebp - 0x210], 1
test ah, 2
je 0x405925
or dword [ebp - 0x210], 2
mov eax, dword [ebp - 0x2e4]
cmp byte [eax + 0x15], 0
je 0x405938
or dword [ebp - 0x210], 4
cmp byte [eax + 0x16], 0
je 0x405945
or dword [ebp - 0x210], 8
mov eax, dword [ebp - 0x2d8]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [ebp - 0x204], eax
mov eax, dword [0x423724]
mov dword [esp + 4], 0x444
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
call eax
mov eax, dword [ebp - 0x2e4]
sub esp, 0x10
add eax, 0x1c
call sym._set_font
jmp 0x402fd2
mov edi, dword [ebp - 0x33c]
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 0x40669e
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov dword [esp], edi
call ebx
sub esp, 0x10
jmp 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
xor eax, eax
or edx, 0xffffffff
mov dword [esp + 8], 0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x214], edx
mov dword [esp + 4], 0x437
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x402fd2
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x334], ecx
mov dword [esp + 4], 0x7d4
mov dword [esp], eax
call ecx
push ecx
push ecx
mov ecx, dword [ebp - 0x334]
mov dword [esp + 4], 0x7d3
mov dword [esp], eax
call ecx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
push ebx
push ebx
mov ebx, eax
mov dword [ebp - 0x334], 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 - 0x290]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x41d
call edi
movd xmm1, dword [ebp - 0x284]
movd xmm0, dword [ebp - 0x290]
lea eax, [ebp - 0x2f0]
sub esp, 0x10
punpckldq xmm0, xmm1
mov dword [esp], ebx
movq qword [ebp - 0x2f0], xmm0
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ClientToScreen]
mov eax, dword [0x42371c]
push edi
push edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetSubMenu]
mov ebx, dword [ebp - 0x338]
push edx
push edx
mov edx, dword [ebp - 0x2ec]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x2f0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
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 - 0x338], eax
sub esp, 0x1c
cmp ebx, 0x10
ja 0x402fd2
lea edx, [ebp - 0x214]
xor eax, eax
mov ecx, 0x1c
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x74
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 8], 1
mov dword [esp], eax
mov eax, dword [ebp - 0x334]
mov dword [esp + 4], 0x43a
call eax
mov dword [ebp - 0x214], 0x40000000
sub esp, 0x10
cmp dword [ebp - 0x338], 0x718
je 0x406776
mov eax, dword [ebx*4 + 0x411ce0]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x210]
and eax, 0xbfffffff
mov dword [ebp - 0x210], eax
jmp 0x4056f5
mov ebx, dword [ebp - 0x33c]
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 0x4066c3
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 0x402fd2
xor eax, eax
or edx, 0xffffffff
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x290]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x28c], edx
mov dword [esp + 4], 0x434
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x28c]
sub eax, dword [ebp - 0x290]
add eax, 1
sub esp, 0x10
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 8], 0
mov edi, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 4], 0x43e
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x28c]
lea ebx, [ebp - 0x218]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x290]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Start___ld__End___ld
call sym._sprintf
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x338]
mov dword [esp + 0xc], 0
mov dword [esp], ebx
mov dword [esp + 8], str.Editor
call dword [sym.imp.user32.dll_MessageBoxA]
sub esp, 0x10
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x411758
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402fd2
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
mov ecx, dword [sym.imp.ucrtbase.dll_malloc]
push edx
lea edi, [eax + 1]
lea edx, [edi + edi]
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x344], edx
mov dword [esp], edx
mov dword [ebp - 0x334], eax
call ecx
mov dword [esp + 8], edi
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edx, dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0xc
mov dword [ebp - 0x338], edx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x411758
mov dword [esp], 0
call edx
sub esp, 0x10
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov edx, dword [ebp - 0x344]
mov ecx, dword [ebp - 0x340]
mov dword [esp], edx
call ecx
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x218], 0
mov edi, eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x214], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44b
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, dword [ebp - 0x338]
sub esp, 0x10
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x411758
mov dword [esp], 0
call edx
sub esp, 0x10
mov dword [esp], edi
call ebx
jmp 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
lea edx, [ebp - 0x214]
xor eax, eax
mov ecx, 0x2e
mov edi, edx
lea ebx, [ebp - 0x218]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x218], 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 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
cmp edx, 0x644
ja 0x406020
cmp edx, 0x63f
ja 0x4060f8
cmp edx, 0x5de
je 0x406634
jbe 0x406070
cmp edx, 0x5df
jne case.0x40558f.1321
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x423708]
xor eax, eax
not edx
and edx, 1
call sym._set_toolbar_state
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov eax, dword [0x423728]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x20c]
movzx ecx, word [ebp - 0x210]
xor edx, edx
sub esp, 8
shl eax, 0x10
or ecx, eax
mov eax, dword [0x423728]
call sym._OnSize
jmp 0x402fd2
cmp edx, 0x7dd
je 0x4065f1
cmp edx, 0x7de
jne case.0x40558f.1321
shr ebx, 0x10
cmp ebx, 9
jne 0x402fa7
lea edx, [ebp - 0x218]
mov eax, edi
mov ecx, 0x100
call sym._get_comboexlist_selection.isra.0
lea edx, [ebp - 0x218]
mov eax, edi
call sym._on_sizelist_modified
jmp 0x402fd2
cmp edx, 0x5dc
je 0x406659
cmp edx, 0x5dd
jne case.0x40558f.1321
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
xor edx, edx
test byte [eax*4 + 0x423708], 8
mov eax, 4
sete dl
call sym._set_toolbar_state
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
xor edx, edx
test byte [eax*4 + 0x423708], 8
mov eax, 5
sete dl
call sym._set_toolbar_state
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
xor edx, edx
test byte [eax*4 + 0x423708], 8
mov eax, 3
sete dl
jmp 0x405fd9
sub edx, 0x641
mov dword [esp], 0
cmp edx, 3
ja case.default.0x40610e
jmp dword [edx*4 + 0x411c20]
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, dword [ebp - 0x338]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._tabstops_proc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x837
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x402fd2
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, dword [ebp - 0x338]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._paraformat_proc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x836
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x402fd2
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 [0x423728]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x411758
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellAboutW]
sub esp, 0x10
jmp 0x402fd2
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edx, 8
mov dword [ebp - 0x20c], 0x838
push ecx
mov ebx, eax
mov eax, 0x38
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x210], ebx
mov dword [esp], 1
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x200], sym._formatopts_proc_16
call sym._reg_formatindex
mov dword [esp], 2
movq xmm2, qword [ebp - 0x218]
movq xmm3, qword [ebp - 0x210]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x200]
movq qword [ebp - 0x1e0], xmm2
movq qword [ebp - 0x1d8], xmm3
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x204], 0x599
mov dword [ebp - 0x1c8], eax
call sym._reg_formatindex
movd xmm4, ebx
mov edx, 0x8c
movd xmm0, dword [0x423728]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x28c], edx
punpckldq xmm0, xmm4
mov edx, 0x598
mov dword [ebp - 0x1c0], eax
mov eax, 0x34
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x270], eax
mov eax, 0x66
mov dword [ebp - 0x280], eax
mov eax, dword [0x40f284]
mov dword [ebp - 0x1cc], 0x59a
shr eax, 1
mov dword [ebp - 0x27c], edx
and eax, 1
movq qword [ebp - 0x288], xmm0
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x278], 2
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_PropertySheetW]
push ebx
call sym._set_bar_states
jmp 0x4051d4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x340]
xor eax, eax
sub esp, 0xc
cmp edx, 2
sete al
shl eax, 3
jmp 0x4047bb
cmp dword [edi + 8], 0xfffffd3a
jne 0x402fa7
mov esi, dword [ebp - 0x338]
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetMenu]
sub esp, 4
test eax, eax
je 0x402fa7
mov ecx, 0x30
mov ebx, 4
lea edx, [ebp - 0x218]
mov dword [esp + 8], 0
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x52d
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenuItemInfoW]
mov ecx, dword [ebp - 0x204]
sub esp, 0x10
test ecx, ecx
je 0x402fa7
lea ebx, [ebp - 0x2f0]
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 - 0x2ec]
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x290], 0x14
sub esp, 0x10
mov dword [ebp - 0x288], edx
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], edx
mov edx, dword [ebp - 0x2e4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x204]
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [ebp - 0x280], 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 0x402fd2
cmp dword [edi + 8], 0xfffffcda
jne 0x402fa7
lea eax, [edi + 0x14]
xor esi, esi
call sym._on_fontlist_modified
jmp 0x402fd2
mov dword [esp + 8], 8
mov dword [esp + 4], 0x44c
mov dword [esp], ebx
call esi
sub esp, 0xc
jmp 0x4047a1
mov eax, dword [ebp - 0x338]
mov dword [esp], 0
mov dword [ebp - 0x218], 0x28
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x354]
call eax
mov dword [ebp - 0x20c], 0x6a7
mov dword [ebp - 0x210], eax
sub esp, 4
lea eax, [ebp - 0x218]
mov dword [ebp - 0x208], 0x411758
mov dword [ebp - 0x204], 0x30
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 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 0x404229
mov dword [ebp - 0x308], 1
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x340], eax
jmp 0x404af1
mov eax, 2
jmp 0x404dae
mov eax, 2
jmp 0x404d4e
mov eax, 2
jmp 0x404cee
mov eax, 2
jmp 0x404c96
mov esi, 0xffffffff
jmp 0x402fd2
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push ebx
mov ebx, dword [ebp - 0x338]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._datetime_proc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x834
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x402fd2
shr ebx, 0x10
cmp ebx, 9
jne 0x402fa7
mov eax, edi
mov ecx, 0x20
lea edx, [ebp - 0x218]
call sym._get_comboexlist_selection.isra.0
lea eax, [ebp - 0x218]
call sym._on_fontlist_modified
jmp 0x402fd2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
jmp 0x405560
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
test byte [eax*4 + 0x423708], 2
sete al
movzx eax, al
call sym._set_statusbar_state
jmp 0x405fde
mov eax, dword [0x40f284]
mov dword [esp], eax
call sym._reg_formatindex
xor edx, edx
test byte [eax*4 + 0x423708], 4
mov eax, 2
sete dl
jmp 0x405fd9
mov dword [ebp - 0x20c], 0x168
cmp bx, 0x522
jne 0x405623
movzx edi, word [0x40f280]
jmp 0x40562b
mov eax, dword [ebp - 0x33c]
mov dword [esp + 8], 1
xor esi, esi
mov dword [esp + 4], 0xb9
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x402fd2
mov eax, dword [ebp - 0x33c]
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 0x402fd2
mov dword [ebp - 0x214], 2
mov eax, 2
jmp 0x4056ef
mov eax, 3
jmp 0x405128
mov dword [0x423720], 0
mov dword [0x42208c], 8
jmp 0x402fd2
mov eax, 1
jmp 0x4054aa
mov word [ebp - 0x210], 0
mov dword [ebp - 0x168], 0
mov word [ebp - 0x164], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x20c], 0xfffffe98
jmp 0x40564f
mov dword [ebp - 0x214], 4
mov eax, 4
jmp 0x4056ef
mov eax, dword [ebp - 0x210]
or eax, 0x40000000
jmp 0x405bec