Function at 0x401cc0
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x468
mov esi, dword [ecx + 4]
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
cmp esi, 0x208
ja case.0x401d05.515
cmp esi, 0x1ff
jbe 0x401d10
lea eax, [esi - 0x200]
cmp eax, 8
ja case.0x401d05.515
jmp dword [eax*4 + 0x406184]
cmp esi, 0xf
je 0x4024b0
jbe 0x401d58
cmp esi, 0x111
je 0x4025c0
cmp esi, 0x113
jne case.0x401d05.515
xor esi, esi
cmp dword [0x4051e8], 1
je 0x402991
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp esi, 2
je 0x402458
cmp esi, 3
jne 0x401d90
test byte [0x405054], 8
jne 0x402968
mov edx, edi
movsx eax, di
xor esi, esi
sar edx, 0x10
mov dword [0x4050e4], eax
mov dword [0x4050e8], edx
jmp 0x401d42
cmp esi, 1
jne case.0x401d05.515
mov eax, dword [edi + 4]
mov dword [0x40508c], ebx
mov dword [esp + 4], 4
mov ebx, dword [sym.imp.user32.dll_LoadBitmapW]
mov dword [0x405088], eax
mov dword [esp], eax
call ebx
mov dword [0x405090], eax
mov eax, dword [0x405088]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
mov dword [0x405094], eax
mov eax, dword [0x405088]
sub esp, 8
mov dword [esp + 4], 3
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [0x405098], eax
lea eax, [ebp - 0x41c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWinMine
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 4
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x14
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [esp + 0x10], 0x4050e4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Xpos
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x401e80
mov dword [0x4050e4], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x4050e8
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Ypos
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x401ed2
mov dword [0x4050e8], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x4050fc
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Height
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x401f24
mov dword [0x4050fc], 9
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x405100
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Width
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x401f76
mov dword [0x405100], 9
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x405104
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40607a
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x401fc8
mov dword [0x405104], 0xa
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x4051d4
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Difficulty
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x40201a
mov dword [0x4051d4], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x405080
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Mark
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x402600
lea eax, [ebp - 0x418]
mov edi, 0x405108
xor esi, esi
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x42c]
inc esi
mov dword [esp + 4], str.Name_u
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x424]
mov dword [ebp - 0x424], 0x40
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x434]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x41c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x420]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp], eax
call ebx
mov edx, edi
sub esp, 0x18
test eax, eax
jne 0x402428
mov eax, dword [ebp - 0x434]
lea esi, [esi]
movzx ecx, word [eax]
test cx, cx
je 0x40211b
mov word [edx], cx
add eax, 2
lea ecx, [ebp - 0x1da]
add edx, 2
cmp eax, ecx
jne 0x402100
xor eax, eax
mov word [edx], ax
add edi, 0x40
cmp esi, 3
jne 0x402085
mov dword [ebp - 0x430], ebx
mov ebx, dword [ebp - 0x42c]
mov esi, 0x4051c8
xor edi, edi
inc edi
mov dword [esp + 4], str.Time_u
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x424], 4
mov dword [esp], eax
mov eax, dword [ebp - 0x430]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call eax
sub esp, 0x18
test eax, eax
je 0x4021a1
mov dword [esi], 0x3e7
add esi, 4
cmp edi, 3
jne 0x40213f
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x40508c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [sym.imp.user32.dll_CheckMenuItem]
mov ebx, eax
mov eax, dword [0x4051d4]
sub esp, 4
mov dword [esp + 8], 8
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov ecx, dword [0x405080]
sub esp, 0xc
test ecx, ecx
jne 0x4025e0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f1
mov dword [esp], ebx
call esi
sub esp, 0xc
mov dword [esp], 0x405080
xor esi, esi
call sym._CheckLevel
call sym._CreateBoard.constprop.0
jmp 0x401d42
test byte [0x405054], 8
je case.0x401d05.515
mov dword [esp + 0xc], str.Unknown_WM_COMMAND_command_message_received_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
lea esi, [esi]
mov dword [esp + 4], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp], ebx
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
mov esi, eax
jmp 0x401d42
test dl, 0x10
jne 0x402610
mov eax, edx
and eax, 3
cmp eax, 3
je 0x402610
xor esi, esi
and edx, 1
mov eax, 0x201
jne 0x4023cd
jmp 0x401d42
test byte [0x405054], 8
jne 0x402728
and edx, 6
mov ecx, edi
cmp edx, 1
movsx edx, di
sbb eax, eax
sar ecx, 0x10
xor esi, esi
and eax, 0xfffffffa
add eax, 0x207
mov dword [esp], eax
mov eax, ebx
call sym._TestBoard.constprop.0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetCapture]
sub esp, 4
jmp 0x401d42
test byte [0x405054], 8
jne 0x4026f0
and edx, 6
mov ecx, edi
cmp edx, 1
movsx edx, di
sbb eax, eax
sar ecx, 0x10
xor esi, esi
and eax, 0xfffffffa
add eax, 0x208
mov dword [esp], eax
mov eax, ebx
call sym._TestBoard.constprop.0
call dword [sym.imp.user32.dll_ReleaseCapture]
jmp 0x401d42
test byte [0x405054], 8
jne 0x4026b8
and edx, 1
mov eax, 0x204
je 0x4023cd
mov dword [0x4051d8], 0
mov eax, 0x207
mov dword [0x4051dc], 0
jmp 0x4023cd
test byte [0x405054], 8
jne 0x402688
mov dword [esp], 0x207
mov ecx, edi
movsx edx, di
mov eax, ebx
sar ecx, 0x10
xor esi, esi
call sym._TestBoard.constprop.0
jmp 0x401d42
test byte [0x405054], 8
jne 0x402650
and edx, 1
cmp edx, 1
sbb eax, eax
and eax, 0xfffffffd
add eax, 0x208
mov dword [esp], eax
mov ecx, edi
mov eax, ebx
movsx edx, di
sar ecx, 0x10
xor esi, esi
call sym._TestBoard.constprop.0
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test byte [0x405054], 8
jne 0x402620
mov dword [esp], 0x208
mov ecx, edi
movsx edx, di
mov eax, ebx
sar ecx, 0x10
xor esi, esi
call sym._TestBoard.constprop.0
jmp 0x401d42
mov eax, dword [0x405088]
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], edi
mov dword [esp + 4], 0x44e
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
jmp 0x402120
mov dword [esp], 0x405080
xor esi, esi
call sym._SaveBoard
mov eax, dword [0x405094]
mov ebx, dword [sym.imp.gdi32.dll_DeleteObject]
mov dword [esp], eax
call ebx
mov eax, dword [0x405098]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [0x405090]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
jmp 0x401d42
test byte [0x405054], 8
jne 0x402938
lea eax, [ebp - 0x218]
mov dword [esp], ebx
lea esi, [ebp - 0x210]
mov dword [ebp - 0x434], eax
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_BeginPaint]
sub esp, 8
mov dword [ebp - 0x438], eax
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.user32.dll_IntersectRect]
sub esp, 4
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x4050cc
mov dword [esp + 4], esi
mov dword [ebp - 0x42c], eax
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x402900
mov eax, dword [ebp - 0x42c]
mov dword [esp + 8], 0x4050bc
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x4028d0
mov eax, dword [ebp - 0x42c]
mov dword [esp + 8], 0x4050ac
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x402820
mov eax, dword [ebp - 0x42c]
mov dword [esp + 8], 0x40509c
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x402760
mov eax, dword [ebp - 0x430]
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteDC]
mov eax, dword [ebp - 0x434]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndPaint]
sub esp, 8
jmp 0x401d42
movzx eax, dx
sub eax, 0x3e9
cmp eax, 8
ja case.default.0x4025d1
jmp dword [eax*4 + 0x4061a8]
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3f1
mov dword [esp], ebx
call esi
sub esp, 0xc
jmp 0x402218
mov dword [0x405080], 1
jmp 0x402066
mov eax, 0x207
jmp 0x4023cd
mov dword [esp + 0xc], str.WM_MBUTTONUP_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402405
mov dword [esp + 0xc], str.WM_RBUTTONUP_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x4023bd
mov dword [esp + 0xc], str.WM_MBUTTONDOWN_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40238d
mov dword [esp + 0xc], str.WM_RBUTTONDOWN_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x402355
mov dword [esp + 0xc], str.WM_LBUTTONUP_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x402315
mov dword [esp + 0xc], str.WM_LBUTTONDOWN_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x4022cd
mov eax, dword [0x405090]
mov esi, 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x430]
mov dword [esp], eax
mov eax, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [ebp - 0x43c], eax
call eax
mov dword [ebp - 0x42c], eax
mov eax, dword [0x4050fc]
sub esp, 8
test eax, eax
je 0x4027fb
mov dword [ebp - 0x440], ebx
lea esi, [esi]
mov edx, dword [0x405100]
test esi, esi
mov edi, 1
sete bl
test edx, edx
je 0x4027f0
lea esi, [esi]
test edi, edi
je 0x4027e7
test bl, bl
jne 0x4027e7
cmp eax, esi
jb 0x4027e7
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x438]
mov ecx, edi
mov dword [esp], esi
mov edx, dword [ebp - 0x430]
call sym._DrawMine.part.0.constprop.0
mov eax, dword [0x4050fc]
inc edi
cmp edi, dword [0x405100]
jbe 0x4027b8
inc esi
cmp esi, eax
jbe 0x4027a0
mov ebx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x42c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x430]
mov dword [esp], eax
mov eax, dword [ebp - 0x43c]
call eax
sub esp, 8
jmp 0x40258b
mov eax, dword [0x405094]
mov edx, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x440], edx
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x43c], eax
mov eax, dword [0x4051e4]
sub esp, 8
mov dword [esp + 0x14], edx
lea eax, [eax + eax*2]
mov dword [esp], ecx
shl eax, 3
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], eax
mov eax, dword [0x4050b0]
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov eax, dword [0x4050ac]
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], eax
call dword [sym.imp.gdi32.dll_BitBlt]
mov edx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x43c]
sub esp, 0x24
mov dword [esp], edx
mov edx, dword [ebp - 0x440]
mov dword [esp + 4], ecx
call edx
sub esp, 8
jmp 0x402569
mov eax, dword [0x4050c0]
mov ecx, dword [0x4050ec]
mov edx, dword [ebp - 0x430]
mov dword [esp + 4], eax
mov eax, dword [0x4050bc]
mov dword [esp], eax
mov eax, dword [ebp - 0x438]
call sym._DrawLeds.constprop.0
jmp 0x402547
mov eax, dword [0x4050d0]
mov edx, dword [ebp - 0x430]
mov ecx, dword [0x405104]
sub ecx, dword [0x4050f0]
mov dword [esp + 4], eax
mov eax, dword [0x4050cc]
mov dword [esp], eax
mov eax, dword [ebp - 0x438]
call sym._DrawLeds.constprop.0
jmp 0x402525
mov dword [esp + 0xc], str.WM_PAINT_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4024bd
mov dword [esp + 0xc], str.WM_MOVE_n
mov dword [esp + 8], 0x406290
mov dword [esp + 4], 0x405054
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401d73
inc dword [0x4050ec]
mov dword [esp + 0xc], 0x101
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4050bc
mov dword [esp], ebx
call dword [sym.imp.user32.dll_RedrawWindow]
sub esp, 0x10
jmp 0x401d42
mov eax, dword [0x40508c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [sym.imp.user32.dll_CheckMenuItem]
mov ebx, eax
mov eax, dword [0x4051d4]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x4051d4], 0
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3ed
mov dword [esp], ebx
call esi
mov dword [0x405100], 9
mov dword [0x4050fc], 9
sub esp, 0xc
mov dword [0x405104], 0xa
call sym._CreateBoard.constprop.0
xor esi, esi
jmp 0x401d42
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [0x405080]
xor edx, edx
sub esp, 4
test esi, esi
sete dl
mov dword [0x405080], edx
jne 0x402d3e
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3f1
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp 0x401d42
mov eax, dword [0x40508c]
mov dword [esp + 0x10], 0x405080
mov dword [esp + 0xc], sym._CustomDlgProc_16
mov dword [esp + 8], eax
mov eax, dword [0x405088]
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
test eax, eax
jne case.0x4025d1.1001
mov eax, dword [0x40508c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [sym.imp.user32.dll_CheckMenuItem]
mov ebx, eax
mov eax, dword [0x4051d4]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x4051d4], 3
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3f0
mov dword [esp], ebx
call esi
sub esp, 0xc
jmp case.0x4025d1.1001
mov eax, dword [0x40508c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [sym.imp.user32.dll_CheckMenuItem]
mov ebx, eax
mov eax, dword [0x4051d4]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x4051d4], 2
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3ef
mov dword [esp], ebx
call esi
xor esi, esi
mov dword [0x405100], 0x1e
mov dword [0x4050fc], 0x10
sub esp, 0xc
mov dword [0x405104], 0x63
call sym._CreateBoard.constprop.0
jmp 0x401d42
mov eax, dword [0x40508c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [sym.imp.user32.dll_CheckMenuItem]
mov ebx, eax
mov eax, dword [0x4051d4]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x4051d4], 1
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3ee
mov dword [esp], ebx
call esi
xor esi, esi
mov dword [0x405100], 0x10
mov dword [0x4050fc], 0x10
sub esp, 0xc
mov dword [0x405104], 0x28
call sym._CreateBoard.constprop.0
jmp 0x401d42
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x405088]
lea esi, [ebp - 0x418]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
lea edi, [ebp - 0x218]
mov dword [ebp - 0x42c], edx
mov dword [esp + 4], 0x44d
mov dword [esp], eax
call edx
mov eax, dword [0x405088]
mov edx, dword [ebp - 0x42c]
sub esp, 0x10
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
mov dword [esp + 4], 0x44f
mov dword [esp], eax
call edx
mov eax, dword [0x405088]
sub esp, 0x10
mov dword [esp + 0x14], 0x8000
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
sub esp, 0x18
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [0x4082a8]
sub esp, 0x10
jmp 0x401d42
mov eax, dword [0x405088]
mov dword [esp + 0x10], 0x405080
xor esi, esi
mov dword [esp + 0xc], sym._TimesDlgProc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x401d42
mov dword [esp + 0xc], 0
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x401d42
mov dword [esp + 8], 0
xor esi, esi
mov dword [esp + 4], 0x3f1
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp 0x401d42