Function at 0x40e520
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 [0x5f94c8]
mov ecx, 0x5f9554
push 0x80e2
mov dword [eax + 0x20], 0
cmp dword [0x5f9568], 0xf
cmova ecx, dword [0x5f9554]
xor edx, edx
call fcn.00431190
add esp, 4
mov ecx, str.Nickelodeon_All_Star_Brawl_2.exe
call fcn.0041a860
test al, al
je 0x40f45b
mov ecx, dword [0x5f94c8]
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.0042b940
mov eax, dword [0x5f94c8]
add esp, 4
mov edx, 1
mov ecx, dword [eax + 0x47c4]
push str.Foreground
mov ecx, dword [ecx]
call fcn.0042b940
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 [0x56ff34]
addss xmm2, xmm0
addss xmm1, xmm0
push eax
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
call fcn.0044a260
call fcn.00402540
mov esi, dword [0x5f94c8]
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.0043e5d0
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.0042e6e0
add esp, 0xc
test al, al
je 0x40e820
mov ecx, dword [0x5f94c8]
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, 0x46f5b4
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x131], 1
addss xmm0, dword [0x56fed8]
movss dword [eax + 0xf0], xmm0
call fcn.00454380
add esp, 4
test al, al
je 0x40e720
mov dword [0x577428], 1
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46f5b8
mov dword [esp + 0x18], 0x420c0000
call fcn.00454380
add esp, 4
test al, al
je 0x40e760
mov dword [0x577428], 2
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x47009c
mov dword [esp + 0x18], 0x420c0000
call fcn.00454380
add esp, 4
test al, al
je 0x40e7a0
mov dword [0x577428], 3
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46f5c4
mov dword [esp + 0x18], 0x420c0000
call fcn.00454380
add esp, 4
test al, al
je 0x40e7e0
mov dword [0x577428], 4
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46f5c8
mov dword [esp + 0x18], 0x420c0000
call fcn.00454380
add esp, 4
test al, al
je 0x40e820
mov dword [0x577428], 5
call fcn.0042e970
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.0042e6e0
add esp, 0xc
test al, al
je 0x40f0e5
mov ecx, dword [0x5f94c8]
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 [0x577428]
cmp eax, 1
jne 0x40e8ae
call fcn.00416810
jmp 0x40f0e5
cmp eax, 2
jne 0x40ed2c
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40e904
mov ecx, 0x46f9a4
mov esi, ecx
cmp esi, 0xffffffff
jae 0x40e8f6
nop
mov dl, byte [ecx]
test dl, dl
je 0x40e8f6
cmp dl, 0x23
jne 0x40e8f0
cmp byte [ecx + 1], dl
je 0x40e8f6
inc ecx
cmp ecx, 0xffffffff
jb 0x40e8e0
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00456190
add esp, 4
push 0x5772d0
push str.Bot_Script
call fcn.00467bd0
cmp byte [0x5772d0], 0
je 0x40e93b
push ecx
push 0x19
push 0x5772e0
push 0x456f50
mov edx, 0x5f9618
mov ecx, 0x46f2ac
call fcn.00456fd0
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 0x5770a0
call fcn.004581f0
mov ecx, dword [0x5f94c8]
add esp, 0x14
mov edi, 0x46e79a
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40e9bc
mov ecx, edi
cmp edi, 0xffffffff
jae 0x40e9ae
mov dl, byte [ecx]
test dl, dl
je 0x40e9ae
cmp dl, 0x23
jne 0x40e9a8
cmp byte [ecx + 1], dl
je 0x40e9ae
inc ecx
cmp ecx, 0xffffffff
jb 0x40e998
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
movss xmm3, dword [0x56fe18]
lea eax, [esp + 0x30]
push ecx
push 0x46f5d8
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0xc
push eax
push 0x5f9454
mov edx, 4
mov dword [esp + 0x40], 0
mov ecx, str.Hours
call fcn.00457570
movss xmm3, dword [0x56fe18]
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 0x46f5d8
push eax
lea eax, [esp + 0x38]
push eax
push 0x5f9400
call fcn.00457570
mov eax, dword [0x5f9454]
add esp, 0x14
test eax, eax
jns 0x40ea46
xor eax, eax
jmp 0x40ea50
mov ecx, 0xc
cmp eax, ecx
cmovg eax, ecx
mov dword [0x5f9454], eax
mov eax, dword [0x5f9400]
test eax, eax
jns 0x40ea62
xor eax, eax
jmp 0x40ea6c
mov ecx, 0x37
cmp eax, ecx
cmovg eax, ecx
push ecx
lea edx, [esp + 0x14]
mov dword [0x5f9400], eax
mov ecx, str.Run_Time
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00454380
add esp, 4
test al, al
je 0x40eadc
mov ecx, dword [0x5f9454]
mov eax, dword [0x5f9400]
shl ecx, 4
sub ecx, dword [0x5f9454]
lea eax, [eax + ecx*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
test ecx, ecx
jle 0x40eadc
lea ecx, [esp + 0x10]
mov byte [0x5f9404], 1
call fcn.00402370
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x5f9458], ecx
mov dword [0x5f945c], eax
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
cmp byte [0x5f9404], 0
je 0x40ebfc
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, str.Cancel_Time
mov dword [esp + 0x18], 0
call fcn.00454380
add esp, 4
test al, al
je 0x40eb2b
mov byte [0x5f9404], 0
jmp 0x40ebfc
cmp byte [0x5f9404], 0
je 0x40ebfc
lea ecx, [esp + 0x10]
call fcn.00402370
mov ecx, dword [0x5f9454]
mov eax, dword [0x5f9400]
mov edx, dword [esp + 0x10]
shl ecx, 4
sub ecx, dword [0x5f9454]
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 [0x5f9458]
sbb eax, dword [0x5f945c]
push eax
push edx
call fcn.0046c170
sub ebx, eax
test ebx, ebx
jg 0x40eb9d
mov ecx, str.Nickelodeon_All_Star_Brawl_2.exe
mov byte [0x5f9404], 0
call fcn.00407a30
jmp 0x40ebfc
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.00453930
add esp, 0x10
call fcn.00433e70
mov ecx, dword [0x5f94c8]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ec54
mov ecx, 0x46e79a
cmp edi, 0xffffffff
jae 0x40ec46
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ec46
cmp dl, 0x23
jne 0x40ec40
cmp byte [ecx + 1], dl
je 0x40ec46
inc ecx
cmp ecx, 0xffffffff
jb 0x40ec30
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
push 0x5f95f5
push str.Run_Script
call fcn.00467bd0
cmp byte [0x5f95f5], 0
je 0x40ec73
mov byte [0x5f95f6], 0
push 0x5f95f6
push str.Run_Bot
call fcn.00467bd0
cmp byte [0x5f95f6], 0
je 0x40ec92
mov byte [0x5f95f5], 0
mov esi, dword [0x5f94c8]
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 0x40ecd9
test al, 4
jne 0x40ecd9
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 0x40f0e5
mov ecx, 0x46e79a
cmp edi, 0xffffffff
jae 0x40ed19
mov dl, byte [ecx]
test dl, dl
je 0x40ed19
cmp dl, 0x23
jne 0x40ed13
cmp byte [ecx + 1], dl
je 0x40ed19
inc ecx
cmp ecx, 0xffffffff
jb 0x40ed03
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
jmp 0x40f0e5
cmp eax, 3
jne 0x40ee49
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ed84
mov ecx, str.CAMPAING
mov esi, ecx
cmp esi, 0xffffffff
jae 0x40ed76
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ed76
cmp dl, 0x23
jne 0x40ed70
cmp byte [ecx + 1], dl
je 0x40ed76
inc ecx
cmp ecx, 0xffffffff
jb 0x40ed60
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00456190
add esp, 4
call fcn.00433e70
push 0x5f9620
push str.Godmode
call fcn.00467bd0
push 0x5f9620
push str.Super_Damage
call fcn.00467bd0
mov esi, dword [0x5f94c8]
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 0x40edee
test al, 4
jne 0x40edee
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 0x40f0e5
mov ecx, 0x46e79a
mov edi, ecx
cmp edi, 0xffffffff
jae 0x40ee36
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ee36
cmp dl, 0x23
jne 0x40ee30
cmp byte [ecx + 1], dl
je 0x40ee36
inc ecx
cmp ecx, 0xffffffff
jb 0x40ee20
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
jmp 0x40f0e5
cmp eax, 4
jne 0x40f0db
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40eea4
mov ecx, str.Controls
mov esi, ecx
cmp esi, 0xffffffff
jae 0x40ee96
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x40ee96
cmp dl, 0x23
jne 0x40ee90
cmp byte [ecx + 1], dl
je 0x40ee96
inc ecx
cmp ecx, 0xffffffff
jb 0x40ee80
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00456190
add esp, 4
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
mov ebx, eax
xor esi, esi
mov edi, 0x46e79a
test ebx, ebx
je 0x40ef83
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 0x40ef7a
push esi
push str.Game_Device__d:
call fcn.00453930
lea eax, [esp + 0x44]
push eax
push str.Name:__s
call fcn.00453930
lea eax, [esp + 0x118]
push eax
push str.Manufacturer:__s
call fcn.00453930
push dword [esp + 0xac]
push str.Number_of_Buttons:__d
call fcn.00453930
push dword [esp + 0xe0]
push str.Number_of_Axes:__d
call fcn.00453930
mov ecx, dword [0x5f94c8]
add esp, 0x28
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40ef7a
mov ecx, 0x46e79a
cmp edi, 0xffffffff
jae 0x40ef6c
mov dl, byte [ecx]
test dl, dl
je 0x40ef6c
cmp dl, 0x23
jne 0x40ef66
cmp byte [ecx + 1], dl
je 0x40ef6c
inc ecx
cmp ecx, 0xffffffff
jb 0x40ef56
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
inc esi
cmp esi, ebx
jb 0x40eec0
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 0x40f00c
push esi
push str.Device__d:
call fcn.00453930
push str.Is_Connected:_Yes
call fcn.00453930
mov ecx, dword [0x5f94c8]
add esp, 0xc
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40f00c
mov ecx, 0x46e79a
cmp edi, 0xffffffff
jae 0x40effe
mov dl, byte [ecx]
test dl, dl
je 0x40effe
cmp dl, 0x23
jne 0x40eff8
cmp byte [ecx + 1], dl
je 0x40effe
inc ecx
cmp ecx, 0xffffffff
jb 0x40efe8
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
inc esi
cmp esi, 4
jb 0x40ef90
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x42be0000
mov ecx, 0x5f8588
mov dword [esp + 0x14], 0x41e00000
call fcn.00405fc0
call fcn.00433e70
push 0x5f9620
push str.Record_keys
call fcn.00467bd0
mov esi, dword [0x5f94c8]
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 0x40f08f
test al, 4
jne 0x40f08f
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 0x40f0e5
mov ecx, 0x46e79a
cmp edi, 0xffffffff
jae 0x40f0cb
mov dl, byte [ecx]
test dl, dl
je 0x40f0cb
cmp dl, 0x23
jne 0x40f0c5
cmp byte [ecx + 1], dl
je 0x40f0cb
inc ecx
cmp ecx, 0xffffffff
jb 0x40f0b5
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00456190
add esp, 4
jmp 0x40f0e5
cmp eax, 5
jne 0x40f0e5
call fcn.00415500
call fcn.0042e970
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.0042e6e0
add esp, 0xc
test al, al
je 0x40f44a
mov esi, dword [0x5f94c8]
movss xmm3, dword [0x56ff54]
push 0
push 0
mov eax, dword [esi + 0x3e48]
push str.License:Guest_____.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 [0x56fedc]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
mulss xmm1, dword [0x56fdd8]
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.0044e0b0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x56fe10]
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 [0x56fdd8]
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
lea eax, [esp + 0x14]
movaps xmm0, xmmword [0x5700e0]
push eax
movups xmmword [esp + 0x18], xmm0
call fcn.004539f0
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push str.Guest
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 0xc
xorps xmm0, xmm0
call fcn.00436930
movaps xmm0, xmmword [0x5700e0]
lea eax, [esp + 0x10]
movups xmmword [esp + 0x10], xmm0
sub esp, 8
movss xmm0, dword [0x56fed0]
divss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.____.0f
push eax
call fcn.004539f0
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push 0x46f934
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 0x14
xorps xmm0, xmm0
call fcn.00436930
movaps xmm0, xmmword [0x5700e0]
lea eax, [esp + 0x10]
sub esp, 8
movups xmmword [esp + 0x18], xmm0
movsd xmm0, qword [0x56fe70]
movsd qword [esp], xmm0
push str.____.f
push eax
call fcn.004539f0
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push 0x46f940
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 0x14
xorps xmm0, xmm0
call fcn.00436930
push 0x46f944
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 4
xorps xmm0, xmm0
call fcn.00436930
movaps xmm0, xmmword [0x5700e0]
lea eax, [esp + 0x10]
push str.HideMenu
push eax
movups xmmword [esp + 0x18], xmm0
call fcn.004539f0
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
push 0x46f958
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 0xc
xorps xmm0, xmm0
call fcn.00436930
push 0x46f95c
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 4
xorps xmm0, xmm0
call fcn.00436930
push str.PGDN
call fcn.00453930
movss xmm1, dword [0x56ff78]
add esp, 4
xorps xmm0, xmm0
call fcn.00436930
push 0x46f968
call fcn.00453930
mov ecx, dword [0x5f94c8]
add esp, 4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40f40f
movss xmm1, dword [0x56ff78]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004365a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x42200000
mov ecx, 0x46f96c
mov dword [esp + 0x18], 0x41f00000
call fcn.00454380
add esp, 4
test al, al
jne 0x40f45b
movss xmm1, dword [0x56ff78]
xorps xmm0, xmm0
call fcn.00436930
call fcn.004062f0
call fcn.0042e970
call fcn.004336c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00407a00
int3