Function at 0x41fe70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x64
push 0x400183
push 0x400183
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x41fe8f
xor eax, eax
add esp, 0x64
ret 0x10
mov eax, dword [esp + 0x68]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0xb0
push 0
mov dword [0x4aac84], eax
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], 0x400183
mov dword [esp + 0x48], 0x41f6a0
mov dword [esp + 0x44], 3
call esi
push 0x7f00
push 0
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x58], eax
mov eax, dword [0x4aac84]
push 0xb0
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call esi
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x41ff2f
xor eax, eax
pop esi
add esp, 0x64
ret 0x10
push ebx
push edi
push 0x258
push 0x320
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 0x80ca0000
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ecx, dword [0x4aac84]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0
push ecx
push 0
push 0
push edx
push eax
push DirectSoundCreate
push DirectSoundCreate
push 0x92ca0000
push 0x400183
push 0x400183
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [0x4aac80], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call edi
push 0xa
push ebx
mov esi, eax
call edi
mov ecx, dword [0x4aac80]
push ebx
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov edx, dword [0x4aac80]
push 1
push eax
push ecx
sar eax, 1
shr edi, 1
sub edi, eax
sar ecx, 1
push edi
shr esi, 1
sub esi, ecx
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x80]
mov ecx, dword [0x4aac80]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4aac80]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4aac80]
mov ecx, dword [0x4aac84]
push eax
push ecx
mov ecx, 0x4aac88
call fcn.00403450
cmp eax, 4
ja case.0x42003d.3
jmp dword [eax*4 + 0x42015c]
push 8
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [0x4b3108], eax
lea esp, [esp]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call esi
test eax, eax
je 0x4200aa
cmp dword [esp + 0x28], 0x12
je 0x4200e4
lea edx, [esp + 0x24]
push edx
call edi
lea eax, [esp + 0x24]
push eax
call ebx
jmp 0x420080
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [eax - 0x10]
cmp ecx, dword [0x4b3108]
jb 0x4200da
mov ecx, 0x4aac88
mov dword [0x4b3108], eax
call fcn.004057e0
test eax, eax
je 0x4200e4
mov ecx, 0x4aac88
call fcn.00405ba0
jmp 0x420080
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x420080
mov ecx, 0x4aac88
call fcn.004038d0
mov eax, dword [esp + 0x2c]
pop edi
pop ebx
pop esi
add esp, 0x64
ret 0x10
push 0x483ab4
call fcn.0041fe50
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x64
ret 0x10
push 0x483a9c
call fcn.0041fe50
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x64
ret 0x10
push 0x483a7c
call fcn.0041fe50
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x64
ret 0x10
push 0x483a6c
call fcn.0041fe50
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x64
ret 0x10