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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ec175
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 + 0x1c], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x88]
test ecx, ecx
lea ebx, [esi + 0x84]
jne 0x4a586a
xor eax, eax
jmp 0x4a5872
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
push eax
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
mov dword [esp + 0x18], eax
jbe 0x4a588b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x20], ebx
mov eax, dword [esi + 0x8c]
add esi, 0x84
cmp dword [esi + 4], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
jbe 0x4a58b2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x4a58ba
cmp ebx, esi
je 0x4a58c0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x1c]
je 0x4a5f10
test ebx, ebx
jne 0x4a58d4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 8]
jb 0x4a58df
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
lea esi, [esp + 0xc]
call fcn.0040dc50
push str.PlayListWindow
mov ecx, esi
mov dword [esp + 0x88], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
cmp edi, dword [ebx + 8]
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x4a590f
call esi
mov edx, dword [edi]
cmp byte [edx + 0x64], 1
jne 0x4a5931
lea ecx, [esp + 0xc]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4a5e0e
cmp edi, dword [ebx + 8]
jb 0x4a5938
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp edi, dword [ebx + 8]
jb 0x4a5950
call esi
mov eax, dword [edi]
mov eax, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push eax
call sub.MSVCR80.dll___RTDynamicCast
mov edx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
sub eax, 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 + 0x88]
add dword [esp + 0x48], esi
mov esi, dword [esp + 0x4c]
sub esi, eax
mov eax, dword [esp + 0x50]
add edx, esi
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, eax
sub edx, ecx
add dword [esp + 0x48], edx
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp edi, dword [ebx + 8]
jb 0x4a59e0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
mov eax, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push eax
call sub.MSVCR80.dll___RTDynamicCast
mov esi, dword [eax + 0x4c]
add esp, 0x14
cmp edi, dword [ebx + 8]
mov dword [esp + 0x10], esi
jb 0x4a5a0e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
mov ecx, dword [edi + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
mov eax, dword [eax + 0x50]
add esp, 0x14
cmp eax, 1
jne 0x4a5a54
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
jmp 0x4a5aab
cmp eax, 2
jne 0x4a5a7b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
jmp 0x4a5aab
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
test esi, 0x200
je 0x4a5ac3
mov esi, dword [esp + 0x38]
mov ebx, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebx
jmp 0x4a5acb
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test edx, 0x100
je 0x4a5ae5
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
jmp 0x4a5ae9
mov ecx, dword [esp + 0x2c]
test dl, 1
je 0x4a5b53
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 8]
jb 0x4a5b01
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
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 + 0x64], 0
je 0x4a5cfc
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, ebx
sub edx, esi
add eax, edx
cmp eax, ecx
jge 0x4a5b4a
mov dword [esp + 0x38], eax
jmp 0x4a5d04
mov dword [esp + 0x38], ecx
jmp 0x4a5d04
test dl, 2
je 0x4a5bd1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub edi, ebx
add edi, esi
mov ecx, edi
sub ecx, esi
add ebx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edi
cmp edx, dword [eax + 8]
jb 0x4a5b7d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
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 0x4a5cfc
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
sub eax, ebx
add eax, esi
cmp eax, ecx
jle 0x4a5bc8
mov dword [esp + 0x40], eax
jmp 0x4a5d04
mov dword [esp + 0x40], ecx
jmp 0x4a5d04
test dl, 4
je 0x4a5c41
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp esi, dword [ecx + 8]
jb 0x4a5be9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
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 0x4a5cfc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
sub eax, ecx
add eax, edx
mov edx, dword [esp + 0x44]
cmp eax, edx
jge 0x4a5c38
mov dword [esp + 0x3c], eax
jmp 0x4a5d08
mov dword [esp + 0x3c], edx
jmp 0x4a5d08
test dl, 8
je 0x4a5cbc
mov edx, dword [esp + 0x34]
sub eax, edx
add eax, ecx
mov esi, eax
sub esi, ecx
add edx, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
cmp esi, dword [eax + 8]
jb 0x4a5c6f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
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 + 0x64], 0
je 0x4a5cfc
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
lea eax, [edx + ecx]
mov edx, dword [esp + 0x3c]
cmp eax, edx
jle 0x4a5cb6
mov dword [esp + 0x44], eax
jmp 0x4a5d08
mov dword [esp + 0x44], edx
jmp 0x4a5d08
test dl, 0x10
je 0x4a5e21
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea esi, [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
call fcn.0040f4d0
mov eax, dword [eax]
call fcn.0040dc30
test eax, eax
je 0x4a5cfc
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add esi, dword [esp + 0x68]
add ecx, dword [esp + 0x6c]
sub ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x20]
sub dword [esp + 0x34], eax
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
cmp esi, dword [edi + 8]
jb 0x4a5d3b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov ecx, dword [eax + 0x58]
push 0
push 0x624be8
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
mov eax, dword [eax + 0x64]
add esp, 0x14
neg eax
sbb eax, eax
and eax, 0xffffffc0
add eax, 0x80
or eax, 0x14
cmp esi, dword [edi + 8]
mov ebx, eax
jb 0x4a5d76
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
cmp byte [edx + 0x64], 5
je 0x4a5d95
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x70]
push eax
push ecx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push str.PlayListWindow
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esi, dword [esp + 0x2c]
sub edi, dword [esp + 0x28]
cmp ecx, dword [edx + 8]
jb 0x4a5dc7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebx
push esi
push edi
push eax
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x20]
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_DeferWindowPos]
lea ecx, [esp + 0xc]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 8]
jb 0x4a5e15
call esi
mov esi, dword [esp + 0x14]
add edi, 4
jmp 0x4a588f
test dl, 0x20
je 0x4a5e4f
mov edx, dword [esp + 0x34]
sub edi, ebx
add edi, esi
mov dword [esp + 0x1c], edi
sub edi, esi
mov esi, dword [esp + 0x1c]
sub eax, edx
add eax, ecx
add ebx, edi
mov edi, eax
sub edi, ecx
add edx, edi
mov dword [esp + 0x34], edx
mov ecx, eax
jmp 0x4a5d08
test edx, 0x400
je 0x4a5e84
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
sub eax, edx
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, edi
sub eax, esi
add ebx, eax
mov eax, dword [esp + 0x1c]
mov esi, edi
mov edi, eax
sub edi, ecx
add edx, edi
mov dword [esp + 0x34], edx
mov ecx, eax
jmp 0x4a5d08
mov dl, byte [esp + 0x10]
test dl, 0x40
je 0x4a5ed2
sub eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, edi
mov edi, dword [esp + 0x38]
sub eax, ebx
sub eax, edi
add eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov edx, eax
sub edx, esi
add ebx, edx
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, eax
sub edx, ecx
add dword [esp + 0x34], edx
mov ecx, eax
jmp 0x4a5d08
test dl, dl
jns 0x4a5d08
mov eax, edi
sub eax, ebx
sub eax, dword [esp + 0x38]
add eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x38]
mov edx, eax
sub edx, esi
add ebx, edx
mov edx, dword [esp + 0x3c]
mov edi, edx
sub edi, ecx
add dword [esp + 0x34], edi
mov esi, eax
mov ecx, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
jmp 0x4a5d08
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
cmp dword [ebp + 8], 0
je 0x4a5fba
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4a5f33
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
cmp dword [eax + 4], ebx
jbe 0x4a5f49
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
test esi, esi
je 0x4a5f51
cmp esi, eax
je 0x4a5f57
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x4a5fba
test esi, esi
jne 0x4a5f65
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 8]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x4a5f72
call ebx
mov eax, dword [edi]
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 0x4a5fab
cmp edi, dword [esi + 8]
jb 0x4a5f9b
call ebx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x15c]
push eax
call edx
cmp edi, dword [esi + 8]
jb 0x4a5fb2
call ebx
add edi, 4
jmp 0x4a5f33
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4