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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d2e30
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
jne 0x406878
xor eax, eax
jmp 0x40687b
mov eax, dword [ebp + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x45d
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4068bc
push ebx
push 0x100
push ebx
push 0x45d
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::ModifyStyle
mov eax, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push esi
push eax
call fcn.0048d1f0
cmp ebp, ebx
jne 0x4068c4
xor eax, eax
jmp 0x4068c7
mov eax, dword [ebp + 0x20]
push 0x454
push eax
call edi
cmp eax, ebx
je 0x4068e6
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x4068ee
xor eax, eax
jmp 0x4068f1
mov eax, dword [ebp + 0x20]
push 0x455
push eax
call edi
cmp eax, ebx
je 0x406910
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x406918
xor eax, eax
jmp 0x40691b
mov eax, dword [ebp + 0x20]
push 0x456
push eax
call edi
cmp eax, ebx
je 0x40693a
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x406942
xor eax, eax
jmp 0x406945
mov eax, dword [ebp + 0x20]
push 0x457
push eax
call edi
cmp eax, ebx
je 0x406964
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x40696c
xor eax, eax
jmp 0x40696f
mov eax, dword [ebp + 0x20]
push 0x458
push eax
call edi
cmp eax, ebx
je 0x40698e
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x406996
xor eax, eax
jmp 0x406999
mov eax, dword [ebp + 0x20]
push 0x459
push eax
call edi
cmp eax, ebx
je 0x4069b8
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x4069c0
xor eax, eax
jmp 0x4069c3
mov eax, dword [ebp + 0x20]
push 0x45a
push eax
call edi
cmp eax, ebx
je 0x4069e2
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x4069ea
xor eax, eax
jmp 0x4069ed
mov eax, dword [ebp + 0x20]
push 0x45b
push eax
call edi
cmp eax, ebx
je 0x406a0c
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
cmp ebp, ebx
jne 0x406a14
xor eax, eax
jmp 0x406a17
mov eax, dword [ebp + 0x20]
push 0x45c
push eax
call edi
cmp eax, ebx
je 0x406a36
mov edx, dword [ebp + 0x1ec]
lea ecx, [ebp + 0x1e4]
push eax
push edx
call fcn.0048d1f0
push 1
push 0x3e8
push 0x64
lea ecx, [ebp + 0xe0]
call sub.MFC42.DLL_CSliderCtrl::SetRange
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0x180]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x518220
push ebx
push 0x143
push eax
mov dword [esp + 0x7c], ebx
call edi
mov ecx, dword [ebp + 0x180]
push 0x5183d4
push ebx
push 0x143
push ecx
call edi
mov edx, dword [ebp + 0x180]
push 0x5183cc
push ebx
push 0x143
push edx
call edi
push 1
push 0x64
push 0xffffffffffffff9c
lea ecx, [ebp + 0x120]
call sub.MFC42.DLL_CSliderCtrl::SetRange
push 0x461
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov eax, dword [eax + 0x20]
push ebx
push 6
push 0xc5
push eax
call edi
mov ecx, dword [ebp + 0xc0]
push 0xd8f02710
push ebx
push 0x465
push ecx
call edi
mov edx, dword [0x52d140]
mov ecx, 0x52d140
mov dword [esp + 0x54], ecx
call dword [edx + 4]
mov eax, dword [0x526620]
mov byte [esp + 0x6c], 1
cmp eax, ebx
jne 0x406b47
cmp dword [0x52661c], ebx
jne 0x406b47
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, ebx
mov byte [esp + 0x6c], 2
je 0x406b1c
push ebx
mov ecx, eax
call fcn.00403720
jmp 0x406b1e
xor eax, eax
mov dword [0x52661c], eax
mov eax, dword [0x5177d4]
push eax
push 0x4036f0
mov ecx, 0x52b648
mov byte [esp + 0x74], 1
call fcn.00402160
mov dword [0x526620], 1
mov edx, dword [0x52d140]
mov esi, dword [0x52661c]
mov ecx, 0x52d140
mov byte [esp + 0x6c], 0
call dword [edx + 8]
cmp esi, ebx
je 0x406f39
mov eax, dword [0x52d140]
mov ecx, 0x52d140
mov dword [esp + 0x54], ecx
call dword [eax + 4]
mov eax, dword [0x526620]
mov bl, 3
test eax, eax
mov byte [esp + 0x6c], bl
jne 0x406bde
mov eax, dword [0x52661c]
test eax, eax
jne 0x406bde
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x6c], 4
je 0x406bb3
push 0
mov ecx, eax
call fcn.00403720
jmp 0x406bb5
xor eax, eax
mov ecx, dword [0x5177d4]
mov byte [esp + 0x6c], bl
push ecx
push 0x4036f0
mov ecx, 0x52b648
mov dword [0x52661c], eax
call fcn.00402160
mov dword [0x526620], 1
mov edx, dword [0x52d140]
mov esi, dword [0x52661c]
mov ecx, 0x52d140
mov byte [esp + 0x6c], 0
call dword [edx + 8]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0043f740
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406f2a
mov dword [esp + 0x10], 0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
mov dword [ecx], eax
call fcn.00408f30
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.00409370
push eax
push 0x5183bc
push 0x518390
call fcn.00402e90
mov ecx, eax
call fcn.0043f520
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.MSVCRT.dll_atol]
test eax, eax
mov esi, 0x32
je 0x406cc2
push 0xc
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x6c], 8
je 0x406c80
push esi
mov ecx, eax
call fcn.00405e30
jmp 0x406c82
xor eax, eax
test eax, eax
mov byte [esp + 0x6c], 6
mov dword [esp + 0x34], eax
jne 0x406c9d
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x6c], 9
je 0x406caf
mov ecx, eax
call fcn.00405ec0
jmp 0x406cb1
xor eax, eax
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00405de0
mov ecx, dword [ebp + 0x140]
push esi
push 1
push 0x405
push ecx
call edi
mov edx, dword [esp + 0x14]
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
mov dword [ecx], edx
call fcn.00408f30
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.00409370
push eax
push 0x518380
push 0x51835c
call fcn.00402e90
mov ecx, eax
call fcn.0043f520
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
je 0x406d7e
push 0xc
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x6c], 0xb
je 0x406d37
push esi
mov ecx, eax
call fcn.00405e30
jmp 0x406d39
xor eax, eax
test eax, eax
mov byte [esp + 0x6c], 6
mov dword [esp + 0x34], eax
jne 0x406d54
push 0x8007000e
call fcn.004cf728
mov eax, dword [esp + 0x34]
test eax, eax
mov byte [esp + 0x6c], 0xc
je 0x406d66
mov ecx, eax
call fcn.00405ec0
jmp 0x406d68
xor eax, eax
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x6c], 6
call fcn.00405de0
mov eax, dword [ebp + 0x180]
push 0
push esi
push 0x14e
push eax
call edi
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x58], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x406daa
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.00409370
push eax
push 0x5183bc
push 0x518334
call fcn.00402e90
mov ecx, eax
call fcn.0043f520
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
je 0x406e43
push 0xc
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x6c], 0xe
je 0x406dfe
push esi
mov ecx, eax
call fcn.00405e30
mov esi, eax
jmp 0x406e00
xor esi, esi
test esi, esi
mov byte [esp + 0x6c], 6
mov dword [esp + 0x54], esi
jne 0x406e17
push 0x8007000e
call fcn.004cf728
test esi, esi
mov byte [esp + 0x6c], 0xf
je 0x406e29
mov ecx, esi
call fcn.00405ec0
jmp 0x406e2b
xor eax, eax
push eax
call ebx
add esp, 4
mov edi, eax
test esi, esi
mov byte [esp + 0x6c], 6
je 0x406e43
mov ecx, esi
call fcn.00405e70
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [ebp + 0x1e0], edi
mov dword [esp + 0x58], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x406e64
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 6
call fcn.00409370
push eax
push 0x5183bc
push 0x518308
call fcn.00402e90
mov ecx, eax
call fcn.0043f520
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
je 0x406efd
push 0xc
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x6c], 0x11
je 0x406eb8
push esi
mov ecx, eax
call fcn.00405e30
mov esi, eax
jmp 0x406eba
xor esi, esi
test esi, esi
mov byte [esp + 0x6c], 6
mov dword [esp + 0x54], esi
jne 0x406ed1
push 0x8007000e
call fcn.004cf728
test esi, esi
mov byte [esp + 0x6c], 0x12
je 0x406ee3
mov ecx, esi
call fcn.00405ec0
jmp 0x406ee5
xor eax, eax
push eax
call ebx
add esp, 4
mov edi, eax
test esi, esi
mov byte [esp + 0x6c], 6
je 0x406efd
mov ecx, esi
call fcn.00405e70
mov eax, dword [ebp + 0x100]
push edi
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x6c], 0
je 0x406f39
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0x214]
test eax, eax
je 0x406f4d
push 1
lea ecx, [ebp + 0x60]
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [0x52d100]
mov ecx, 0x52d100
mov dword [esp + 0x54], ecx
call dword [eax + 4]
mov eax, dword [0x52662c]
xor edi, edi
mov bl, 0x13
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x406fc6
cmp dword [0x526628], edi
jne 0x406fc6
push 0xb0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, edi
mov byte [esp + 0x6c], 0x14
je 0x406f9b
push edi
mov ecx, eax
call fcn.00404bd0
jmp 0x406f9d
xor eax, eax
mov ecx, dword [0x517cd8]
mov byte [esp + 0x6c], bl
push ecx
push 0x404ba0
mov ecx, 0x52b648
mov dword [0x526628], eax
call fcn.00402160
mov dword [0x52662c], 1
mov edx, dword [0x52d100]
mov esi, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0
call dword [edx + 8]
cmp esi, edi
je 0x407443
mov dword [esp + 0x10], edi
mov eax, dword [0x52d100]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0x15
mov dword [esp + 0x54], ecx
call dword [eax + 4]
mov eax, dword [0x52662c]
mov bl, 0x16
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x407067
cmp dword [0x526628], edi
jne 0x407067
push 0xb0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, edi
mov byte [esp + 0x6c], 0x17
je 0x40703c
push edi
mov ecx, eax
call fcn.00404bd0
jmp 0x40703e
xor eax, eax
mov ecx, dword [0x517cd8]
mov byte [esp + 0x6c], bl
push ecx
push 0x404ba0
mov ecx, 0x52b648
mov dword [0x526628], eax
call fcn.00402160
mov dword [0x52662c], 1
mov edx, dword [0x52d100]
mov esi, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0x15
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0xac]
test eax, eax
mov eax, dword [esp + 0x10]
jl 0x407434
cmp eax, edi
je 0x407434
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x4070ce
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x100]
push edx
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x74], 0x18
call dword [ecx + 0x20]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
call fcn.004ceb88
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x74], 0x19
call dword [ecx + 0x40]
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x4c], esi
jle 0x407415
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, dword [eax]
push eax
mov byte [esp + 0x78], 0x1a
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push eax
call fcn.004ceb88
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x1c0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 0
push 0x143
push edx
mov byte [esp + 0x7c], 0x1b
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4073eb
mov edx, dword [ebp + 0x1c0]
push eax
push esi
push 0x14e
push edx
call edi
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.00404d00
add esp, 8
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x74], 0x1c
mov edx, dword [ecx]
call dword [edx + 0x24]
test eax, eax
jl 0x4072c4
mov eax, dword [ebp + 0x1ec]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4073d6
mov eax, dword [ebp + 0x1e8]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
push edx
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
test ebx, ebx
je 0x4072a8
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 + 0x44], eax
test eax, eax
mov byte [esp + 0x6c], 0x1d
je 0x407225
mov ecx, eax
call fcn.004cec6c
mov dword [esp + 0x3c], eax
jmp 0x40722d
mov dword [esp + 0x3c], 0
mov esi, dword [ebp + 0x200]
lea edi, [ebp + 0x1f8]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [esi + 1]
mov byte [esp + 0x70], 0x1c
push eax
call fcn.00409230
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x3c]
push 0
push ebx
mov dword [edx + esi*4], ecx
call sub.MFC42.DLL_CToolTipCtrl::Create
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], 0
test eax, eax
je 0x4072a8
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x4072a8
mov ecx, dword [esp + 0x40]
mov eax, 0xae147ae1
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 dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1ec]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4071d7
jmp 0x4073d6
xor edi, edi
mov esi, 0x517d90
mov eax, dword [esi]
mov edx, dword [esp + 0x30]
push eax
push edx
call ebx
add esp, 8
test eax, eax
je 0x4072ed
add esi, 0x2c
inc edi
cmp esi, 0x518158
jl 0x4072cb
jmp 0x4073d6
mov eax, dword [ebp + 0x1ec]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4073d6
lea eax, [edi + edi*4]
lea ebx, [ebp + 0x1f8]
lea ecx, [edi + eax*2]
lea edx, [ecx*4 + 0x517d94]
mov dword [esp + 0x44], edx
mov eax, dword [ebp + 0x1e8]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
push edx
call sub.MFC42.DLL_CWnd::FromHandle
mov edi, eax
push 1
push 0xe
push 0xfffffffffffffff2
mov ecx, edi
call sub.MFC42.DLL_CSliderCtrl::SetRange
push 0x5c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x6c], 0x1e
je 0x407360
mov ecx, eax
call fcn.004cec6c
mov dword [esp + 0x3c], eax
jmp 0x407368
mov dword [esp + 0x3c], 0
mov esi, dword [ebx + 8]
push 0xffffffffffffffff
mov ecx, ebx
mov byte [esp + 0x70], 0x1c
lea eax, [esi + 1]
push eax
call fcn.00409230
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
push 0
push edi
mov dword [edx + esi*4], ecx
call sub.MFC42.DLL_CToolTipCtrl::Create
mov esi, dword [esp + 0x44]
mov eax, 0xae147ae1
mov ecx, dword [esi]
imul ecx
sar edx, 5
mov ecx, dword [edi + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 1
push 0x405
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1ec]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], esi
jl 0x40731a
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0x1a
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x4c], esi
jl 0x407124
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 0x18
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
mov byte [esp + 0x6c], 0
je 0x407443
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [0x52d100]
mov ecx, 0x52d100
mov dword [esp + 0x54], ecx
call dword [eax + 4]
mov eax, dword [0x52662c]
mov bl, 0x1f
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x4074c2
cmp dword [0x526628], edi
jne 0x4074c2
push 0xb0
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
cmp esi, edi
mov byte [esp + 0x6c], 0x20
je 0x407496
mov ecx, esi
call fcn.0044bac0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x407498
xor esi, esi
mov ecx, dword [0x517cd8]
mov byte [esp + 0x6c], bl
push ecx
push 0x404ba0
mov ecx, 0x52b648
mov dword [0x526628], esi
call fcn.00402160
mov dword [0x52662c], 1
mov edx, dword [0x52d100]
mov esi, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0
call dword [edx + 8]
cmp esi, edi
je 0x4075ec
mov eax, dword [0x52d100]
mov ecx, 0x52d100
mov dword [esp + 0x54], ecx
call dword [eax + 4]
mov eax, dword [0x52662c]
mov bl, 0x21
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x407562
cmp dword [0x526628], edi
jne 0x407562
push 0xb0
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
cmp esi, edi
mov byte [esp + 0x6c], 0x22
je 0x407536
mov ecx, esi
call fcn.0044bac0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x407538
xor esi, esi
mov ecx, dword [0x517cd8]
mov byte [esp + 0x6c], bl
push ecx
push 0x404ba0
mov ecx, 0x52b648
mov dword [0x526628], esi
call fcn.00402160
mov dword [0x52662c], 1
mov edx, dword [0x52d100]
mov esi, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [eax + 0x94]
test eax, eax
jl 0x4075ec
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4075ec
mov edx, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [edx + 0x50]
test eax, eax
jl 0x4075bc
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0x180]
push edi
push edx
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x4075ec
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x140]
push eax
push 1
push 0x405
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0xc0]
lea edx, [esp + 0x5c]
push edx
push 1
xor edi, edi
push 0x46b
push eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0x64
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov edx, dword [0x52d100]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0x24
mov dword [esp + 0x54], ecx
call dword [edx + 4]
mov eax, dword [0x52662c]
mov bl, 0x25
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x40769f
cmp dword [0x526628], edi
jne 0x40769f
push 0xb0
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
cmp esi, edi
mov byte [esp + 0x6c], 0x26
je 0x407674
mov ecx, esi
call fcn.0044bac0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x407676
xor esi, esi
mov eax, dword [0x517cd8]
mov ecx, 0x52b648
push eax
push 0x404ba0
mov byte [esp + 0x74], bl
mov dword [0x526628], esi
call fcn.00402160
mov dword [0x52662c], 1
mov edx, dword [0x52d100]
mov esi, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0x24
call dword [edx + 8]
cmp esi, edi
je 0x40784e
mov eax, dword [0x52d100]
mov ecx, 0x52d100
mov dword [esp + 0x54], 0x52d100
call dword [eax + 4]
mov eax, dword [0x52662c]
mov bl, 0x27
cmp eax, edi
mov byte [esp + 0x6c], bl
jne 0x407782
cmp dword [0x526628], edi
jne 0x407782
push 0xb0
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
cmp esi, edi
mov byte [esp + 0x6c], 0x28
je 0x40771f
mov ecx, esi
call fcn.0044bac0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x407721
xor esi, esi
mov ecx, dword [0x52b650]
mov edi, dword [0x517cd8]
mov byte [esp + 0x6c], bl
mov dword [0x526628], esi
lea ebx, [ecx - 1]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x44], 0x404ba0
jl 0x407763
lea edx, [esp + 0x4c]
push esi
push edx
mov ecx, 0x52b648
call fcn.00408f40
cmp edi, dword [esp + 0x50]
jge 0x407763
inc esi
cmp esi, ebx
jle 0x407748
mov eax, dword [esp + 0x44]
push 1
push edi
push eax
push esi
mov ecx, 0x52b648
call fcn.00408f60
mov dword [0x52662c], 1
xor edi, edi
mov edx, dword [0x52d100]
mov esi, dword [0x526628]
mov ecx, 0x52d100
mov byte [esp + 0x6c], 0x24
call dword [edx + 8]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0044d410
test eax, eax
jl 0x40784e
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x407852
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x5182f8
push eax
call dword [ecx]
cmp dword [esp + 0x20], edi
je 0x40782e
push 1
lea ecx, [ebp + 0xa0]
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push 0x461
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push edi
push 0x2710
push eax
push ecx
call fcn.004cf3c0
push edi
mov ecx, ebp
mov dword [ebp + 0x1e0], eax
call sub.MFC42.DLL_CWnd::UpdateData
jmp 0x40784e
push edi
lea ecx, [ebp + 0xa0]
call sub.MFC42.DLL_CWnd::EnableWindow
push edi
push 0x461
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x6c], 0x23
cmp ecx, edi
je 0x407869
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x6c], 0
je 0x407878
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, edi
je 0x40788e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret