Function at 0x40dc30
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 - 0x2b8], eax
sub esp, 8
test eax, eax
je 0x40dc81
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
test eax, eax
js 0x40e2b0
mov ebx, dword [0x415094]
test ebx, ebx
je 0x40e730
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x2b0]
jmp 0x40dcae
mov ebx, dword [ebx + 0x214]
test ebx, ebx
je 0x40e730
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 0x40dca0
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [ebx + 8], eax
je 0x40e9e0
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.user32.dll_DestroyWindow]
test esi, esi
je 0x40dd0c
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 0x40dcf0
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 0x40dd2d
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 0x40ddb9
mov esi, dword [eax + 0x48]
cmp esi, 0x80000000
je 0x40e948
mov edi, dword [eax + 0x4c]
mov ecx, 2
cmp edi, 0x80000000
je 0x40e948
mov edx, dword [eax + 0x50]
cmp edx, 0x80000000
je 0x40ea00
mov eax, dword [eax + 0x54]
cmp eax, 0x80000000
je 0x40ea00
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 0x40de0a
mov edx, dword [ebx + 8]
test edx, edx
je 0x40de0a
mov ecx, dword [edx + 0x28]
cmp dword [eax + 0x28], ecx
je 0x40de0a
mov eax, dword [ebx + 0x20c]
lea esi, [ebx + 0x2c]
xor edi, edi
test eax, eax
je 0x40de00
mov eax, dword [esi]
inc edi
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 0x40dde0
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 [0x415aac]
mov byte [ebp - 0x5d], 1
mov dword [ebp - 0x59], 0x65004820
mov dword [ebp - 0x54], 0x76006c
mov dword [edx + 0x1c], 7
mov dword [edx + 0x18], 0x415a80
test edi, edi
jne 0x40dfb6
xor edi, edi
lea esi, [esi]
nop
mov dword [esp], esi
add esi, 0x5c
call dword [sym.imp.gdi32.dll_CreateFontIndirectW]
mov dword [edi*4 + 0x415a80], eax
inc edi
sub esp, 4
cmp edi, 7
jne 0x40df90
mov dword [0x415aac], 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 ecx, dword [ebp + 8]
mov edx, ebx
sub esp, 8
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ecx + 8]
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 0x40e031
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 [0x415a48]
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 0x40ea10
inc eax
mov edi, 1
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax]
test edx, edx
je 0x40e072
test eax, eax
jne 0x40e7e8
mov esi, dword [ebp - 0x2b8]
mov dword [0x41508c], ebx
mov dword [ebp - 0x2ac], 0
test esi, esi
je 0x40e3f7
test edi, edi
jne 0x40e4ea
mov edx, dword [ebp - 0x2ac]
mov esi, dword [0x415084]
test edx, edx
jne 0x40e7b0
mov dword [ebp - 0x2c4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x48]
mov edi, dword [eax + 0x54]
mov dword [ebp - 0x2bc], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2b4], 0
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x2b8], edx
cmp byte [eax + 0x13], 0
jne 0x40e9f8
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 0x40e970
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2b8]
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 - 0x2c0]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x2bc]
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 [0x415084]
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], 0x417b84
mov dword [esp + 4], str.WHButtonBox
mov dword [esp], 0
call esi
mov eax, dword [ebx + 0xc]
sub esp, 0x30
mov edx, dword [0x415084]
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 edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x30
mov esi, eax
mov dword [ebp - 0x2b4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43b
mov dword [esp], eax
call edi
sub esp, 0x10
or eax, 0x20000
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 8], sym._WINHELP_RicheditWndProc_16
mov dword [esp + 4], 0xfffffffc
mov dword [esp], esi
call dword [sym.imp.user32.dll_SetWindowLongA]
mov dword [ebx + 0x14], eax
sub esp, 0xc
jmp 0x40e4f0
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 0x40ea88
mov eax, dword [0x415094]
mov dword [0x415094], 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 [0x415a48], 8
jne 0x40e350
mov dword [ebp - 0x2b4], 0
mov ecx, dword [ebp + 8]
inc eax
xor edi, edi
mov dword [ebx], eax
mov edx, dword [ecx]
mov dword [ebx + 8], edx
mov edx, dword [ecx + 4]
mov dword [ebx + 0x28], edx
jmp 0x40e3d2
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], 0x415a48
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x2b4], 0
mov edx, dword [ecx]
inc eax
test byte [0x415a48], 8
mov dword [ebx], eax
mov dword [ebx + 8], edx
mov edx, dword [ecx + 4]
mov dword [ebx + 0x28], edx
je 0x40e3d2
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], 0x415a48
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2ac]
inc eax
mov dword [ebx], eax
test ecx, ecx
je 0x40e05e
mov esi, dword [ebp - 0x2b8]
mov dword [0x415090], ebx
test esi, esi
jne 0x40e090
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x40e740
mov eax, dword [0x415084]
lea esi, [ebp - 0x29c]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_LoadStringA]
mov dword [esp + 4], 0x126
mov dword [ebp - 0x2b8], eax
call eax
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 [0x415084]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0x2b8]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x127
call eax
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 [0x415084]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0x2b8]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x128
call eax
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
sub esp, 0xc
cmp dword [ebx + 0x20c], 1
jbe 0x40e956
test edi, edi
je 0x40e8d8
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40e74e
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x40e74e
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
call edi
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x5c]
test esi, esi
js 0x40e58d
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40e58d
mov edx, dword [eax + 0x28]
mov esi, dword [edx + 0x1c]
test esi, esi
je 0x40e56a
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 0x40e550
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax + 4]
test esi, esi
je 0x40e58d
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 0x40e578
mov esi, dword [0x415094]
test esi, esi
je 0x40e711
mov dword [ebp - 0x2b8], edi
mov ebx, dword [ebp + 8]
mov edi, esi
mov esi, dword [ebp - 0x2b0]
jmp 0x40e5be
mov edi, dword [edi + 0x214]
test edi, edi
je 0x40e711
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 0x40e5b0
mov esi, edi
mov edi, dword [ebp - 0x2b8]
mov dword [esp], esi
call sym._WINHELP_ReleaseWindow
test eax, eax
je 0x40e711
mov ecx, dword [ebp - 0x2ac]
test ecx, ecx
je 0x40e6e0
mov eax, dword [ebp - 0x2b4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43b
mov dword [esp], eax
call edi
mov ecx, dword [ebp + 8]
mov edx, esi
mov ebx, eax
mov eax, dword [0x41508c]
sub esp, 0x10
mov eax, dword [eax + 0x210]
mov dword [esi + 0x210], eax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ecx + 8]
call sym._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 dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x441
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x445
mov dword [esp], esi
call edi
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, dword [ebp - 0x2b4]
call sym._WINHELP_SetupText
mov dword [esp], esi
call sym._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 0x40e2ba
test edi, edi
je 0x40e8d8
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0x32
call esi
sub esp, 4
mov dword [ebp - 0x2b8], eax
mov dword [esp], 0x31
call esi
mov ecx, dword [ebp - 0x2b8]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x415084]
mov dword [esp + 0x14], 0x8000
mov dword [esp + 0x10], ecx
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 0x40e50e
mov eax, dword [0x41508c]
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 - 0x2c0], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [eax + 0x48]
jmp 0x40e0d4
mov edx, dword [0x415280]
test edx, edx
je 0x40e81d
cmp eax, dword [0x4150a0]
je 0x40e86d
cmp edx, 0x28
jne 0x40e81d
mov eax, dword [0x415274]
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._HLPFILE_FreeHlpFile
mov eax, dword [0x415280]
lea edx, [eax - 1]
mov dword [0x415280], edx
lea eax, [edx + edx*2]
mov dword [esp + 4], 0x4150a0
shl eax, 2
mov dword [esp], 0x4150ac
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [0x4150a0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [0x4150a4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
inc dword [0x415280]
mov dword [0x4150a8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
inc dword [eax + 0x48]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40e890
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_InvalidateRect]
sub esp, 0xc
mov eax, dword [ebx + 0x20c]
cmp eax, 0x28
je 0x40ea51
lea edx, [eax + 1]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x20c], edx
lea eax, [eax + eax*2]
lea edx, [ebx + eax*4]
mov esi, dword [ecx]
lea eax, [edx + 0x2c]
mov dword [edx + 0x2c], esi
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
inc dword [eax + 0x48]
jmp 0x40e072
mov esi, dword [0x415084]
mov dword [esp + 4], 0xf000
mov dword [esp], esi
call dword [sym.imp.user32.dll_LoadMenuW]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2ac]
sub esp, 8
test eax, eax
je 0x40ea1a
mov dword [ebp - 0x2b8], 0xcf0000
mov eax, dword [0x41508c]
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 - 0x2c0], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [eax + 0x48]
jmp 0x40e0e7
xor edi, edi
xor esi, esi
mov ecx, 3
jmp 0x40dd6e
mov dword [esp], str.BTN_BACK
call sym._MACRO_DisableButton_4
sub esp, 4
jmp 0x40e4e2
mov edx, dword [ebp - 0x2b4]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x2b8]
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 - 0x2c0]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x2bc]
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 0x40e1d2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [ebx + 0x28], eax
jne 0x40dcde
jmp 0x40e711
add eax, 0x13
jmp 0x40e0fc
xor eax, eax
xor edx, edx
jmp 0x40dd8e
mov edi, 1
jmp 0x40e3a4
mov dword [ebp - 0x2c4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2b8], 0xcf0000
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov dword [ebp - 0x2c0], ecx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [eax + 0x48]
jmp 0x40e0e7
mov eax, dword [ebx + 0x2c]
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]
lea eax, [edx - 1]
jmp 0x40e8a2
mov dword [ebp - 0x2ac], 0
jmp 0x40e6c8