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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
add dword [0x58ace8], 1
sub esp, 0x174
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp byte [ebx + 0x20c], 0
push edi
je 0x456c31
cmp byte [ebx + 0x22c], 0
je 0x456c23
cmp dword [esi + 8], 0x13
je 0x456c31
mov eax, 0xf4241
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx + 0x20e], 0
je 0x456c40
cmp dword [esi + 8], 0x13
jne 0x456c23
mov eax, ebx
cmp byte [eax + 0x213], 0
jne 0x456c63
mov eax, dword [eax + 0x244]
test eax, eax
jne 0x456c42
mov eax, 0xf4241
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x244], 0
je 0x456c23
mov eax, dword [ebx + 0x13c]
xor ecx, ecx
cmp dword [esi + 8], 0x13
mov dword [esp + 0x20], eax
setne cl
add ecx, 2
test eax, eax
mov dword [esp + 0x24], ecx
je 0x456c93
lea edi, [esp + 0x20]
call fcn.00450610
push esi
lea edx, [esp + 0x6c]
push edx
call fcn.004576b0
mov al, byte [ebx + 0x20c]
or byte [esp + 0xd5], al
mov eax, dword [esi + 8]
cmp eax, 0x13
je 0x456cbd
cmp eax, 0x17
mov byte [esp + 0x1b], 0
jne 0x456cc2
mov byte [esp + 0x1b], 1
cmp eax, 4
je 0x456cd0
cmp eax, 3
je 0x456cd0
xor cl, cl
jmp 0x456cd2
mov cl, 1
mov edi, dword [ebp + 0xc]
cmp eax, 0x13
sete byte [esp + 0x1a]
test cl, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x1c], 0xf4241
mov byte [esp + 0x12], 0
jne 0x456d79
test dword [ebx + 0x19c], 0xfffffffe
je 0x456d79
push esi
lea eax, [esp + 0x114]
call fcn.00450570
xor esi, esi
test dword [ebx + 0x1a4], 0xfffffffe
jbe 0x456d5e
lea ecx, [ecx]
mov ecx, dword [ebx + 0x1a0]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push edi
lea eax, [esp + 0x114]
push eax
push ebx
call edx
cmp eax, 0xf4240
je 0x456d59
cmp eax, 0xf4242
je 0x456d59
mov eax, dword [ebx + 0x1a4]
add esi, 1
shr eax, 1
cmp esi, eax
jb 0x456d20
jmp 0x456d5e
mov byte [esp + 0x12], 1
lea edi, [esp + 0x178]
mov dword [esp + method.ytUIEvent.virtual_0], vtable.ytUIEvent.0
call fcn.00401070
mov cl, byte [esp + 0x13]
cmp byte [esp + 0x1b], 0
jne 0x4571f0
test cl, cl
fld1
fldz
je 0x456e83
fxch st(1)
mov ecx, 0xa
fst dword [esp + 0x30]
lea esi, [esp + 0x30]
fst dword [esp + 0x40]
lea edi, [esp + 0x90]
fstp dword [esp + 0x50]
mov edx, ebx
mov byte [esp + 0x54], 1
fst dword [esp + 0x34]
mov dword [esp + 0x14], edx
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fstp dword [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
test byte [edx + 8], 1
je 0x456de7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00452670
mov edx, dword [esp + 0x14]
lea esi, [edx + 0x1b4]
mov ecx, 0xa
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
lea eax, [esp + 0x90]
call fcn.00495f80
cmp byte [edx + 0x217], 0
je 0x456e4f
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
test al, al
jne 0x456e62
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x213], 0
jne 0x456ef3
mov eax, edx
mov eax, dword [eax + 0x244]
test eax, eax
mov dword [esp + 0x14], eax
je 0x456ef3
mov edx, eax
jmp 0x456dd3
cmp byte [edx + 0x55], 0
jne 0x456e62
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xed], 0
jmp 0x456e24
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xd8]
push ecx
call fcn.004560c0
mov ecx, eax
lea eax, [esp + 0x90]
call fcn.00495f80
jmp 0x456ef3
cmp byte [ebx + 0x217], 0
fstp st(0)
fstp st(0)
je 0x45705a
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
mov ecx, ebx
call eax
test al, al
je 0x456ec0
lea ecx, [esp + 0xd8]
push ecx
mov eax, ebx
call fcn.004560c0
mov ecx, 0xa
mov esi, eax
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
test byte [ebx + 8], 1
je 0x456ecc
push ebx
call fcn.00452670
lea esi, [ebx + 0x1b4]
mov ecx, 0xa
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
lea eax, [esp + 0x90]
call fcn.004961a0
lea edx, [esp + 0xd8]
push edx
push ebx
lea esi, [ebx + 0x188]
call fcn.004516c0
push eax
mov edx, esi
lea ecx, [esp + 0x5c]
call fcn.004964d0
fld dword [esp + 0xc8]
mov eax, dword [ebp + 8]
fld dword [esp + 0xc4]
cmp dword [eax + 8], 0x13
je 0x456f79
cmp byte [ebx + 0x20f], 0
je 0x456f79
fild dword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x456f67
fild dword [esp + 0x60]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x456f67
fild dword [esp + 0x5c]
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x456f67
fild dword [esp + 0x64]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x456f79
cmp byte [esp + 0xd4], 0
jne 0x456f79
mov byte [esp + 0xd4], 1
cmp byte [esp + 0x13], 0
jne 0x4571fe
cmp byte [esp + 0x1a], 0
jne 0x4571fe
cmp byte [ebx + 0x211], 0
je 0x4571fe
cmp byte [esp + 0x12], 0
jne 0x4571fe
mov eax, dword [ebx + 0x19c]
shr eax, 1
sub eax, 1
mov dword [esp + 0x14], eax
js 0x4571fe
fstp st(1)
fstp st(0)
mov ecx, dword [ebx + 0x198]
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx*4]
test esi, esi
mov dword [esp + 0x58], esi
je 0x4571e5
cmp byte [esi + 0x20c], 0
jne 0x4571e5
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x114]
push ecx
call fcn.004576b0
cmp byte [esi + 0x217], 0
je 0x457070
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
test al, al
je 0x45715c
cmp byte [esi + 0x217], 0
je 0x45707f
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
test al, al
jne 0x45708e
fld1
mov byte [esp + 0x54], 1
fst dword [esp + 0x30]
fldz
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fstp dword [esp + 0x4c]
fst dword [esp + 0x40]
fstp dword [esp + 0x50]
jmp 0x457146
cmp byte [ebx + 0x55], 0
jne 0x456ea1
cmp byte [ebx + 0xed], 0
jmp 0x456e9f
cmp byte [esi + 0x55], 0
jne 0x457012
cmp byte [esi + 0xed], 0
jmp 0x45700c
cmp byte [esi + 0x55], 0
jne 0x45708e
cmp byte [esi + 0xed], 0
je 0x457028
cmp byte [esi + 0x213], 0
jne 0x457028
mov esi, dword [esi + 0x244]
test esi, esi
je 0x457028
fld1
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
fst dword [esp + 0xd8]
fldz
lea eax, [esp + 0xd8]
fst dword [esp + 0xdc]
push eax
fst dword [esp + 0xe4]
lea ecx, [esp + 0x104]
fst dword [esp + 0xe8]
push ecx
fst dword [esp + 0xf4]
mov ecx, esi
fst dword [esp + 0xf8]
mov byte [esp + 0x104], 1
fstp dword [esp + 0xfc]
fst dword [esp + 0xf0]
fstp dword [esp + 0x100]
call edx
mov eax, dword [esp + 0x100]
cmp eax, dword [esp + 0x108]
jge 0x457129
mov ecx, dword [esp + 0x104]
cmp ecx, dword [esp + 0x10c]
jl 0x457028
test byte [esi + 8], 1
je 0x457135
push esi
call fcn.00452670
add esi, 0x1dc
mov ecx, 0xa
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
lea esi, [esp + 0x30]
lea edi, [esp + 0x138]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x58]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call fcn.00456bf0
mov edi, eax
cmp edi, 0xf4240
je 0x457189
cmp edi, 0xf4242
je 0x457189
cmp edi, 0xf4243
jne 0x4571ce
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esp + 0x1c], edi
je 0x45719e
cmp dword [eax], 0
jne 0x45719e
mov dword [eax], esi
cmp edi, 0xf4243
je 0x4572b1
mov eax, dword [esp + 0x118]
cmp eax, 2
je 0x4571ce
cmp eax, 0xa
je 0x4571ce
cmp eax, 0xc
je 0x4571ce
cmp eax, 0x13
je 0x4571ce
cmp eax, 0x14
jne 0x457300
lea edi, [esp + 0x178]
mov dword [esp + method.ytUIEvent.virtual_0], vtable.ytUIEvent.0
call fcn.00401070
sub dword [esp + 0x14], 1
jns 0x456fc0
fld dword [esp + 0xc8]
fld dword [esp + 0xc4]
fld dword [esp + 0x90]
mov esi, dword [ebp + 0xc]
fmul st(1)
xor edi, edi
test dword [ebx + 0x1a4], 0xfffffffe
fld dword [esp + 0x94]
fmul st(3)
faddp st(1)
fadd dword [esp + 0x98]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xbc], edx
fmul dword [esp + 0x9c]
fld dword [esp + 0xa0]
fmulp st(2)
faddp st(1)
fadd dword [esp + 0xa4]
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc0], eax
jbe 0x4573dc
mov ecx, dword [ebx + 0x1a0]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push esi
lea eax, [esp + 0x6c]
push eax
push ebx
call edx
cmp eax, 0xf4243
je 0x457329
cmp eax, 0xf4240
je 0x4573c7
cmp eax, 0xf4242
je 0x4573c7
mov eax, dword [ebx + 0x1a4]
add edi, 1
shr eax, 1
cmp edi, eax
jb 0x457265
jmp 0x4573dc
mov ebx, vtable.ytUIEvent.0
lea edi, [esp + 0x178]
mov dword [esp + 0x110], ebx
call fcn.00401070
xor esi, esi
lea edi, [esp + 0xd0]
mov dword [esp + 0x178], esi
mov dword [esp + 0x68], ebx
call fcn.00401070
mov dword [esp + 0xd0], esi
lea esi, [esp + 0x20]
call fcn.00450670
mov eax, 0xf4243
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x110]
call fcn.00442f60
lea ecx, [esp + 0x68]
call fcn.00442f60
lea esi, [esp + 0x20]
call fcn.00450670
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esp + 0x68], vtable.ytUIEvent.0
je 0x45738c
movzx ecx, byte [eax]
cmp ecx, 0x80
mov edi, eax
jae 0x45738c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x457378
movzx edx, byte [edi]
cmp edx, 0x80
jae 0x457373
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x457378
mov eax, 0xff
test eax, eax
jne 0x45738c
mov eax, dword [esp + 0xd0]
push eax
call fcn.0044d390
add esp, 4
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0xd0], 0
je 0x4573b9
call fcn.00425f10
fsub qword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00497900
mov eax, 0xf4243
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x4573d8
cmp dword [ecx], 0
jne 0x4573d8
mov dword [ecx], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xf4240
je 0x45757d
cmp eax, 0xf4242
je 0x457406
mov edx, dword [ebx]
mov edx, dword [edx + 0x74]
push esi
lea eax, [esp + 0x6c]
push eax
push ebx
mov ecx, ebx
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xf4240
je 0x45757d
cmp eax, 0xf4242
je case.0x457439.4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, 0xffffffff
cmp eax, 0x12
ja case.0x457439.4
movzx ecx, byte [eax + 0x457698]
jmp dword [ecx*4 + 0x457684]
cmp byte [ebx + 0x205], 0
je case.0x457439.4
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0xbc]
push eax
mov ecx, ebx
call edx
cmp eax, 0xf4240
jne case.0x457439.4
mov dword [esi], ebx
lea edi, [esp + 0xd0]
mov dword [esp + 0x68], vtable.ytUIEvent.0
call fcn.00401070
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0xd0], 0
je 0x4574ac
call fcn.00425f10
fsub qword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00497900
mov eax, 0xf4240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx + 0x206], 0
je 0x4574e0
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, ebx
call edx
cmp eax, 0xf4240
mov esi, 0xf4240
je 0x4574e4
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0xd0]
mov dword [esp + 0x68], vtable.ytUIEvent.0
call fcn.00401070
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0xd0], 0
je 0x457525
call fcn.00425f10
fsub qword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00497900
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx + 0x205], 0
je case.0x457439.4
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, ebx
call edx
cmp eax, 0xf4240
jne case.0x457439.4
jmp 0x45746b
cmp byte [ebx + 0x208], 0
je case.0x457439.4
mov eax, dword [ebx]
fld qword [esp + 0x78]
mov edx, dword [eax + 0x58]
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call edx
cmp eax, 0xf4240
jne case.0x457439.4
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je case.0x457439.4
cmp dword [eax], 0
jne case.0x457439.4
mov dword [eax], ebx
cmp byte [esp + 0x1a], 0
je 0x4575e5
cmp byte [ebx + 0x211], 0
je 0x4575e5
cmp byte [esp + 0x12], 0
jne 0x4575e5
xor edi, edi
test dword [ebx + 0x19c], 0xfffffffe
jbe 0x4575e5
mov ecx, dword [ebx + 0x198]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x4575d6
push esi
lea edx, [esp + 0x6c]
push edx
call fcn.00456bf0
cmp eax, 0xf4240
jne 0x4575d6
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x19c]
add edi, 1
shr eax, 1
cmp edi, eax
jb 0x4575b3
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esp + 0x68], vtable.ytUIEvent.0
je 0x457648
movzx ecx, byte [eax]
cmp ecx, 0x80
mov edi, eax
jae 0x457648
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x457634
movzx edx, byte [edi]
cmp edx, 0x80
jae 0x45762f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x457634
mov eax, 0xff
test eax, eax
jne 0x457648
mov eax, dword [esp + 0xd0]
push eax
call fcn.0044d390
add esp, 4
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0xd0], 0
je 0x457675
call fcn.00425f10
fsub qword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00497900
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8