Function at 0x4412f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x438
mov eax, dword [0x4eac74]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x4d1c14
push 0x4d1c18
mov dword [esp + 0x14], eax
mov dword [0x4ffd58], 0
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x44136b
lea eax, [esp + 8]
push eax
push 0x4d1c20
push esi
call fcn.00430f50
add esp, 0xc
push esi
call fcn.004a3d23
mov eax, dword [0x4ffd58]
add esp, 4
cmp dword [esp + 8], 0
mov ecx, 1
cmove eax, ecx
mov dword [0x4ffd58], eax
push 0x4d1c24
push 0x4d1c28
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x441397
push 0x4d1c30
push esi
call fcn.00430f00
push esi
call fcn.004a3d23
add esp, 0xc
cmp dword [0x4ffd58], 0
je 0x44141a
push 0x4d1c34
push 0x4d1c38
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x44141a
lea eax, [esp + 0x38]
push 0x400
push eax
call fcn.004a3f11
movsd xmm0, qword [0x4dff28]
lea eax, [esp + 0x40]
add esp, 8
push eax
sub esp, 8
movsd qword [esp], xmm0
push 0x4d2f8c
push str.Autolog_for__s_v_f____s_
push esi
call fcn.00430f00
lea eax, [esp + 0x50]
push 0x400
push eax
call fcn.004a3e50
lea eax, [esp + 0x58]
push eax
push str._s_n_n
push esi
call fcn.00430f00
add esp, 0x2c
push esi
call fcn.004a3d23
add esp, 4
push str.blademistress.dyndns.org
push 0x4ffd80
call fcn.00440ca0
mov ecx, dword [esp + 0x14]
mov byte [0x500c90], 0
mov byte [0x500d20], 0
call fcn.00440cf0
push 0x2a80c
call fcn.00495af1
mov esi, eax
add esp, 0xc
mov dword [0x5015fc], 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], 0x4d2394
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], 0x4df770
call fcn.00495af1
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], 0x4d2c0c
mov dword [esi + 0x2a58c], 1
mov dword [esi + 0x2a690], 0x1e
call fcn.00498510
add esp, 0xc
mov dword [esi + 0x2a6a0], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.004a3b71
mov eax, dword [0x4ebc04]
xorps xmm0, xmm0
mov dword [esi + 0x2a69c], 0xffffff9c
add esp, 4
mov dword [esi + 0x2a698], 0xffffff9c
movups xmmword [esi + 0x2a63c], xmm0
mov dword [0x4ffd6c], 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 [0x4ebc00]
push dword [0x4ffd74]
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.0043ba70
test al, al
je 0x441a5f
mov ecx, dword [0x4ffd6c]
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.00403f78
mov eax, dword [0x4ffd6c]
mov ecx, dword [eax + 0x2a3d8]
mov edi, dword [eax + 0x2a68c]
mov dword [esp + 8], ecx
mov esi, dword [ecx]
mov ecx, edi
call fcn.0043db00
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 [0x4ffd6c]
push str.Blade_Mistress
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x4ffd6c]
push dword [ebp + 0x14]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4ffd6c]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4ffd6c]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_SetFocus]
push 7
push 0x4d2fbc
push 0
call fcn.0043c1c0
push 0xe
push 0x4d2fc4
push 1
call fcn.0043c1c0
push 0xa
push str.Verdana
push 2
call fcn.0043c1c0
push 0x1f8
call fcn.00495af1
push ecx
mov ecx, eax
call fcn.00466c00
push eax
mov ecx, 0x4fd788
mov dword [0x4ffd64], eax
call fcn.00434e20
mov ecx, dword [0x4ffd64]
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.0043c280
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 0x4417f7
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 0x441a54
cmp dword [0x4ffd64], 0
je 0x441a54
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
sub eax, 0x19
cmp dword [0x4ffe00], eax
jae 0x441a54
call esi
mov dword [0x4ffe00], eax
mov eax, dword [0x4ffd6c]
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 0x441957
cmp edi, 0x88760868
jne 0x441854
jmp 0x441959
cmp edi, 0x88760869
jne 0x441959
mov eax, dword [0x4ffd6c]
mov esi, 0x2a63c
nop word [eax + eax]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x441881
call fcn.004393d0
mov eax, dword [0x4ffd6c]
add esi, 4
cmp esi, 0x2a68c
jl 0x441870
mov ecx, dword [eax + 0x2a3d8]
add eax, 0x2a398
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
js 0x441945
cmp dword [0x4ffd58], 0
je 0x4418db
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x4418db
push 0x4d2f70
push esi
call fcn.00430f00
push esi
call fcn.004a3d23
add esp, 0xc
mov eax, dword [0x4ffd6c]
mov esi, 0x2a63c
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x4418f6
call fcn.00439160
mov eax, dword [0x4ffd6c]
add esi, 4
cmp esi, 0x2a68c
jl 0x4418e5
mov eax, dword [eax + 0x2a3d8]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x4ffd6c]
push 1
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [0x4ffd64]
test ecx, ecx
je 0x441941
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [0x4ffd64]
xor edi, edi
jmp 0x44195f
push 0
push 0
push 0x10
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x441959
xor edi, edi
mov ecx, dword [0x4ffd64]
cmp dword [0x4ffd7c], 0
jne 0x441a54
test edi, edi
jne 0x441a54
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x4ffd64]
mov eax, dword [ecx + 0x108]
sub eax, 1
je 0x4419e2
sub eax, 1
jne 0x441a54
call fcn.00434fc0
mov ecx, dword [0x4ffd64]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x4ffd64]
test ecx, ecx
je 0x4419b3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x4ffd68]
test eax, eax
je 0x4419c7
push eax
mov ecx, 0x4fd788
call fcn.00434e20
mov ecx, 0x4fd788
call fcn.00434de0
test eax, eax
jne 0x441a2b
push eax
push 0x4d2fe8
push str.No_game_mode_on_stack__expected_one_
jmp 0x441a09
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [0x4ffd68]
test eax, eax
je 0x4419fd
push eax
mov ecx, 0x4fd788
call fcn.00434e20
jmp 0x441a2b
push 0
push str.Game_Failure
push str.No_new_game_mode__expected_one_
mov eax, dword [0x4ffd6c]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x4ffd6c]
push dword [eax + 0x2a3cc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 0x4fd788
call fcn.00434de0
mov dword [0x4ffd64], eax
test eax, eax
je 0x441a54
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
mov eax, dword [0x4ffd64]
mov dword [eax + 0x108], 0
cmp dword [esp + 0x14], 0x12
jne 0x4417c0
cmp dword [0x4fd794], 0
je 0x441a79
mov eax, dword [0x4fd78c]
mov eax, dword [eax]
mov dword [0x4fd790], eax
mov ecx, dword [eax + 8]
jmp 0x441a7b
xor ecx, ecx
mov dword [0x4ffd64], ecx
test ecx, ecx
je 0x441b1c
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x4ffd64]
test ecx, ecx
je 0x441b1c
nop dword [eax]
cmp dword [0x4fd794], 0
je 0x441aec
mov eax, dword [0x4fd78c]
mov eax, dword [eax]
mov dword [0x4fd790], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x441aec
mov esi, dword [eax]
mov eax, dword [eax + 4]
push 0xc
mov dword [esi + 4], eax
mov eax, dword [0x4fd790]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
push dword [0x4fd790]
call fcn.00495b21
mov ecx, dword [0x4ffd64]
add esp, 8
mov dword [0x4fd790], esi
test ecx, ecx
je 0x441af6
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [0x4fd794], 0
je 0x441b10
mov eax, dword [0x4fd78c]
mov eax, dword [eax]
mov dword [0x4fd790], eax
mov ecx, dword [eax + 8]
jmp 0x441b12
xor ecx, ecx
mov dword [0x4ffd64], ecx
test ecx, ecx
jne 0x441aa0
call fcn.0043bef0
mov esi, dword [0x4ffd6c]
test esi, esi
je 0x441ba6
lea ecx, [esi + 0x2a6d0]
call fcn.00434d60
mov eax, dword [esi + 0x2a6c4]
test eax, eax
je 0x441b8d
mov ecx, dword [esi + 0x2a6cc]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x441b65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441bc6
mov eax, edx
push ecx
push eax
call fcn.00495b21
mov dword [esi + 0x2a6c4], 0
add esp, 8
mov dword [esi + 0x2a6c8], 0
mov dword [esi + 0x2a6cc], 0
lea ecx, [esi + 0x2a6b8]
call fcn.0043e080
push 0x2a80c
push esi
call fcn.00495b21
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.004958e0
mov esp, ebp
pop ebp
ret 0x10
call fcn.004a3b00
int3