Function at 0x40ef20
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x2e0
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ecx + 8]
mov dword [esp + 4], str.main
mov dword [ebp - 0x2ac], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2a0], eax
add eax, 0xa
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiA]
mov dword [ebp - 0x2a4], eax
call eax
mov dword [ebp - 0x2a8], eax
sub esp, 8
test eax, eax
je 0x40ef90
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x5c]
test eax, eax
js 0x40f5b0
mov ebx, dword [0x415794]
test ebx, ebx
je 0x40fa60
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a4]
jmp 0x40efbe
mov ebx, dword [ebx + 0x214]
test ebx, ebx
je 0x40fa60
mov eax, dword [esi + 4]
add eax, 0xa
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
add eax, 0xa
mov dword [esp], eax
call edi
sub esp, 8
test eax, eax
jne 0x40efb0
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x29c]
mov edx, dword [eax]
cmp dword [ebx + 8], edx
je 0x40fd30
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.user32.dll_DestroyWindow]
test esi, esi
je 0x40f01c
nop
mov eax, dword [esi]
mov dword [esp], eax
call edi
mov eax, esi
mov esi, dword [esi + 0x24]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test esi, esi
jne 0x40f000
mov eax, dword [ebp - 0x29c]
mov dword [ebx + 4], 0
mov eax, dword [eax + 4]
cmp byte [eax + 0x13], 0
lea edx, [eax + 0x13]
jne 0x40f043
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0xc]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x29c]
sub esp, 8
mov eax, dword [eax + 4]
cmp dword [ebx + 0x28], eax
je 0x40f0d2
mov esi, dword [eax + 0x48]
cmp esi, 0x80000000
je 0x40fc90
mov edi, dword [eax + 0x4c]
mov ecx, 2
cmp edi, 0x80000000
je 0x40fc90
mov edx, dword [eax + 0x50]
cmp edx, 0x80000000
je 0x40fd50
mov eax, dword [eax + 0x54]
cmp eax, 0x80000000
je 0x40fd50
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowPos]
sub esp, 0x1c
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
test eax, eax
je 0x40f12c
mov edx, dword [ebx + 8]
test edx, edx
je 0x40f12c
mov ecx, dword [edx + 0x28]
cmp dword [eax + 0x28], ecx
je 0x40f12c
mov eax, dword [ebx + 0x20c]
lea esi, [ebx + 0x2c]
xor edi, edi
test eax, eax
je 0x40f122
lea esi, [esi]
mov eax, dword [esi]
add edi, 1
add esi, 0xc
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._HLPFILE_FreeHlpFile
mov dword [esi - 0xc], 0
cmp edi, dword [ebx + 0x20c]
jb 0x40f100
mov dword [ebx + 0x20c], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x298]
mov edi, esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov ecx, 0xa1
movq xmm0, qword [str.Helv0]
mov edx, eax
xor eax, eax
sub esp, 8
rep stosd dword es:[edi], eax
mov byte [ebp - 0x281], 1
mov dword [ebp - 0x298], 0xfffffff6
mov dword [ebp - 0x288], 0x190
mov byte [ebp - 0x27d], 0x20
mov dword [ebp - 0x23c], 0xfffffff4
mov dword [ebp - 0x22c], 0x2bc
mov byte [ebp - 0x225], 1
mov byte [ebp - 0x221], 0x20
mov dword [ebp - 0x1e0], 0xfffffff4
mov dword [ebp - 0x1d0], 0x2bc
mov byte [ebp - 0x1c9], 1
mov byte [ebp - 0x1c5], 0x20
mov dword [ebp - 0x184], 0xfffffff4
mov dword [ebp - 0x174], 0x190
mov byte [ebp - 0x16d], 1
mov byte [ebp - 0x169], 0x20
mov dword [ebp - 0x128], 0xfffffff4
mov dword [ebp - 0x118], 0x2bc
mov byte [ebp - 0x111], 1
mov byte [ebp - 0x10d], 0x20
mov dword [ebp - 0xcc], 0xfffffff6
mov dword [ebp - 0xbc], 0x2bc
mov byte [ebp - 0xb5], 1
mov byte [ebp - 0xb1], 0x20
movq qword [ebp - 0x27c], xmm0
movq qword [ebp - 0x220], xmm0
movq qword [ebp - 0x1c4], xmm0
movq qword [ebp - 0x168], xmm0
movq qword [ebp - 0x10c], xmm0
movq qword [ebp - 0xb0], xmm0
mov dword [ebp - 0x70], 0xfffffff8
mov edi, dword [0x41d08c]
mov dword [ebp - 0x60], 0x190
mov byte [ebp - 0x59], 1
mov byte [ebp - 0x55], 0x20
movq qword [ebp - 0x54], xmm0
mov dword [edx + 0x1c], 7
mov dword [edx + 0x18], 0x41d090
test edi, edi
jne 0x40f2b8
xor edi, edi
nop
mov dword [esp], esi
add esi, 0x5c
call dword [sym.imp.gdi32.dll_CreateFontIndirectW]
mov dword [edi*4 + 0x41d090], eax
add edi, 1
sub esp, 4
cmp edi, 7
jne 0x40f290
mov dword [0x41d08c], 1
mov esi, dword [ebp - 0x29c]
mov eax, dword [esi]
mov dword [ebx + 8], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x28], eax
mov dword [esp + 4], 0x701
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ecx, dword [esi + 8]
mov edx, ebx
sub esp, 8
mov edi, eax
call sym._WINHELP_SetupText
mov dword [esp + 8], 1
mov esi, dword [sym.imp.user32.dll_InvalidateRect]
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x10]
sub esp, 0xc
test eax, eax
je 0x40f32c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 0xc
mov esi, dword [ebp - 0x29c]
movzx edx, byte [0x415988]
mov eax, dword [ebx]
mov ecx, dword [esi]
and edx, 8
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 0x28], ecx
test dl, dl
jne 0x40fd60
add eax, 1
mov ecx, 1
mov dword [ebx], eax
mov eax, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2ac]
mov eax, dword [eax]
test edx, edx
je 0x40f375
test eax, eax
jne 0x40fb00
mov eax, dword [ebp - 0x2a8]
mov dword [0x41578c], ebx
mov dword [ebp - 0x2a0], 0
test eax, eax
je 0x40f6fa
test ecx, ecx
jne 0x40f7fd
mov eax, dword [ebp - 0x29c]
mov esi, dword [0x415784]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x48]
mov edi, dword [eax + 0x4c]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2ac], edx
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x2a8], edx
mov edx, dword [ebp - 0x2a0]
test edx, edx
jne 0x40fae8
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b4], 0
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x2b8], edx
cmp byte [eax + 0x13], 0
jne 0x40fd48
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x2a0]
test edx, edx
jne 0x40fcc0
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x2ac]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2bc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2b8]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2a8]
mov dword [esp + 0xc], ecx
mov esi, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.MS_WINHELP
mov dword [esp], 0
call esi
mov edx, dword [0x415784]
sub esp, 0x30
mov dword [ebx + 0xc], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0x700
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x41867b
mov dword [esp + 4], str.WHButtonBox
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0xc]
sub esp, 0x30
mov edx, dword [0x415784]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x701
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50300804
mov dword [esp + 8], 0
mov dword [esp + 4], str.RichEdit20A
mov dword [esp], 0
call esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x30
mov edi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43b
mov dword [esp], eax
mov dword [ebp - 0x2a8], esi
call esi
sub esp, 0x10
or eax, 0x20000
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], edi
call esi
sub esp, 0x10
mov dword [esp + 8], sym._WINHELP_RicheditWndProc_16
mov dword [esp + 4], 0xfffffffc
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongA]
mov dword [ebx + 0x14], eax
sub esp, 0xc
jmp 0x40f808
mov dword [ebp - 0x2a0], 1
mov dword [esp + 4], 0x218
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov ebx, eax
test eax, eax
je 0x40fdc6
mov eax, dword [0x415794]
mov dword [0x415794], ebx
mov dword [ebx + 0x214], eax
mov dword [esp + 4], 0x7f89
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorW]
mov edx, 1
mov dword [ebx + 0x20], eax
xor eax, eax
sub esp, 8
mov dword [ebx + 0x20c], eax
mov eax, dword [ebx]
mov dword [ebx + 0x210], edx
test byte [0x415988], 8
jne 0x40f648
mov ecx, dword [ebp - 0x29c]
add eax, 1
xor edi, edi
mov dword [ebx], eax
mov edx, dword [ecx]
mov dword [ebx + 8], edx
mov edx, dword [ecx + 4]
xor ecx, ecx
mov dword [ebx + 0x28], edx
jmp 0x40f6d3
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Grab__p_d_n
mov dword [esp + 8], str.WINHELP_GrabWindow
mov dword [esp + 4], 0x415988
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebx]
mov edx, dword [ecx]
add eax, 1
mov dword [ebx], eax
mov dword [ebx + 8], edx
mov edx, dword [ecx + 4]
xor ecx, ecx
mov dword [ebx + 0x28], edx
test byte [0x415988], 8
je 0x40f6d3
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Grab__p_d_n
mov dword [esp + 8], str.WINHELP_GrabWindow
mov dword [esp + 4], 0x415988
mov dword [esp], 3
mov dword [ebp - 0x2b4], ecx
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x2a0]
add eax, 1
mov dword [ebx], eax
test esi, esi
je 0x40f35b
mov eax, dword [ebp - 0x2a8]
mov dword [0x415790], ebx
test eax, eax
jne 0x40f393
mov eax, dword [ebp - 0x29c]
mov esi, dword [eax]
test esi, esi
je 0x40fa70
mov edx, dword [sym.imp.user32.dll_LoadStringA]
mov eax, dword [0x415784]
lea esi, [ebp - 0x298]
mov dword [ebp - 0x2ac], ecx
mov dword [esp + 0xc], 0xff
mov dword [ebp - 0x2a8], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x126
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 8], str.Contents__
mov dword [esp + 4], esi
mov dword [esp], str.BTN_CONTENTS
call sym._MACRO_CreateButton_12
mov eax, dword [0x415784]
mov edx, dword [ebp - 0x2a8]
sub esp, 0xc
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x127
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 8], str.Finder__
mov dword [esp + 4], esi
mov dword [esp], str.BTN_INDEX
call sym._MACRO_CreateButton_12
mov eax, dword [0x415784]
mov edx, dword [ebp - 0x2a8]
sub esp, 0xc
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x128
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 8], str.Back__
mov dword [esp + 4], esi
mov dword [esp], str.BTN_BACK
call sym._MACRO_CreateButton_12
mov ecx, dword [ebp - 0x2ac]
sub esp, 0xc
cmp dword [ebx + 0x20c], 1
jbe 0x40fc9e
test ecx, ecx
je 0x40fc20
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
test eax, eax
je 0x40fa83
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x40fa83
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x2a8]
call eax
mov eax, dword [ebp - 0x29c]
sub esp, 0x10
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x5c]
test esi, esi
js 0x40f8b5
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
test eax, eax
je 0x40f8b5
mov edx, dword [eax + 0x28]
mov esi, dword [edx + 0x1c]
test esi, esi
je 0x40f895
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MACRO_ExecuteMacro
mov esi, dword [esi + 4]
test esi, esi
jne 0x40f878
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
mov esi, dword [eax + 4]
test esi, esi
je 0x40f8b5
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._MACRO_ExecuteMacro
mov esi, dword [esi + 4]
test esi, esi
jne 0x40f8a0
mov esi, dword [0x415794]
test esi, esi
je 0x40fa4b
mov dword [ebp - 0x2ac], edi
mov ebx, dword [ebp - 0x29c]
mov edi, esi
mov esi, dword [ebp - 0x2a4]
jmp 0x40f8ee
mov edi, dword [edi + 0x214]
test edi, edi
je 0x40fa4b
mov eax, dword [ebx + 4]
add eax, 0xa
mov dword [esp + 4], eax
mov eax, dword [edi + 0x28]
add eax, 0xa
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x40f8e0
mov esi, edi
mov edi, dword [ebp - 0x2ac]
mov dword [esp], esi
call sym._WINHELP_ReleaseWindow
test eax, eax
je 0x40fa4b
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x40fa18
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43b
mov dword [esp], edi
call eax
mov ecx, dword [ebp - 0x29c]
mov edx, esi
mov ebx, eax
mov eax, dword [0x41578c]
sub esp, 0x10
mov eax, dword [eax + 0x210]
mov dword [esi + 0x210], eax
mov ecx, dword [ecx + 8]
mov eax, edi
call sym._WINHELP_SetupText
mov ecx, dword [ebp - 0x2b0]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov esi, dword [ebp - 0x2a8]
mov edx, ebx
sub esp, 8
or edx, 0x40000
mov dword [esp + 0xc], edx
mov eax, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], edi
call eax
mov eax, esi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x441
mov dword [esp], edi
call eax
mov eax, esi
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x2a0]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x29c]
mov edx, esi
mov ecx, dword [eax + 8]
mov eax, edi
call sym._WINHELP_SetupText
mov dword [esp], esi
call sym._WINHELP_LayoutMainWindow
mov eax, dword [ebp - 0x2b0]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [ebp - 0x2a0], 1
jmp 0x40fa00
mov dword [ebp - 0x2a0], 0
jmp 0x40f5ba
test ecx, ecx
je 0x40fc20
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x2a8], eax
mov edx, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0x32
mov dword [ebp - 0x2ac], edx
call edx
mov edx, dword [ebp - 0x2ac]
sub esp, 4
mov esi, eax
mov dword [esp], 0x31
call edx
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x415784]
mov dword [esp + 0x14], 0x8000
mov dword [esp + 0x10], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf00
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
sub esp, 0x18
jmp 0x40f829
mov edx, dword [0x41578c]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x2bc], edx
jmp 0x40f3da
mov edx, dword [0x415980]
test edx, edx
je 0x40fb45
cmp eax, dword [0x4157a0]
je 0x40fb9d
cmp edx, 0x28
jne 0x40fb45
mov eax, dword [0x415974]
mov dword [ebp - 0x2a0], ecx
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._HLPFILE_FreeHlpFile
mov eax, dword [0x415980]
mov ecx, dword [ebp - 0x2a0]
lea edx, [eax - 1]
mov dword [0x415980], edx
lea eax, [edx + edx*2]
mov dword [ebp - 0x2a0], ecx
shl eax, 2
mov dword [esp + 4], 0x4157a0
mov dword [esp + 8], eax
mov dword [esp], 0x4157ac
call dword [sym.imp.ucrtbase.dll_memmove]
mov edx, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2a0]
mov eax, dword [edx]
mov dword [0x4157a0], eax
mov eax, dword [edx + 4]
mov dword [0x4157a4], eax
mov eax, dword [edx + 8]
add dword [0x415980], 1
mov dword [0x4157a8], eax
mov eax, dword [edx]
mov eax, dword [eax + 0x28]
add dword [eax + 0x48], 1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40fbcc
mov dword [ebp - 0x2a0], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x2a0]
sub esp, 0xc
mov eax, dword [ebx + 0x20c]
cmp eax, 0x28
je 0x40fd83
lea edx, [eax + 1]
mov esi, dword [ebp - 0x29c]
mov dword [ebx + 0x20c], edx
lea eax, [eax + eax*2]
lea edx, [ebx + eax*4]
mov esi, dword [esi]
lea eax, [edx + 0x2c]
mov dword [edx + 0x2c], esi
mov esi, dword [ebp - 0x29c]
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add dword [eax + 0x48], 1
jmp 0x40f375
mov esi, dword [0x415784]
mov dword [esp + 4], 0xf000
mov dword [esp], esi
call dword [sym.imp.user32.dll_LoadMenuW]
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x29c]
sub esp, 8
test edx, edx
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x50]
mov edi, dword [eax + 0x4c]
mov dword [ebp - 0x2ac], edx
je 0x40fd6a
mov edx, dword [0x41578c]
mov dword [ebp - 0x2b8], 0xcf0000
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x2bc], edx
jmp 0x40f3ed
xor edi, edi
xor esi, esi
mov ecx, 3
jmp 0x40f087
mov dword [esp], str.BTN_BACK
mov dword [ebp - 0x2a8], ecx
call sym._MACRO_DisableButton_4
mov ecx, dword [ebp - 0x2a8]
sub esp, 4
jmp 0x40f7f5
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x2b8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2bc]
mov dword [esp + 0x2c], ebx
mov esi, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2a8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x2ac]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.MS_WINHELP
mov dword [esp], pe_nt_image_headers32
call esi
mov dword [ebx + 0xc], eax
sub esp, 0x30
jmp 0x40f4db
mov eax, dword [eax + 4]
cmp dword [ebx + 0x28], eax
jne 0x40eff1
jmp 0x40fa4b
add eax, 0x13
jmp 0x40f405
xor eax, eax
xor edx, edx
jmp 0x40f0a7
mov ecx, 1
jmp 0x40f699
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0xcf0000
jmp 0x40f3ed
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x2a0], ecx
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._HLPFILE_FreeHlpFile
lea eax, [ebx + 0x38]
mov dword [esp + 8], 0x1d4
mov dword [esp + 4], eax
lea eax, [ebx + 0x2c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov edx, dword [ebx + 0x20c]
mov ecx, dword [ebp - 0x2a0]
lea eax, [edx - 1]
jmp 0x40fbde
mov dword [ebp - 0x2a0], 0
jmp 0x40fa00