Function at 0x440e10
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba890
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x430
mov eax, dword [0x4e9bb4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
push 0x4d0b74
push 0x4d0b78
mov dword [ebp - 0x420], eax
mov dword [0x4fec98], 0
call fcn.004a38dc
mov esi, eax
add esp, 8
test esi, esi
je 0x440eb6
lea eax, [ebp - 0x41c]
push eax
push 0x4d0b80
push esi
call fcn.00430d70
add esp, 0xc
push esi
call fcn.004a39b0
mov eax, dword [0x4fec98]
add esp, 4
cmp dword [ebp - 0x41c], 0
mov ecx, 1
cmove eax, ecx
mov dword [0x4fec98], eax
push 0x4d0b84
push 0x4d0b88
call fcn.004a38dc
mov esi, eax
add esp, 8
test esi, esi
je 0x440ee2
push 0x4d0b90
push esi
call fcn.00430d20
push esi
call fcn.004a39b0
add esp, 0xc
cmp dword [0x4fec98], 0
je 0x440f71
push 0x4d0b94
push 0x4d0b98
call fcn.004a38dc
mov esi, eax
add esp, 8
test esi, esi
je 0x440f71
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.004a3b9e
movsd xmm0, qword [0x4dee88]
lea eax, [ebp - 0x418]
add esp, 8
push eax
sub esp, 8
movsd qword [esp], xmm0
push 0x4d1eec
push str.Autolog_for__s_v_f____s_
push esi
call fcn.00430d20
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.004a3add
lea eax, [ebp - 0x418]
push eax
push str._s_n_n
push esi
call fcn.00430d20
add esp, 0x2c
push esi
call fcn.004a39b0
add esp, 4
push str.blademistress.dyndns.org
push 0x4fecc0
call fcn.004407c0
mov ecx, dword [ebp - 0x420]
mov byte [0x4ffbc0], 0
mov byte [0x4ffc50], 0
call fcn.00440810
push 0x2a6ec
call fcn.004957b1
mov esi, eax
add esp, 0xc
mov dword [0x500230], 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], 0x4d12f4
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 + 0x2a6ac], 0
mov dword [esi + 0x2a6b0], 0
mov dword [esi + 0x2a6b4], 0
mov dword [esi + 0x2a6b8], 0
mov dword [esi + 0x2a6bc], 0
mov dword [esi + 0x2a6c0], 0
push 0xc
mov dword [esi + 0x2a6c4], 0x4de6d4
call fcn.004957b1
add esp, 4
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], 0
mov dword [esi + 0x2a6c8], eax
mov dword [esi + 0x2a6d0], 1
mov dword [esi + 0x2a6cc], eax
mov dword [esi + 0x2a588], 0x4d1b6c
mov dword [esi + 0x2a58c], 1
mov dword [esi + 0x2a684], 0x1e
mov dword [esi + 0x2a694], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.004a563b
mov eax, dword [0x4eab44]
xorps xmm0, xmm0
mov dword [esi + 0x2a690], 0xffffff9c
add esp, 4
mov dword [esi + 0x2a68c], 0xffffff9c
mov ecx, esi
movups xmmword [esi + 0x2a630], xmm0
mov dword [0x4fecac], esi
push dword [0x4fecb4]
movups xmmword [esi + 0x2a640], xmm0
push edi
movups xmmword [esi + 0x2a650], xmm0
movups xmmword [esi + 0x2a660], xmm0
movups xmmword [esi + 0x2a670], xmm0
mov dword [esi + 0x2a680], 0
mov byte [esi + 0x2a6a8], 0
mov dword [esi + 0x2a598], eax
mov eax, dword [0x4eab40]
mov dword [esi + 0x2a59c], eax
mov eax, dword [esi]
call dword [eax + 0x28]
sub esp, 0xc
call fcn.0043b880
test al, al
je 0x4415be
mov ecx, dword [0x4fecac]
sub esp, 0x10
mov eax, dword [ecx + 0x2a680]
mov dword [eax + 0xbc], 0x43960000
mov eax, dword [ecx + 0x2a680]
movups xmm0, xmmword [eax + 0xb0]
add eax, 0xc0
movups xmmword [esp], xmm0
push eax
call fcn.00403f78
mov eax, dword [0x4fecac]
mov ecx, dword [eax + 0x2a3d8]
mov edi, dword [eax + 0x2a680]
mov dword [ebp - 0x41c], ecx
mov esi, dword [ecx]
mov ecx, edi
call fcn.0043d620
push eax
push 2
push dword [ebp - 0x41c]
call dword [esi + 0x94]
mov edx, dword [ebp - 0x41c]
lea eax, [edi + 0xc0]
push eax
push 3
push edx
mov ecx, dword [edx]
call dword [ecx + 0x94]
mov eax, dword [0x4fecac]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x4fecac]
push dword [ebx + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4fecac]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4fecac]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
push 7
push 0x4d1f1c
push 0
call fcn.0043bd80
push 0xe
push 0x4d1f24
push 1
call fcn.0043bd80
push 0xa
push str.Verdana
push 2
call fcn.0043bd80
push 0x1f8
call fcn.004957b1
push ecx
mov ecx, eax
call fcn.004668d0
push eax
mov ecx, 0x4fc6c8
mov dword [0x4feca4], eax
call fcn.00434c40
mov ecx, dword [0x4feca4]
mov eax, dword [ecx]
call dword [eax + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x428], 0
movups xmmword [ebp - 0x440], xmm0
movq qword [ebp - 0x430], xmm0
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x441352
movups xmm0, xmmword [ebp - 0x440]
mov eax, dword [ebp - 0x428]
sub esp, 0x1c
mov ecx, esp
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x430]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
call fcn.0043be40
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4415b1
cmp dword [0x4feca4], 0
je 0x4415b1
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
sub eax, 0x19
cmp dword [0x4fed40], eax
jae 0x4415b1
call esi
mov dword [0x4fed40], eax
mov eax, dword [0x4fecac]
mov ecx, dword [eax + 0x2a3cc]
mov eax, dword [eax + 0x2a3d8]
mov dword [ebp - 0x420], ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jns 0x4414b4
cmp edi, 0x88760868
jne 0x4413b1
jmp 0x4414b6
cmp edi, 0x88760869
jne 0x4414b6
mov eax, dword [0x4fecac]
mov esi, 0x2a630
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x4413d8
call fcn.004391e0
mov eax, dword [0x4fecac]
add esi, 4
cmp esi, 0x2a680
jl 0x4413c7
mov ecx, dword [eax + 0x2a3d8]
add eax, 0x2a398
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
js 0x4414a0
cmp dword [0x4fec98], 0
je 0x441432
push 0x4d0c24
push 0x4d0c28
call fcn.004a38dc
mov esi, eax
add esp, 8
test esi, esi
je 0x441432
push 0x4d1ed0
push esi
call fcn.00430d20
push esi
call fcn.004a39b0
add esp, 0xc
mov eax, dword [0x4fecac]
mov esi, 0x2a630
nop dword [eax]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x441451
call fcn.00438f70
mov eax, dword [0x4fecac]
add esi, 4
cmp esi, 0x2a680
jl 0x441440
mov eax, dword [eax + 0x2a3d8]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x4fecac]
push 1
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [0x4feca4]
test ecx, ecx
je 0x44149c
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x4feca4]
xor edi, edi
jmp 0x4414bc
push 0
push 0
push 0x10
push dword [ebp - 0x420]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4414b6
xor edi, edi
mov ecx, dword [0x4feca4]
cmp dword [0x4fecbc], 0
jne 0x4415b1
test edi, edi
jne 0x4415b1
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x4feca4]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x44153f
sub eax, 1
jne 0x4415b1
call fcn.00434de0
mov ecx, dword [0x4feca4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x4feca4]
test ecx, ecx
je 0x441510
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x4feca8]
test eax, eax
je 0x441524
push eax
mov ecx, 0x4fc6c8
call fcn.00434c40
mov ecx, 0x4fc6c8
call fcn.00434c00
test eax, eax
jne 0x441588
push eax
push 0x4d1f48
push str.No_game_mode_on_stack__expected_one_
jmp 0x441566
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x4feca8]
test eax, eax
je 0x44155a
push eax
mov ecx, 0x4fc6c8
call fcn.00434c40
jmp 0x441588
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x4fecac]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x4fecac]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 0x4fc6c8
call fcn.00434c00
mov dword [0x4feca4], eax
test eax, eax
je 0x4415b1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov eax, dword [0x4feca4]
mov dword [eax + 0x108], 0
cmp dword [ebp - 0x43c], 0x12
jne 0x4412f0
cmp dword [0x4fc6d4], 0
je 0x4415d8
mov eax, dword [0x4fc6cc]
mov eax, dword [eax]
mov dword [0x4fc6d0], eax
mov ecx, dword [eax + 8]
jmp 0x4415da
xor ecx, ecx
mov dword [0x4feca4], ecx
test ecx, ecx
je 0x441673
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x4feca4]
test ecx, ecx
je 0x441673
cmp dword [0x4fc6d4], 0
je 0x441643
mov eax, dword [0x4fc6cc]
mov eax, dword [eax]
mov dword [0x4fc6d0], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x441643
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [0x4fc6d0]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [0x4fc6d0]
call fcn.004957e1
mov ecx, dword [0x4feca4]
add esp, 8
mov dword [0x4fc6d0], esi
test ecx, ecx
je 0x44164d
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [0x4fc6d4], 0
je 0x441667
mov eax, dword [0x4fc6cc]
mov eax, dword [eax]
mov dword [0x4fc6d0], eax
mov ecx, dword [eax + 8]
jmp 0x441669
xor ecx, ecx
mov dword [0x4feca4], ecx
test ecx, ecx
jne 0x4415f7
mov edi, dword [0x4fecac]
mov esi, dword [0x4fecb0]
mov dword [ebp - 0x424], edi
mov eax, dword [edi + 0x2a5a4]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4416c8
lea ecx, [esi + 4]
push eax
mov dword [ebp - 0x41c], ecx
call fcn.00434cb0
test eax, eax
je 0x4416c8
mov esi, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
push esi
call fcn.00434d50
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov esi, dword [0x4fecb0]
test esi, esi
je 0x4416d4
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, 0x14
add edi, 0x2a630
mov dword [ebp - 0x41c], eax
mov esi, dword [edi]
test esi, esi
je 0x441735
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004391e0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x44170d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x5c], 0
push 0x678
push esi
mov dword [esi + 0x58], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004957e1
mov eax, dword [ebp - 0x41c]
add esp, 8
mov dword [edi], 0
add edi, 4
sub eax, 1
mov dword [ebp - 0x41c], eax
jne 0x4416e5
mov esi, dword [ebp - 0x424]
mov eax, dword [esi + 0x2a680]
test eax, eax
je 0x44176b
push 0x100
push eax
call fcn.004957e1
add esp, 8
mov dword [esi + 0x2a680], 0
cmp dword [esi + 0x2a3d8], 0
mov dword [esi + 0x2a388], 0
mov dword [esi + 0x2a38c], 0
je 0x4417c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x2a3d4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esi + 0x2a3d8], 0
mov dword [esi + 0x2a3d4], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov esi, dword [0x4fecac]
test esi, esi
je 0x44184e
lea ecx, [esi + 0x2a6c4]
call fcn.00434b80
mov eax, dword [esi + 0x2a6b8]
test eax, eax
je 0x441835
mov ecx, dword [esi + 0x2a6c0]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x44180d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441878
mov eax, edx
push ecx
push eax
call fcn.004957e1
mov dword [esi + 0x2a6b8], 0
add esp, 8
mov dword [esi + 0x2a6bc], 0
mov dword [esi + 0x2a6c0], 0
lea ecx, [esi + 0x2a6ac]
call fcn.0043dba0
push 0x2a6ec
push esi
call fcn.004957e1
add esp, 8
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004955a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004a37c0
int3