Function at 0x4029d0
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.0x402a15.515
cmp esi, 0x1ff
jbe 0x402a20
lea eax, [esi - 0x200]
cmp eax, 8
ja case.0x402a15.515
jmp dword [eax*4 + 0x406184]
cmp esi, 0xf
je 0x4031c0
jbe 0x402a68
cmp esi, 0x111
je 0x4032d0
cmp esi, 0x113
jne case.0x402a15.515
xor esi, esi
cmp dword [0x408188], 1
je 0x4036a1
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 0x403168
cmp esi, 3
jne 0x402aa0
test byte [section..data], 8
jne 0x403678
mov edx, edi
movsx eax, di
xor esi, esi
sar edx, 0x10
mov dword [0x408084], eax
mov dword [0x408088], edx
jmp 0x402a52
cmp esi, 1
jne case.0x402a15.515
mov eax, dword [edi + 4]
mov dword [0x40802c], ebx
mov dword [esp + 4], 4
mov ebx, dword [sym.imp.user32.dll_LoadBitmapW]
mov dword [0x408028], eax
mov dword [esp], eax
call ebx
mov dword [0x408030], eax
mov eax, dword [0x408028]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
mov dword [0x408034], eax
mov eax, dword [0x408028]
sub esp, 8
mov dword [esp + 4], 3
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [0x408038], 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], 0x408084
mov dword [esp + 8], 0
mov dword [esp + 4], str.Xpos
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x402b90
mov dword [0x408084], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x408088
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 0x402be2
mov dword [0x408088], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x40809c
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 0x402c34
mov dword [0x40809c], 9
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x4080a0
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 0x402c86
mov dword [0x4080a0], 9
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x4080a4
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 0x402cd8
mov dword [0x4080a4], 0xa
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x408174
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 0x402d2a
mov dword [0x408174], 0
lea eax, [ebp - 0x424]
mov dword [esp + 0x10], 0x408020
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 0x403310
lea eax, [ebp - 0x418]
mov edi, 0x4080a8
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 0x403138
mov eax, dword [ebp - 0x434]
lea esi, [esi]
movzx ecx, word [eax]
test cx, cx
je 0x402e2b
mov word [edx], cx
add eax, 2
lea ecx, [ebp - 0x1da]
add edx, 2
cmp eax, ecx
jne 0x402e10
xor eax, eax
mov word [edx], ax
add edi, 0x40
cmp esi, 3
jne 0x402d95
mov dword [ebp - 0x430], ebx
mov ebx, dword [ebp - 0x42c]
mov esi, 0x408168
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 0x402eb1
mov dword [esi], 0x3e7
add esi, 4
cmp edi, 3
jne 0x402e4f
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x40802c]
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 [0x408174]
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 [0x408020]
sub esp, 0xc
test ecx, ecx
jne 0x4032f0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f1
mov dword [esp], ebx
call esi
sub esp, 0xc
mov dword [esp], 0x408020
xor esi, esi
call sym._CheckLevel
call sym._CreateBoard.constprop.0
jmp 0x402a52
test byte [section..data], 8
je case.0x402a15.515
mov dword [esp + 0xc], str.Unknown_WM_COMMAND_command_message_received_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
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 0x402a52
test dl, 0x10
jne 0x403320
mov eax, edx
and eax, 3
cmp eax, 3
je 0x403320
xor esi, esi
and edx, 1
mov eax, 0x201
jne 0x4030dd
jmp 0x402a52
test byte [section..data], 8
jne 0x403438
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 0x402a52
test byte [section..data], 8
jne 0x403400
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 0x402a52
test byte [section..data], 8
jne 0x4033c8
and edx, 1
mov eax, 0x204
je 0x4030dd
mov dword [0x408178], 0
mov eax, 0x207
mov dword [0x40817c], 0
jmp 0x4030dd
test byte [section..data], 8
jne 0x403398
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 0x402a52
test byte [section..data], 8
jne 0x403360
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 [section..data], 8
jne 0x403330
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 0x402a52
mov eax, dword [0x408028]
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 0x402e30
mov dword [esp], 0x408020
xor esi, esi
call sym._SaveBoard
mov eax, dword [0x408034]
mov ebx, dword [sym.imp.gdi32.dll_DeleteObject]
mov dword [esp], eax
call ebx
mov eax, dword [0x408038]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [0x408030]
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 0x402a52
test byte [section..data], 8
jne 0x403648
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], 0x40806c
mov dword [esp + 4], esi
mov dword [ebp - 0x42c], eax
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x403610
mov eax, dword [ebp - 0x42c]
mov dword [esp + 8], 0x40805c
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x4035e0
mov eax, dword [ebp - 0x42c]
mov dword [esp + 8], 0x40804c
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x403530
mov eax, dword [ebp - 0x42c]
mov dword [esp + 8], 0x40803c
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x403470
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 0x402a52
movzx eax, dx
sub eax, 0x3e9
cmp eax, 8
ja case.default.0x4032e1
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 0x402f28
mov dword [0x408020], 1
jmp 0x402d76
mov eax, 0x207
jmp 0x4030dd
mov dword [esp + 0xc], str.WM_MBUTTONUP_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x403115
mov dword [esp + 0xc], str.WM_RBUTTONUP_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x4030cd
mov dword [esp + 0xc], str.WM_MBUTTONDOWN_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40309d
mov dword [esp + 0xc], str.WM_RBUTTONDOWN_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x403065
mov dword [esp + 0xc], str.WM_LBUTTONUP_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x403025
mov dword [esp + 0xc], str.WM_LBUTTONDOWN_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
mov dword [ebp - 0x42c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x42c]
jmp 0x402fdd
mov eax, dword [0x408030]
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 [0x40809c]
sub esp, 8
test eax, eax
je 0x40350b
mov dword [ebp - 0x440], ebx
lea esi, [esi]
mov edx, dword [0x4080a0]
test esi, esi
mov edi, 1
sete bl
test edx, edx
je 0x403500
lea esi, [esi]
test edi, edi
je 0x4034f7
test bl, bl
jne 0x4034f7
cmp eax, esi
jb 0x4034f7
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 [0x40809c]
inc edi
cmp edi, dword [0x4080a0]
jbe 0x4034c8
inc esi
cmp esi, eax
jbe 0x4034b0
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 0x40329b
mov eax, dword [0x408034]
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 [0x408184]
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 [0x408050]
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov eax, dword [0x40804c]
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 0x403279
mov eax, dword [0x408060]
mov ecx, dword [0x40808c]
mov edx, dword [ebp - 0x430]
mov dword [esp + 4], eax
mov eax, dword [0x40805c]
mov dword [esp], eax
mov eax, dword [ebp - 0x438]
call sym._DrawLeds.constprop.0
jmp 0x403257
mov eax, dword [0x408070]
mov edx, dword [ebp - 0x430]
mov ecx, dword [0x4080a4]
sub ecx, dword [0x408090]
mov dword [esp + 4], eax
mov eax, dword [0x40806c]
mov dword [esp], eax
mov eax, dword [ebp - 0x438]
call sym._DrawLeds.constprop.0
jmp 0x403235
mov dword [esp + 0xc], str.WM_PAINT_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4031cd
mov dword [esp + 0xc], str.WM_MOVE_n
mov dword [esp + 8], 0x4061dc
mov dword [esp + 4], 0x405000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402a83
inc dword [0x40808c]
mov dword [esp + 0xc], 0x101
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40805c
mov dword [esp], ebx
call dword [sym.imp.user32.dll_RedrawWindow]
sub esp, 0x10
jmp 0x402a52
mov eax, dword [0x40802c]
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 [0x408174]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x408174], 0
sub esp, 0xc
mov dword [esp + 8], 8
mov dword [esp + 4], 0x3ed
mov dword [esp], ebx
call esi
mov dword [0x4080a0], 9
mov dword [0x40809c], 9
sub esp, 0xc
mov dword [0x4080a4], 0xa
call sym._CreateBoard.constprop.0
xor esi, esi
jmp 0x402a52
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetMenu]
mov esi, dword [0x408020]
xor edx, edx
sub esp, 4
test esi, esi
sete dl
mov dword [0x408020], edx
jne 0x403a4e
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 0x402a52
mov eax, dword [0x40802c]
mov dword [esp + 0x10], 0x408020
mov dword [esp + 0xc], sym._CustomDlgProc_16
mov dword [esp + 8], eax
mov eax, dword [0x408028]
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
test eax, eax
jne case.0x4032e1.1001
mov eax, dword [0x40802c]
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 [0x408174]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x408174], 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.0x4032e1.1001
mov eax, dword [0x40802c]
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 [0x408174]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x408174], 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 [0x4080a0], 0x1e
mov dword [0x40809c], 0x10
sub esp, 0xc
mov dword [0x4080a4], 0x63
call sym._CreateBoard.constprop.0
jmp 0x402a52
mov eax, dword [0x40802c]
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 [0x408174]
sub esp, 4
mov dword [esp + 8], 0
add eax, 0x3ed
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
mov dword [0x408174], 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 [0x4080a0], 0x10
mov dword [0x40809c], 0x10
sub esp, 0xc
mov dword [0x4080a4], 0x28
call sym._CreateBoard.constprop.0
jmp 0x402a52
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x408028]
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 [0x408028]
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 [0x408028]
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 [0x4092a8]
sub esp, 0x10
jmp 0x402a52
mov eax, dword [0x408028]
mov dword [esp + 0x10], 0x408020
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 0x402a52
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 0x402a52
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 0x402a52