Function at 0x404b00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x8c]
mov esi, section..data
push ebx
sub esp, 0xd8
mov dword [esp], str.riched32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 4
mov dword [0x41d004], eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x5a2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.error:__d_n
mov dword [esp + 8], eax
mov edx, dword [0x41d004]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.004017f0
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
and ax, 0x3ff
cmp ax, 0x11
sete al
movzx eax, al
mov dword [0x41d000], eax
call fcn.00401e80
call fcn.00403270
call fcn.00402f60
call fcn.00402120
call fcn.00403620
call fcn.00401b30
call fcn.00402320
call fcn.00401a70
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x9c], eax
mov esi, eax
mov dword [esp + 0xc], str.richedit1_rrichedit1_nrichedit1_r_nshort_rrichedit1_r_r_r_r_r_n
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
mov dword [ebp - 0x98], ebx
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 4
je 0x406b8b
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x1f9
xor eax, eax
cmp ebx, 9
sete al
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x8c]
mov dword [esp + 4], str.Incorrect_line_count_of__Id_n
mov dword [esp], eax
call fcn.004017f0
lea esi, [esi]
nop
mov edi, dword [ebx]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xc1
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x1fd
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], esi
cmp esi, eax
mov dword [esp + 0x10], eax
sete al
mov dword [esp + 8], edi
add ebx, 8
movzx eax, al
mov dword [esp + 4], str.Length_of_line_at_offset__d_is__Id__expected__d_n
mov dword [esp], eax
call fcn.004017f0
lea eax, [ebp - 0xc]
cmp eax, ebx
jne 0x404c48
mov eax, dword [0x41d000]
test eax, eax
je 0x406984
mov dword [esp + 0xc], str.wine_nrichedit
mov esi, 0x40b420
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, dword [esi]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xc1
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
xor ecx, ecx
mov ebx, eax
mov eax, dword [esi + 8]
sub esp, 0x10
test eax, eax
je 0x404d36
mov eax, dword [0x41d050]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0xa0], ecx
call fcn.00406c60
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xa0]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x404da1
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x213
mov eax, dword [esi + 4]
mov dword [esp + 0xc], ebx
cmp ebx, eax
mov dword [esp + 0x10], eax
sete al
mov dword [esp + 8], edi
movzx eax, al
mov dword [esp + 4], str.Length_of_line_at_offset__d_is__Id__expected__d_n
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x404d60
add esi, 0xc
cmp esi, str.abcdef
jne 0x404cf5
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_DestroyWindow]
mov dword [ebp - 0xa4], eax
call eax
sub esp, 4
call fcn.00401a70
mov ecx, 0x408420
mov edx, 0x40af2e
mov dword [esp], 5
mov ebx, eax
mov edi, dword fs:[0x18]
call fcn.00401810
mov dword [esp], ebx
mov dword [esp + 0xc], str.WINEWine_wineWine_wine_WineWine
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov esi, dword [ebp - 0x98]
call esi
mov ecx, 0x4080c0
mov edx, 0x40af30
mov eax, ebx
sub esp, 0x10
mov dword [esp], 0x2b
call fcn.00401810
mov dword [esp], ebx
mov dword [esp + 0xc], str.first_r_r_nsecond
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
call esi
mov ecx, 0x408080
mov edx, 0x40af32
mov eax, ebx
sub esp, 0x10
mov dword [esp], 3
call fcn.00401810
mov dword [esp], ebx
mov eax, dword [ebp - 0xa4]
call eax
sub esp, 4
call fcn.00404200
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0x3c
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x90200004
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov dword [ebp - 0x9c], eax
call eax
sub esp, 0x30
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3ad
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.error:__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0x40af34
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [ebp - 0x98], esi
call esi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3af
mov dword [esp], esi
mov dword [esp + 4], str.WM_SETTEXT_failed._n
call fcn.004017f0
lea edx, [ebp - 0x8c]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
mov esi, dword [ebp - 0x98]
call esi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3b1
mov dword [esp + 8], esi
mov dword [esp], esi
mov dword [esp + 4], str.pos_d_indicating_no_word_wrap_when_it_is_expected._n
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov esi, dword [ebp - 0x98]
call esi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3b3
xor eax, eax
cmp esi, 1
setg al
mov dword [esp + 8], esi
mov dword [esp + 4], str.Line_was_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov esi, dword [sym.imp.user32.dll_SetWindowLongA]
mov dword [esp + 8], 0x90300084
mov dword [esp + 4], 0xfffffff0
call esi
lea edx, [ebp - 0x8c]
sub esp, 0xc
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov edx, dword [ebp - 0xa0]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3b7
mov dword [esp + 8], edx
mov dword [esp], edx
mov dword [esp + 4], str.pos_d_indicating_no_word_wrap_when_it_is_expected._n
call fcn.004017f0
mov dword [esp], ebx
mov ecx, dword [ebp - 0xa4]
call ecx
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x90300004
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov ebx, dword [ebp - 0x9c]
call ebx
sub esp, 0x30
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3bc
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.error:__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0x40af34
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3bf
mov dword [esp + 4], str.WM_SETTEXT_failed._n
mov edx, dword [ebp - 0xa0]
mov dword [esp], edx
call fcn.004017f0
lea edx, [ebp - 0x8c]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov edx, dword [ebp - 0xa0]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3c1
mov dword [esp + 8], edx
mov dword [esp], edx
mov dword [esp + 4], str.pos_d_indicating_no_word_wrap_when_it_is_expected._n
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov edx, dword [ebp - 0xa0]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3c3
xor eax, eax
cmp edx, 1
setg al
mov dword [esp + 8], edx
mov dword [esp + 4], str.Line_was_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 8], 0x90300084
mov dword [esp + 4], 0xfffffff0
call esi
lea edx, [ebp - 0x8c]
sub esp, 0xc
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov edx, dword [ebp - 0xa0]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3c7
mov dword [esp + 8], edx
mov dword [esp], edx
mov dword [esp + 4], str.pos_d_indicating_no_word_wrap_when_it_is_expected._n
call fcn.004017f0
mov dword [esp], ebx
mov ecx, dword [ebp - 0xa4]
call ecx
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x90200084
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov ebx, dword [ebp - 0x9c]
call ebx
sub esp, 0x30
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3cc
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.error:__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 0xc], 0x40af34
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3ce
mov dword [esp], edi
mov dword [esp + 4], str.WM_SETTEXT_failed._n
call fcn.004017f0
lea ecx, [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xd7
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3d0
mov eax, 1
test edi, edi
je 0x405421
mov ecx, dword [0x41d050]
test ecx, ecx
sete dl
xor eax, eax
cmp edi, 0x29
sete al
and eax, edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.pos_d_indicating_word_wrap_when_none_is_expected._n
call fcn.004017f0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3d4
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 8], edi
mov dword [esp + 4], str.Line_was_not_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 8], 0x90200004
mov dword [esp + 4], 0xfffffff0
mov dword [esp], ebx
call esi
lea ecx, [ebp - 0x8c]
sub esp, 0xc
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3d8
mov eax, 1
test edi, edi
je 0x4054fd
mov edx, dword [0x41d050]
test edx, edx
sete dl
xor eax, eax
cmp edi, 0x29
sete al
and eax, edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.pos_d_indicating_word_wrap_when_none_is_expected._n
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3dc
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 8], edi
mov dword [esp + 4], str.Line_was_not_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov ebx, dword [ebp - 0xa4]
call ebx
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x90300084
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov ebx, dword [ebp - 0x9c]
call ebx
sub esp, 0x30
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3e2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.error:__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 0xc], 0x40af34
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3e4
mov dword [esp], edi
mov dword [esp + 4], str.WM_SETTEXT_failed._n
call fcn.004017f0
lea ecx, [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xd7
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3e6
mov eax, 1
test edi, edi
je 0x4056bb
mov eax, dword [0x41d050]
test eax, eax
sete dl
xor eax, eax
cmp edi, 0x29
sete al
and eax, edx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.pos_d_indicating_word_wrap_when_none_is_expected._n
call fcn.004017f0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3ea
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 8], edi
mov dword [esp + 4], str.Line_was_not_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 8], 0x90200004
mov dword [esp + 4], 0xfffffff0
mov dword [esp], ebx
call esi
lea esi, [ebp - 0x8c]
sub esp, 0xc
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3ee
mov eax, 1
test esi, esi
je 0x405796
mov eax, dword [0x41d050]
test eax, eax
sete dl
xor eax, eax
cmp esi, 0x29
sete al
and eax, edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.pos_d_indicating_word_wrap_when_none_is_expected._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], ebx
mov edi, dword [ebp - 0x98]
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3f2
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.Line_was_not_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x448
mov dword [esp], ebx
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3f6
mov dword [esp + 8], esi
mov dword [esp], esi
mov dword [esp + 4], str.EM_SETTARGETDEVICE_failed__returned__d_._n
call fcn.004017f0
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xd7
mov dword [esp], ebx
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3f8
mov eax, 1
test esi, esi
je 0x40589b
mov eax, dword [0x41d050]
test eax, eax
sete dl
xor eax, eax
cmp esi, 0x29
sete al
and eax, edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.pos_d_indicating_word_wrap_when_none_is_expected._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov edi, dword [ebp - 0x98]
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3fc
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.Line_was_not_expected_to_wrap__lines_d_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x448
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x3ff
mov dword [esp + 8], esi
mov dword [esp], esi
mov dword [esp + 4], str.EM_SETTARGETDEVICE_failed__returned__d_._n
call fcn.004017f0
lea eax, [ebp - 0x8c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd7
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x401
mov dword [esp + 8], esi
mov dword [esp], esi
mov dword [esp + 4], str.pos_d_indicating_no_word_wrap_when_it_is_expected._n
call fcn.004017f0
mov dword [esp], ebx
mov eax, dword [ebp - 0xa4]
call eax
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x90200004
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov esi, dword [ebp - 0x9c]
call esi
sub esp, 0x30
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov edx, dword fs:[0x18]
mov dword [eax + 4], 0x407
mov eax, dword [edx + 0x34]
mov dword [ebp - 0xb4], edx
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.error:__d_n
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
mov ecx, dword [sym.imp.user32.dll_IsWindowVisible]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x408
mov dword [esp], ebx
mov dword [ebp - 0xb0], ecx
call ecx
sub esp, 4
mov dword [esp + 4], str.Window_should_be_visible._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0x40af34
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc2
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x40a
mov dword [esp], esi
mov dword [esp + 4], str.EM_REPLACESEL_failed._n
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
call edi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x40d
xor eax, eax
cmp esi, 1
setg al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Line_was_expected_to_wrap___d_lines_._n
call fcn.004017f0
mov eax, dword [sym.imp.user32.dll_MoveWindow]
mov dword [esp], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x50
mov dword [esp + 0xc], 0x258
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0xa8], eax
call eax
sub esp, 0x18
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
call edi
sub esp, 0x10
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov ecx, dword [ebp - 0xa0]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x412
xor eax, eax
cmp ecx, 1
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Line_wasnt_expected_to_wrap___d_lines_._n
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x50
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xa8]
call eax
sub esp, 0x18
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [ebp - 0x98], edi
call edi
sub esp, 0x10
mov edi, eax
mov dword [ebp - 0xac], eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x416
xor eax, eax
cmp edi, 1
setg al
mov dword [esp + 8], edi
mov dword [esp + 4], str.Line_was_expected_to_wrap___d_lines_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov edx, dword [ebp - 0xa4]
call edx
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x50
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x90200004
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov edx, dword [ebp - 0x9c]
call edx
sub esp, 0x30
mov edi, eax
call fcn.00406c60
mov edx, dword [ebp - 0xb4]
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x41c
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.error:__d_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x41d
mov dword [esp], edi
mov ecx, dword [ebp - 0xb0]
call ecx
sub esp, 4
mov dword [esp + 4], str.Window_should_be_visible._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb
mov ebx, dword [ebp - 0x98]
call ebx
sub esp, 0x10
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x420
mov dword [esp], edi
mov ecx, dword [ebp - 0xb0]
call ecx
sub esp, 4
test eax, eax
sete al
mov dword [esp + 4], str.Window_shouldnt_be_visible._n
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], edi
mov dword [esp + 0xc], 0x40af34
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc2
mov dword [ebp - 0x98], ebx
call ebx
sub esp, 0x10
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x422
mov dword [esp], ebx
mov dword [esp + 4], str.EM_REPLACESEL_failed._n
call fcn.004017f0
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov ebx, dword [ebp - 0x98]
call ebx
sub esp, 0x10
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x425
xor eax, eax
cmp esi, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Line_was_expected_to_wrap___d_lines_._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x50
mov dword [esp + 0xc], 0x258
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov esi, dword [ebp - 0xa8]
call esi
sub esp, 0x18
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov eax, dword [ebp - 0x98]
call eax
mov ecx, dword [0x41d050]
sub esp, 0x10
mov esi, eax
mov dword [ebp - 0xb0], ecx
call fcn.00406c60
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb0], edi
mov edx, dword [eax + 0x10]
mov edi, dword [ebp - 0xa0]
mov dword [eax + 0x14], 1
add edx, edx
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x405f06
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x42b
mov eax, 1
cmp ebx, esi
je 0x405eee
mov eax, dword [0x41d050]
test eax, eax
sete dl
xor eax, eax
cmp edi, esi
sete al
and eax, edx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_no_change_in_the_number_of_lines_n
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x405ec0
mov edi, dword [ebp - 0xb0]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x50
mov dword [esp], edi
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xa8]
call eax
sub esp, 0x18
mov dword [esp], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov eax, dword [ebp - 0x98]
call eax
mov ecx, dword [0x41d050]
sub esp, 0x10
mov esi, eax
mov dword [ebp - 0xa0], ecx
call fcn.00406c60
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0xac]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x406006
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x432
mov eax, 1
cmp ebx, esi
je 0x405fee
mov eax, dword [0x41d050]
test eax, eax
sete dl
xor eax, eax
cmp edi, esi
sete al
and eax, edx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_no_change_in_the_number_of_lines_n
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x405fc0
mov edi, dword [ebp - 0xa0]
mov dword [esp], edi
mov edi, dword [ebp - 0xa4]
call edi
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov eax, dword [ebp - 0x9c]
call eax
sub esp, 0x30
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44e
mov dword [esp], eax
mov esi, dword [ebp - 0x98]
call esi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x441
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.Incorrect_options__lx_n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x80300000
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov eax, dword [ebp - 0x9c]
call eax
sub esp, 0x30
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44e
mov dword [esp], eax
mov esi, dword [ebp - 0x98]
call esi
sub esp, 0x10
mov esi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x448
mov eax, 1
cmp esi, 0x40
je 0x4061b6
mov eax, esi
or eax, dword [0x41d050]
sete al
movzx eax, al
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Incorrect_initial_options__lx_n
call fcn.004017f0
mov dword [esp], ebx
mov eax, dword [ebp - 0xa4]
call eax
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x80300004
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov eax, dword [ebp - 0x9c]
call eax
sub esp, 0x30
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x458
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], str.RICHEDIT
mov dword [esp + 4], str.class:__s__error:__d_n
mov dword [esp + 0xc], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44e
mov dword [esp], edi
mov eax, dword [ebp - 0x98]
call eax
sub esp, 0x10
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x45a
mov eax, 1
test bl, 0x40
jne 0x4062d4
mov ecx, dword [0x41d050]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp], eax
mov dword [esp + 4], str.ECO_AUTOVSCROLL_isnt_set._n
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x45d
xor eax, eax
and ebx, 0x80
sete al
mov dword [esp + 4], str.ECO_AUTOHSCROLL_is_set._n
mov dword [esp], eax
call fcn.004017f0
mov eax, dword [sym.imp.user32.dll_GetWindowLongA]
mov dword [esp + 4], 0xfffffff0
mov dword [esp], edi
mov dword [ebp - 0xa8], eax
call eax
mov ebx, dword [0x41d050]
sub esp, 8
mov esi, eax
mov dword [ebp - 0xa0], eax
call fcn.00406c60
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test ebx, ebx
setne cl
and esi, 0x40
or edx, ecx
mov ebx, esi
mov dword [eax + 0x10], edx
jmp 0x4063a0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x460
mov eax, 1
test ebx, ebx
jne 0x406388
mov edx, dword [0x41d050]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
mov dword [esp + 4], str.ES_AUTOVSCROLL_isnt_set._n
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov esi, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test esi, esi
jne 0x406360
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x463
xor eax, eax
mov dword [esp + 4], str.ES_AUTOHSCROLL_is_set._n
test byte [ebp - 0xa0], 0x80
sete al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], edi
mov eax, dword [ebp - 0xa4]
call eax
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [0x41d004]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x18], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x80000004
mov dword [esp + 8], 0
mov dword [esp + 4], str.RICHEDIT
mov dword [esp], 0
mov ebx, dword [ebp - 0x9c]
call ebx
sub esp, 0x30
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x469
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], str.RICHEDIT
mov dword [esp + 4], str.class:__s__error:__d_n
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44e
mov ecx, dword [ebp - 0x98]
call ecx
sub esp, 0x10
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x46b
xor eax, eax
test edi, 0x40
sete al
mov dword [esp + 4], str.ECO_AUTOVSCROLL_is_set._n
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x46c
xor eax, eax
and edi, 0x80
sete al
mov dword [esp + 4], str.ECO_AUTOHSCROLL_is_set._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov dword [esp + 4], 0xfffffff0
mov edi, dword [ebp - 0xa8]
call edi
sub esp, 8
mov edi, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x46e
xor eax, eax
test edi, 0x40
sete al
mov dword [esp + 4], str.ES_AUTOVSCROLL_is_set._n
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x46f
xor eax, eax
and edi, 0x80
sete al
mov dword [esp + 4], str.ES_AUTOHSCROLL_is_set._n
mov dword [esp], eax
call fcn.004017f0
mov dword [esp], ebx
mov eax, dword [ebp - 0xa4]
mov ebx, 0x40b6e0
call eax
sub esp, 4
call fcn.00402830
call fcn.00403dc0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.00401a70
mov dword [ebp - 0x9c], eax
mov dword [esp + 0xc], str.testing_selection
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
mov ecx, dword [ebp - 0x98]
call ecx
sub esp, 0x10
lea esi, [esi]
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp + 4], 0xb1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
xor ecx, ecx
mov edi, eax
mov eax, dword [ebx + 0x14]
sub esp, 0x10
test eax, eax
je 0x406660
mov eax, dword [0x41d050]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0xa0], ecx
call fcn.00406c60
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xa0]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4066c9
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x565
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], edi
cmp edi, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], esi
movzx eax, al
mov dword [esp + 4], str.EM_SETSEL__d_:_expected:__Id_actual:__Id_n
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x406688
lea eax, [ebp - 0x90]
mov dword [esp + 4], 0xb0
xor edi, edi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x94]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
mov ecx, dword [ebx + 0x18]
sub esp, 0x10
test ecx, ecx
je 0x406724
mov edx, dword [0x41d050]
xor eax, eax
test edx, edx
setne al
mov edi, eax
call fcn.00406c60
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
or edx, edi
mov dword [eax + 0x10], edx
jmp 0x40679f
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x56a
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], ecx
cmp edi, ecx
mov dword [esp + 0x14], edx
sete cl
cmp edx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x18], edi
movzx eax, al
mov dword [esp + 8], esi
and eax, ecx
mov dword [esp + 4], str.EM_SETSEL__d_:_expected___d__d__actual:__d__d__n
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x406740
add esi, 1
add ebx, 0x1c
cmp esi, 0x11
jne 0x406620
mov dword [esp + 0xc], 0x12
mov dword [esp + 8], 0x11
mov dword [esp + 4], 0xb1
mov esi, dword [ebp - 0x9c]
mov dword [esp], esi
mov ebx, dword [ebp - 0x98]
call ebx
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0x7b
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43e
mov dword [esp], esi
call ebx
sub esp, 0x10
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x581
lea eax, [ebp - 0x8c]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.selection_text__s_n
cmp byte [ebp - 0x8c], 0
sete al
mov dword [esp], eax
call fcn.004017f0
mov eax, dword [0x41d000]
test eax, eax
jne 0x4069c5
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x584
mov dword [esp], str.Skip_multibyte_character_tests_on_non_Japanese_platform_n
call fcn.00401340
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
call eax
mov esi, dword [sym.imp.msvcrt.dll_time]
sub esp, 4
mov dword [esp], 0
call esi
mov dword [esp], str.WINETEST_RICHED32
mov ebx, eax
call dword [sym.imp.msvcrt.dll_getenv]
test eax, eax
je 0x406934
mov edi, dword [sym.imp.user32.dll_PeekMessageA]
add ebx, 0x1e
lea esi, [esi]
mov dword [esp], 0
call esi
cmp eax, ebx
jge 0x406934
lea eax, [ebp - 0x8c]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
sub esp, 0x14
test eax, eax
je 0x4069b0
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [ebp - 0x8c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_DispatchMessageA]
sub esp, 4
mov dword [esp], 0
call esi
cmp eax, ebx
jl 0x4068cd
call dword [sym.imp.ole32.dll_OleFlushClipboard]
mov eax, dword [0x41d004]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov ebx, eax
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x5c9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.error:__lu_n
mov dword [esp + 8], eax
call fcn.004017f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x203
mov dword [esp], str.Skip_multibyte_character_tests_on_non_Japanese_platform_n
call fcn.00401340
jmp 0x404dc3
mov dword [esp], 0x32
call dword [sym.imp.kernel32.dll_Sleep]
sub esp, 4
jmp 0x4068c0
mov dword [esp + 0xc], 0x40a668
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov esi, dword [ebp - 0x9c]
mov dword [esp], esi
mov ebx, dword [ebp - 0x98]
call ebx
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0xc], 8
mov dword [esp + 8], 4
mov dword [esp + 4], 0xb1
call ebx
mov esi, dword [0x41d050]
sub esp, 0x10
mov ebx, eax
call fcn.00406c60
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x406a76
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x58e
xor eax, eax
cmp ebx, 7
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.EM_SETSEL_return__Id_expected_7_n
call fcn.004017f0
call fcn.00406c60
shr dword [eax + 0x10], 1
call fcn.00406c60
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x406a40
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x43e
mov esi, dword [ebp - 0x9c]
mov dword [esp], esi
mov ebx, dword [ebp - 0x98]
call ebx
sub esp, 0x10
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x590
lea eax, [ebp - 0x8c]
mov dword [esp + 4], 0x40a676
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
mov dword [esp + 4], str.EM_GETSELTEXT_return_incorrect_string_n
test eax, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
lea eax, [ebp - 0x90]
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x94]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xb0
call ebx
sub esp, 0x10
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x592
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], str.Selection_start_incorrectly:__d_expected_4_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x593
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], str.Selection_end_incorrectly:__d_expected_8_n
cmp eax, 8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004017f0
jmp 0x406879
call fcn.00406c60
mov dword [eax], 0x40a147
mov dword [eax + 4], 0x1f6
mov dword [esp], str.Win9x__WinME_and_NT4_dont_handle__r_only_correctly_n
call fcn.004020f0
mov eax, dword [sym.imp.user32.dll_DestroyWindow]
mov dword [ebp - 0xa4], eax
jmp 0x404ddc