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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed41d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x88]
add esi, 0x84
test ecx, ecx
jne 0x4a677a
xor eax, eax
jmp 0x4a6782
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
mov dword [esp + 0x1c], eax
jbe 0x4a679b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x8c]
add eax, 0x84
cmp dword [eax + 4], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], eax
jbe 0x4a67c7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4a67cf
cmp edi, eax
je 0x4a67d5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, esi
je 0x4a6e72
test edi, edi
jne 0x4a67e7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [edi + 8]
jb 0x4a67f2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
lea esi, [esp + 0x14]
call fcn.0040dc50
push str.PlayListWindow
mov ecx, esi
mov dword [esp + 0x88], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
cmp ebx, dword [edi + 8]
jb 0x4a6820
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx]
cmp byte [edx + 0x64], 1
jne 0x4a6842
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4a6d9b
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
cmp ebx, dword [edi + 8]
jb 0x4a685f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
push esi
push 0x624be8
push 0x624784
push esi
push eax
call sub.MSVCR80.dll___RTDynamicCast
mov eax, dword [eax + 0x24]
add esp, 0x14
cmp eax, 0x1388
mov dword [esp + 0x34], eax
jne 0x4a68a2
cmp ebx, dword [edi + 8]
jb 0x4a6892
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
push 1
call fcn.004a64b0
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x34], ecx
cmp ebx, dword [edi + 8]
jb 0x4a68ad
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push esi
push 0x624be8
push 0x624784
push esi
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov eax, dword [eax + 0x20]
add esp, 0x14
cmp eax, 0x1388
mov dword [esp + 0x30], eax
jne 0x4a693a
cmp ebx, dword [edi + 8]
jb 0x4a68e0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
push 1
call fcn.004a64b0
mov edi, eax
mov eax, dword [esp + 0x20]
cmp ebx, dword [eax + 8]
jb 0x4a68fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx]
add esi, 0x54
cmp dword [esi + 4], 0
jne 0x4a690e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov esi, dword [esi + 4]
push 0
push 0x624be8
push 0x624784
push 0
push esi
call sub.MSVCR80.dll___RTDynamicCast
mov ecx, eax
mov eax, dword [edi + 0x28]
xor edx, edx
add esp, 0x14
div dword [ecx + 0x28]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], eax
cmp ebx, dword [edi + 8]
jb 0x4a6945
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x3c]
mov eax, dword [eax + 0x80]
sub edi, ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [esp + 0x44]
add edx, esi
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x48]
add esi, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
sub eax, edi
add edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, eax
sub edx, ecx
add esi, edx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp ebx, dword [esi + 8]
jb 0x4a69d6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push eax
call sub.MSVCR80.dll___RTDynamicCast
mov ecx, dword [eax + 0x4c]
add esp, 0x14
cmp ebx, dword [esi + 8]
mov dword [esp + 0x10], ecx
jb 0x4a6a04
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov eax, dword [eax + 0x50]
add esp, 0x14
cmp eax, 1
jne 0x4a6a4a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jmp 0x4a6aa1
cmp eax, 2
jne 0x4a6a71
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jmp 0x4a6aa1
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
test dword [esp + 0x10], 0x200
je 0x4a6ab9
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ecx
jmp 0x4a6abd
mov esi, dword [esp + 0x28]
test dword [esp + 0x10], 0x100
je 0x4a6ad5
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
jmp 0x4a6ad9
mov edi, dword [esp + 0x2c]
mov dl, byte [esp + 0x10]
test dl, 1
je 0x4a6b45
mov ecx, dword [esp + 0x20]
cmp ebx, dword [ecx + 8]
jb 0x4a6af1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
cmp dword [eax + 0x64], 0
je 0x4a6cdd
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x4a6b3c
mov dword [esp + 0x38], eax
jmp 0x4a6ce5
mov dword [esp + 0x38], ecx
jmp 0x4a6ce5
test dl, 2
je 0x4a6bc2
mov eax, dword [esp + 0x30]
sub ecx, eax
add ecx, esi
mov edx, ecx
sub edx, esi
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
cmp ebx, dword [eax + 8]
jb 0x4a6b6f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
cmp dword [eax + 0x64], 0
je 0x4a6cdd
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
lea eax, [edx + esi]
cmp eax, ecx
jle 0x4a6bb9
mov dword [esp + 0x40], eax
jmp 0x4a6ce5
mov dword [esp + 0x40], ecx
jmp 0x4a6ce5
test dl, 4
je 0x4a6c2a
mov eax, dword [esp + 0x20]
cmp ebx, dword [eax + 8]
jb 0x4a6bd6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
cmp dword [eax + 0x64], 0
je 0x4a6cdd
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
sub edx, edi
add eax, edx
cmp eax, ecx
jge 0x4a6c21
mov dword [esp + 0x3c], eax
jmp 0x4a6ce5
mov dword [esp + 0x3c], ecx
jmp 0x4a6ce5
test dl, 8
je 0x4a6c9d
mov ecx, dword [esp + 0x34]
sub eax, ecx
add eax, edi
mov edx, eax
sub edx, edi
add ecx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
cmp ebx, dword [eax + 8]
jb 0x4a6c54
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
cmp dword [eax + 0x64], 0
je 0x4a6cdd
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
lea eax, [edx + edi]
cmp eax, ecx
jle 0x4a6c97
mov dword [esp + 0x44], eax
jmp 0x4a6ce5
mov dword [esp + 0x44], ecx
jmp 0x4a6ce5
test dl, 0x10
je 0x4a6dae
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
lea esi, [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
call fcn.0040f4d0
mov eax, dword [eax]
call fcn.0040dc30
test eax, eax
je 0x4a6cdd
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esi, dword [esp + 0x68]
add edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x20]
sub dword [esp + 0x30], eax
sub dword [esp + 0x34], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
cmp ebx, dword [edx + 8]
jb 0x4a6d14
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
cmp byte [eax + 0x64], 5
je 0x4a6d33
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x70]
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
push str.PlayListWindow
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
sub esi, dword [esp + 0x2c]
sub edi, dword [esp + 0x28]
cmp ebx, dword [edx + 8]
jb 0x4a6d61
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx]
push 0x14
push esi
push edi
push eax
mov eax, dword [edx + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_DeferWindowPos]
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edi, dword [esp + 0x20]
cmp ebx, dword [edi + 8]
jb 0x4a6da6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 4
jmp 0x4a67a1
test dl, 0x20
je 0x4a6dd8
sub ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x34]
add ecx, esi
mov edx, ecx
add eax, edi
sub edx, esi
add dword [esp + 0x30], edx
mov esi, ecx
mov ecx, eax
sub ecx, edi
add dword [esp + 0x34], ecx
mov edi, eax
jmp 0x4a6ce5
test dl, 0x40
je 0x4a6e2a
sub eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
add eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub eax, ecx
add eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x38]
mov edx, eax
sub edx, esi
add ecx, edx
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, eax
sub ecx, edi
add dword [esp + 0x34], ecx
mov edi, eax
jmp 0x4a6ce5
test dl, dl
jns 0x4a6ce5
mov eax, ecx
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x30]
add eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x38]
mov edx, eax
sub edx, esi
add ecx, edx
mov edx, dword [esp + 0x3c]
sub edx, edi
add dword [esp + 0x34], edx
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
mov esi, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
jmp 0x4a6ce5
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
cmp dword [ebp + 8], 0
je 0x4a6f20
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x4a6e99
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, ebx
jmp 0x4a6ea0
mov ebx, dword [ebx + 8]
mov eax, edi
cmp dword [eax + 4], ebx
jbe 0x4a6eb0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
je 0x4a6eb8
cmp edi, edi
je 0x4a6ebe
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x4a6f20
test edi, edi
jne 0x4a6ecc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 8]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x4a6ed9
call ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
cmp dword [eax + 0x60], 0
je 0x4a6f12
cmp esi, dword [edi + 8]
jb 0x4a6f02
call ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x160]
push eax
call edx
cmp esi, dword [edi + 8]
jb 0x4a6f19
call ebx
add esi, 4
mov ebx, edi
jmp 0x4a6ea0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4