Function at 0x462a40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x438
mov eax, dword [0x57bc74]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x55bc48
push 0x55bc4c
mov dword [esp + 0x14], eax
mov dword [0x5922c4], 0
call fcn.00511419
mov esi, eax
add esp, 8
test esi, esi
je 0x462abb
lea eax, [esp + 8]
push eax
push 0x55bc54
push esi
call fcn.00446a20
add esp, 0xc
push esi
call fcn.005114f9
mov eax, dword [0x5922c4]
add esp, 4
cmp dword [esp + 8], 0
mov ecx, 1
cmove eax, ecx
mov dword [0x5922c4], eax
push 0x55bc58
push 0x55bc5c
call fcn.00511419
mov esi, eax
add esp, 8
test esi, esi
je 0x462ae7
push 0x55bc64
push esi
call fcn.004469d0
push esi
call fcn.005114f9
add esp, 0xc
cmp dword [0x5922c4], 0
je 0x462b6a
push 0x55bc68
push 0x55bc6c
call fcn.00511419
mov esi, eax
add esp, 8
test esi, esi
je 0x462b6a
lea eax, [esp + 0x38]
push 0x400
push eax
call fcn.00511949
movsd xmm0, qword [0x56abc0]
lea eax, [esp + 0x40]
add esp, 8
push eax
sub esp, 8
movsd qword [esp], xmm0
push 0x55cfc8
push str.Autolog_for__s_v_f____s_
push esi
call fcn.004469d0
lea eax, [esp + 0x50]
push 0x400
push eax
call fcn.0051173e
lea eax, [esp + 0x58]
push eax
push str._s_n_n
push esi
call fcn.004469d0
add esp, 0x2c
push esi
call fcn.005114f9
add esp, 4
push str.blademistress.dyndns.org
push 0x592300
call fcn.00462190
mov ecx, dword [esp + 0x14]
mov byte [0x5931f0], 0
mov byte [0x593280], 0
call fcn.00462310
push 0x2a80c
call fcn.004c9551
mov esi, eax
add esp, 0xc
mov dword [0x593868], 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], 0x55c3d0
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], 0x56a2b0
call fcn.004c9551
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], 0x55cc48
mov dword [esi + 0x2a58c], 1
mov dword [esi + 0x2a690], 0x1e
call fcn.004e7d00
add esp, 0xc
mov dword [esi + 0x2a6a0], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00514edb
mov eax, dword [0x57cc24]
xorps xmm0, xmm0
mov dword [esi + 0x2a69c], 0xffffff9c
add esp, 4
mov dword [esi + 0x2a698], 0xffffff9c
movups xmmword [esi + 0x2a63c], xmm0
mov dword [0x5922d8], esi
movups xmmword [esi + 0x2a64c], xmm0
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 [0x57cc20]
push dword [0x5922e8]
mov dword [esi + 0x2a59c], eax
mov ecx, esi
mov eax, dword [esi]
push edi
call dword [eax + 0x28]
sub esp, 8
push edi
call fcn.0045a330
test al, al
je 0x4631af
mov ecx, dword [0x5922d8]
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 [0x5922d8]
mov ecx, dword [eax + 0x2a3d8]
mov edi, dword [eax + 0x2a68c]
mov dword [esp + 8], ecx
mov esi, dword [ecx]
mov ecx, edi
call fcn.0045cb30
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 [0x5922d8]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x5922d8]
push dword [ebp + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
push 7
push 0x55cff8
push 0
call fcn.0045abb0
push 0xe
push 0x55d000
push 1
call fcn.0045abb0
push 0xa
push str.Verdana
push 2
call fcn.0045abb0
push 0x1f8
call fcn.004c9551
push ecx
mov ecx, eax
call fcn.0048f6f0
push eax
mov ecx, 0x58e7a8
mov dword [0x5922d0], eax
call fcn.0044f2f0
mov ecx, dword [0x5922d0]
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
nop dword [eax]
call fcn.0045ae30
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 0x462f47
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 0x4631a4
cmp dword [0x5922d0], 0
je 0x4631a4
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
sub eax, 0x19
cmp dword [0x5922f4], eax
jae 0x4631a4
call esi
mov dword [0x5922f4], eax
mov eax, dword [0x5922d8]
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 0x4630a7
cmp edi, 0x88760868
jne 0x462fa4
jmp 0x4630a9
cmp edi, 0x88760869
jne 0x4630a9
mov eax, dword [0x5922d8]
mov esi, 0x2a63c
nop word [eax + eax]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x462fd1
call fcn.00454040
mov eax, dword [0x5922d8]
add esi, 4
cmp esi, 0x2a68c
jl 0x462fc0
mov ecx, dword [eax + 0x2a3d8]
add eax, 0x2a398
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
js 0x463095
cmp dword [0x5922c4], 0
je 0x46302b
push 0x55bcf8
push 0x55bcfc
call fcn.00511419
mov esi, eax
add esp, 8
test esi, esi
je 0x46302b
push 0x55cfac
push esi
call fcn.004469d0
push esi
call fcn.005114f9
add esp, 0xc
mov eax, dword [0x5922d8]
mov esi, 0x2a63c
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x463046
call fcn.00453dd0
mov eax, dword [0x5922d8]
add esi, 4
cmp esi, 0x2a68c
jl 0x463035
mov eax, dword [eax + 0x2a3d8]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 1
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [0x5922d0]
test ecx, ecx
je 0x463091
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x5922d0]
xor edi, edi
jmp 0x4630af
push 0
push 0
push 0x10
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4630a9
xor edi, edi
mov ecx, dword [0x5922d0]
cmp dword [0x5922f0], 0
jne 0x4631a4
test edi, edi
jne 0x4631a4
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x5922d0]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x463132
sub eax, 1
jne 0x4631a4
call fcn.0044f7e0
mov ecx, dword [0x5922d0]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x5922d0]
test ecx, ecx
je 0x463103
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x5922d4]
test eax, eax
je 0x463117
push eax
mov ecx, 0x58e7a8
call fcn.0044f2f0
mov ecx, 0x58e7a8
call fcn.0044f280
test eax, eax
jne 0x46317b
push eax
push 0x55d024
push str.No_game_mode_on_stack__expected_one_
jmp 0x463159
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x5922d4]
test eax, eax
je 0x46314d
push eax
mov ecx, 0x58e7a8
call fcn.0044f2f0
jmp 0x46317b
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 0x58e7a8
call fcn.0044f280
mov dword [0x5922d0], eax
test eax, eax
je 0x4631a4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov eax, dword [0x5922d0]
mov dword [eax + 0x108], 0
cmp dword [esp + 0x14], 0x12
jne 0x462f10
cmp dword [0x58e7b4], 0
je 0x4631c9
mov eax, dword [0x58e7ac]
mov eax, dword [eax]
mov dword [0x58e7b0], eax
mov ecx, dword [eax + 8]
jmp 0x4631cb
xor ecx, ecx
mov dword [0x5922d0], ecx
test ecx, ecx
je 0x46326c
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x5922d0]
test ecx, ecx
je 0x46326c
nop dword [eax]
cmp dword [0x58e7b4], 0
je 0x46323c
mov eax, dword [0x58e7ac]
mov eax, dword [eax]
mov dword [0x58e7b0], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x46323c
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [0x58e7b0]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [0x58e7b0]
call fcn.004c9581
mov ecx, dword [0x5922d0]
add esp, 8
mov dword [0x58e7b0], esi
test ecx, ecx
je 0x463246
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [0x58e7b4], 0
je 0x463260
mov eax, dword [0x58e7ac]
mov eax, dword [eax]
mov dword [0x58e7b0], eax
mov ecx, dword [eax + 8]
jmp 0x463262
xor ecx, ecx
mov dword [0x5922d0], ecx
test ecx, ecx
jne 0x4631f0
call fcn.0045a7b0
mov esi, dword [0x5922d8]
test esi, esi
je 0x4632f6
lea ecx, [esi + 0x2a6d0]
call fcn.0044f200
mov eax, dword [esi + 0x2a6c4]
test eax, eax
je 0x4632dd
mov ecx, dword [esi + 0x2a6cc]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4632b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x463316
mov eax, edx
push ecx
push eax
call fcn.004c9581
mov dword [esi + 0x2a6c4], 0
add esp, 8
mov dword [esi + 0x2a6c8], 0
mov dword [esi + 0x2a6cc], 0
lea ecx, [esi + 0x2a6b8]
call fcn.0045d560
push 0x2a80c
push esi
call fcn.004c9581
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.004c922c
mov esp, ebp
pop ebp
ret 0x10
call fcn.005110a9
int3