Function at 0x4c2b90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52485c
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x55b598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004c2840
mov ebx, eax
test ebx, ebx
je 0x4c30a5
push str.gemCost
lea ecx, [ebp - 0x28]
call fcn.00401a60
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0040e180
mov ecx, eax
call fcn.00422420
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [eax]
call fcn.00401c10
push str.Gems
lea ecx, [ebp - 0x58]
call fcn.00401a60
mov dword [ebp - 4], 1
test edi, edi
jns 0x4c2c2d
push str.Growtokens
lea ecx, [ebp - 0x58]
neg edi
call fcn.00401ce0
test edi, edi
je 0x4c309d
cmp byte [0x560fc8], 0
je 0x4c2e46
push str.displayName
lea ecx, [ebp - 0x40]
call fcn.00401a60
push str.StoreMenu
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x11c], esp
push 0x5285e4
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x120], esp
push 0x5285e4
call fcn.00401a60
push 1
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x124], esp
push str._wBuy
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x128], esp
push str.OnStoreBuyConfirm
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x12c], esp
push str._wCancel
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x130], esp
push str.cancel
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x5285e4
call fcn.00401a60
movd xmm0, edi
lea eax, [ebp - 0xe8]
cvtdq2pd xmm0, xmm0
push 0
sub esp, 8
mov byte [ebp - 4], 0xa
movsd qword [esp], xmm0
push eax
call fcn.00493260
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
mov ecx, ebx
call fcn.0040e180
mov ecx, eax
call fcn.0040e170
push eax
push str.Buy
lea eax, [ebp - 0xd0]
push eax
call fcn.00416310
push str._for___
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
push eax
call fcn.004186e0
push esi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
call fcn.00442ee0
push 0x53339c
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
call fcn.004186e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004024c0
add esp, 0x24
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x533398
push eax
push ecx
call fcn.004186e0
add esp, 0xc
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
push eax
call fcn.00406da0
mov ecx, eax
call fcn.004178c0
mov ecx, eax
call fcn.004179a0
push eax
mov byte [ebp - 4], 0x17
call fcn.004beb90
add esp, 0xc8
lea ecx, [ebp - 0x88]
call fcn.00401c10
lea ecx, [ebp - 0x70]
call fcn.00401c10
lea ecx, [ebp - 0xa0]
call fcn.00401c10
lea ecx, [ebp - 0xb8]
call fcn.00401c10
lea ecx, [ebp - 0xd0]
call fcn.00401c10
lea ecx, [ebp - 0xe8]
call fcn.00401c10
lea ecx, [ebp - 0x28]
call fcn.00401c10
lea ecx, [ebp - 0x40]
jmp 0x4c3098
push str.description
lea ecx, [ebp - 0x88]
call fcn.00401a60
push str.displayName
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00401a60
push str.StoreMenu
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x88]
mov dword [ebp - 0x138], esp
mov esi, esp
mov ecx, ebx
push eax
call fcn.0040e180
mov ecx, eax
call fcn.0040e170
push eax
mov ecx, esi
call fcn.00401a10
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x5285e4
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0x5285e4
call fcn.00401a60
push 1
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x12c], esp
push str._wBuy
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x128], esp
push str.OnStoreBuyConfirm
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x124], esp
push str._wCancel
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x120], esp
push str.cancel
call fcn.00401a60
sub esp, 0x18
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x11c], esp
push 0x5285e4
call fcn.00401a60
mov byte [ebp - 4], 0x22
push 0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x118]
movsd qword [esp], xmm0
push eax
call fcn.00493260
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x23
push eax
mov ecx, ebx
call fcn.0040e180
mov ecx, eax
call fcn.0040e170
push eax
lea eax, [ebp - 0x100]
push str.Buy
push eax
call fcn.00416310
push str._for___
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x24
push eax
call fcn.004186e0
push esi
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x25
push eax
call fcn.00442ee0
push 0x53339c
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x26
push eax
call fcn.004186e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x27
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004024c0
add esp, 0x24
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x533398
push eax
push ecx
call fcn.004186e0
add esp, 0xc
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x40]
push eax
call fcn.00406da0
mov ecx, eax
call fcn.004178c0
mov ecx, eax
call fcn.004179a0
push eax
mov byte [ebp - 4], 0x2f
call fcn.004bed00
add esp, 0xe0
lea ecx, [ebp - 0xe8]
call fcn.00401c10
lea ecx, [ebp - 0xd0]
call fcn.00401c10
lea ecx, [ebp - 0xb8]
call fcn.00401c10
lea ecx, [ebp - 0xa0]
call fcn.00401c10
lea ecx, [ebp - 0x100]
call fcn.00401c10
lea ecx, [ebp - 0x118]
call fcn.00401c10
lea ecx, [ebp - 0x40]
call fcn.00401c10
lea ecx, [ebp - 0x70]
call fcn.00401c10
lea ecx, [ebp - 0x88]
call fcn.00401c10
lea ecx, [ebp - 0x58]
call fcn.00401c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ee2fb
mov esp, ebp
pop ebp
ret