Function at 0x50a430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x63efcd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x6bd8a0]
push ebx
push esi
mov dword [esp + 0x30], eax
push edi
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x58]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + ecx + 0x5c]
mov dword [esp + 0x44], 2
call fcn.004304e0
mov ecx, eax
call fcn.0041efd0
lea ecx, [esp + 0x1c]
push str.BasketControl
push ecx
mov byte [esp + 0x48], 3
call fcn.00402610
add esp, 8
test al, al
je 0x50a529
push 0xec
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x40], 4
mov ebx, 1
je 0x50a510
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x60], 5
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 4
call fcn.004e7d00
jmp 0x50a512
xor eax, eax
mov esi, dword [esp + 0x48]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.0048f070
jmp 0x50a5c5
lea edx, [esp + 0x1c]
push str.CupAnimationControl
push edx
call fcn.00402610
add esp, 8
test al, al
je 0x50a610
push 0x50
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 6
mov ebx, 1
je 0x50a5b1
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [esi + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x20], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x60], 7
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 6
call fcn.004cf740
jmp 0x50a5b3
xor eax, eax
mov esi, dword [esp + 0x48]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.0048f070
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0xc], ebx
mov byte [esp + 0x40], 2
je 0x50ab47
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x50ab47
sub eax, ecx
cmp eax, 0x80
jbe 0x50a601
push ecx
call fcn.00611869
add esp, 4
jmp 0x50ab47
push eax
push ecx
call fcn.005d6970
add esp, 8
jmp 0x50ab47
lea edx, [esp + 0x1c]
push str.ClickToStartControl
push edx
call fcn.00402610
add esp, 8
test al, al
je 0x50a69b
push 0x68
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 8
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [esi + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x20], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x60], 9
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 8
call fcn.004a6b80
jmp 0x50aafe
lea ecx, [esp + 0x1c]
push str.MoneyEffectControl
push ecx
call fcn.00402610
add esp, 8
test al, al
je 0x50a726
push 0x5c
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0xa
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0xb
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0xa
call fcn.004bb590
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.SimpleTimeCounter
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50a7b1
push 0x54
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0xc
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0xd
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0xc
call fcn.004e96a0
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.PositionControl
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50a83c
push 0x50
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0xe
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0xf
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0xe
call fcn.004a7040
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.FlashingStringControl
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50a8ca
push 0x98
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0x10
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0x11
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0x10
call fcn.004a7450
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.BlinkingTextureControl
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50a955
push 0x4c
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0x12
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0x13
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0x12
call fcn.004a7e80
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.ToolTipControl
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50a9e3
push 0xe4
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0x14
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0x15
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0x14
call fcn.004c3b70
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.MouseHelpControl
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50aa71
push 0x80
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0x16
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0x17
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0x16
call fcn.004e9df0
jmp 0x50aafe
lea eax, [esp + 0x1c]
push str.IfMoneyControl
push eax
call fcn.00402610
add esp, 8
test al, al
je 0x50ab12
push 0x80
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x40], 0x18
mov ebx, 1
je 0x50aafc
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esi + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x20], esp
push eax
call fcn.00420750
mov edx, dword [esp + 0x5c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x68]
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x60], 0x19
call fcn.00420750
mov ecx, edi
mov byte [esp + 0x5c], 0x18
call fcn.00509f50
jmp 0x50aafe
xor eax, eax
mov esi, dword [esp + 0x48]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.0048f070
jmp 0x50ab35
mov esi, dword [esp + 0x48]
mov dword [esi], 0x6580c8
mov dword [esi + 4], 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], 0
mov ebx, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 2
mov dword [esp + 0xc], ebx
call fcn.00449cc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], bl
call fcn.0042ce80
lea ecx, [esp + 0x58]
mov byte [esp + 0x40], 0
call fcn.0042ce80
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x34]
mov eax, esi
call fcn.006122a5
pop edi
pop esi
pop ebx
add esp, 0x38
ret