Function at 0x40e340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x304
push ebx
push esi
push edi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5f5420]
mov ecx, 0x5f54ac
push 0x80e2
mov dword [eax + 0x20], 0
cmp dword [0x5f54c0], 0xf
cmova ecx, dword [0x5f54ac]
xor edx, edx
call fcn.0042de00
add esp, 4
mov ecx, str.Nickelodeon_All_Star_Brawl_2.exe
call fcn.00419af0
test al, al
je 0x40f27b
mov ecx, dword [0x5f5420]
xor edx, edx
push str.Background
mov eax, dword [ecx + 0x3e48]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x18]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, dword [ecx + 0x47c4]
movss dword [esp + 0x34], xmm0
mov esi, dword [eax + 0x264]
mov ecx, dword [ecx]
call fcn.004285b0
mov eax, dword [0x5f5420]
add esp, 4
mov edx, 1
mov ecx, dword [eax + 0x47c4]
push str.Foreground
mov ecx, dword [ecx]
call fcn.004285b0
movss xmm2, dword [esp + 0x30]
lea eax, [esp + 0x34]
movss xmm1, dword [esp + 0x34]
movaps xmm0, xmm2
xorps xmm3, xmm3
add esp, 4
addss xmm0, xmm3
mov ecx, esi
push 0xff000000
push 0xff190037
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
push 0xff1a1888
push 0xff000000
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x56cbdc]
addss xmm2, xmm0
addss xmm1, xmm0
push eax
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
call fcn.00446ed0
call fcn.00402540
mov esi, dword [0x5f5420]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
movss xmm0, dword [esi + 0x3788]
lea ecx, [esi + 0x4764]
movss dword [esp + 0x18], xmm0
call fcn.0043b250
push 0
push ecx
lea eax, [esp + 0x18]
mov dword [esi + 0x3788], 0x3f4ccccd
push eax
mov edx, 1
mov dword [esp + 0x1c], 0x43eb0000
xor ecx, ecx
mov dword [esp + 0x20], 0x43c80000
call fcn.0042b350
add esp, 0xc
test al, al
je 0x40e640
mov ecx, dword [0x5f5420]
lea edx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x428c0000
mov dword [esp + 0x18], 0x420c0000
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, 0x46c418
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x131], 1
addss xmm0, dword [0x56cb80]
movss dword [eax + 0xf0], xmm0
call fcn.00451000
add esp, 4
test al, al
je 0x40e540
mov dword [0x573428], 1
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46c41c
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x40e580
mov dword [0x573428], 2
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46cf3c
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x40e5c0
mov dword [0x573428], 3
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46c428
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x40e600
mov dword [0x573428], 4
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46c42c
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x40e640
mov dword [0x573428], 5
call fcn.0042b5e0
push 0
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x43eb0000
push eax
mov edx, 1
mov dword [esp + 0x20], 0x43c80000
xor ecx, ecx
call fcn.0042b350
add esp, 0xc
test al, al
je 0x40ef05
mov ecx, dword [0x5f5420]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
movss xmm0, dword [ecx + 0x37f4]
addss xmm0, dword [eax + 0x134]
movss dword [eax + 0x134], xmm0
addss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0x138]
movss dword [eax + 0xf0], xmm0
mov eax, dword [0x573428]
cmp eax, 1
jne 0x40e6ce
call fcn.00416620
jmp 0x40ef05
cmp eax, 2
jne 0x40eb4c
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40e724
mov ecx, 0x46c808
mov esi, ecx
cmp esi, 0xffffffff
jae 0x40e716
nop
mov dl, byte [ecx]
test dl, dl
je 0x40e716
cmp dl, 0x23
jne 0x40e710
cmp byte [ecx + 1], dl
je 0x40e716
inc ecx
cmp ecx, 0xffffffff
jb 0x40e700
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
push 0x5732d0
push str.Bot_Script
call fcn.00464840
cmp byte [0x5732d0], 0
je 0x40e75b
push ecx
push 0x19
push 0x5732e0
push 0x453bd0
mov edx, 0x5f5570
mov ecx, 0x46c26c
call fcn.00453c50
add esp, 0x10
sub esp, 8
mov dword [esp + 0x38], 0x50
lea eax, [esp + 0x38]
mov dword [esp + 0x34], 0xa
mov ecx, str.Delay
push eax
lea eax, [esp + 0x38]
push eax
push 0x5730a0
call fcn.00454e70
mov ecx, dword [0x5f5420]
add esp, 0x14
mov edi, 0x46b75a
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40e7dc
mov ecx, edi
cmp edi, 0xffffffff
jae 0x40e7ce
mov dl, byte [ecx]
test dl, dl
je 0x40e7ce
cmp dl, 0x23
jne 0x40e7c8
cmp byte [ecx + 1], dl
je 0x40e7ce
inc ecx
cmp ecx, 0xffffffff
jb 0x40e7b8
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
movss xmm3, dword [0x56cac0]
lea eax, [esp + 0x30]
push ecx
push 0x46c43c
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0xc
push eax
push 0x5f53ac
mov edx, 4
mov dword [esp + 0x40], 0
mov ecx, str.Hours
call fcn.004541f0
movss xmm3, dword [0x56cac0]
lea eax, [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x34], 0x37
mov edx, 4
mov dword [esp + 0x30], 0
mov ecx, str.Minutes
push 0x46c43c
push eax
lea eax, [esp + 0x38]
push eax
push 0x5f5358
call fcn.004541f0
mov eax, dword [0x5f53ac]
add esp, 0x14
test eax, eax
jns 0x40e866
xor eax, eax
jmp 0x40e870
mov ecx, 0xc
cmp eax, ecx
cmovg eax, ecx
mov dword [0x5f53ac], eax
mov eax, dword [0x5f5358]
test eax, eax
jns 0x40e882
xor eax, eax
jmp 0x40e88c
mov ecx, 0x37
cmp eax, ecx
cmovg eax, ecx
push ecx
lea edx, [esp + 0x14]
mov dword [0x5f5358], eax
mov ecx, str.Run_Time
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00451000
add esp, 4
test al, al
je 0x40e8fc
mov ecx, dword [0x5f53ac]
mov eax, dword [0x5f5358]
shl ecx, 4
sub ecx, dword [0x5f53ac]
lea eax, [eax + ecx*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
test ecx, ecx
jle 0x40e8fc
lea ecx, [esp + 0x10]
mov byte [0x5f535c], 1
call fcn.00402370
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x5f53b0], ecx
mov dword [0x5f53b4], eax
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
cmp byte [0x5f535c], 0
je 0x40ea1c
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, str.Cancel_Time
mov dword [esp + 0x18], 0
call fcn.00451000
add esp, 4
test al, al
je 0x40e94b
mov byte [0x5f535c], 0
jmp 0x40ea1c
cmp byte [0x5f535c], 0
je 0x40ea1c
lea ecx, [esp + 0x10]
call fcn.00402370
mov ecx, dword [0x5f53ac]
mov eax, dword [0x5f5358]
mov edx, dword [esp + 0x10]
shl ecx, 4
sub ecx, dword [0x5f53ac]
push 0
push 0x3b9aca00
lea eax, [eax + ecx*4]
mov ebx, eax
shl ebx, 4
sub ebx, eax
mov eax, dword [esp + 0x1c]
shl ebx, 2
sub edx, dword [0x5f53b0]
sbb eax, dword [0x5f53b4]
push eax
push edx
call fcn.00468dc0
sub ebx, eax
test ebx, ebx
jg 0x40e9bd
mov ecx, str.Nickelodeon_All_Star_Brawl_2.exe
mov byte [0x5f535c], 0
call fcn.00407830
jmp 0x40ea1c
mov eax, 0x91a2b3c5
imul ebx
mov eax, 0x88888889
add edx, ebx
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ebx
mov eax, 0x88888889
add edx, ebx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, ebx
shl edx, 2
sub ecx, edx
push ecx
imul ecx, esi, 0xe10
sub ebx, ecx
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
push str.Remaining_Time_To_Close:__02d:_02d:_02d
call fcn.004505b0
add esp, 0x10
call fcn.00430ae0
mov ecx, dword [0x5f5420]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ea74
mov ecx, 0x46b75a
cmp edi, 0xffffffff
jae 0x40ea66
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ea66
cmp dl, 0x23
jne 0x40ea60
cmp byte [ecx + 1], dl
je 0x40ea66
inc ecx
cmp ecx, 0xffffffff
jb 0x40ea50
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
push 0x5f554d
push str.Run_Script
call fcn.00464840
cmp byte [0x5f554d], 0
je 0x40ea93
mov byte [0x5f554e], 0
push 0x5f554e
push str.Run_Bot
call fcn.00464840
cmp byte [0x5f554e], 0
je 0x40eab2
mov byte [0x5f554d], 0
mov esi, dword [0x5f5420]
mov edx, dword [esi + 0x46a0]
dec dword [esi + 0x4788]
dec word [esi + 0x5a04]
mov ecx, dword [esi + 0x4788]
mov eax, dword [esi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x46a0], eax
test dl, 1
je 0x40eaf9
test al, 4
jne 0x40eaf9
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov eax, dword [esi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ef05
mov ecx, 0x46b75a
cmp edi, 0xffffffff
jae 0x40eb39
mov dl, byte [ecx]
test dl, dl
je 0x40eb39
cmp dl, 0x23
jne 0x40eb33
cmp byte [ecx + 1], dl
je 0x40eb39
inc ecx
cmp ecx, 0xffffffff
jb 0x40eb23
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
jmp 0x40ef05
cmp eax, 3
jne 0x40ec69
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40eba4
mov ecx, str.CAMPAING
mov esi, ecx
cmp esi, 0xffffffff
jae 0x40eb96
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x40eb96
cmp dl, 0x23
jne 0x40eb90
cmp byte [ecx + 1], dl
je 0x40eb96
inc ecx
cmp ecx, 0xffffffff
jb 0x40eb80
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
call fcn.00430ae0
push 0x5f5578
push str.Godmode
call fcn.00464840
push 0x5f5578
push str.Super_Damage
call fcn.00464840
mov esi, dword [0x5f5420]
mov edx, dword [esi + 0x46a0]
dec dword [esi + 0x4788]
dec word [esi + 0x5a04]
mov ecx, dword [esi + 0x4788]
mov eax, dword [esi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x46a0], eax
test dl, 1
je 0x40ec0e
test al, 4
jne 0x40ec0e
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov eax, dword [esi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ef05
mov ecx, 0x46b75a
mov edi, ecx
cmp edi, 0xffffffff
jae 0x40ec56
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ec56
cmp dl, 0x23
jne 0x40ec50
cmp byte [ecx + 1], dl
je 0x40ec56
inc ecx
cmp ecx, 0xffffffff
jb 0x40ec40
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
jmp 0x40ef05
cmp eax, 4
jne 0x40eefb
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ecc4
mov ecx, str.Controls
mov esi, ecx
cmp esi, 0xffffffff
jae 0x40ecb6
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ecb6
cmp dl, 0x23
jne 0x40ecb0
cmp byte [ecx + 1], dl
je 0x40ecb6
inc ecx
cmp ecx, 0xffffffff
jb 0x40eca0
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
mov ebx, eax
xor esi, esi
mov edi, 0x46b75a
test ebx, ebx
je 0x40eda3
nop dword [eax + eax]
push 0x2d8
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.WINMM.dll_joyGetDevCapsW]
test eax, eax
jne 0x40ed9a
push esi
push str.Game_Device__d:
call fcn.004505b0
lea eax, [esp + 0x44]
push eax
push str.Name:__s
call fcn.004505b0
lea eax, [esp + 0x118]
push eax
push str.Manufacturer:__s
call fcn.004505b0
push dword [esp + 0xac]
push str.Number_of_Buttons:__d
call fcn.004505b0
push dword [esp + 0xe0]
push str.Number_of_Axes:__d
call fcn.004505b0
mov ecx, dword [0x5f5420]
add esp, 0x28
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ed9a
mov ecx, 0x46b75a
cmp edi, 0xffffffff
jae 0x40ed8c
mov dl, byte [ecx]
test dl, dl
je 0x40ed8c
cmp dl, 0x23
jne 0x40ed86
cmp byte [ecx + 1], dl
je 0x40ed8c
inc ecx
cmp ecx, 0xffffffff
jb 0x40ed76
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
inc esi
cmp esi, ebx
jb 0x40ece0
mov ebx, dword [sym.imp.XINPUT1_3.dll_Ordinal_2]
xor esi, esi
nop dword [eax + eax]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push esi
movaps xmmword [esp + 0x18], xmm0
call ebx
test eax, eax
jne 0x40ee2c
push esi
push str.Device__d:
call fcn.004505b0
push str.Is_Connected:_Yes
call fcn.004505b0
mov ecx, dword [0x5f5420]
add esp, 0xc
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ee2c
mov ecx, 0x46b75a
cmp edi, 0xffffffff
jae 0x40ee1e
mov dl, byte [ecx]
test dl, dl
je 0x40ee1e
cmp dl, 0x23
jne 0x40ee18
cmp byte [ecx + 1], dl
je 0x40ee1e
inc ecx
cmp ecx, 0xffffffff
jb 0x40ee08
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
inc esi
cmp esi, 4
jb 0x40edb0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x42be0000
mov ecx, 0x5f4588
mov dword [esp + 0x14], 0x41e00000
call fcn.00405fc0
call fcn.00430ae0
push 0x5f5578
push str.Record_keys
call fcn.00464840
mov esi, dword [0x5f5420]
mov edx, dword [esi + 0x46a0]
dec dword [esi + 0x4788]
dec word [esi + 0x5a04]
mov ecx, dword [esi + 0x4788]
mov eax, dword [esi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x46a0], eax
test dl, 1
je 0x40eeaf
test al, 4
jne 0x40eeaf
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov eax, dword [esi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ef05
mov ecx, 0x46b75a
cmp edi, 0xffffffff
jae 0x40eeeb
mov dl, byte [ecx]
test dl, dl
je 0x40eeeb
cmp dl, 0x23
jne 0x40eee5
cmp byte [ecx + 1], dl
je 0x40eeeb
inc ecx
cmp ecx, 0xffffffff
jb 0x40eed5
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
jmp 0x40ef05
cmp eax, 5
jne 0x40ef05
call fcn.00415310
call fcn.0042b5e0
push 0
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x43eb0000
push eax
mov edx, 3
mov dword [esp + 0x20], 0x42a00000
xor ecx, ecx
call fcn.0042b350
add esp, 0xc
test al, al
je 0x40f26a
mov esi, dword [0x5f5420]
movss xmm3, dword [0x56cbfc]
push 0
push 0
mov eax, dword [esi + 0x3e48]
push str.License:N_A_____.f_MS_____.f_FPS_____HideMenu______PGDN___
push ecx
mov dword [esp], 0xbf800000
movss xmm0, dword [eax + 0xf4]
movss xmm1, dword [eax + 0x22c]
movaps xmm2, xmm0
subss xmm2, dword [eax + 0x18]
subss xmm1, xmm0
addss xmm2, dword [eax + 0x7c]
subss xmm1, dword [0x56cb84]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
mulss xmm1, dword [0x56ca80]
mov byte [eax + 0x131], 1
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x7c]
addss xmm2, xmm1
addss xmm0, xmm2
movss dword [eax + 0xf4], xmm0
lea eax, [esp + 0x20]
movss xmm0, dword [esi + 0xa0]
movss xmm2, dword [esi + 0x3bb8]
mov ecx, dword [esi + 0x3bb4]
push eax
movss dword [esp + 0x44], xmm0
call fcn.0044ad20
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x56cab8]
mov ecx, dword [esi + 0x3e48]
push str.License:
movss xmm1, dword [ecx + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
subss xmm1, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x131], 1
mulss xmm1, dword [0x56ca80]
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
lea eax, [esp + 0x14]
movaps xmm0, xmmword [0x56cd80]
push eax
movups xmmword [esp + 0x18], xmm0
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c78c
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0xc
xorps xmm0, xmm0
call fcn.004335a0
movaps xmm0, xmmword [0x56cd80]
lea eax, [esp + 0x10]
movups xmmword [esp + 0x10], xmm0
sub esp, 8
movss xmm0, dword [0x56cb78]
divss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.____.0f
push eax
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c798
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0x14
xorps xmm0, xmm0
call fcn.004335a0
movaps xmm0, xmmword [0x56cd80]
lea eax, [esp + 0x10]
sub esp, 8
movups xmmword [esp + 0x18], xmm0
movsd xmm0, qword [0x56cb18]
movsd qword [esp], xmm0
push str.____.f
push eax
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7a4
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0x14
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7a8
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 4
xorps xmm0, xmm0
call fcn.004335a0
movaps xmm0, xmmword [0x56cd80]
lea eax, [esp + 0x10]
push str.HideMenu
push eax
movups xmmword [esp + 0x18], xmm0
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7bc
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0xc
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7c0
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 4
xorps xmm0, xmm0
call fcn.004335a0
push str.PGDN
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 4
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7cc
call fcn.004505b0
mov ecx, dword [0x5f5420]
add esp, 4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40f22f
movss xmm1, dword [0x56cc20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00433210
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x42200000
mov ecx, 0x46c7d0
mov dword [esp + 0x18], 0x41f00000
call fcn.00451000
add esp, 4
test al, al
jne 0x40f27b
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
call fcn.004062f0
call fcn.0042b5e0
call fcn.00430330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00407800
int3