Function at 0x463990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x438
mov eax, dword [0x57ec74]
xor eax, esp
mov dword [esp + 0x434], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esp + 4]
push edi
mov edi, dword [ebp + 8]
push 0x55ec78
push 0x55ec7c
push eax
mov dword [0x5955e4], 0
call fcn.0051416c
mov ecx, dword [esp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x463a15
test eax, eax
jne 0x463a15
lea eax, [esp + 0xc]
push eax
push 0x55ec84
push ecx
call fcn.00447080
add esp, 0xc
push dword [esp + 8]
call fcn.00513a00
mov eax, dword [0x5955e4]
add esp, 4
cmp dword [esp + 0xc], 0
mov ecx, 1
cmove eax, ecx
mov dword [0x5955e4], eax
push 0x55ec88
lea eax, [esp + 0xc]
push 0x55ec8c
push eax
call fcn.0051416c
mov ecx, dword [esp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x463a4f
test eax, eax
jne 0x463a4f
push 0x55ec94
push ecx
call fcn.00447030
push dword [esp + 0x10]
call fcn.00513a00
add esp, 0xc
cmp dword [0x5955e4], 0
je 0x463ae9
push 0x55ec98
lea eax, [esp + 0xc]
push 0x55ec9c
push eax
call fcn.0051416c
add esp, 0xc
cmp dword [esp + 8], 0
je 0x463ae9
test eax, eax
jne 0x463ae9
lea eax, [esp + 0x38]
push 0x400
push eax
call fcn.00513e50
movsd xmm0, qword [0x56db48]
lea eax, [esp + 0x40]
add esp, 8
push eax
sub esp, 8
movsd qword [esp], xmm0
push 0x55fff8
push str.Autolog_for__s_v_f____s_
push dword [esp + 0x1c]
call fcn.00447030
lea eax, [esp + 0x50]
push 0x400
push eax
call fcn.00513c45
lea eax, [esp + 0x58]
push eax
push str._s_n_n
push dword [esp + 0x30]
call fcn.00447030
add esp, 0x2c
push dword [esp + 8]
call fcn.00513a00
add esp, 4
mov ecx, esi
mov byte [0x596520], 0
mov byte [0x5965b0], 0
call fcn.00463220
push 0x2a80c
call fcn.004cbc8f
mov esi, eax
add esp, 4
mov dword [0x596b80], esi
mov dword [esi + 0x2a37c], 0
mov dword [esi + 0x2a380], 0
mov dword [esi + 0x2a3d4], 0
mov dword [esi + 0x2a3d8], 0
mov dword [esi + 0x2a3cc], 0
mov dword [esi + 0x2a3d0], 0
mov dword [esi + 0x2a388], 0
mov dword [esi + 0x2a38c], 0
mov dword [esi + 0x2a4d0], 0
mov dword [esi + 0x2a390], 1
mov dword [esi + 0x2a394], 0
mov dword [esi + 0x2a500], 0
mov byte [esi + 0x2a504], 0
mov byte [esi + 0x2a55e], 0
mov dword [esi + 0x2a588], 0x55f400
mov dword [esi + 0x2a598], 0x280
mov dword [esi + 0x2a59c], 0x1e0
mov dword [esi + 0x2a58c], 0
mov dword [esi + 0x2a590], 0x10
mov dword [esi + 0x2a594], 0
mov dword [esi + 0x2a5a0], 0
mov dword [esi], vtable.CPuma.0
mov dword [esi + 0x2a6b8], 0
mov dword [esi + 0x2a6bc], 0
mov dword [esi + 0x2a6c0], 0
mov dword [esi + 0x2a6c4], 0
mov dword [esi + 0x2a6c8], 0
mov dword [esi + 0x2a6cc], 0
push 0xc
mov dword [esi + 0x2a6d0], 0x56d274
call fcn.004cbc8f
add esp, 4
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], 0
mov dword [esi + 0x2a6d4], eax
mov dword [esi + 0x2a6d8], eax
lea eax, [esi + 0x2a6e0]
push 0x100
mov dword [esi + 0x2a6dc], 1
push 0
push eax
mov dword [esi + 0x2a588], 0x55fc78
mov dword [esi + 0x2a58c], 1
mov dword [esi + 0x2a690], 0x1e
call fcn.004ea420
add esp, 0xc
mov dword [esi + 0x2a6a0], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.0051782d
mov eax, dword [0x57fc14]
xorps xmm0, xmm0
mov dword [esi + 0x2a69c], 0xffffff9c
add esp, 4
mov dword [esi + 0x2a698], 0xffffff9c
movups xmmword [esi + 0x2a63c], xmm0
mov dword [0x5955f8], esi
push dword [0x595608]
movups xmmword [esi + 0x2a64c], xmm0
push edi
movups xmmword [esi + 0x2a65c], xmm0
movups xmmword [esi + 0x2a66c], xmm0
movups xmmword [esi + 0x2a67c], xmm0
mov dword [esi + 0x2a68c], 0
mov dword [esi + 0x2a5ac], 0
mov dword [esi + 0x2a5a8], 0
mov dword [esi + 0x2a5a4], 0
mov byte [esi + 0x2a6b4], 0
mov dword [esi + 0x2a598], eax
mov eax, dword [0x57fc10]
mov dword [esi + 0x2a59c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
sub esp, 8
push edi
call fcn.0045b0a0
test al, al
je 0x46411e
mov ecx, dword [0x5955f8]
sub esp, 0x10
mov eax, dword [ecx + 0x2a68c]
mov dword [eax + 0xbc], 0x43960000
mov eax, dword [ecx + 0x2a68c]
movups xmm0, xmmword [eax + 0xb0]
add eax, 0xc0
movups xmmword [esp], xmm0
push eax
call fcn.00406d03
mov eax, dword [0x5955f8]
mov ecx, dword [eax + 0x2a3d8]
mov edi, dword [eax + 0x2a68c]
mov dword [esp + 8], ecx
mov esi, dword [ecx]
mov ecx, edi
call fcn.0045d850
push eax
push 2
push dword [esp + 0x10]
call dword [esi + 0x94]
mov edx, dword [esp + 8]
lea eax, [edi + 0xc0]
push eax
push 3
push edx
mov ecx, dword [edx]
call dword [ecx + 0x94]
mov eax, dword [0x5955f8]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x5955f8]
push dword [ebp + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5955f8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x5955f8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
push 7
push 0x56000c
push 0
call fcn.0045b920
push 0xe
push 0x560014
push 1
call fcn.0045b920
push 0xa
push str.Verdana
push 2
call fcn.0045b920
push 0x1f8
call fcn.004cbc8f
push ecx
mov ecx, eax
call fcn.00490340
push eax
mov ecx, 0x591ac4
mov dword [0x5955f0], eax
call fcn.0044fd40
mov ecx, dword [0x5955f0]
mov eax, dword [ecx]
call dword [eax + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movaps xmmword [esp + 0x10], xmm0
movq qword [esp + 0x20], xmm0
call fcn.0045bbb0
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x463eae
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x464113
cmp dword [0x5955f0], 0
je 0x464113
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
sub eax, 0x19
cmp dword [0x595614], eax
jae 0x464113
call esi
mov dword [0x595614], eax
mov eax, dword [0x5955f8]
mov ecx, dword [eax + 0x2a3cc]
mov eax, dword [eax + 0x2a3d8]
mov dword [esp + 0xc], ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jns 0x464016
cmp edi, 0x88760868
jne 0x463f0b
jmp 0x464018
cmp edi, 0x88760869
jne 0x464018
mov eax, dword [0x5955f8]
mov esi, 0x2a63c
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x463f32
call fcn.00454f10
mov eax, dword [0x5955f8]
add esi, 4
cmp esi, 0x2a68c
jl 0x463f21
mov ecx, dword [eax + 0x2a3d8]
add eax, 0x2a398
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
js 0x464004
cmp dword [0x5955e4], 0
je 0x463f9a
push 0x55ed28
lea eax, [esp + 0xc]
push 0x55ed2c
push eax
call fcn.0051416c
mov ecx, dword [esp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x463f9a
test eax, eax
jne 0x463f9a
push 0x55ffdc
push ecx
call fcn.00447030
push dword [esp + 0x10]
call fcn.00513a00
add esp, 0xc
mov eax, dword [0x5955f8]
mov esi, 0x2a63c
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x463fb5
call fcn.00454ca0
mov eax, dword [0x5955f8]
add esi, 4
cmp esi, 0x2a68c
jl 0x463fa4
mov eax, dword [eax + 0x2a3d8]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5955f8]
push 1
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [0x5955f0]
test ecx, ecx
je 0x464000
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x5955f0]
xor edi, edi
jmp 0x46401e
push 0
push 0
push 0x10
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x464018
xor edi, edi
mov ecx, dword [0x5955f0]
cmp dword [0x595610], 0
jne 0x464113
test edi, edi
jne 0x464113
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x5955f0]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x4640a1
sub eax, 1
jne 0x464113
call fcn.00450270
mov ecx, dword [0x5955f0]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x5955f0]
test ecx, ecx
je 0x464072
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x5955f4]
test eax, eax
je 0x464086
push eax
mov ecx, 0x591ac4
call fcn.0044fd40
mov ecx, 0x591ac4
call fcn.0044fcd0
test eax, eax
jne 0x4640ea
push eax
push 0x560038
push str.No_game_mode_on_stack__expected_one_
jmp 0x4640c8
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x5955f4]
test eax, eax
je 0x4640bc
push eax
mov ecx, 0x591ac4
call fcn.0044fd40
jmp 0x4640ea
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x5955f8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x5955f8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 0x591ac4
call fcn.0044fcd0
mov dword [0x5955f0], eax
test eax, eax
je 0x464113
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov eax, dword [0x5955f0]
mov dword [eax + 0x108], 0
cmp dword [esp + 0x14], 0x12
jne 0x463e77
cmp dword [0x591ad0], 0
je 0x464138
mov eax, dword [0x591ac8]
mov eax, dword [eax]
mov dword [0x591acc], eax
mov ecx, dword [eax + 8]
jmp 0x46413a
xor ecx, ecx
mov dword [0x5955f0], ecx
test ecx, ecx
je 0x4641d3
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x5955f0]
test ecx, ecx
je 0x4641d3
cmp dword [0x591ad0], 0
je 0x4641a3
mov eax, dword [0x591ac8]
mov eax, dword [eax]
mov dword [0x591acc], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4641a3
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [0x591acc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [0x591acc]
call fcn.004cbcbf
mov ecx, dword [0x5955f0]
add esp, 8
mov dword [0x591acc], esi
test ecx, ecx
je 0x4641ad
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [0x591ad0], 0
je 0x4641c7
mov eax, dword [0x591ac8]
mov eax, dword [eax]
mov dword [0x591acc], eax
mov ecx, dword [eax + 8]
jmp 0x4641c9
xor ecx, ecx
mov dword [0x5955f0], ecx
test ecx, ecx
jne 0x464157
call fcn.0045b520
mov esi, dword [0x5955f8]
test esi, esi
je 0x46425d
lea ecx, [esi + 0x2a6d0]
call fcn.0044fc50
mov eax, dword [esi + 0x2a6c4]
test eax, eax
je 0x464244
mov ecx, dword [esi + 0x2a6cc]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x46421c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46427d
mov eax, edx
push ecx
push eax
call fcn.004cbcbf
mov dword [esi + 0x2a6c4], 0
add esp, 8
mov dword [esi + 0x2a6c8], 0
mov dword [esi + 0x2a6cc], 0
lea ecx, [esi + 0x2a6b8]
call fcn.0045e260
push 0x2a80c
push esi
call fcn.004cbcbf
add esp, 8
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov ecx, dword [esp + 0x43c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 0x10
call fcn.005137c9
int3