Function at 0x4055c0
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e05f1
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
jne 0x4055e6
xor eax, eax
jmp 0x4055e9
mov eax, dword [esi + 0x20]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x45d
push eax
call ebx
mov edi, eax
cmp edi, ebp
je 0x40562c
push ebp
push 0x100
push ebp
push 0x45d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::ModifyStyle
mov eax, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push edi
push eax
call fcn.00447140
cmp esi, ebp
jne 0x405634
xor eax, eax
jmp 0x405637
mov eax, dword [esi + 0x20]
push 0x454
push eax
call ebx
cmp eax, ebp
je 0x405656
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x40565e
xor eax, eax
jmp 0x405661
mov eax, dword [esi + 0x20]
push 0x455
push eax
call ebx
cmp eax, ebp
je 0x405680
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x405688
xor eax, eax
jmp 0x40568b
mov eax, dword [esi + 0x20]
push 0x456
push eax
call ebx
cmp eax, ebp
je 0x4056aa
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x4056b2
xor eax, eax
jmp 0x4056b5
mov eax, dword [esi + 0x20]
push 0x457
push eax
call ebx
cmp eax, ebp
je 0x4056d4
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x4056dc
xor eax, eax
jmp 0x4056df
mov eax, dword [esi + 0x20]
push 0x458
push eax
call ebx
cmp eax, ebp
je 0x4056fe
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x405706
xor eax, eax
jmp 0x405709
mov eax, dword [esi + 0x20]
push 0x459
push eax
call ebx
cmp eax, ebp
je 0x405728
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x405730
xor eax, eax
jmp 0x405733
mov eax, dword [esi + 0x20]
push 0x45a
push eax
call ebx
cmp eax, ebp
je 0x405752
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x40575a
xor eax, eax
jmp 0x40575d
mov eax, dword [esi + 0x20]
push 0x45b
push eax
call ebx
cmp eax, ebp
je 0x40577c
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
cmp esi, ebp
jne 0x405784
xor eax, eax
jmp 0x405787
mov eax, dword [esi + 0x20]
push 0x45c
push eax
call ebx
cmp eax, ebp
je 0x4057a6
mov edx, dword [esi + 0x1f0]
lea ecx, [esi + 0x1e8]
push eax
push edx
call fcn.00447140
mov eax, dword [esi + 0x100]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x5260a8
push ebp
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x100]
push 0x5261a8
push ebp
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x100]
push 0x5261a0
push ebp
push 0x143
push edx
call edi
fld qword [0x4f7a30]
fld qword [0x4f7a28]
call sub.MSVCRT.dll__CIpow
call sub.MSVCRT.dll__ftol
push 0x42c
mov ecx, esi
mov dword [esi + 0x218], eax
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov eax, dword [eax + 0x20]
push ebp
push 6
push 0xc5
push eax
call edi
mov eax, dword [esi + 0x218]
mov ecx, dword [esi + 0xc0]
push eax
push ebp
push 0x46f
push ecx
call edi
push 0x42d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov edx, dword [eax + 0x20]
push ebp
push 6
push 0xc5
push edx
call edi
mov eax, dword [esi + 0x218]
push eax
mov eax, dword [esi + 0x80]
push ebp
push 0x46f
push eax
call edi
push 1
push 0x3e8
push 0x64
lea ecx, [esi + 0x160]
call sub.MFC42.DLL_CSliderCtrl::SetRange
mov ecx, dword [esi + 0x180]
push 0x64
push ebp
push 0x417
push ecx
call edi
mov edx, dword [esi + 0x180]
push 0x64
push ebp
push 0x415
push edx
call edi
mov eax, dword [esi + 0x180]
push ebp
push 0x64
push 0x414
push eax
call edi
push 1
push 0x64
push 0xffffffffffffff9c
lea ecx, [esi + 0x120]
call sub.MFC42.DLL_CSliderCtrl::SetRange
mov ecx, dword [esi + 0x140]
push 0x64
push ebp
push 0x417
push ecx
call edi
mov edx, dword [esi + 0x140]
push 0x64
push ebp
push 0x415
push edx
call edi
mov eax, dword [esi + 0x140]
push ebp
push 1
push 0x405
push eax
call edi
mov ecx, dword [esi + 0x180]
push 0x64
push 1
push 0x405
push ecx
call edi
mov edx, dword [esi + 0x100]
push ebp
push ebp
push 0x14e
push edx
call edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [0x53a3c0]
mov ecx, 0x53a3c0
mov byte [esp + 0x78], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x60], ecx
call dword [eax + 4]
mov eax, dword [0x534040]
mov bl, 2
cmp eax, ebp
mov byte [esp + 0x78], bl
jne 0x405999
cmp dword [0x53403c], ebp
jne 0x405999
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebp
mov byte [esp + 0x78], 3
je 0x40596e
mov ecx, eax
call fcn.00431c60
jmp 0x405970
xor eax, eax
mov ecx, dword [0x525888]
mov byte [esp + 0x78], bl
push ecx
push 0x4031b0
mov ecx, 0x538d90
mov dword [0x53403c], eax
call fcn.00402180
mov dword [0x534040], 1
mov edx, dword [0x53a3c0]
mov ebx, dword [0x53403c]
mov ecx, 0x53a3c0
mov byte [esp + 0x78], 1
call dword [edx + 8]
mov eax, dword [ebx]
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [eax + 8]
test eax, eax
jl 0x405a8c
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x405a8c
push 0x526190
lea edx, [esp + 0x20]
push eax
push edx
call fcn.004030c0
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x405a8c
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x405a10
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x100]
push ebp
push eax
push 0x14e
push ecx
call edi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jl 0x405a38
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x140]
push edx
push 1
push 0x405
push eax
call edi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jl 0x405a8c
cmp dword [esp + 0x14], 0x64
je 0x405a64
mov eax, dword [esi + 0x180]
push 0x64
push 1
push 0x405
push eax
jmp 0x405a8a
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jl 0x405a8c
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x180]
push eax
push 1
push 0x405
push ecx
call edi
mov dword [esp + 0x2c], ebp
mov edx, dword [0x53a380]
mov ecx, 0x53a380
mov byte [esp + 0x78], 4
mov dword [esp + 0x60], ecx
call dword [edx + 4]
mov eax, dword [0x53404c]
mov bl, 5
cmp eax, ebp
mov byte [esp + 0x78], bl
jne 0x405b0f
cmp dword [0x534048], ebp
jne 0x405b0f
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebp
mov byte [esp + 0x78], 6
je 0x405ae2
push ebp
mov ecx, eax
call fcn.00404ab0
jmp 0x405ae4
xor eax, eax
mov dword [0x534048], eax
mov eax, dword [0x525b68]
push eax
push 0x404a80
mov ecx, 0x538d90
mov byte [esp + 0x80], bl
call fcn.00402180
mov dword [0x53404c], 1
mov edx, dword [0x53a380]
mov ebx, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x78], 4
call dword [edx + 8]
cmp ebx, ebp
je 0x405f8c
mov dword [esp + 0x10], ebp
mov eax, dword [0x53a380]
mov ecx, 0x53a380
mov byte [esp + 0x78], 7
mov dword [esp + 0x60], ecx
call dword [eax + 4]
mov eax, dword [0x53404c]
mov bl, 8
cmp eax, ebp
mov byte [esp + 0x78], bl
jne 0x405bb0
cmp dword [0x534048], ebp
jne 0x405bb0
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebp
mov byte [esp + 0x78], 9
je 0x405b85
push ebp
mov ecx, eax
call fcn.00404ab0
jmp 0x405b87
xor eax, eax
mov ecx, dword [0x525b68]
mov byte [esp + 0x78], bl
push ecx
push 0x404a80
mov ecx, 0x538d90
mov dword [0x534048], eax
call fcn.00402180
mov dword [0x53404c], 1
mov edx, dword [0x53a380]
mov ebx, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x78], 7
call dword [edx + 8]
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [eax + 0xb8]
test eax, eax
mov eax, dword [esp + 0x10]
jl 0x405f7d
cmp eax, ebp
je 0x405f7d
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebp
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x405c13
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x180]
push edx
push 1
push 0x405
push eax
call edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x80], 0xa
call dword [ecx + 0x20]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
push eax
call fcn.004dcf9e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x80], 0xb
call dword [ecx + 0x40]
mov eax, dword [esp + 0x34]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x5c], ebx
jle 0x405f60
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push ebx
mov ecx, dword [eax]
push eax
mov byte [esp + 0x84], 0xc
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push eax
call fcn.004dcf9e
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x1c0]
push ecx
push ebp
push 0x143
push edx
mov byte [esp + 0x88], 0xd
call edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x405f36
mov edx, dword [esi + 0x1c0]
push ebp
push ebx
push 0x14e
push edx
call edi
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push eax
call fcn.00404920
add esp, 8
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x80], 0xe
mov edx, dword [ecx]
call dword [edx + 0x24]
test eax, eax
jl 0x405e0c
mov eax, dword [esi + 0x1f0]
mov dword [esp + 0x20], ebp
cmp eax, ebp
jle 0x405f25
mov eax, dword [esi + 0x1ec]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx*4]
push edx
call sub.MFC42.DLL_CWnd::FromHandle
mov ebp, eax
test ebp, ebp
je 0x405df0
push 1
push 0xe
push 0xfffffffffffffff2
mov ecx, ebp
call sub.MFC42.DLL_CSliderCtrl::SetRange
push 0x5c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x78], 0xf
je 0x405d68
mov ecx, eax
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
mov dword [esp + 0x48], eax
jmp 0x405d70
mov dword [esp + 0x48], 0
mov eax, dword [esi + 0x204]
lea ebx, [esi + 0x1fc]
mov dword [esp + 0x54], eax
inc eax
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov byte [esp + 0x80], 0xe
call fcn.00447000
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
push 0
push ebp
mov dword [eax + edx*4], ecx
call sub.MFC42.DLL_CToolTipCtrl::Create
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x405df0
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x405df0
mov ecx, dword [esp + 0x4c]
mov eax, 0xae147ae1
imul ecx
sar edx, 5
mov ecx, dword [ebp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 1
push 0x405
push ecx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x1f0]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x405d1a
jmp 0x405f25
xor ebp, ebp
mov ebx, 0x525c18
mov eax, dword [ebx]
mov edx, dword [esp + 0x38]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x405e39
add ebx, 0x2c
inc ebp
cmp ebx, 0x525fe0
jl 0x405e13
jmp 0x405f25
mov eax, dword [esi + 0x1f0]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x405f25
lea eax, [ebp + ebp*4]
lea ecx, [ebp + eax*2]
lea edx, [ecx*4 + 0x525c1c]
mov dword [esp + 0x54], edx
mov eax, dword [esi + 0x1ec]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + ecx*4]
push edx
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
push 1
push 0xe
push 0xfffffffffffffff2
mov ecx, ebx
call sub.MFC42.DLL_CSliderCtrl::SetRange
push 0x5c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov byte [esp + 0x78], 0x10
je 0x405ea8
mov ecx, eax
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
mov dword [esp + 0x48], eax
jmp 0x405eb0
mov dword [esp + 0x48], 0
mov ebp, dword [esi + 0x204]
lea ecx, [esi + 0x1fc]
push 0xffffffffffffffff
mov byte [esp + 0x7c], 0xe
lea eax, [ebp + 1]
push eax
call fcn.00447000
mov edx, dword [esi + 0x200]
mov ecx, dword [esp + 0x48]
push 0
push ebx
mov dword [edx + ebp*4], ecx
call sub.MFC42.DLL_CToolTipCtrl::Create
mov ebp, dword [esp + 0x54]
mov eax, 0xae147ae1
mov ecx, dword [ebp]
imul ecx
sar edx, 5
mov ecx, dword [ebx + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 1
push 0x405
push ecx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x1f0]
inc eax
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], ebp
jl 0x405e62
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [esp + 0x5c]
xor ebp, ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
mov dword [esp + 0x5c], ebx
jl 0x405c69
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov byte [esp + 0x78], 4
je 0x405f8c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [0x53a380]
mov ecx, 0x53a380
mov dword [esp + 0x60], ecx
call dword [eax + 4]
mov eax, dword [0x53404c]
mov byte [esp + 0x78], 0x11
cmp eax, ebp
jne 0x40600b
cmp dword [0x534048], ebp
jne 0x40600b
push 0x110
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x5c], ebx
cmp ebx, ebp
mov byte [esp + 0x78], 0x12
je 0x405fde
mov ecx, ebx
call fcn.0043e060
mov dword [ebx], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x405fe0
xor ebx, ebx
mov ecx, dword [0x525b68]
mov byte [esp + 0x78], 0x11
push ecx
push 0x404a80
mov ecx, 0x538d90
mov dword [0x534048], ebx
call fcn.00402180
mov dword [0x53404c], 1
mov edx, dword [0x53a380]
mov ebx, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x78], 4
call dword [edx + 8]
cmp ebx, ebp
je 0x40612d
mov eax, dword [0x53a380]
mov ecx, 0x53a380
mov dword [esp + 0x60], ecx
call dword [eax + 4]
mov eax, dword [0x53404c]
mov byte [esp + 0x78], 0x13
cmp eax, ebp
jne 0x4060ab
cmp dword [0x534048], ebp
jne 0x4060ab
push 0x110
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x5c], ebx
cmp ebx, ebp
mov byte [esp + 0x78], 0x14
je 0x40607e
mov ecx, ebx
call fcn.0043e060
mov dword [ebx], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x406080
xor ebx, ebx
mov ecx, dword [0x525b68]
mov byte [esp + 0x78], 0x13
push ecx
push 0x404a80
mov ecx, 0x538d90
mov dword [0x534048], ebx
call fcn.00402180
mov dword [0x53404c], 1
mov edx, dword [0x53a380]
mov ebx, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x78], 4
call dword [edx + 8]
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
push ebx
call dword [eax + 0xa0]
test eax, eax
jl 0x40612d
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x40612d
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [edx + 0x50]
test eax, eax
jl 0x406101
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 0x100]
push ebp
push edx
push 0x14e
push eax
call edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x40612d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x140]
push eax
push 1
push 0x405
push ecx
call edi
mov eax, dword [esi + 0xc0]
lea edx, [esp + 0x68]
push edx
push 1
push 0x46b
push eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0x64
call edi
mov edx, dword [esi + 0x80]
lea ecx, [esp + 0x68]
push ecx
push 1
push 0x46b
push edx
call edi
push ebp
push 0x40c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x42c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x4ba
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x40d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x42d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x4bb
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebp
mov eax, dword [0x53a380]
mov ecx, 0x53a380
mov byte [esp + 0x78], 0x16
mov dword [esp + 0x5c], ecx
call dword [eax + 4]
mov eax, dword [0x53404c]
mov byte [esp + 0x78], 0x17
cmp eax, ebp
jne 0x4062ae
cmp dword [0x534048], ebp
jne 0x4062ae
push 0x110
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x60], ebx
cmp ebx, ebp
mov byte [esp + 0x78], 0x18
je 0x406242
mov ecx, ebx
call fcn.0043e060
mov dword [ebx], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x406244
xor ebx, ebx
mov ecx, dword [0x538d98]
mov ebp, dword [0x525b68]
mov dword [0x534048], ebx
xor ebx, ebx
lea eax, [ecx - 1]
mov byte [esp + 0x78], 0x17
test eax, eax
mov dword [esp + 0x4c], 0x404a80
mov dword [esp + 0x60], eax
jl 0x40628f
lea edx, [esp + 0x54]
push ebx
push edx
mov ecx, 0x538d90
call fcn.00407c20
cmp ebp, dword [esp + 0x58]
jge 0x40628f
mov eax, dword [esp + 0x60]
inc ebx
cmp ebx, eax
jle 0x406270
mov eax, dword [esp + 0x4c]
push 1
push ebp
push eax
push ebx
mov ecx, 0x538d90
call fcn.00407c40
mov dword [0x53404c], 1
xor ebp, ebp
mov edx, dword [0x53a380]
mov ebx, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x78], 0x16
call dword [edx + 8]
cmp ebx, ebp
je 0x406533
mov eax, dword [0x53a380]
mov ecx, 0x53a380
mov dword [esp + 0x5c], ecx
call dword [eax + 4]
mov eax, dword [0x53404c]
mov byte [esp + 0x78], 0x19
cmp eax, ebp
jne 0x406395
cmp dword [0x534048], ebp
jne 0x406395
push 0x110
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x60], ebx
cmp ebx, ebp
mov byte [esp + 0x78], 0x1a
je 0x406329
mov ecx, ebx
call fcn.0043e060
mov dword [ebx], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x40632b
xor ebx, ebx
mov ecx, dword [0x538d98]
mov ebp, dword [0x525b68]
mov dword [0x534048], ebx
xor ebx, ebx
lea eax, [ecx - 1]
mov byte [esp + 0x78], 0x19
test eax, eax
mov dword [esp + 0x4c], 0x404a80
mov dword [esp + 0x60], eax
jl 0x406376
lea edx, [esp + 0x54]
push ebx
push edx
mov ecx, 0x538d90
call fcn.00407c20
cmp ebp, dword [esp + 0x58]
jge 0x406376
mov eax, dword [esp + 0x60]
inc ebx
cmp ebx, eax
jle 0x406357
mov eax, dword [esp + 0x4c]
push 1
push ebp
push eax
push ebx
mov ecx, 0x538d90
call fcn.00407c40
mov dword [0x53404c], 1
xor ebp, ebp
mov edx, dword [0x53a380]
mov ebx, dword [0x534048]
mov ecx, 0x53a380
mov byte [esp + 0x78], 0x16
call dword [edx + 8]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0043f3a0
test eax, eax
jl 0x406533
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x406537
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x526180
push eax
call dword [ecx]
cmp dword [esp + 0x28], ebp
je 0x406533
push 1
push 0x4ba
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x4bb
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x60]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push ebp
push 0x2710
push eax
push ecx
call fcn.004dd7b0
mov ebx, eax
cmp ebx, ebp
jge 0x4064b9
push 0x4ba
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov edx, dword [eax + 0x20]
push ebp
push 1
push 0xf1
push edx
call edi
push 1
push 0x40c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x42c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x40d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x42d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
neg ebx
mov dword [esi + 0x1e0], ebx
jmp 0x40652b
push 0x4bb
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov eax, dword [eax + 0x20]
push ebp
push 1
push 0xf1
push eax
call edi
push 1
push 0x40d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x42d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x40c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebp
push 0x42c
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov dword [esi + 0x1e4], ebx
push ebp
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
pop edi
cmp ecx, ebp
mov byte [esp + 0x74], 0x15
pop ebx
je 0x406550
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov byte [esp + 0x70], 4
je 0x40655f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 1
cmp eax, ebp
je 0x406572
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x70], 0
cmp eax, ebp
je 0x406585
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
pop esi
cmp eax, ebp
mov dword [esp + 0x6c], 0xffffffff
pop ebp
je 0x40659d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret