Function at 0x459510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x5776ac
push 0x52fad4
call fcn.00443f80
push str.blademistress.dyndns.org
push 0x5779c8
call fcn.00455aa0
push dword [ebp + 0x10]
mov byte [0x579108], 0
mov byte [0x5790e8], 0
call fcn.00458ef0
push 0x2a80c
call fcn.004b2330
add esp, 0x10
test eax, eax
je 0x459566
mov ecx, eax
call fcn.004529f0
mov ecx, eax
jmp 0x459568
xor ecx, ecx
mov eax, dword [0x55ea90]
mov dword [0x5778a8], ecx
mov dword [ecx + 0x2a598], eax
mov ecx, dword [0x5778a8]
mov eax, dword [0x55ea94]
push esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x2a59c], eax
mov ecx, dword [0x5778a8]
push edi
push dword [0x577a4c]
mov eax, dword [ecx]
push esi
call dword [eax + 0x28]
mov ecx, dword [0x5778a8]
push dword [0x577a4c]
push dword [ecx + 0x2a3cc]
push esi
call fcn.00454030
test al, al
je 0x459865
mov eax, dword [0x5778a8]
mov eax, dword [eax + 0x2a68c]
mov dword [eax + 0xbc], 0x43960000
mov ecx, dword [0x5778a8]
mov ecx, dword [ecx + 0x2a68c]
call fcn.00452de0
mov ecx, dword [0x5778a8]
push dword [ecx + 0x2a3d8]
mov ecx, dword [ecx + 0x2a68c]
call fcn.00452da0
mov eax, dword [0x5778a8]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x5778a8]
push dword [ebp + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x5778a8]
push 7
push str.Verdana
push 0
call fcn.00452e60
mov ecx, dword [0x5778a8]
push 0xe
push str.Verdana
push 1
call fcn.00452e60
mov ecx, dword [0x5778a8]
push 0xa
push str.Verdana
push 2
call fcn.00452e60
push 0x1f8
call fcn.004b2330
add esp, 4
test eax, eax
je 0x4596a7
push str.FIRST_OPTION_MODE
push 0
mov ecx, eax
call fcn.0047f850
jmp 0x4596a9
xor eax, eax
push ebx
push eax
mov ecx, 0x577898
mov dword [0x577890], eax
call fcn.00449f80
mov ecx, dword [0x577890]
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 [0x5778a8]
call fcn.00454cb0
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 0x45972a
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 0x45985a
cmp dword [0x577890], 0
je 0x45985a
call esi
sub eax, 0x19
cmp dword [0x5779c0], eax
jae 0x45985a
call esi
mov dword [0x5779c0], eax
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3cc]
call fcn.00458cb0
add esp, 4
cmp dword [0x5779bc], 0
jne 0x45985a
test eax, eax
jne 0x45985a
mov ecx, dword [0x577890]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x577890]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x4597f0
sub eax, 1
jne 0x45985a
mov ecx, 0x577898
call fcn.00449e80
mov ecx, dword [0x577890]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x577890]
test ecx, ecx
je 0x4597c1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x577894]
test eax, eax
je 0x4597d5
push eax
mov ecx, 0x577898
call fcn.00449f80
mov ecx, 0x577898
call fcn.00449e00
test eax, eax
jne 0x459831
push eax
push str.Game_Failure
push str.No_game_mode_on_stack__expected_one_
jmp 0x459817
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x577894]
test eax, eax
je 0x45980b
push eax
mov ecx, 0x577898
call fcn.00449f80
jmp 0x459831
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3cc]
call edi
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3cc]
call ebx
mov ecx, 0x577898
call fcn.00449e00
mov dword [0x577890], eax
test eax, eax
je 0x45985a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov eax, dword [0x577890]
mov dword [eax + 0x108], 0
cmp dword [ebp - 0x18], 0x12
jne 0x4596f0
pop ebx
mov ecx, 0x577898
call fcn.00449e00
mov dword [0x577890], eax
test eax, eax
je 0x4598bd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp dword [0x577890], 0
je 0x4598bd
nop dword [eax + eax]
mov ecx, 0x577898
call fcn.00449e80
mov ecx, dword [0x577890]
test ecx, ecx
je 0x4598aa
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 0x577898
call fcn.00449e00
mov dword [0x577890], eax
test eax, eax
jne 0x459890
mov ecx, dword [0x5778a8]
call fcn.004557b0
mov esi, dword [0x5778a8]
test esi, esi
je 0x4599b5
lea ecx, [esi + 0x2a6d0]
call fcn.00449980
mov eax, dword [esi + 0x2a6c4]
test eax, eax
je 0x45993c
mov ecx, dword [esi + 0x2a6cc]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x459914
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4599c7
mov eax, edx
push ecx
push eax
call fcn.004b2360
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 0x4599a7
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 0x45997f
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4599c7
mov edi, edx
push ecx
push edi
call fcn.004b2360
mov dword [esi + 0x2a6b8], 0
add esp, 8
mov dword [esi + 0x2a6bc], 0
mov dword [esi + 0x2a6c0], 0
push 0x2a80c
push esi
call fcn.004b2360
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.004fb007
int3