Function at 0x459a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x5937ec
push 0x54caf8
call fcn.004441d0
push str.blademistress.dyndns.org
push 0x593af8
call fcn.00456040
push dword [ebp + 0x10]
mov byte [0x595238], 0
mov byte [0x595218], 0
call fcn.004594c0
push 0x2a80c
call fcn.004b31b9
add esp, 0x10
test eax, eax
je 0x459ad6
mov ecx, eax
call fcn.00452f60
mov ecx, eax
jmp 0x459ad8
xor ecx, ecx
mov eax, dword [0x57aa98]
mov dword [0x5939d8], ecx
mov dword [ecx + 0x2a598], eax
mov ecx, dword [0x5939d8]
mov eax, dword [0x57aa9c]
push esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x2a59c], eax
mov ecx, dword [0x5939d8]
push edi
push dword [0x593b7c]
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
mov ecx, dword [0x5939d8]
push dword [0x593b7c]
push dword [ecx + 0x2a3cc]
push esi
call fcn.004545b0
test al, al
je 0x459dd6
mov eax, dword [0x5939d8]
mov eax, dword [eax + 0x2a68c]
mov dword [eax + 0xbc], 0x43960000
mov ecx, dword [0x5939d8]
mov ecx, dword [ecx + 0x2a68c]
call fcn.00453350
mov ecx, dword [0x5939d8]
push dword [ecx + 0x2a3d8]
mov ecx, dword [ecx + 0x2a68c]
call fcn.00453310
mov eax, dword [0x5939d8]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x5939d8]
push dword [ebp + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5939d8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x5939d8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x5939d8]
push 7
push str.Verdana
push 0
call fcn.004533e0
mov ecx, dword [0x5939d8]
push 0xe
push str.Verdana
push 1
call fcn.004533e0
mov ecx, dword [0x5939d8]
push 0xa
push str.Verdana
push 2
call fcn.004533e0
push 0x1f8
call fcn.004b31b9
add esp, 4
test eax, eax
je 0x459c17
push str.FIRST_OPTION_MODE
push 0
mov ecx, eax
call fcn.00480560
jmp 0x459c19
xor eax, eax
push ebx
push eax
mov ecx, 0x5939c8
mov dword [0x5939c0], eax
call fcn.0044a550
mov ecx, dword [0x5939c0]
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 [0x5939d8]
call fcn.00455220
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 0x459c9a
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 0x459dcb
cmp dword [0x5939c0], 0
je 0x459dcb
call esi
sub eax, 0x19
cmp dword [0x593af0], eax
jae 0x459dcb
call esi
mov dword [0x593af0], eax
mov eax, dword [0x5939d8]
push dword [eax + 0x2a3cc]
call fcn.00459290
add esp, 4
cmp dword [0x593aec], 0
jne 0x459dcb
test eax, eax
jne 0x459dcb
mov ecx, dword [0x5939c0]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x5939c0]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x459d60
sub eax, 1
jne 0x459dcb
mov ecx, 0x5939c8
call fcn.0044a460
mov ecx, dword [0x5939c0]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x5939c0]
test ecx, ecx
je 0x459d31
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x5939c4]
test eax, eax
je 0x459d45
push eax
mov ecx, 0x5939c8
call fcn.0044a550
mov ecx, 0x5939c8
call fcn.0044a3e0
test eax, eax
jne 0x459da1
push eax
push str.Game_Failure
push str.No_game_mode_on_stack__expected_one_
jmp 0x459d87
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x5939c4]
test eax, eax
je 0x459d7b
push eax
mov ecx, 0x5939c8
call fcn.0044a550
jmp 0x459da1
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x5939d8]
push dword [eax + 0x2a3cc]
call edi
mov eax, dword [0x5939d8]
push dword [eax + 0x2a3cc]
call ebx
mov ecx, 0x5939c8
call fcn.0044a3e0
mov ecx, eax
mov dword [0x5939c0], ecx
test ecx, ecx
je 0x459dcb
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [0x5939c0]
mov dword [eax + 0x108], 0
cmp dword [ebp - 0x18], 0x12
jne 0x459c60
pop ebx
mov ecx, 0x5939c8
call fcn.0044a3e0
mov ecx, eax
mov dword [0x5939c0], ecx
test ecx, ecx
je 0x459e2d
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x5939c0]
test ecx, ecx
je 0x459e2d
nop dword [eax + eax]
mov ecx, 0x5939c8
call fcn.0044a460
mov ecx, dword [0x5939c0]
test ecx, ecx
je 0x459e1a
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 0x5939c8
call fcn.0044a3e0
mov dword [0x5939c0], eax
test eax, eax
jne 0x459e00
mov ecx, dword [0x5939d8]
call fcn.00455d40
mov esi, dword [0x5939d8]
test esi, esi
je 0x459f25
lea ecx, [esi + 0x2a6d0]
call fcn.00449f60
mov eax, dword [esi + 0x2a6c4]
test eax, eax
je 0x459eac
mov ecx, dword [esi + 0x2a6cc]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x459e84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f37
mov eax, edx
push ecx
push eax
call fcn.004b31e9
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 0x459f17
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 0x459eef
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x459f37
mov edi, edx
push ecx
push edi
call fcn.004b31e9
mov dword [esi + 0x2a6b8], 0
add esp, 8
mov dword [esi + 0x2a6bc], 0
mov dword [esi + 0x2a6c0], 0
push 0x2a80c
push esi
call fcn.004b31e9
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.00510a60
int3