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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1ee8
call fcn.00488a80
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test dword [eax + 4], 0xfffffffe
push edi
mov dword [esp + 0x10], esi
je 0x47c2af
mov ecx, dword [esp + 0x7c]
lea edi, [esp + 0x284]
mov dword [esp + 0x280], edi
mov edi, dword [esp + 0x284]
and edi, 0xff
or edi, 0x100
mov dword [esp + 0x284], edi
mov edx, dword [eax]
lea edi, [esp + 0x48c]
mov dword [esp + 0x488], edi
mov edi, dword [esp + 0x48c]
and edi, 0xff
or edi, 0x100
mov dword [esp + 0x48c], edi
lea edi, [esp + 0x694]
mov dword [esp + 0x690], edi
mov edi, dword [esp + 0x694]
and edi, 0xff
or edi, 0x100
mov dword [esp + 0x694], edi
lea edi, [esp + 0x89c]
mov dword [esp + 0x898], edi
mov edi, dword [esp + 0x89c]
and ecx, 0xff
or ecx, 0x100
lea eax, [esp + 0x7c]
and edi, 0xff
mov dword [esp + 0x7c], ecx
mov cl, 0x80
mov dword [esp + 0x78], eax
xor eax, eax
or edi, 0x100
mov dword [esp + 0x89c], edi
mov byte [esp + 0x7c], cl
mov byte [esp + 0x80], al
mov byte [esp + 0x284], cl
mov byte [esp + 0x288], al
mov byte [esp + 0x48c], cl
mov byte [esp + 0x490], al
mov byte [esp + 0x694], cl
mov byte [esp + 0x698], al
mov byte [esp + 0x89c], cl
mov byte [esp + 0x8a0], al
mov edx, dword [edx]
cmp edx, eax
je 0x47ba70
mov edi, dword [edx]
shr edi, 8
cmp edi, eax
je 0x47ba70
cmp edx, eax
je 0x47ba55
lea edi, [edx + 4]
jmp 0x47ba57
xor edi, edi
cmp byte [edi], al
je 0x47ba70
cmp edx, eax
je 0x47ba62
lea eax, [edx + 4]
push eax
lea ecx, [esp + 0x7c]
call fcn.004a4d20
xor eax, eax
mov cl, 0x80
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
and edx, 0xfffffffe
cmp edx, 2
mov dword [esp + 0x18], 1
jbe 0x47bd52
mov edi, dword [esp + 0x18]
jmp 0x47ba92
mov cl, 0x80
lea esi, [esp + 0x14cc]
mov dword [esp + 0x14c8], esi
mov esi, dword [esp + 0x14cc]
and esi, 0xff
or esi, 0x100
mov dword [esp + 0x14cc], esi
lea esi, [esp + 0x16d4]
mov dword [esp + 0x16d0], esi
mov esi, dword [esp + 0x16d4]
and esi, 0xff
or esi, 0x100
mov dword [esp + 0x16d4], esi
mov edx, dword [ebp + 8]
mov edx, dword [edx]
lea esi, [esp + 0x18dc]
mov dword [esp + 0x18d8], esi
mov esi, dword [esp + 0x18dc]
and esi, 0xff
or esi, 0x100
mov dword [esp + 0x18dc], esi
lea esi, [esp + 0x1ae4]
mov dword [esp + 0x1ae0], esi
mov esi, dword [esp + 0x1ae4]
and esi, 0xff
or esi, 0x100
mov dword [esp + 0x1ae4], esi
lea esi, [esp + 0x1cec]
mov dword [esp + 0x1ce8], esi
mov esi, dword [esp + 0x1cec]
and esi, 0xff
or esi, 0x100
mov dword [esp + 0x1cec], esi
lea edx, [edx + edi*4]
mov byte [esp + 0x14cc], cl
mov byte [esp + 0x14d0], al
mov byte [esp + 0x16d4], cl
mov byte [esp + 0x16d8], al
mov byte [esp + 0x18dc], cl
mov byte [esp + 0x18e0], al
mov byte [esp + 0x1ae4], cl
mov byte [esp + 0x1ae8], al
mov byte [esp + 0x1cec], cl
mov byte [esp + 0x1cf0], al
mov ecx, dword [edx]
cmp ecx, eax
je 0x47bbda
mov edx, dword [ecx]
shr edx, 8
cmp edx, eax
je 0x47bbda
cmp ecx, eax
je 0x47bbc0
lea edx, [ecx + 4]
jmp 0x47bbc2
xor edx, edx
cmp byte [edx], al
je 0x47bbda
cmp ecx, eax
je 0x47bbcd
lea eax, [ecx + 4]
push eax
lea ecx, [esp + 0x14cc]
call fcn.004a4d20
lea eax, [esp + 0x18d8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x16d8]
call fcn.00440010
lea edx, [esp + 0x488]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x288]
call fcn.00440010
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47bc19
add eax, 4
jmp 0x47bc1b
xor eax, eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x47bc78
lea esi, [ecx + 4]
test esi, esi
je 0x47bc6b
test eax, eax
je 0x47bc6b
mov edi, eax
mov cl, byte [edi]
mov dl, byte [esi]
mov al, cl
cmp cl, dl
jne 0x47bc5e
test al, al
je 0x47bc54
mov dl, byte [edi + 1]
mov cl, byte [esi + 1]
mov al, dl
cmp dl, cl
jne 0x47bc5e
add edi, 2
add esi, 2
test al, al
jne 0x47bc30
mov edi, dword [esp + 0x18]
xor eax, eax
test eax, eax
jmp 0x47bc91
mov edi, dword [esp + 0x18]
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jmp 0x47bc91
test dword [ecx], 0xffffff00
je 0x47bc78
cmp byte [esi], 0
jne 0x47bc8f
test eax, eax
je 0x47bc88
cmp byte [eax], 0
je 0x47bc88
mov byte [esp + 0xb], 0
jmp 0x47bc96
mov byte [esp + 0xb], 1
jmp 0x47bc96
cmp esi, eax
sete byte [esp + 0xb]
lea ecx, [esp + 0x2c]
call fcn.004039f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.004039f0
mov al, byte [esp + 0xb]
test al, al
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x1ce8]
je 0x47bf01
call fcn.004039f0
lea ecx, [esp + 0x1ae0]
mov dword [esp + 0x1ce8], 0
call fcn.004039f0
lea ecx, [esp + 0x18d8]
mov dword [esp + 0x1ae0], 0
call fcn.004039f0
lea ecx, [esp + 0x16d0]
mov dword [esp + 0x18d8], 0
call fcn.004039f0
lea ecx, [esp + 0x14c8]
mov dword [esp + 0x16d0], 0
call fcn.004039f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
inc edi
shr ecx, 1
xor eax, eax
cmp edi, ecx
mov dword [esp + 0x14c8], 0
mov dword [esp + 0x18], edi
jb 0x47ba90
mov esi, dword [esp + 0x10]
mov edx, dword [0x6609a0]
mov ecx, dword [esi + 0x560]
mov dword [esp + 0x30], edx
push ecx
mov dword [esp + 0x10], eax
mov eax, dword [0x6609a4]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x228]
mov dword [esp + 0x3c], eax
call fcn.00477990
mov ecx, dword [esp + 0xaa4]
lea edx, [esp + 0xcac]
mov dword [esp + 0xca8], edx
mov edx, dword [esp + 0xcac]
and edx, 0xff
or edx, 0x100
mov dword [esp + 0xcac], edx
lea edx, [esp + 0xeb4]
mov dword [esp + 0xeb0], edx
mov edx, dword [esp + 0xeb4]
and edx, 0xff
or edx, 0x100
mov dword [esp + 0xeb4], edx
lea edx, [esp + 0x10bc]
mov dword [esp + 0x10b8], edx
mov edx, dword [esp + 0x10bc]
and edx, 0xff
or edx, 0x100
mov dword [esp + 0x10bc], edx
lea edx, [esp + 0x12c4]
mov dword [esp + 0x12c0], edx
mov edx, dword [esp + 0x12c4]
lea eax, [esp + 0xaa4]
and ecx, 0xff
and edx, 0xff
or ecx, 0x100
mov dword [esp + 0xaa0], eax
mov al, 0x80
or edx, 0x100
mov dword [esp + 0xaa4], ecx
xor ecx, ecx
mov dword [esp + 0x12c4], edx
mov byte [esp + 0xaa4], al
mov byte [esp + 0xcac], al
mov byte [esp + 0xeb4], al
mov byte [esp + 0x10bc], al
mov byte [esp + 0x12c4], al
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov byte [esp + 0xaa8], cl
mov byte [esp + 0xcb0], cl
mov byte [esp + 0xeb8], cl
mov byte [esp + 0x10c0], cl
mov byte [esp + 0x12c8], cl
je 0x47beb9
test dword [eax], 0xffffff00
je 0x47beb9
mov dl, byte [eax + 4]
add eax, 4
cmp dl, cl
je 0x47beb9
push eax
lea ecx, [esp + 0xaa4]
call fcn.004a4d20
lea ecx, [esp + 0x18]
call fcn.004039f0
lea eax, [esp + 0xeb0]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xcb0]
call fcn.00440010
lea edx, [esp + 0x488]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x288]
call fcn.00440010
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47bf72
lea edi, [eax + 4]
jmp 0x47bf74
call fcn.004039f0
lea ecx, [esp + 0x1ae0]
mov dword [esp + 0x1ce8], 0
call fcn.004039f0
lea ecx, [esp + 0x18d8]
mov dword [esp + 0x1ae0], 0
call fcn.004039f0
lea ecx, [esp + 0x16d0]
mov dword [esp + 0x18d8], 0
call fcn.004039f0
lea ecx, [esp + 0x14c8]
mov dword [esp + 0x16d0], 0
call fcn.004039f0
mov dword [esp + 0x14c8], 0
jmp 0x47c24a
xor edi, edi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x47bfd8
lea eax, [ecx + 4]
test eax, eax
je 0x47bfcb
test edi, edi
je 0x47bfcb
mov esi, eax
lea esp, [esp]
mov cl, byte [edi]
mov dl, byte [esi]
mov al, cl
cmp cl, dl
jne 0x47bfbe
test al, al
je 0x47bfb4
mov dl, byte [edi + 1]
mov cl, byte [esi + 1]
mov al, dl
cmp dl, cl
jne 0x47bfbe
add edi, 2
add esi, 2
test al, al
jne 0x47bf90
mov esi, dword [esp + 0x10]
xor eax, eax
test eax, eax
jmp 0x47bff1
mov esi, dword [esp + 0x10]
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jmp 0x47bff1
test dword [ecx], 0xffffff00
je 0x47bfd8
cmp byte [eax], 0
jne 0x47bfef
test edi, edi
je 0x47bfe8
cmp byte [edi], 0
je 0x47bfe8
mov byte [esp + 0xb], 0
jmp 0x47bff6
mov byte [esp + 0xb], 1
jmp 0x47bff6
cmp eax, edi
sete byte [esp + 0xb]
lea ecx, [esp + 0x18]
call fcn.004039f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.004039f0
mov al, byte [esp + 0xb]
test al, al
jne 0x47c177
mov ecx, dword [esi + 0x10ec]
test ecx, ecx
je 0x47c02b
call fcn.0044c3d0
mov edx, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0047a760
mov edi, eax
test edi, edi
je 0x47c13d
lea ecx, [esp + 0x12c0]
call fcn.004039f0
lea ecx, [esp + 0x10b8]
mov dword [esp + 0x12c0], 0
call fcn.004039f0
lea ecx, [esp + 0xeb0]
mov dword [esp + 0x10b8], 0
call fcn.004039f0
lea ecx, [esp + 0xca8]
mov dword [esp + 0xeb0], 0
call fcn.004039f0
lea ecx, [esp + 0xaa0]
mov dword [esp + 0xca8], 0
call fcn.004039f0
lea ecx, [esp + 0xc]
mov dword [esp + 0xaa0], 0
call fcn.004039f0
lea ecx, [esp + 0x898]
mov dword [esp + 0xc], 0
call fcn.004039f0
lea ecx, [esp + 0x690]
mov dword [esp + 0x898], 0
call fcn.004039f0
lea ecx, [esp + 0x488]
mov dword [esp + 0x690], 0
call fcn.004039f0
lea ecx, [esp + 0x280]
mov dword [esp + 0x488], 0
call fcn.004039f0
lea ecx, [esp + 0x78]
mov dword [esp + 0x280], 0
call fcn.004039f0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x11b4]
test eax, eax
lea ecx, [esi + 0x1178]
je 0x47c16d
mov edx, dword [eax]
shr edx, 8
test edx, edx
je 0x47c16d
test eax, eax
je 0x47c15f
add eax, 4
jmp 0x47c161
xor eax, eax
cmp byte [eax], 0
je 0x47c16d
push 0
call fcn.004a1360
mov byte [esp + 0x18], 1
jmp 0x47c5f8
lea eax, [esp + 0x898]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x698]
call fcn.00440010
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47c1ac
test dword [eax], 0xffffff00
je 0x47c1ac
mov cl, byte [eax + 4]
test cl, cl
mov byte [esp + 0xb], 0
jne 0x47c1b1
mov byte [esp + 0xb], 1
lea ecx, [esp + 0x18]
call fcn.004039f0
mov al, byte [esp + 0xb]
test al, al
je 0x47c2ba
lea ecx, [esp + 0x12c0]
call fcn.004039f0
lea ecx, [esp + 0x10b8]
mov dword [esp + 0x12c0], 0
call fcn.004039f0
lea ecx, [esp + 0xeb0]
mov dword [esp + 0x10b8], 0
call fcn.004039f0
lea ecx, [esp + 0xca8]
mov dword [esp + 0xeb0], 0
call fcn.004039f0
lea ecx, [esp + 0xaa0]
mov dword [esp + 0xca8], 0
call fcn.004039f0
lea ecx, [esp + 0xc]
mov dword [esp + 0xaa0], 0
call fcn.004039f0
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x898]
call fcn.004039f0
lea ecx, [esp + 0x690]
mov dword [esp + 0x898], 0
call fcn.004039f0
lea ecx, [esp + 0x488]
mov dword [esp + 0x690], 0
call fcn.004039f0
lea ecx, [esp + 0x280]
mov dword [esp + 0x488], 0
call fcn.004039f0
lea ecx, [esp + 0x78]
mov dword [esp + 0x280], 0
call fcn.004039f0
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
and eax, 0xfffffffe
cmp eax, 2
jbe 0x47c567
lea edi, [esi + 0x1178]
push 0
mov ecx, edi
call fcn.004a13f0
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
and ecx, 0xff
or ecx, 0x100
mov dword [eax], ecx
mov byte [eax], 0x80
xor cl, cl
mov byte [edi + 0x44], cl
mov eax, dword [edi + 0x244]
mov edx, dword [eax]
and edx, 0xff
or edx, 0x100
mov dword [eax], edx
mov byte [eax], 0x80
mov byte [edi + 0x24c], cl
mov eax, dword [edi + 0x44c]
mov edx, dword [eax]
and edx, 0xff
or edx, 0x100
mov dword [eax], edx
mov byte [eax], 0x80
mov byte [edi + 0x454], cl
mov eax, dword [edi + 0x654]
mov edx, dword [eax]
and edx, 0xff
or edx, 0x100
mov dword [eax], edx
mov byte [eax], 0x80
mov byte [edi + 0x65c], cl
mov eax, dword [edi + 0x85c]
mov edx, dword [eax]
and edx, 0xff
or edx, 0x100
mov dword [eax], edx
mov byte [eax], 0x80
mov byte [edi + 0x864], cl
lea ecx, [esi + 0x608]
call fcn.0044e9c0
push 1
lea ecx, [esp + 0x3c]
call fcn.004a1210
xor eax, eax
mov dword [esp + 0x38], vtable.ytArray_struct_FilmstripHandler::FSHEntry__0__class_ytBaseThread_.0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47c3b4
cmp eax, edi
jne 0x47c3b4
inc dword [esp + 0x50]
jmp 0x47c3e0
mov al, byte [esp + 0x3d]
test al, al
je 0x47c3c9
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x47c3d4
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [edx + 0x10]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, 0xfffffffe
jbe 0x47c471
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.0047c6a0
mov ecx, dword [esp + 0x74]
test cl, 1
mov edi, eax
jne 0x47c453
mov eax, ecx
shr eax, 1
lea edx, [eax - 1]
test eax, edx
jne 0x47c42d
lea ecx, [esp + 0x38]
call fcn.00483de0
test eax, eax
je 0x47c453
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
shr ecx, 1
shl ecx, 4
push edi
add ecx, eax
call fcn.00452010
mov eax, dword [esp + 0x74]
mov ecx, eax
and ecx, 0xfffffffe
add ecx, 2
and eax, 1
xor ecx, eax
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x1c]
call fcn.004039f0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
inc esi
shr eax, 1
cmp esi, eax
mov dword [esp + 0x1c], 0
jb 0x47c3f4
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edx + 0x608]
call fcn.00450ab0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x50]
je 0x47c514
test eax, eax
je 0x47c4b3
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47c4b3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x4c], eax
jne 0x47c4b3
dec dword [esp + 0x50]
jmp 0x47c4db
mov al, byte [esp + 0x3d]
test al, al
mov dword [esp + 0x4c], 0
je 0x47c4d0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x47c4db
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [edx + 0x14]
lea ecx, [esp + 0x38]
call fcn.004834a0
lea ecx, [esp + 0xaa0]
call fcn.00431cf0
lea ecx, [esp + 0xc]
call fcn.004039f0
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], 0
call fcn.00431cf0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x47c532
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47c532
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x4c], eax
jne 0x47c532
dec dword [esp + 0x50]
jmp 0x47c55a
mov al, byte [esp + 0x3d]
test al, al
mov dword [esp + 0x4c], 0
je 0x47c54f
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x47c55a
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [edx + 0x14]
lea ecx, [esp + 0x38]
call fcn.004834a0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x47c574
lea edx, [eax + 4]
jmp 0x47c576
xor edx, edx
test edx, edx
mov dword [esp + 0x10], 0
je 0x47c599
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0049d9d0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.00436200
lea ecx, [esp + 0x10]
call fcn.004039f0
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x10], 0
je 0x47c5c5
add eax, 4
jmp 0x47c5c7
xor eax, eax
push eax
lea ecx, [esi + 0x6c4]
call fcn.00479540
mov ecx, dword [0x6609a0]
mov edx, dword [0x6609a4]
mov dword [esp + 0x18], ecx
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0047d5e0
mov edi, eax
test edi, edi
je 0x47c644
lea ecx, [esp + 0xaa0]
call fcn.00431cf0
lea ecx, [esp + 0xc]
call fcn.004039f0
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], 0
call fcn.00431cf0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0047e080
lea ecx, [esp + 0xaa0]
mov esi, eax
call fcn.00431cf0
lea ecx, [esp + 0xc]
call fcn.004039f0
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], 0
call fcn.00431cf0
test esi, esi
je 0x47c68b
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4