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

Disassembly:
jmp method.ytButtonNode.virtual_116
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x3a8], 0xffffffff
push edi
jne 0x50da8c
push 0
push 0x69fcb8
push 0x697ffc
push 0
push str.tooltip
call fcn.004fdfa0
add esp, 4
push eax
call fcn.004893f8
add esp, 0x14
mov dword [esi + 0x3a8], eax
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 8]
mov ebp, dword [edi + 0x4c]
mov ebx, dword [edi + 0x50]
dec eax
cmp eax, 0x12
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
ja case.0x50dab2.3
movzx eax, byte [eax + 0x50e06c]
jmp dword [eax*4 + 0x50e054]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0050d8c0
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x28]
jge 0x50dad9
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x2c]
jl 0x50dae8
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
fild dword [esp + 0x20]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x50db44
fild dword [esp + 0x28]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x50db44
fild dword [esp + 0x24]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x50db44
fild dword [esp + 0x2c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x50db44
mov al, byte [esi + 0x358]
test al, al
je 0x50db40
push 0x80
push ebx
push ebp
mov ecx, esi
call fcn.0050d9c0
test al, al
je 0x50db44
mov bl, 1
jmp 0x50db46
xor bl, bl
mov al, byte [esi + 0x362]
test al, al
je 0x50dbdf
test bl, bl
je 0x50dbdf
mov eax, dword [esi + 0x3a8]
test eax, eax
je 0x50dbdf
mov eax, dword [esi + 0x3ac]
test eax, eax
lea edi, [esi + 0x3ac]
je 0x50dbdf
add eax, 4
test eax, eax
je 0x50dbdf
push 1
call fcn.004c9380
add esp, 4
test al, al
jne 0x50dbdf
mov eax, dword [esi + 0x3a8]
test eax, eax
je 0x50dbff
mov eax, dword [edi]
test eax, eax
je 0x50dbff
add eax, 4
test eax, eax
je 0x50dbff
mov edx, dword [esi]
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0x3a8]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x2c]
push edi
push esi
mov dword [eax + 0xc], ebp
call dword [edx + 4]
jmp 0x50dbff
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x50dbff
mov eax, dword [esi + 0x3ac]
test eax, eax
je 0x50dbff
add eax, 4
test eax, eax
je 0x50dbff
mov edx, dword [ecx]
push esi
call dword [edx]
test bl, bl
je 0x50dc5c
mov ecx, esi
call fcn.0050d970
mov eax, dword [esi + 0x354]
test eax, eax
je 0x50dc2d
cmp eax, 1
jne 0x50dc34
mov al, byte [esi + 0x359]
test al, al
je 0x50dc34
mov al, byte [esi + 0x35a]
test al, al
je 0x50dc34
mov ecx, esi
call fcn.0050d840
cmp dword [esi + 0x354], 2
jne 0x50dc85
push 1
mov ecx, esi
call fcn.0050d700
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
add eax, 0xf4241
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
cmp dword [esi + 0x354], 1
mov byte [esi + 0x362], 1
jne 0x50dc73
mov ecx, esi
call fcn.0050d7d0
cmp dword [esi + 0x354], 3
jne 0x50dc85
push 1
mov ecx, esi
call fcn.0050d670
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
add eax, 0xf4241
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0050d8c0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
jge 0x50dcbb
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x2c]
jl 0x50dcca
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
fild dword [esp + 0x20]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp case.0x50dab2.3
fild dword [esp + 0x28]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne case.0x50dab2.3
fild dword [esp + 0x24]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp case.0x50dab2.3
fild dword [esp + 0x2c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne case.0x50dab2.3
mov al, byte [esi + 0x358]
test al, al
je 0x50dd36
push 0x80
push ebx
push ebp
mov ecx, esi
call fcn.0050d9c0
test al, al
je case.0x50dab2.3
mov al, byte [edi + 0x64]
test al, al
jne case.0x50dab2.3
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x50dd68
mov eax, dword [esi + 0x3ac]
test eax, eax
je 0x50dd68
add eax, 4
test eax, eax
je 0x50dd68
mov byte [esi + 0x362], 0
mov eax, dword [ecx]
push esi
call dword [eax]
mov ecx, esi
call fcn.0050d970
mov al, byte [esi + 0x359]
test al, al
je 0x50ddb6
mov al, byte [esi + 0x35a]
test al, al
je 0x50ddb6
mov al, byte [esi + 0x213]
test al, al
jne 0x50dd95
mov eax, dword [esi + 0x244]
jmp 0x50dd97
xor eax, eax
push 0
push 0x69f66c
push 0x697ffc
push 0
push eax
call fcn.004893f8
add esp, 0x14
test eax, eax
jne case.0x50dab2.3
mov al, byte [esi + 0x35c]
test al, al
mov ecx, esi
je 0x50de2c
call fcn.004db4d0
test eax, eax
je 0x50ddd9
mov ecx, esi
call fcn.004db4d0
mov ecx, eax
call fcn.00509930
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x78]
mov eax, dword [esp + 0x3c]
mov dword [eax], 0
mov al, byte [esi + 0x35a]
test al, al
je 0x50de1d
mov al, byte [esi + 0x359]
test al, al
mov ecx, esi
je 0x50de18
push 0
call fcn.0050d700
mov eax, 0xf4240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
call fcn.0050d840
mov eax, 0xf4240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
push 1
call fcn.0050d700
mov al, byte [esi + 0x360]
test al, al
je 0x50de7c
push 0x28
call fcn.00489377
mov edi, eax
add esp, 4
test edi, edi
je 0x50de6f
lea ecx, [edi + 0x10]
call fcn.004a9ab0
lea ecx, [edi + 0x18]
call fcn.004a9ab0
mov dword [edi + 0x20], 0
mov dword [edi + 8], esi
mov dword [edi], vtable.ytCallback_class_ytButtonNode_.0
jmp 0x50de71
xor edi, edi
push 0
push edi
call fcn.004c6c40
add esp, 8
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov dword [ecx], edx
mov eax, 0xf4240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0050d8c0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
jge 0x50deb5
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x2c]
jl 0x50dec4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
fild dword [esp + 0x20]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x50df40
fild dword [esp + 0x28]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x50df40
fild dword [esp + 0x24]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x50df40
fild dword [esp + 0x2c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x50df40
mov al, byte [esi + 0x358]
test al, al
je 0x50df1c
push 0x80
push ebx
push ebp
mov ecx, esi
call fcn.0050d9c0
test al, al
je 0x50df40
mov ecx, esi
call fcn.0050d970
mov al, byte [esi + 0x35c]
test al, al
jne 0x50df40
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
push 1
mov ecx, esi
call fcn.0050d670
mov eax, 0xf4240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
test byte [edi + 0x5c], 1
jne case.0x50dab2.3
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004e03c0
cmp eax, 0xf4240
jne 0x50df85
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov al, byte [edi + 0x5c]
test al, 0x10
jne 0x50dfa3
test al, 0xe
jne case.0x50dab2.3
mov edx, dword [edi + 0x10]
cmp edx, dword [esi + 0x384]
jne case.0x50dab2.3
mov edi, dword [edi + 0x10]
cmp edi, 0x1b
jne 0x50dfb3
cmp dword [esi + 0x384], edi
je 0x50dfc1
cmp edi, 0xd
je 0x50dfc1
cmp edi, 0x20
jne case.0x50dab2.3
push 1
mov ecx, esi
call fcn.0050d700
mov ecx, esi
mov dword [esi + 0x364], pe_nt_image_headers32
call fcn.004db4d0
test eax, eax
je 0x50e011
push 1
push 0
push 1
push 1
sub esp, 0x10
or eax, 0xffffffff
mov ebx, esp
mov dword [ebx], eax
or ecx, 0xffffffff
mov dword [ebx + 4], ecx
or edx, 0xffffffff
mov dword [ebx + 8], edx
or edi, 0xffffffff
mov ecx, esi
mov dword [ebx + 0xc], edi
call fcn.004db4d0
mov ecx, eax
call fcn.00506ef0
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x78]
mov eax, 0xf4240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push ecx
push edi
push edx
mov ecx, esi
call fcn.004e03c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xf4241
pop ebx
add esp, 0x20
ret 0xc