Function at 0x40eca0
Capabilities:
Contain obfuscated stackstrings
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2ec
mov eax, dword [ebp + 8]
mov dword [esp + 4], str.main
mov eax, dword [eax + 4]
mov dword [ebp - 0x2ac], eax
add eax, 0xa
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiA]
mov dword [ebp - 0x2b0], eax
call eax
mov dword [ebp - 0x2b4], eax
sub esp, 8
test eax, eax
je 0x40ecf1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
test eax, eax
js 0x40f320
mov ebx, dword [0x415794]
test ebx, ebx
je 0x40f7a8
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x2b0]
jmp 0x40ed1e
mov ebx, dword [ebx + 0x214]
test ebx, ebx
je 0x40f7a8
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 0x40ed10
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [ebx + 8], eax
je 0x40fa80
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.user32.dll_DestroyWindow]
test esi, esi
je 0x40ed7c
lea esi, [esi]
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 0x40ed60
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
mov eax, dword [eax + 4]
cmp byte [eax + 0x13], 0
lea edx, [eax + 0x13]
jne 0x40ed9d
mov eax, dword [ebp + 8]
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 + 8]
sub esp, 8
mov eax, dword [eax + 4]
cmp dword [ebx + 0x28], eax
je 0x40ee29
mov esi, dword [eax + 0x48]
cmp esi, 0x80000000
je 0x40f9e0
mov edi, dword [eax + 0x4c]
mov ecx, 2
cmp edi, 0x80000000
je 0x40f9e0
mov edx, dword [eax + 0x50]
cmp edx, 0x80000000
je 0x40faa0
mov eax, dword [eax + 0x54]
cmp eax, 0x80000000
je 0x40faa0
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 + 8]
mov eax, dword [eax]
test eax, eax
je 0x40ee7c
mov edx, dword [ebx + 8]
test edx, edx
je 0x40ee7c
mov ecx, dword [edx + 0x28]
cmp dword [eax + 0x28], ecx
je 0x40ee7c
mov eax, dword [ebx + 0x20c]
lea esi, [ebx + 0x2c]
xor edi, edi
test eax, eax
je 0x40ee72
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 0x40ee50
mov dword [ebx + 0x20c], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x29c]
mov edi, esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov ecx, 0xa1
mov edx, eax
xor eax, eax
sub esp, 8
rep stosd dword es:[edi], eax
mov byte [ebp - 0x285], 1
mov dword [ebp - 0x29c], 0xfffffff6
mov dword [ebp - 0x28c], 0x190
mov dword [ebp - 0x281], 0x65004820
mov dword [ebp - 0x27c], 0x76006c
mov dword [ebp - 0x240], 0xfffffff4
mov dword [ebp - 0x230], 0x2bc
mov byte [ebp - 0x229], 1
mov dword [ebp - 0x225], 0x65004820
mov dword [ebp - 0x220], 0x76006c
mov dword [ebp - 0x1e4], 0xfffffff4
mov dword [ebp - 0x1d4], 0x2bc
mov byte [ebp - 0x1cd], 1
mov dword [ebp - 0x1c9], 0x65004820
mov dword [ebp - 0x1c4], 0x76006c
mov dword [ebp - 0x188], 0xfffffff4
mov dword [ebp - 0x178], 0x190
mov byte [ebp - 0x171], 1
mov dword [ebp - 0x16d], 0x65004820
mov dword [ebp - 0x168], 0x76006c
mov dword [ebp - 0x12c], 0xfffffff4
mov dword [ebp - 0x11c], 0x2bc
mov byte [ebp - 0x115], 1
mov dword [ebp - 0x111], 0x65004820
mov dword [ebp - 0x10c], 0x76006c
mov dword [ebp - 0xd0], 0xfffffff6
mov dword [ebp - 0xc0], 0x2bc
mov byte [ebp - 0xb9], 1
mov dword [ebp - 0xb5], 0x65004820
mov dword [ebp - 0xb0], 0x76006c
mov dword [ebp - 0x74], 0xfffffff8
mov dword [ebp - 0x64], 0x190
mov edi, dword [0x41d08c]
mov byte [ebp - 0x5d], 1
mov dword [ebp - 0x59], 0x65004820
mov dword [ebp - 0x54], 0x76006c
mov dword [edx + 0x1c], 7
mov dword [edx + 0x18], 0x41d090
test edi, edi
jne 0x40f028
xor edi, edi
lea esi, [esi]
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 0x40f000
mov dword [0x41d08c], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 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 edx, ebx
mov edi, eax
mov eax, dword [ebp + 8]
sub esp, 8
mov ecx, dword [eax + 8]
mov eax, edi
call dbg.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 0x40f0a1
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, byte [0x415988]
mov eax, dword [ebx]
mov ecx, dword [ecx]
and edx, 8
mov dword [ebx + 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x28], ecx
test dl, dl
jne 0x40fab0
add eax, 1
mov ecx, 1
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax]
test edx, edx
je 0x40f0e4
test eax, eax
jne 0x40f850
mov eax, dword [ebp - 0x2b4]
mov dword [0x41578c], ebx
mov dword [ebp - 0x2ac], 0
test eax, eax
je 0x40f45f
test ecx, ecx
jne 0x40f55f
mov eax, dword [ebp + 8]
mov esi, dword [0x415784]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x4c]
mov edi, dword [eax + 0x50]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2b4], edx
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b8], edi
mov edi, dword [eax + 0x54]
test edx, edx
jne 0x40f838
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2bc], 0
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x2c0], edx
cmp byte [eax + 0x13], 0
jne 0x40fa98
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x2ac]
test edx, edx
jne 0x40fa10
mov edx, dword [ebp - 0x2bc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2c4]
mov dword [esp + 0xc], ecx
mov esi, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2b8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
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], 0x418680
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 - 0x2b4], 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], dbg.WINHELP_RicheditWndProc
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 0x40f56a
mov dword [ebp - 0x2ac], 1
mov dword [esp + 4], 0x218
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov ebx, eax
test eax, eax
je 0x40fb34
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 dword [ebx + 0x20c], 0
mov dword [ebx + 0x20], eax
sub esp, 8
mov eax, dword [ebx]
mov dword [ebx + 0x210], 1
test byte [0x415988], 8
jne 0x40f3b0
mov ecx, dword [ebp + 8]
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 0x40f438
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 + 8]
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 0x40f438
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 - 0x2b8], ecx
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2b8]
mov esi, dword [ebp - 0x2ac]
add eax, 1
mov dword [ebx], eax
test esi, esi
je 0x40f0d0
mov eax, dword [ebp - 0x2b4]
mov dword [0x415790], ebx
test eax, eax
jne 0x40f102
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x40f7c0
mov edx, dword [sym.imp.user32.dll_LoadStringA]
mov eax, dword [0x415784]
lea esi, [ebp - 0x29c]
mov dword [ebp - 0x2b8], ecx
mov dword [esp + 0xc], 0xff
mov dword [ebp - 0x2b4], 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 dbg.MACRO_CreateButton@12
mov eax, dword [0x415784]
mov edx, dword [ebp - 0x2b4]
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 dbg.MACRO_CreateButton@12
mov eax, dword [0x415784]
mov edx, dword [ebp - 0x2b4]
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 dbg.MACRO_CreateButton@12
mov ecx, dword [ebp - 0x2b8]
sub esp, 0xc
cmp dword [ebx + 0x20c], 1
jbe 0x40f9ee
test ecx, ecx
je 0x40f970
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40f7d3
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x40f7d3
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 - 0x2b4]
call eax
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x5c]
test esi, esi
js 0x40f60d
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40f60d
mov edx, dword [eax + 0x28]
mov esi, dword [edx + 0x1c]
test esi, esi
je 0x40f5ea
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.MACRO_ExecuteMacro
mov esi, dword [esi + 4]
test esi, esi
jne 0x40f5d0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax + 4]
test esi, esi
je 0x40f60d
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.MACRO_ExecuteMacro
mov esi, dword [esi + 4]
test esi, esi
jne 0x40f5f8
mov esi, dword [0x415794]
test esi, esi
je 0x40f78d
mov dword [ebp - 0x2b8], edi
mov ebx, dword [ebp + 8]
mov edi, esi
mov esi, dword [ebp - 0x2b0]
jmp 0x40f63e
mov edi, dword [edi + 0x214]
test edi, edi
je 0x40f78d
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 0x40f630
mov esi, edi
mov edi, dword [ebp - 0x2b8]
mov dword [esp], esi
call dbg.WINHELP_ReleaseWindow
test eax, eax
je 0x40f78d
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x40f760
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x2b4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43b
mov dword [esp], edi
call eax
mov ecx, dword [ebp + 8]
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 dbg.WINHELP_SetupText
mov ecx, dword [ebp + 0xc]
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 - 0x2b4]
mov ecx, ebx
sub esp, 8
or ecx, 0x40000
mov dword [esp + 0xc], ecx
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 - 0x2ac]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, esi
mov ecx, dword [eax + 8]
mov eax, edi
call dbg.WINHELP_SetupText
mov dword [esp], esi
call dbg.WINHELP_LayoutMainWindow
mov eax, dword [ebp + 0xc]
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 - 0x2ac], 1
mov eax, dword [ebp - 0x2ac]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x2ac], 0
jmp 0x40f32a
test ecx, ecx
je 0x40f970
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x2b4], eax
mov edx, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0x32
mov dword [ebp - 0x2b8], edx
call edx
mov edx, dword [ebp - 0x2b8]
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 0x40f588
mov edx, dword [0x41578c]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x2c4], edx
jmp 0x40f146
mov edx, dword [0x415980]
test edx, edx
je 0x40f895
cmp eax, dword [0x4157a0]
je 0x40f8f3
cmp edx, 0x28
jne 0x40f895
mov eax, dword [0x415974]
mov dword [ebp - 0x2ac], ecx
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._HLPFILE_FreeHlpFile
mov eax, dword [0x415980]
mov ecx, dword [ebp - 0x2ac]
lea edx, [eax - 1]
mov dword [0x415980], edx
lea eax, [edx + edx*2]
mov dword [ebp - 0x2ac], 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 eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [eax]
mov dword [0x4157a0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [0x4157a4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add dword [0x415980], 1
mov dword [0x4157a8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
add dword [eax + 0x48], 1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40f922
mov dword [ebp - 0x2ac], 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 - 0x2ac]
sub esp, 0xc
mov eax, dword [ebx + 0x20c]
cmp eax, 0x28
je 0x40faf1
lea edx, [eax + 1]
mov esi, dword [ebp + 8]
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 edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
add dword [eax + 0x48], 1
jmp 0x40f0e4
mov esi, dword [0x415784]
mov dword [esp + 4], 0xf000
mov dword [esp], esi
call dword [sym.imp.user32.dll_LoadMenuW]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2ac]
sub esp, 8
test eax, eax
je 0x40faba
mov dword [ebp - 0x2c0], 0xcf0000
mov eax, dword [0x41578c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x2b4], ecx
mov ecx, dword [eax + 0x48]
jmp 0x40f159
xor edi, edi
xor esi, esi
mov ecx, 3
jmp 0x40edde
mov dword [esp], str.BTN_BACK
mov dword [ebp - 0x2b4], ecx
call dbg.MACRO_DisableButton@4
mov ecx, dword [ebp - 0x2b4]
sub esp, 4
jmp 0x40f557
mov edx, dword [ebp - 0x2bc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2c4]
mov dword [esp + 0x2c], ebx
mov esi, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x2b8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 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 0x40f244
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [ebx + 0x28], eax
jne 0x40ed4e
jmp 0x40f78d
add eax, 0x13
jmp 0x40f16e
xor eax, eax
xor edx, edx
jmp 0x40edfe
mov ecx, 1
jmp 0x40f3fe
mov dword [ebp - 0x2c4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c0], 0xcf0000
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x2b4], ecx
mov ecx, dword [eax + 0x48]
jmp 0x40f159
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x2ac], 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 - 0x2ac]
lea eax, [edx - 1]
jmp 0x40f934
mov dword [ebp - 0x2ac], 0
jmp 0x40f74a