Function at 0x40bfc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x5ed920]
push ebx
push esi
push edi
mov ecx, 0x5ed920
mov dword [ebp - 0x1c], 0x5ed920
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov dword [ebp - 4], 0
test eax, eax
jne 0x40c05c
mov eax, dword [0x5e5cb4]
test eax, eax
jne 0x40c05c
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x40c031
push 0
mov ecx, eax
call fcn.00414650
jmp 0x40c033
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [ebp - 4], 0
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
or edi, 0xffffffff
mov ecx, 0x5ed920
mov dword [ebp - 4], edi
call dword [edx + 8]
mov ecx, esi
call fcn.0047ef90
test al, al
je 0x40c11c
mov eax, dword [0x5ed900]
mov ecx, 0x5ed900
mov dword [ebp - 0x1c], ecx
call dword [eax + 4]
mov eax, dword [0x5e5d24]
mov ebx, 2
test eax, eax
mov dword [ebp - 4], ebx
jne 0x40c0fc
mov eax, dword [0x5e5d20]
test eax, eax
jne 0x40c0fc
push 0x450
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x40c0d2
push 0
mov ecx, eax
call fcn.004146a0
jmp 0x40c0d4
xor eax, eax
mov ecx, dword [0x5cefcc]
mov byte [ebp - 4], bl
push ecx
push 0x414670
mov ecx, 0x5eafa0
mov dword [0x5e5d20], eax
call fcn.00406600
mov dword [0x5e5d24], 1
mov edx, dword [0x5ed900]
mov esi, dword [0x5e5d20]
mov ecx, 0x5ed900
mov dword [ebp - 4], edi
call dword [edx + 8]
push 4
mov ecx, esi
call fcn.00411380
mov ebx, dword [ebp + 8]
push str._STORMP2P__OnPlayUrl_begin
mov dword [ebx + 0x34], 1
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov eax, dword [ebx + 0x54]
lea esi, [ebx + 0x54]
mov ecx, esi
mov dword [ebp - 0x1c], esi
call dword [eax + 4]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 4], 4
test eax, eax
je 0x40c161
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], edi
call dword [edx + 8]
mov eax, 1
jmp 0x40c46f
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2cc], 3
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x24], eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
xor edi, edi
cmp eax, edi
mov byte [ebp - 4], 5
jne 0x40c18d
mov dword [ebp - 0x10], edi
jmp 0x40c193
push eax
call esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
cmp eax, edi
jne 0x40c19f
mov dword [ebp - 0x14], edi
jmp 0x40c1a5
push eax
call esi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
lea edi, [ecx + 1]
push edi
call sub.MFC42.DLL_operatornew
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
lea esi, [edx + 1]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov edi, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x18], eax
xor eax, eax
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x18]
mov ecx, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40c1fb
xor edi, edi
jmp 0x40c22d
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.005655c0
mov eax, dword [ebp + 0xc]
mov edi, esp
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, dword [ebp - 0x10]
mov esi, edi
mov edi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x18]
test edi, edi
jne 0x40c24e
xor esi, esi
jmp 0x40c281
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x20], eax
add eax, 3
and al, 0xfc
call fcn.005655c0
mov eax, dword [ebp - 0x20]
mov esi, esp
push 0
push 0
push eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov edx, ecx
mov eax, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov esi, eax
test esi, esi
je 0x40c30c
push esi
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str..fxv
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40c2cd
push str..mkv
jmp 0x40c2fd
mov edx, dword [ebp + 0xc]
push str..spv
push edx
call edi
add esp, 8
test eax, eax
jne 0x40c2e6
push str..rmvb
jmp 0x40c2fd
mov eax, dword [ebp + 0xc]
push str..pxv
push eax
call edi
add esp, 8
test eax, eax
jne 0x40c304
push str..mp4
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov edx, ecx
lea edi, [ebx + 0x80]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x18]
test edi, edi
jne 0x40c331
xor esi, esi
jmp 0x40c364
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x20], eax
add eax, 3
and al, 0xfc
call fcn.005655c0
mov eax, dword [ebp - 0x20]
mov esi, esp
push 0
push 0
push eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, dword [ebp - 0x14]
lea edi, [ebx + 0x184]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x128]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [0x5e5cb0]
mov ecx, 0x40
mov word [ebp - 0x128], ax
xor eax, eax
lea edi, [ebp - 0x126]
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
mov edi, dword [ebp - 0x18]
push edi
push ecx
push str._STORMP2P__OnPlayUrl__s___s_
push 0x104
push edx
call esi
add esp, 0x14
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call fcn.004c4010
test eax, eax
je 0x40c3d6
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp + 8]
push edi
push ecx
push 0x860
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dx, word [0x5e5cb0]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x22a]
mov word [ebp - 0x22c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebx + 0x3c]
push eax
push str.http:__nclog.p2p.baofeng.net_mplay.php
push str._s__recurl1rectime_d
lea eax, [ebp - 0x22c]
push 0x104
push eax
call esi
add esp, 0x10
lea edx, [ebp - 0x22c]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
call fcn.00410ec0
mov eax, dword [ebx + 0x2bc]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_ReleaseSemaphore]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x238]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8