Function at 0x460760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x59a2cc
push 0x552268
call fcn.0044ac60
push str.blademistress.dyndns.org
push 0x59a5d8
call fcn.00441710
push dword [ebp + 0x10]
mov byte [0x59bd18], 0
mov byte [0x59bcf8], 0
call fcn.004601a0
push 0x2a80c
call fcn.004de236
add esp, 0x10
test eax, eax
je 0x4607b6
mov ecx, eax
call fcn.00459cd0
mov ecx, eax
jmp 0x4607b8
xor ecx, ecx
mov eax, dword [0x580e9c]
mov dword [0x59a4b8], ecx
mov dword [ecx + 0x2a598], eax
mov ecx, dword [0x59a4b8]
mov eax, dword [0x580ea0]
push esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x2a59c], eax
mov ecx, dword [0x59a4b8]
push edi
push dword [0x59a65c]
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
mov ecx, dword [0x59a4b8]
push dword [0x59a65c]
push dword [ecx + 0x2a3cc]
push esi
call fcn.0045b300
test al, al
je 0x460ab6
mov eax, dword [0x59a4b8]
mov eax, dword [eax + 0x2a68c]
mov dword [eax + 0xbc], 0x43960000
mov ecx, dword [0x59a4b8]
mov ecx, dword [ecx + 0x2a68c]
call fcn.0045a0a0
mov ecx, dword [0x59a4b8]
push dword [ecx + 0x2a3d8]
mov ecx, dword [ecx + 0x2a68c]
call fcn.0045a060
mov eax, dword [0x59a4b8]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x59a4b8]
push dword [ebp + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x59a4b8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x59a4b8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x59a4b8]
push 7
push str.Verdana
push 0
call fcn.0045a130
mov ecx, dword [0x59a4b8]
push 0xe
push str.Verdana
push 1
call fcn.0045a130
mov ecx, dword [0x59a4b8]
push 0xa
push str.Verdana
push 2
call fcn.0045a130
push 0x1f8
call fcn.004de236
add esp, 4
test eax, eax
je 0x4608f7
push str.FIRST_OPTION_MODE
push 0
mov ecx, eax
call fcn.004872e0
jmp 0x4608f9
xor eax, eax
push ebx
push eax
mov ecx, 0x59a4a8
mov dword [0x59a4a0], eax
call fcn.00450d20
mov ecx, dword [0x59a4a0]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
xorps xmm0, xmm0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
nop word [eax + eax]
mov ecx, dword [0x59a4b8]
call fcn.0045bf80
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x46097a
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x460aab
cmp dword [0x59a4a0], 0
je 0x460aab
call esi
sub eax, 0x19
cmp dword [0x59a5d0], eax
jae 0x460aab
call esi
mov dword [0x59a5d0], eax
mov eax, dword [0x59a4b8]
push dword [eax + 0x2a3cc]
call fcn.0045ff70
add esp, 4
cmp dword [0x59a5cc], 0
jne 0x460aab
test eax, eax
jne 0x460aab
mov ecx, dword [0x59a4a0]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x59a4a0]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x460a40
sub eax, 1
jne 0x460aab
mov ecx, 0x59a4a8
call fcn.00450c30
mov ecx, dword [0x59a4a0]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x59a4a0]
test ecx, ecx
je 0x460a11
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x59a4a4]
test eax, eax
je 0x460a25
push eax
mov ecx, 0x59a4a8
call fcn.00450d20
mov ecx, 0x59a4a8
call fcn.00450bb0
test eax, eax
jne 0x460a81
push eax
push str.Game_Failure
push str.No_game_mode_on_stack__expected_one_
jmp 0x460a67
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x59a4a4]
test eax, eax
je 0x460a5b
push eax
mov ecx, 0x59a4a8
call fcn.00450d20
jmp 0x460a81
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x59a4b8]
push dword [eax + 0x2a3cc]
call edi
mov eax, dword [0x59a4b8]
push dword [eax + 0x2a3cc]
call ebx
mov ecx, 0x59a4a8
call fcn.00450bb0
mov ecx, eax
mov dword [0x59a4a0], ecx
test ecx, ecx
je 0x460aab
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [0x59a4a0]
mov dword [eax + 0x108], 0
cmp dword [ebp - 0x18], 0x12
jne 0x460940
pop ebx
mov ecx, 0x59a4a8
call fcn.00450bb0
mov ecx, eax
mov dword [0x59a4a0], ecx
test ecx, ecx
je 0x460b0d
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x59a4a0]
test ecx, ecx
je 0x460b0d
nop dword [eax + eax]
mov ecx, 0x59a4a8
call fcn.00450c30
mov ecx, dword [0x59a4a0]
test ecx, ecx
je 0x460afa
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 0x59a4a8
call fcn.00450bb0
mov dword [0x59a4a0], eax
test eax, eax
jne 0x460ae0
mov ecx, dword [0x59a4b8]
call fcn.0045caa0
mov esi, dword [0x59a4b8]
test esi, esi
je 0x460c05
lea ecx, [esi + 0x2a6d0]
call fcn.00450730
mov eax, dword [esi + 0x2a6c4]
test eax, eax
je 0x460b8c
mov ecx, dword [esi + 0x2a6cc]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x460b64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460c17
mov eax, edx
push ecx
push eax
call fcn.004ddd12
mov dword [esi + 0x2a6c4], 0
add esp, 8
mov dword [esi + 0x2a6c8], 0
mov dword [esi + 0x2a6cc], 0
mov edi, dword [esi + 0x2a6b8]
test edi, edi
je 0x460bf7
mov ecx, dword [esi + 0x2a6c0]
mov eax, 0x66666667
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
shl ecx, 2
cmp ecx, 0x1000
jb 0x460bcf
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x460c17
mov edi, edx
push ecx
push edi
call fcn.004ddd12
mov dword [esi + 0x2a6b8], 0
add esp, 8
mov dword [esi + 0x2a6bc], 0
mov dword [esi + 0x2a6c0], 0
push 0x2a80c
push esi
call fcn.004ddd12
add esp, 8
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.00514890
int3