Function at 0x40c6c0
Capabilities:
Capture webcam image

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x388
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x33c], eax
cmp dword [0x41a6f8], edi
je 0x40af28
cmp edi, 0x4e
je 0x40af40
ja 0x4095f0
lea eax, [edi - 1]
cmp eax, 0xf
ja case.0x4095e4.0
cmp edi, 0x10
ja case.0x4095e4.0
jmp dword [edi*4 + 0x41177c]
cmp edi, 0x117
je 0x40b0d0
jbe 0x409a48
cmp edi, 0x233
je 0x40b5b8
cmp edi, 0x400
jne case.0x4095e4.0
mov dword [esp + 4], 0x7d1
mov edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d4
call sym._GetDlgItem_8
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x7d2
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x33c], eax
mov dword [esp], ebx
mov dword [esp + 4], 0x7d3
call sym._GetDlgItem_8
lea edx, [ebp - 0x290]
mov ecx, 0x1c
mov dword [ebp - 0x2f0], 8
mov edi, edx
mov ebx, eax
xor eax, eax
sub esp, 8
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x21c]
mov ecx, 0x2e
mov dword [ebp - 0x294], 0x74
mov dword [ebp - 0x2ec], 0x4b0
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x220], 0xbc
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45f
mov dword [esp], esi
call sym._SendMessageW_16
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 edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._SendMessageW_16
lea eax, [ebp - 0x294]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [esp], esi
call sym._SendMessageW_16
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 sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc6
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x51b
mov dword [esp + 4], 0x401
mov dword [esp], edi
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x455
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x51c
mov dword [esp + 4], 0x401
mov dword [esp], edi
call sym._SendMessageW_16
mov eax, dword [ebp - 0x300]
sub esp, 0x10
cmp dword [ebp - 0x30c], eax
setne al
mov dword [esp + 8], 0x51f
movzx eax, al
mov dword [esp + 4], 0x401
mov dword [esp + 0xc], eax
mov dword [esp], edi
call sym._SendMessageW_16
mov eax, dword [ebp - 0x300]
sub esp, 0x10
cmp dword [ebp - 0x30c], eax
setne al
mov dword [esp + 8], 0x51e
movzx eax, al
mov dword [esp + 4], 0x401
mov dword [esp + 0xc], eax
mov dword [esp], edi
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x290], 1
je 0x409858
mov eax, dword [ebp - 0x28c]
and eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x578
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
mov eax, dword [ebp - 0x290]
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 sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x290], 2
je 0x4098b7
mov eax, dword [ebp - 0x28c]
shr eax, 1
and eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x579
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
mov eax, dword [ebp - 0x290]
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 sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
test byte [ebp - 0x290], 4
je 0x40991a
mov eax, dword [ebp - 0x28c]
shr eax, 2
and eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x57a
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
mov eax, dword [ebp - 0x290]
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 sym._SendMessageW_16
lea eax, [ebp - 0x220]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
mov dword [esp], esi
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x208], 1
sete al
mov dword [esp + 8], 0x44c
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x208], 3
sete al
mov dword [esp + 8], 0x44d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x208], 2
sete al
mov dword [esp + 8], 0x44e
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
cmp word [ebp - 0x218], 0
setne al
mov dword [esp + 8], 0x522
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x402
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
xor eax, eax
jmp 0x409b05
cmp edi, 0x7b
je 0x40b0a0
cmp edi, 0x111
jne case.0x4095e4.0
call dbg.preview_isactive
test eax, eax
jne 0x40bb80
mov dword [esp + 4], 0x7d1
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov edx, eax
cmp eax, ebx
je 0x409a3c
movzx edi, si
cmp si, 0x57b
ja 0x40cc19
cmp edi, 0x513
ja 0x40c050
cmp edi, 0x44e
ja 0x40cfa0
cmp edi, 0x3e7
jbe case.0x40c05f.1321
lea eax, [edi - 0x3e8]
cmp eax, 0x66
ja case.0x40c05f.1321
jmp dword [eax*4 + 0x4117c0]
call dbg.preview_isactive
test eax, eax
je 0x40bba0
lea esi, [esi]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._DefWindowProcW_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
call dbg.preview_isactive
test eax, eax
jne 0x40ba78
call dbg.prompt_save_changes
test eax, eax
je 0x409a3c
mov eax, dword [0x41a708]
mov dword [esp], eax
call dbg.registry_set_options
mov dword [esp + 4], 0x41a6f0
mov dword [esp], 0x41a6e8
call dbg.registry_set_formatopts_all
mov dword [esp], 0
call sym._PostQuitMessage_4
xor eax, eax
sub esp, 4
jmp 0x409b05
mov eax, dword [ebp - 0x33c]
mov ecx, ebx
mov edx, esi
call dbg.OnSize
jmp 0x409b05
test si, si
je 0x409a3c
mov dword [esp + 4], 0x7d1
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp], eax
call sym._SetFocus_4
xor eax, eax
sub esp, 4
jmp 0x409b05
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [esp], 0
mov dword [ebp - 0x350], eax
call eax
sub esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0x7d0
mov esi, dword [ebp - 0x33c]
mov dword [esp + 4], str.RichEdit_text
mov dword [esp + 8], esi
mov dword [esp], 0x50000040
call sym._CreateStatusWindowW_16
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x7d4
mov dword [ebp - 0x33c], esi
mov dword [esp + 0x20], esi
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], 0x4116b4
mov dword [esp], pe_nt_image_headers32
call sym._CreateWindowExW_48
mov dword [ebp - 0x318], 0xc
mov dword [ebp - 0x314], 0
sub esp, 0x30
mov esi, eax
lea eax, [ebp - 0x318]
mov dword [ebp - 0x310], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x404
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
je 0x40d183
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
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 [ebp - 0x340], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x7d2
mov dword [esp + 4], 0x5000010a
mov dword [ebp - 0x348], esi
mov dword [esp], esi
call sym._CreateToolbarEx_52
mov ecx, dword [ebp - 0x33c]
sub esp, 0x34
mov ebx, eax
mov dword [esp], ecx
call sym._GetDC_4
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call sym._GetDeviceCaps_8
sub esp, 8
mov dword [ebp - 0x344], eax
mov dword [esp + 4], esi
mov ecx, dword [ebp - 0x33c]
mov dword [esp], ecx
call sym._ReleaseDC_8
xor eax, eax
mov dword [ebp - 0x330], 0xffffffff
sub esp, 8
cmp dword [ebp - 0x344], 0x77
setg al
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x330]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x413
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x21c], 0x3eb
mov esi, eax
xor eax, eax
sub esp, 0x10
mov word [ebp - 0x212], ax
lea eax, [esi + 6]
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
lea eax, [esi + 7]
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0x3e9
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
lea eax, [esi + 8]
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0x3ea
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x218], 0
sub esp, 0x10
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0xffffffff
mov byte [ebp - 0x217], 1
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
lea eax, [esi + 0xe]
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0x3f5
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor edx, edx
lea eax, [esi + 9]
sub esp, 0x10
mov word [ebp - 0x212], dx
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0x3f3
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x218], 0
sub esp, 0x10
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0xffffffff
mov byte [ebp - 0x217], 1
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], cx
sub esp, 0x10
movzx ecx, word [0x411d50]
mov dword [ebp - 0x220], eax
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x3f6
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x218], 0
sub esp, 0x10
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0xffffffff
mov byte [ebp - 0x217], 1
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x220], esi
sub esp, 0x10
mov dword [ebp - 0x216], 0
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov word [ebp - 0x212], ax
mov dword [ebp - 0x21c], 0x51f
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
lea eax, [esi + 1]
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0x51e
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x21c], 0x520
sub esp, 0x10
xor eax, eax
mov word [ebp - 0x212], ax
lea eax, [esi + 2]
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
lea eax, [esi + 3]
add esi, 4
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0x51b
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor eax, eax
mov dword [ebp - 0x220], esi
sub esp, 0x10
mov dword [ebp - 0x216], 0
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov word [ebp - 0x212], ax
mov dword [ebp - 0x21c], 0x51c
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x218], 0
sub esp, 0x10
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0xffffffff
mov byte [ebp - 0x217], 1
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
movzx ecx, word [0x411d50]
xor edx, edx
mov dword [ebp - 0x216], 0
sub esp, 0x10
mov word [ebp - 0x212], dx
mov word [ebp - 0x218], cx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0x640
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x421
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43a
call sym._SendMessageW_16
sub esp, 0x10
shr eax, 0x10
mov dword [esp + 0x2c], 0
mov edx, dword [ebp - 0x340]
mov esi, eax
mov dword [esp + 0x24], 0x7dd
mov dword [esp + 0x28], edx
mov eax, dword [ebp - 0x348]
mov dword [esp + 0x1c], 0x96
mov dword [esp + 0x20], eax
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 sym._CreateWindowExW_48
mov ecx, eax
sub esp, 0x30
lea eax, [ebp - 0x300]
mov dword [esp + 4], eax
mov dword [ebp - 0x344], ecx
mov dword [esp], ecx
call sym._GetWindowRect_8
mov eax, dword [ebp - 0x2f4]
sub eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x294], 0x50
sub esp, 8
cmp eax, esi
mov dword [ebp - 0x290], 0x171
cmovge esi, eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x28c], 0x105
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x260], 2
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov eax, dword [ebp - 0x348]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x31
mov ebx, dword [ebp - 0x344]
mov dword [esp], ebx
call sym._SendMessageW_16
mov dword [ebp - 0x344], ebx
sub esp, 0x10
mov dword [ebp - 0x34c], eax
mov dword [esp], ebx
call sym._GetDC_4
mov edx, dword [ebp - 0x34c]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SelectObject_8
mov dword [ebp - 0x34c], eax
sub esp, 8
lea eax, [ebp - 0x328]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xf
mov dword [esp + 4], str.Times_New_Roman
call sym._GetTextExtentPointW_16
lea eax, [ebp - 0x320]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x411c1c
call sym._GetTextExtentPointW_16
mov edx, dword [ebp - 0x34c]
sub esp, 0x10
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._SelectObject_8
sub esp, 8
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x344]
mov dword [esp], ebx
call sym._ReleaseDC_8
mov dword [ebp - 0x274], ebx
mov ebx, dword [sym.imp.kernel32.dll_MulDiv]
sub esp, 8
mov dword [esp + 8], 2
mov dword [esp + 4], 3
mov eax, dword [ebp - 0x328]
mov dword [esp], eax
call ebx
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x260], 4
sub esp, 0xc
add eax, esi
mov dword [ebp - 0x268], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov eax, dword [ebp - 0x348]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov edx, dword [ebp - 0x340]
mov dword [esp + 0x24], 0x7de
mov dword [esp + 0x28], edx
mov eax, dword [ebp - 0x348]
mov dword [esp + 0x1c], 0x96
mov dword [esp + 0x20], eax
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 sym._CreateWindowExW_48
sub esp, 0x30
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x274], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 3
mov eax, dword [ebp - 0x320]
mov dword [esp], eax
call ebx
lea ecx, [ebp - 0x294]
xor dword [ebp - 0x28c], 1
mov dword [ebp - 0x260], 5
sub esp, 0xc
add esi, eax
mov dword [ebp - 0x268], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov esi, dword [ebp - 0x348]
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
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 edx, dword [ebp - 0x340]
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x7d3
mov dword [esp + 4], 0x1000010a
mov dword [esp], esi
call sym._CreateToolbarEx_52
sub esp, 0x34
mov ebx, eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x454
mov dword [esp], eax
call sym._SendMessageW_16
movzx eax, word [0x411d50]
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x220], 0
sub esp, 0x10
xor ecx, ecx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov word [ebp - 0x212], cx
mov dword [ebp - 0x21c], 0x578
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
movzx eax, word [0x411d50]
mov dword [ebp - 0x220], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x579
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
movzx eax, word [0x411d50]
mov dword [ebp - 0x220], 2
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x57a
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
movzx eax, word [0x411d50]
mov dword [ebp - 0x220], 3
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x57b
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
lea eax, [ebp - 0x220]
mov dword [ebp - 0x218], 0
sub esp, 0x10
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0xffffffff
mov byte [ebp - 0x217], 1
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
movzx eax, word [0x411d50]
mov dword [ebp - 0x220], 4
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x44c
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
xor eax, eax
mov dword [ebp - 0x216], 0
mov word [ebp - 0x212], ax
sub esp, 0x10
movzx eax, word [0x411d50]
mov dword [ebp - 0x220], 5
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x44d
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
movzx eax, word [0x411d50]
xor edx, edx
mov dword [ebp - 0x216], 0
sub esp, 0x10
mov word [ebp - 0x212], dx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 6
mov dword [ebp - 0x21c], 0x44e
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
lea eax, [ebp - 0x220]
mov dword [ebp - 0x218], 0
sub esp, 0x10
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0xffffffff
mov byte [ebp - 0x217], 1
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
mov eax, 0x804
xor ecx, ecx
mov dword [ebp - 0x216], 0
mov word [ebp - 0x218], ax
sub esp, 0x10
lea eax, [ebp - 0x220]
mov word [ebp - 0x212], cx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x21c], 0x522
mov dword [ebp - 0x210], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x421
mov dword [esp], ebx
call sym._SendMessageW_16
lea eax, [ebp - 0x294]
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x260], 3
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov edx, dword [ebp - 0x340]
mov dword [esp + 0x24], 0x7df
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], esi
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 sym._CreateWindowExW_48
or dword [ebp - 0x28c], 1
mov dword [ebp - 0x274], eax
sub esp, 0x30
lea eax, [ebp - 0x294]
mov dword [ebp - 0x260], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40a
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], str.RICHED20.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x40cb80
mov dword [esp + 0x2c], 0
mov eax, dword [ebp - 0x340]
mov dword [esp + 0x24], 0x7d1
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x33c]
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], eax
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 sym._CreateWindowExW_48
mov dword [0x41a704], eax
sub esp, 0x30
test eax, eax
je 0x40d159
mov dword [esp], eax
call dbg.setup_richedit_olecallback
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SetFocus_4
sub esp, 4
mov dword [esp + 0xc], 0x80000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
call dbg.set_default_font
mov eax, dword [0x41a708]
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
mov dword [esp], eax
call sym._GetDC_4
sub esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov eax, dword [ebp - 0x344]
mov dword [esp], eax
call sym._SendMessageW_16
mov byte [ebp - 0x2d9], 1
mov dword [ebp - 0x358], eax
xor eax, eax
sub esp, 0x10
mov word [ebp - 0x2d4], ax
lea eax, [ebp - 0x30c]
mov byte [ebp - 0x2d5], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2f0]
mov dword [esp + 0x10], 0
mov dword [esp + 8], dbg.enum_font_proc
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._EnumFontFamiliesExW_20
sub esp, 0x14
mov dword [esp + 0xc], dbg.fonts_desc_compare
mov dword [esp + 8], 8
mov eax, dword [ebp - 0x308]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
cmp dword [ebp - 0x308], 1
jbe 0x40ce82
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
mov dword [ebp - 0x348], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x34c], eax
jmp 0x40aeac
add esi, 1
cmp edi, esi
je 0x40ae9d
mov eax, dword [ebp - 0x30c]
mov edx, dword [ebp - 0x340]
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 - 0x340]
mov eax, dword [ebp - 0x30c]
mov dword [eax + edx], 0
add edi, 1
cmp edi, dword [ebp - 0x308]
jae 0x40b608
mov eax, dword [ebp - 0x30c]
lea edx, [esi*8]
mov ebx, edx
lea edx, [edi*8]
mov dword [ebp - 0x340], edx
mov edx, dword [eax + esi*8]
mov dword [esp + 4], edx
mov eax, dword [eax + edi*8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x40ae68
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax + edi*8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x34c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x348]
call eax
mov eax, dword [ebp - 0x30c]
sub esp, 0xc
mov dword [eax + edi*8], 0
jmp 0x40ae9d
mov eax, ebx
call dbg.handle_findmsg
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 4], 0x7d1
mov edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x344], eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d4
call sym._GetDlgItem_8
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x7dd
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x7de
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x340], eax
mov dword [esp + 4], 0x7d3
mov dword [esp], edi
call sym._GetDlgItem_8
mov edx, dword [ebx]
sub esp, 8
cmp esi, edx
je 0x40cb40
cmp dword [ebp - 0x340], edx
je 0x40bbd0
cmp eax, edx
je 0x40ca18
cmp dword [ebp - 0x344], edx
jne 0x409a3c
cmp dword [ebx + 8], 0x702
jne 0x409a3c
call dbg.update_font_list
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov eax, dword [ebp - 0x344]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
lea ebx, [ebp - 0x220]
mov dword [esp + 4], str.selection___ld.._ld__line_count_Id
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._sprintf
mov dword [esp + 4], 0x7d0
mov esi, dword [ebp - 0x33c]
mov dword [esp], esi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._SetWindowTextA_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x400
mov dword [esp], esi
call sym._SendMessageW_16
mov eax, 1
sub esp, 0x10
jmp 0x409b05
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x7b
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._DefWindowProcW_16
sub esp, 0x10
jmp 0x409b05
mov dword [esp + 4], 0x7d1
mov edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov ebx, eax
mov dword [esp], edi
mov dword [esp + 4], 0x7d0
call sym._GetDlgItem_8
sub esp, 8
mov edi, eax
lea eax, [ebp - 0x300]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x30c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb0
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x300]
sub esp, 0x10
cmp dword [ebp - 0x30c], eax
sete al
mov dword [esp + 4], 0x51e
movzx eax, al
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._EnableMenuItem_12
mov eax, dword [ebp - 0x300]
sub esp, 0xc
cmp dword [ebp - 0x30c], eax
sete al
mov dword [esp + 4], 0x51f
movzx eax, al
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._EnableMenuItem_12
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x9c
sub esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 4], 0xfffffff0
mov dword [esp], ebx
call sym._GetWindowLongW_8
shr eax, 8
sub esp, 8
and eax, 8
mov dword [esp + 4], 0x516
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._CheckMenuItem_12
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb8
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
setne al
mov dword [esp + 4], 0x517
movzx eax, al
mov dword [esp], esi
shl eax, 3
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
sub esp, 0xc
test byte [ebp - 0x21c], 8
je 0x40bb30
movzx edx, word [ebp - 0x208]
cmp edx, 1
je 0x40cb60
mov dword [ebp - 0x33c], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44c
mov dword [esp], esi
call sym._CheckMenuItem_12
mov edx, dword [ebp - 0x33c]
sub esp, 0xc
cmp edx, 3
jne 0x40ce9c
mov dword [esp + 8], 8
mov dword [esp + 4], 0x44d
mov dword [esp], esi
call sym._CheckMenuItem_12
xor edx, edx
sub esp, 0xc
mov dword [esp + 8], edx
mov dword [esp + 4], 0x44e
mov dword [esp], esi
call sym._CheckMenuItem_12
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x218], 1
sete al
mov dword [esp + 4], 0x523
shl eax, 3
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x218], 2
sete al
mov dword [esp + 4], 0x524
shl eax, 3
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x218], 3
sete al
mov dword [esp + 4], 0x525
shl eax, 3
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x218], 4
sete al
mov dword [esp + 4], 0x526
shl eax, 3
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x218], 5
sete al
mov dword [esp + 4], 0x527
shl eax, 3
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
xor eax, eax
sub esp, 0xc
cmp word [ebp - 0x218], 6
sete al
mov dword [esp + 4], 0x528
shl eax, 3
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc6
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
sete al
mov dword [esp + 4], 0x51b
movzx eax, al
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._EnableMenuItem_12
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x455
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
sete al
mov dword [esp + 4], 0x51c
movzx eax, al
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._EnableMenuItem_12
mov eax, dword [0x410284]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41a6e8]
mov dword [esp + 4], 0x5dc
mov dword [esp], esi
add eax, eax
and eax, 8
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
mov eax, dword [0x410284]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41a6e8]
mov dword [esp + 4], 0x5dd
mov dword [esp], esi
and eax, 8
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
sub esp, 0xc
mov dword [esp], edi
call sym._IsWindowVisible_4
sub esp, 4
test eax, eax
setne al
mov dword [esp + 4], 0x5de
movzx eax, al
mov dword [esp], esi
shl eax, 3
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
mov eax, dword [0x410284]
sub esp, 0xc
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41a6e8]
mov dword [esp + 4], 0x5df
mov dword [esp], esi
and eax, 1
shl eax, 3
mov dword [esp + 8], eax
call sym._CheckMenuItem_12
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], 8
mov dword [ebp - 0x2ec], 0x4b0
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45f
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
mov ebx, eax
sub esp, 0x10
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x3f6
sete al
mov dword [esp], esi
mov edi, eax
mov dword [esp + 8], edi
call sym._EnableMenuItem_12
lea eax, [ebp - 0x294]
mov dword [ebp - 0x294], 0x30
mov dword [ebp - 0x290], 0x20
sub esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f7
mov dword [esp], esi
call sym._GetMenuItemInfoW_16
mov eax, 1
sub esp, 0x10
test ebx, ebx
je 0x40b57c
mov edx, dword [ebp - 0x274]
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3f7
mov dword [esp], esi
call sym._EnableMenuItem_12
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], 0x3f8
mov dword [esp], esi
call sym._EnableMenuItem_12
xor eax, eax
sub esp, 0xc
jmp 0x409b05
lea ebx, [ebp - 0x220]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._DragQueryFileW_16
sub esp, 0x10
mov dword [esp], esi
call sym._DragFinish_4
sub esp, 4
call dbg.prompt_save_changes
test eax, eax
je 0x409a3c
mov eax, ebx
call dbg.DoOpenFile
xor eax, eax
jmp 0x409b05
lea edx, [esi + 1]
mov dword [ebp - 0x308], edx
test edx, edx
je 0x40b6d7
xor esi, esi
xor edi, edi
mov ebx, dword fs:[0x18]
mov eax, ebx
mov ebx, esi
mov esi, eax
xor eax, eax
mov dword [ebp + eax - 0x21c], edi
mov dword [ebp + eax - 0x218], 0
add eax, 8
cmp eax, 0x20
jb 0x40b62c
mov dword [ebp - 0x220], 0x21
mov eax, dword [ebp - 0x30c]
lea eax, [eax + ebx*8]
mov ecx, dword [eax]
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b
mov eax, dword [ebp - 0x344]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x30c]
sub esp, 0x10
mov eax, dword [eax + ebx*8]
mov dword [esp + 4], 0
add ebx, 1
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x348]
call eax
sub esp, 0xc
cmp ebx, dword [ebp - 0x308]
jb 0x40b62a
mov edx, dword [ebp - 0x30c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x348]
call eax
lea edx, [ebp - 0x21c]
xor eax, eax
mov ecx, 0x1c
mov edi, edx
sub esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x74
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43a
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
lea eax, [ebp - 0x206]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebp - 0x358]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x354]
sub esp, 0x10
call dbg.populate_size_list
mov dword [esp], 0
mov eax, dword [ebp - 0x350]
call eax
sub esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x419ca0
mov dword [esp + 4], 0x57b
mov dword [esp], eax
call sym._LoadStringW_16
lea esi, [eax + eax + 2]
sub esp, 0x10
xor eax, eax
lea edx, [esi + 0x419ca0]
lea esi, [esi]
movzx ecx, word [eax + str..rtf]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b7c8
cmp word [esi + 0x419ca0], 0
je 0x40ce64
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x40b7f0
sub eax, edx
add eax, 2
lea esi, [edx + eax]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x579
mov dword [esp], ebx
call sym._LoadStringW_16
lea edx, [esi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx ecx, word [eax + 0x411b4c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b830
cmp word [edx], 0
je 0x40ce78
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x40b850
sub eax, edx
add eax, 2
lea esi, [edx + eax]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x57a
mov dword [esp], ebx
call sym._LoadStringW_16
lea edx, [esi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx ecx, word [eax + 0x411b4c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b890
cmp word [edx], 0
je 0x40ce6e
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x40b8b0
sub eax, edx
add eax, 2
lea esi, [edx + eax]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x578
mov dword [esp], ebx
call sym._LoadStringW_16
lea edx, [esi + eax*2 + 2]
sub esp, 0x10
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx ecx, word [eax + 0x411b44]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b8f0
cmp word [edx], 0
je 0x40ce5a
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x40b910
sub eax, edx
add eax, 2
xor edi, edi
mov word [edx + eax], di
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x419aa0
mov dword [esp + 4], 0x6a4
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4198a0
mov dword [esp + 4], 0x6a5
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4196a0
mov dword [esp + 4], 0x5b2
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4194a0
mov dword [esp + 4], 0x5b3
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4192a0
mov dword [esp + 4], 0x5b4
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4190a0
mov dword [esp + 4], 0x5b5
mov dword [esp], ebx
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], str.commdlg_FindReplace
call sym._RegisterWindowMessageW_4
mov edi, dword [ebp - 0x33c]
sub esp, 4
mov dword [0x41a6f8], eax
mov dword [esp], edi
call dbg.registry_read_filelist
mov dword [esp + 4], 0x41a6f0
mov dword [esp], 0x41a6e8
call dbg.registry_read_formatopts_all
call dbg.registry_read_options
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._DragAcceptFiles_8
xor eax, eax
sub esp, 8
jmp 0x409b05
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 4], 0x898
mov dword [esp], eax
call sym._LoadMenuW_8
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x7d1
mov edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
call dbg.set_bar_states
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._ShowWindow_8
sub esp, 8
mov dword [esp], edi
call dbg.close_preview
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym._SetMenu_8
sub esp, 8
mov dword [esp], edi
call dbg.registry_read_filelist
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [0x41a708]
mov dword [esp], eax
call sym._GetClientRect_8
mov eax, dword [ebp - 0x214]
movzx ecx, word [ebp - 0x218]
xor edx, edx
sub esp, 8
shl eax, 0x10
or ecx, eax
mov eax, dword [0x41a708]
call dbg.OnSize
xor eax, eax
jmp 0x409b05
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44c
mov dword [esp], esi
call sym._CheckMenuItem_12
sub esp, 0xc
xor edx, edx
mov dword [ebp - 0x33c], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], esi
call sym._CheckMenuItem_12
mov edx, dword [ebp - 0x33c]
sub esp, 0xc
jmp 0x40b28c
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call dbg.preview_command
jmp 0x409b05
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0xf
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._DefWindowProcW_16
sub esp, 0x10
jmp 0x409b05
cmp dword [ebx + 8], 0xfffffcda
jne 0x409a3c
mov eax, dword [ebp - 0x340]
lea edx, [ebx + 0x14]
call dbg.on_sizelist_modified
xor eax, eax
jmp 0x409b05
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x111
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._GetMenu_4
lea edx, [ebp - 0x220]
push esi
mov dword [ebp - 0x220], 0x30
mov dword [ebp - 0x21c], 0x20
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._GetMenuItemInfoW_16
sub esp, 0x10
test eax, eax
je 0x409a3c
mov eax, dword [ebp - 0x200]
call dbg.DoOpenFile
xor eax, eax
jmp 0x409b05
cmp edi, 0x44d
je 0x40d19a
xor eax, eax
cmp edi, 0x44e
sete al
add eax, 1
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xbc
mov dword [ebp - 0x21c], 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x447
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
call dbg.DialogSaveFile
xor eax, eax
jmp 0x409b05
mov eax, 1
call sym._dialog_find.constprop.0
xor eax, eax
jmp 0x409b05
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor ecx, ecx
push edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], dbg.newfile_proc
mov edx, dword [ebp - 0x33c]
mov dword [esp + 4], 0x835
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._DialogBoxParamW_20
sub esp, 0x14
mov ebx, eax
cmp eax, 0x64
je 0x409a3c
call dbg.prompt_save_changes
test eax, eax
je 0x409a3c
xor eax, eax
lea esi, [ebp - 0x220]
xor edi, edi
call dbg.set_caption
mov word [0x41a4e0], 0
mov dword [ebp - 0x220], 0xbc
mov dword [ebp - 0x21c], 8
mov word [ebp - 0x208], 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x447
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
mov dword [ebp - 0x21c], 0x4b0
mov dword [ebp - 0x220], eax
sub esp, 0x10
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0x461
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb9
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [0x410284], ebx
sub esp, 0x10
call dbg.set_bar_states
call dbg.set_default_font
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41a6f0]
mov dword [esp + 4], eax
mov eax, dword [0x41a708]
mov dword [esp], eax
call dbg.target_device
call dbg.update_font_list
xor eax, eax
jmp 0x409b05
cmp word [0x41a4e0], 0
je case.0x409aca.1004
mov edx, dword [0x410284]
mov eax, 0x41a4e0
call dbg.DoSaveFile
xor eax, eax
jmp 0x409b05
xor eax, eax
lea edi, [ebp - 0x220]
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x28c]
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x41a708]
mov dword [ebp - 0x294], 0x58
mov dword [ebp - 0x260], 0x801804
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x278], eax
mov eax, dword [0x410284]
mov dword [ebp - 0x288], 0x419ca0
mov dword [ebp - 0x274], 0x104
mov dword [ebp - 0x258], 0x411b20
cmp eax, 1
je 0x40d1a4
cmp eax, 0x11
sete al
movzx eax, al
add eax, eax
add eax, 1
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x294]
mov dword [esp], eax
call sym._GetOpenFileNameW_4
push ecx
test eax, eax
je 0x409a3c
call dbg.prompt_save_changes
test eax, eax
je 0x409a3c
mov eax, dword [ebp - 0x278]
call dbg.DoOpenFile
xor eax, eax
jmp 0x409b05
xor ebx, ebx
mov dword [esp + 4], 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call sym._PostMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov eax, 0x419060
call dbg.handle_findmsg
xor eax, eax
jmp 0x409b05
xor eax, eax
call sym._dialog_find.constprop.0
xor eax, eax
jmp 0x409b05
mov dword [esp + 4], 0x41a4e0
mov eax, dword [0x41a708]
mov dword [esp], eax
call dbg.print_quick
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41a6f0]
mov dword [esp + 4], eax
mov eax, dword [0x41a708]
mov dword [esp], eax
call dbg.target_device
xor eax, eax
jmp 0x409b05
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call dbg.dialog_printsetup
jmp 0x40bf6b
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov esi, dword [eax*4 + 0x41a6e8]
mov ebx, eax
mov dword [eax*4 + 0x41a6e8], 2
call dbg.set_bar_states
mov dword [ebx*4 + 0x41a6e8], esi
xor esi, esi
mov dword [esp + 4], esi
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._ShowWindow_8
push edi
push edi
mov dword [esp + 4], 0x41a4e0
mov ebx, dword [ebp - 0x33c]
mov dword [esp], ebx
call dbg.init_preview
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._SetMenu_8
push eax
push eax
xor eax, eax
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], eax
call sym._InvalidateRect_12
xor eax, eax
sub esp, 0xc
jmp 0x409b05
mov dword [esp + 4], 0x41a4e0
mov eax, dword [ebp - 0x33c]
mov dword [esp], eax
call dbg.dialog_print
jmp 0x40bf6b
sub edi, 0x514
cmp edi, 0x67
ja case.0x40c05f.1321
jmp dword [edi*4 + 0x41195c]
xor eax, eax
lea edi, [ebp - 0x220]
mov dword [ebp - 0x220], 0xbc
lea ebx, [esi - 0x522]
mov dword [ebp - 0x21c], 0x20
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43d
mov dword [ebp - 0x33c], edx
call sym._SendMessageW_16
movzx eax, word [ebp - 0x218]
mov dword [ebp - 0x21c], 0x8000e024
sub esp, 0x10
mov edx, dword [ebp - 0x33c]
test ax, ax
je 0x40d138
cmp bx, ax
je 0x40d1ae
cmp si, 0x522
je 0x40d1ae
xor eax, eax
mov dword [ebp - 0x214], eax
movzx eax, bx
mov dword [0x410280], eax
mov word [ebp - 0x218], bx
mov dword [ebp - 0x170], 0x2000001
mov word [ebp - 0x16c], 0x168
mov dword [ebp - 0x20c], 0x168
mov dword [esp + 0xc], edi
jmp 0x40bcaf
xor eax, eax
mov ecx, 0x1c
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x74
mov dword [esp], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [ebp - 0x33c], edx
call sym._SendMessageW_16
mov edx, dword [ebp - 0x33c]
sub esp, 0x10
cmp si, 0x579
je 0x40d18b
xor ecx, ecx
cmp si, 0x57a
sete cl
lea ecx, [ecx + ecx*2 + 1]
mov eax, ecx
xor dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor eax, eax
mov ecx, 0x1c
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
xor eax, eax
cmp si, 0x518
lea ebx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x74
sete al
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43a
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov eax, dword [0x41a708]
mov dword [esp], eax
call sym._GetDC_4
lea edx, [ebp - 0x2e8]
mov ecx, 0xd
push ebx
mov edi, edx
mov edx, dword [0x41a708]
mov esi, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2ec], edx
lea edx, [ebp - 0x294]
mov ecx, 0x1c
mov dword [ebp - 0x2e4], edx
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x2f0], 0x3c
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x2dc], 0x1800141
mov dword [ebp - 0x220], 0x74
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
mov ecx, dword [ebp - 0x2e4]
xor eax, eax
sub esp, 0x10
movzx edx, word [ebp + eax - 0x206]
mov word [ecx + eax + 0x1c], dx
add eax, 2
test dx, dx
jne 0x40c294
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 0x2e4]
mov ecx, eax
mov edi, eax
shr ecx, 1
and ecx, 1
mov byte [edx + 0x14], cl
mov ecx, eax
and ecx, 1
cmp ecx, 1
sbb ecx, ecx
shr edi, 2
and ecx, 0xfffffed4
mov ebx, edi
shr eax, 3
add ecx, 0x2bc
and eax, 1
mov dword [edx + 0x10], ecx
movzx ecx, word [0x411d34]
mov cl, bl
and cl, 1
mov ch, al
mov word [edx + 0x15], cx
mov dword [esp + 4], 0x5a
mov dword [esp], esi
call sym._GetDeviceCaps_8
mov ecx, 0x14
push edx
push edx
mov dword [esp + 8], 0x48
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x214]
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 - 0x20c]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2f0]
mov dword [esp], eax
call sym._ChooseFontW_4
push ecx
test eax, eax
je 0x409a3c
lea edx, [ebp - 0x218]
xor eax, eax
mov ecx, 0x1b
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x220], 0x74
mov dword [ebp - 0x21c], 0xc000000f
add eax, eax
mov dword [ebp - 0x214], eax
movzx eax, word [ebp - 0x2c0]
test ah, 1
je 0x40c3a5
mov dword [ebp - 0x218], 1
test ah, 2
je 0x40c3b1
or dword [ebp - 0x218], 2
mov eax, dword [ebp - 0x2e4]
cmp byte [eax + 0x15], 0
je 0x40c3c4
or dword [ebp - 0x218], 4
cmp byte [eax + 0x16], 0
je 0x40c3d1
or dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x444
mov eax, dword [0x41a704]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x2e4]
sub esp, 0x10
add eax, 0x1c
call dbg.set_font
xor eax, eax
jmp 0x409b05
xor ecx, ecx
mov dword [esp + 4], 0x303
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._PostMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor ebx, ebx
mov dword [esp + 4], 0x302
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._PostMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor edi, edi
mov dword [esp + 4], 0x300
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._PostMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor esi, esi
mov dword [esp + 4], 0x301
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._PostMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov dword [esp], eax
mov dword [ebp - 0x344], eax
call sym._GetWindowTextLengthW_4
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
push esi
lea edi, [eax + 1]
lea ecx, [edi + edi]
mov dword [ebp - 0x33c], eax
xor eax, eax
mov esi, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [ebp - 0x348], ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x340], edx
call edx
sub esp, 0xc
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x344]
mov dword [esp], edx
call sym._GetWindowTextW_12
xor eax, eax
sub esp, 0xc
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x411d18
mov dword [esp], eax
call sym._MessageBoxW_16
xor eax, eax
sub esp, 0x10
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x348]
xor eax, eax
sub esp, 0xc
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edx, dword [ebp - 0x340]
call edx
xor ecx, ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebp - 0x33c]
sub esp, 0xc
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x44b
mov edx, dword [ebp - 0x344]
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], 0x411d18
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._MessageBoxW_16
xor eax, eax
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0xc
jmp 0x409b05
xor eax, eax
mov dword [esp + 4], 0x454
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor eax, eax
mov dword [esp + 4], 0xc7
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
lea ebx, [ebp - 0x21c]
xor eax, eax
mov ecx, 0x2e
mov edi, ebx
lea esi, [ebp - 0x220]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x220], 0xbc
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x43d
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov dword [ebp - 0x21c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x437
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov dword [ebp - 0x340], eax
xor edi, edi
mov dword [esp + 4], 0x7d4
mov esi, dword [ebp - 0x33c]
mov dword [esp], esi
call sym._GetDlgItem_8
push edx
push edx
mov dword [esp + 4], 0x7d3
mov dword [esp], eax
call sym._GetDlgItem_8
push ecx
mov ebx, eax
push ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x57b
mov dword [esp + 4], 0x419
mov dword [esp], eax
call sym._SendMessageW_16
lea ecx, [ebp - 0x294]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x41d
call sym._SendMessageW_16
mov eax, dword [ebp - 0x294]
sub esp, 0x10
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2f0]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 4], eax
call sym._ClientToScreen_8
push eax
push eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x41a6fc]
mov dword [esp], eax
call sym._GetSubMenu_8
xor ecx, ecx
push edx
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov ecx, dword [ebp - 0x2ec]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x2f0]
mov dword [esp + 4], 0x180
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._TrackPopupMenu_28
mov edx, dword [ebp - 0x340]
lea ebx, [eax - 0x708]
sub esp, 0x1c
mov dword [ebp - 0x33c], eax
cmp ebx, 0x10
ja 0x409a3c
xor eax, eax
mov ecx, 0x1c
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
lea esi, [ebp - 0x220]
mov dword [ebp - 0x220], 0x74
mov dword [esp], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
call sym._SendMessageW_16
mov edx, dword [ebp - 0x340]
mov dword [ebp - 0x21c], 0x40000000
sub esp, 0x10
cmp dword [ebp - 0x33c], 0x718
je 0x40d1df
mov eax, dword [ebx*4 + 0x411ca0]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x218]
and eax, 0xbfffffff
mov dword [ebp - 0x218], eax
mov dword [esp + 0xc], esi
jmp 0x40c18f
mov dword [esp + 4], 0xfffffff0
mov dword [esp], eax
mov dword [ebp - 0x33c], eax
call sym._GetWindowLongW_8
push edi
test ah, 8
push edi
mov edx, dword [ebp - 0x33c]
mov dword [esp + 0xc], 0
je 0x40d0f4
xor esi, esi
mov dword [esp + 4], 0xcf
mov dword [esp + 8], esi
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor ebx, ebx
mov dword [esp + 4], 0xb8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [ebp - 0x33c], eax
call sym._SendMessageW_16
mov edx, dword [ebp - 0x33c]
sub esp, 0x10
test eax, eax
mov dword [esp + 0xc], 0
je 0x40d116
xor ecx, ecx
mov dword [esp + 4], 0xb9
mov dword [esp + 8], ecx
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
xor eax, eax
lea edi, [ebp - 0x220]
mov dword [ebp - 0x290], 0xffffffff
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x294]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x434
mov dword [ebp - 0x340], edx
mov ebx, dword fs:[0x18]
call sym._SendMessageW_16
mov eax, dword [ebp - 0x290]
sub eax, dword [ebp - 0x294]
add eax, 1
sub esp, 0x10
add eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x43e
mov edx, dword [ebp - 0x340]
mov dword [esp], edx
call sym._SendMessageW_16
mov eax, dword [ebp - 0x290]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x294]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.Start___ld__End___ld
call sym._sprintf
xor eax, eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Editor
mov edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._MessageBoxA_16
xor edx, edx
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x411d18
mov dword [esp + 4], esi
mov dword [esp], edi
call sym._MessageBoxW_16
xor ecx, ecx
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x409b05
cmp dword [ebx + 8], 0xfffffd3a
jne 0x409a3c
mov edi, dword [ebp - 0x33c]
mov dword [esp], edi
call sym._GetMenu_4
sub esp, 4
test eax, eax
je 0x409a3c
mov dword [ebp - 0x220], 0x30
lea edx, [ebp - 0x220]
mov dword [ebp - 0x21c], 4
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x52d
mov dword [esp], eax
call sym._GetMenuItemInfoW_16
mov esi, dword [ebp - 0x20c]
sub esp, 0x10
test esi, esi
je 0x409a3c
lea esi, [ebp - 0x2f0]
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 0x433
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx]
mov dword [esp], eax
call sym._MapWindowPoints_16
mov edx, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x294], 0x14
sub esp, 0x10
mov dword [ebp - 0x28c], edx
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x288], edx
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x284], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40
mov eax, dword [ebp - 0x20c]
mov dword [esp], eax
call sym._TrackPopupMenuEx_24
xor eax, eax
sub esp, 0x18
jmp 0x409b05
cmp dword [ebx + 8], 0xfffffcda
jne 0x409a3c
lea eax, [ebx + 0x14]
call dbg.on_fontlist_modified
xor eax, eax
jmp 0x409b05
mov dword [esp + 8], 8
mov dword [esp + 4], 0x44c
mov dword [esp], esi
call sym._CheckMenuItem_12
sub esp, 0xc
jmp 0x40bb4b
mov dword [ebp - 0x220], 0x28
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x21c], eax
mov dword [esp], 0
mov eax, dword [ebp - 0x350]
call eax
mov dword [ebp - 0x214], 0x6a7
mov dword [ebp - 0x218], eax
sub esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0x411d18
mov dword [ebp - 0x20c], 0x30
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [esp], eax
call sym._MessageBoxIndirectW_4
sub esp, 4
mov dword [esp], 1
call sym._PostQuitMessage_4
sub esp, 4
jmp 0x40acb2
cmp edi, 0x644
ja 0x40cf51
cmp edi, 0x63f
jbe 0x40cead
sub edi, 0x641
mov dword [esp], 0
cmp edi, 3
ja case.default.0x40cc47
jmp dword [edi*4 + 0x411afc]
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor esi, esi
push ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], dbg.tabstops_proc
mov edx, dword [ebp - 0x33c]
mov dword [esp + 4], 0x837
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._DialogBoxParamW_20
xor eax, eax
sub esp, 0x14
jmp 0x409b05
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor edx, edx
push edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], dbg.paraformat_proc
mov edx, dword [ebp - 0x33c]
mov dword [esp + 4], 0x836
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._DialogBoxParamW_20
xor eax, eax
sub esp, 0x14
jmp 0x409b05
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push edx
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 sym._LoadImageW_24
xor ecx, ecx
sub esp, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x411d18
mov eax, dword [0x41a708]
mov dword [esp], eax
call sym._ShellAboutW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor esi, esi
push ecx
mov ebx, eax
mov dword [ebp - 0x220], 0x38
mov dword [ebp - 0x21c], 8
mov dword [ebp - 0x214], 0x838
mov dword [ebp - 0x208], dbg.formatopts_proc
mov dword [ebp - 0x218], eax
mov dword [esp], 1
call sym._reg_formatindex
mov dword [ebp - 0x200], esi
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x20c], 0x599
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x1dc], eax
mov dword [esp], 2
call sym._reg_formatindex
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x1d4], 0x59a
mov dword [ebp - 0x1c8], eax
mov eax, dword [0x41a708]
mov dword [ebp - 0x294], 0x34
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x274], eax
mov eax, dword [0x410284]
mov dword [ebp - 0x290], 0x8c
mov dword [ebp - 0x280], 0x598
shr eax, 1
mov dword [ebp - 0x27c], 2
and eax, 1
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x284], 0x66
mov dword [esp], eax
call sym._PropertySheetW_4
push edi
call dbg.set_bar_states
jmp 0x40bf6b
mov eax, 2
jmp 0x40b91e
mov eax, 2
jmp 0x40b7fe
mov eax, 2
jmp 0x40b8be
mov eax, 2
jmp 0x40b85e
mov dword [ebp - 0x308], 1
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x348], eax
jmp 0x40b619
cmp edx, 2
sete dl
movzx edx, dl
shl edx, 3
jmp 0x40bb4d
cmp edi, 0x5de
je 0x40d0a6
ja 0x40cfe0
cmp edi, 0x5dc
je 0x40d07a
cmp edi, 0x5dd
jne case.0x40c05f.1321
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41a6e8]
mov eax, 4
shr edx, 3
xor edx, 1
and edx, 1
call dbg.set_toolbar_state
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41a6e8]
mov eax, 5
shr edx, 3
xor edx, 1
and edx, 1
call dbg.set_toolbar_state
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41a6e8]
mov eax, 3
shr edx, 3
xor edx, 1
and edx, 1
call dbg.set_toolbar_state
jmp 0x40baef
cmp edi, 0x7dd
je 0x40d04a
cmp edi, 0x7de
jne case.0x40c05f.1321
shr esi, 0x10
cmp esi, 9
jne 0x409a3c
mov ecx, 0x100
lea edx, [ebp - 0x220]
mov eax, ebx
call sym._get_comboexlist_selection.isra.0
mov eax, ebx
lea edx, [ebp - 0x220]
call dbg.on_sizelist_modified
xor eax, eax
jmp 0x409b05
cmp edi, 0x4b0
je 0x40d0cc
cmp edi, 0x4b1
jne case.0x40c05f.1321
xor esi, esi
mov dword [esp + 0xc], 0xc0ffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x443
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
cmp edi, 0x5df
jne case.0x40c05f.1321
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41a6e8]
xor eax, eax
not edx
and edx, 1
call dbg.set_toolbar_state
jmp 0x40baef
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor ebx, ebx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], dbg.datetime_proc
mov edx, dword [ebp - 0x33c]
mov dword [esp + 4], 0x834
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._DialogBoxParamW_20
xor eax, eax
sub esp, 0x14
jmp 0x409b05
shr esi, 0x10
cmp esi, 9
jne 0x409a3c
mov ecx, 0x20
lea edx, [ebp - 0x220]
mov eax, ebx
call sym._get_comboexlist_selection.isra.0
lea eax, [ebp - 0x220]
call dbg.on_fontlist_modified
xor eax, eax
jmp 0x409b05
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41a6e8]
mov eax, 2
shr edx, 2
xor edx, 1
and edx, 1
call dbg.set_toolbar_state
jmp 0x40baef
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41a6e8]
shr eax, 1
xor eax, 1
and eax, 1
call dbg.set_statusbar_state
jmp 0x40baef
xor edi, edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0x443
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov dword [esp + 8], 1
mov dword [esp + 4], 0xcf
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov dword [esp + 8], 1
mov dword [esp + 4], 0xb9
mov dword [esp], edx
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x409b05
mov dword [ebp - 0x214], 0x168
cmp si, 0x522
jne 0x40c0e5
movzx ebx, word [0x410280]
jmp 0x40c0ed
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 4], str.Error_code__lu_n
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._fprintf.constprop.0
or eax, 0xffffffff
jmp 0x409b05
mov ecx, 2
mov eax, 2
jmp 0x40c17f
mov eax, 3
jmp 0x40bc8a
mov eax, 1
jmp 0x40bece
mov word [ebp - 0x218], 0
xor eax, eax
mov dword [ebp - 0x170], eax
xor eax, eax
mov word [ebp - 0x16c], 0
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x214], 0xfffffe98
jmp 0x40c111
mov eax, dword [ebp - 0x218]
or eax, 0x40000000
jmp 0x40c83d