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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov dword [esp + 4], str.main
mov eax, dword [eax + 4]
mov dword [ebp - 0x294], eax
add eax, 0xa
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_lstrcmpiA]
mov dword [ebp - 0x298], eax
call eax
mov dword [ebp - 0x29c], eax
sub esp, 8
test eax, eax
je 0x40ea91
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
test eax, eax
js 0x40f0b0
mov ebx, dword [0x415794]
test ebx, ebx
je 0x40f538
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x298]
jmp 0x40eabe
mov ebx, dword [ebx + 0x214]
test ebx, ebx
je 0x40f538
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 0x40eab0
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [ebx + 8], eax
je 0x40f828
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.user32.dll_DestroyWindow]
test esi, esi
je 0x40eb1c
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 0x40eb00
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 0x40eb3d
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 0x40ebc9
mov esi, dword [eax + 0x48]
cmp esi, 0x80000000
je 0x40f790
mov edi, dword [eax + 0x4c]
mov ecx, 2
cmp edi, 0x80000000
je 0x40f790
mov edx, dword [eax + 0x50]
cmp edx, 0x80000000
je 0x40f850
mov eax, dword [eax + 0x54]
cmp eax, 0x80000000
je 0x40f850
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 0x40ec1c
mov edx, dword [ebx + 8]
test edx, edx
je 0x40ec1c
mov ecx, dword [edx + 0x28]
cmp dword [eax + 0x28], ecx
je 0x40ec1c
mov eax, dword [ebx + 0x20c]
lea esi, [ebx + 0x2c]
xor edi, edi
test eax, eax
je 0x40ec12
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 0x40ebf0
mov dword [ebx + 0x20c], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x290]
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 - 0x279], 1
mov dword [ebp - 0x290], 0xfffffff6
mov dword [ebp - 0x280], 0x190
mov dword [ebp - 0x275], 0x65004820
mov dword [ebp - 0x270], 0x76006c
mov dword [ebp - 0x234], 0xfffffff4
mov dword [ebp - 0x224], 0x2bc
mov byte [ebp - 0x21d], 1
mov dword [ebp - 0x219], 0x65004820
mov dword [ebp - 0x214], 0x76006c
mov dword [ebp - 0x1d8], 0xfffffff4
mov dword [ebp - 0x1c8], 0x2bc
mov byte [ebp - 0x1c1], 1
mov dword [ebp - 0x1bd], 0x65004820
mov dword [ebp - 0x1b8], 0x76006c
mov dword [ebp - 0x17c], 0xfffffff4
mov dword [ebp - 0x16c], 0x190
mov byte [ebp - 0x165], 1
mov dword [ebp - 0x161], 0x65004820
mov dword [ebp - 0x15c], 0x76006c
mov dword [ebp - 0x120], 0xfffffff4
mov dword [ebp - 0x110], 0x2bc
mov byte [ebp - 0x109], 1
mov dword [ebp - 0x105], 0x65004820
mov dword [ebp - 0x100], 0x76006c
mov dword [ebp - 0xc4], 0xfffffff6
mov dword [ebp - 0xb4], 0x2bc
mov byte [ebp - 0xad], 1
mov dword [ebp - 0xa9], 0x65004820
mov dword [ebp - 0xa4], 0x76006c
mov dword [ebp - 0x68], 0xfffffff8
mov dword [ebp - 0x58], 0x190
mov eax, dword [0x41d08c]
mov byte [ebp - 0x51], 1
mov dword [ebp - 0x4d], 0x65004820
mov dword [ebp - 0x48], 0x76006c
mov dword [edx + 0x1c], 7
mov dword [edx + 0x18], 0x41d090
test eax, eax
jne 0x40edc8
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 0x40eda0
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 0x40ee41
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 0x40f860
add eax, 1
mov ecx, 1
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
test esi, esi
je 0x40ee84
test eax, eax
jne 0x40f600
mov edx, dword [ebp - 0x29c]
mov dword [0x41578c], ebx
mov dword [ebp - 0x294], 0
test edx, edx
je 0x40f1ef
test ecx, ecx
jne 0x40f2ef
mov edx, dword [ebp - 0x294]
mov esi, dword [0x415784]
test edx, edx
jne 0x40f5c8
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2a8], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x5c]
xor edx, edx
cmp byte [eax + 0x13], 0
jne 0x40f840
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x294], 0
jne 0x40f7c0
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2a4]
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x2a0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x29c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x2a8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 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], 0x418652
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 - 0x29c], 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 0x40f2fa
mov dword [ebp - 0x294], 1
mov dword [esp + 4], 0x218
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov ebx, eax
test eax, eax
je 0x40f8e3
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 0x40f140
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 0x40f1c8
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 0x40f1c8
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 - 0x2a0], ecx
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2a0]
add eax, 1
mov dword [ebx], eax
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x40ee70
mov edx, dword [ebp - 0x29c]
mov dword [0x415790], ebx
test edx, edx
jne 0x40eea2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40f550
mov edx, dword [sym.imp.user32.dll_LoadStringA]
mov eax, dword [0x415784]
lea esi, [ebp - 0x290]
mov dword [ebp - 0x2a0], ecx
mov dword [esp + 0xc], 0xff
mov dword [ebp - 0x29c], 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 - 0x29c]
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 - 0x29c]
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 - 0x2a0]
sub esp, 0xc
cmp dword [ebx + 0x20c], 1
jbe 0x40f79e
test ecx, ecx
je 0x40f720
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40f563
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x40f563
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 - 0x29c]
call eax
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x5c]
test esi, esi
js 0x40f39d
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40f39d
mov edx, dword [eax + 0x28]
mov esi, dword [edx + 0x1c]
test esi, esi
je 0x40f37a
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 0x40f360
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax + 4]
test esi, esi
je 0x40f39d
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 0x40f388
mov esi, dword [0x415794]
test esi, esi
je 0x40f51d
mov dword [ebp - 0x2a0], edi
mov ebx, dword [ebp + 8]
mov edi, esi
mov esi, dword [ebp - 0x298]
jmp 0x40f3ce
mov edi, dword [edi + 0x214]
test edi, edi
je 0x40f51d
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 0x40f3c0
mov esi, edi
mov edi, dword [ebp - 0x2a0]
mov dword [esp], esi
call dbg.WINHELP_ReleaseWindow
test eax, eax
je 0x40f51d
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x40f4f0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x29c]
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 - 0x29c]
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 - 0x294]
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 - 0x294], 1
mov eax, dword [ebp - 0x294]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x294], 0
jmp 0x40f0ba
test ecx, ecx
je 0x40f720
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x29c], eax
mov edx, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0x32
mov dword [ebp - 0x2a0], edx
call edx
mov edx, dword [ebp - 0x2a0]
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 0x40f318
mov eax, dword [0x41578c]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2a8], ecx
jmp 0x40eeea
mov edx, dword [0x415980]
test edx, edx
je 0x40f645
cmp eax, dword [0x4157a0]
je 0x40f6a3
cmp edx, 0x28
jne 0x40f645
mov eax, dword [0x415974]
mov dword [ebp - 0x294], ecx
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._HLPFILE_FreeHlpFile
mov eax, dword [0x415980]
mov ecx, dword [ebp - 0x294]
lea edx, [eax - 1]
mov dword [0x415980], edx
lea eax, [edx + edx*2]
mov dword [ebp - 0x294], 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 - 0x294]
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 0x40f6d2
mov dword [ebp - 0x294], 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 - 0x294]
sub esp, 0xc
mov eax, dword [ebx + 0x20c]
cmp eax, 0x28
je 0x40f8a0
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 0x40ee84
mov esi, dword [0x415784]
mov dword [esp + 4], 0xf000
mov dword [esp], esi
call dword [sym.imp.user32.dll_LoadMenuW]
mov edx, eax
mov eax, dword [ebp - 0x294]
sub esp, 8
test eax, eax
je 0x40f86a
mov eax, dword [0x41578c]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2a8], ecx
mov ecx, 0xcf0000
jmp 0x40eeef
xor edi, edi
xor esi, esi
mov ecx, 3
jmp 0x40eb7e
mov dword [esp], str.BTN_BACK
mov dword [ebp - 0x29c], ecx
call dbg.MACRO_DisableButton@4
mov ecx, dword [ebp - 0x29c]
sub esp, 4
jmp 0x40f2e7
mov dword [esp + 0x24], edx
mov edx, dword [ebp - 0x2a4]
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x2a0]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x29c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x2a8]
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 0x40efd3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [ebx + 0x28], eax
jne 0x40eaee
jmp 0x40f51d
add eax, 0x13
jmp 0x40ef04
xor eax, eax
xor edx, edx
jmp 0x40eb9e
mov ecx, 1
jmp 0x40f18e
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x2a8], ecx
mov ecx, 0xcf0000
jmp 0x40eeef
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x294], 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 - 0x294]
lea eax, [edx - 1]
jmp 0x40f6e4
mov dword [ebp - 0x294], 0
jmp 0x40f4da