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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ceb23
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.004790b0
push 0
push edi
mov ecx, 0x4e57fc
call fcn.0046ce60
mov dword [ebx + 0x88], eax
lea eax, [esp + 0x1c]
push eax
push edi
mov edx, 0x4d97fc
mov ecx, 0x4e58d8
call fcn.0046cc70
mov dword [esp + 0x88], 0
cmp dword [eax + 0x18], 8
jb 0x47a227
mov edx, dword [eax + 4]
jmp 0x47a22a
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47a230
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [ebx + 0x8c]
call fcn.00406b80
mov esi, 8
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x34], esi
jb 0x47a26f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00488fd0
add esp, 4
push 0
push edi
mov ecx, str.alpha
call fcn.0046ce60
push 0
push edi
mov ecx, 0x4e6cd0
mov dword [ebx + 0x84], eax
call fcn.0046d260
push 0
push edi
mov ecx, str.shaped
mov byte [ebx + 0xa8], al
call fcn.0046d260
mov byte [ebx + 0xa9], al
xor eax, eax
mov dword [esp + 0x54], vtable.OrayUI::CXMLAttribute.0
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov dword [esp + 0x74], eax
lea edx, [esp + 0x54]
push edx
mov eax, edi
mov dword [esp + 0x8c], 1
call fcn.0046d6e0
test al, al
je 0x47a4ac
jmp 0x47a2f0
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x54]
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x88], 2
mov eax, dword [ecx + 0x14]
push str.frame
mov edi, 5
call fcn.004484f0
test eax, eax
sete byte [esp + 0x13]
mov byte [esp + 0x88], 1
cmp dword [esp + 0x34], esi
jb 0x47a33b
mov eax, dword [esp + 0x20]
push eax
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x13], 0
lea eax, [esp + 0x54]
je 0x47a34e
lea ecx, [ebx + 0x10]
jmp 0x47a47c
lea ecx, [esp + 0x1c]
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x88], 3
mov eax, dword [ecx + 0x14]
push str.sidebar
mov edi, 7
call fcn.004484f0
test eax, eax
sete byte [esp + 0x13]
mov byte [esp + 0x88], 1
cmp dword [esp + 0x34], esi
jb 0x47a395
mov eax, dword [esp + 0x20]
push eax
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x13], 0
je 0x47a426
push 0x1c
call fcn.00488fa5
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x88], 4
je 0x47a3db
mov dword [esi], vtable.OrayUI::CBaseSkin.0
call fcn.004142b0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi], vtable.OrayUI::CMenuSidebar.0
mov ecx, esi
jmp 0x47a3dd
xor ecx, ecx
mov byte [esp + 0x88], 1
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x18], ecx
call edx
mov esi, dword [ebx + 0x7c]
mov ecx, dword [esi + 4]
add ebx, 0x78
lea eax, [esp + 0x14]
push eax
push ecx
push esi
call fcn.0047a600
mov ecx, ebx
mov edi, eax
call fcn.0047a640
mov ebx, dword [esp + 0x18]
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
mov esi, 8
jmp 0x47a484
lea ecx, [esp + 0x38]
lea eax, [esp + 0x54]
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x88], 5
mov eax, dword [ecx + 0x14]
push str.menuitem
mov edi, esi
call fcn.004484f0
test eax, eax
sete byte [esp + 0x13]
mov byte [esp + 0x88], 1
cmp dword [esp + 0x50], esi
jb 0x47a46e
mov eax, dword [esp + 0x3c]
push eax
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x13], 0
je 0x47a484
lea ecx, [ebx + 0x30]
lea eax, [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
call edx
mov eax, dword [esp + 0x74]
test eax, eax
je 0x47a4ac
mov esi, dword [eax + 0x40]
test esi, esi
je 0x47a4a7
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x47a4ea
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x47a493
mov esi, 8
cmp dword [esp + 0x70], esi
mov dword [esp + 0x54], vtable.OrayUI::CXMLAttribute.0
jb 0x47a4c7
mov eax, dword [esp + 0x5c]
push eax
call fcn.00488fd0
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004a74b2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
je 0x47a4a7
mov dword [esp + 0x74], eax
mov esi, 8
jmp 0x47a2f0