Function at 0x41a7b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1025c
call fcn.004574d0
mov eax, dword [0x5c9550]
xor eax, esp
mov dword [esp + 0x10258], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00453b52
pop ecx
push 8
xor eax, eax
xor ebx, ebx
pop ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push eax
call fcn.00453fd1
pop ecx
cmp eax, ebx
je 0x41a815
push 9
pop ecx
mov esi, eax
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
push 0xfffe
lea eax, [esp + 0x265]
push ebx
push eax
mov byte [esp + 0x26c], bl
call fcn.004550c0
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push str._02d__02d__02d__02d
push eax
call fcn.00456fb3
lea eax, [esp + 0x58]
add esp, 0x18
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a85a
lea edi, [esp + 0x260]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41a86b
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x260]
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a88d
push dword [esp + 0x10]
sub eax, ecx
push dword [esp + 0x10]
mov esi, 0xffff
lea eax, [esp + eax + 0x268]
push esi
push eax
call fcn.004a3fbd
add esp, 0x10
cmp dword [ebp + 8], ebx
je 0x41a907
lea eax, [esp + 0x260]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a8c3
sub eax, edx
mov ebx, eax
lea eax, [esp + 0x260]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a8d8
push dword [ebp + 0xc]
sub eax, ecx
mov edi, eax
call fcn.004a3091
pop ecx
push eax
push str.:__s
sub esi, ebx
lea eax, [esp + edi + 0x268]
push esi
push eax
call fcn.004a32ad
add esp, 0x10
xor ebx, ebx
lea edi, [esp + 0x260]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a90f
push ebx
mov esi, 0x5bb910
push 0x5bb8bc
movsw word es:[edi], word [esi]
call fcn.004a3295
pop ecx
pop ecx
test eax, eax
jne 0x41aa49
mov eax, dword [0x5ec0c0]
cmp eax, ebx
jne 0x41a947
push ebx
call sym.TDPlayer.exe__sdk_mutex_create_4
mov dword [0x5ec0c0], eax
push eax
call sym.TDPlayer.exe__sdk_mutex_lock_4
mov eax, dword [0x5ebfb0]
mov ebx, 0x5ebfb8
mov edi, str._slog_sdk__04d__02d__02d__d
mov esi, 0x5bb930
test eax, eax
jne 0x41a9b9
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc eax
push eax
mov eax, dword [esp + 0x34]
add eax, 0x76c
push eax
push ebx
lea eax, [esp + 0x16c]
push edi
push eax
call fcn.00456fb3
add esp, 0x1c
lea eax, [esp + 0x158]
push esi
push eax
call fcn.00453811
mov dword [0x5ebfb0], eax
mov eax, dword [esp + 0x28]
pop ecx
pop ecx
mov dword [0x5d23b8], eax
call fcn.0041a38e
mov eax, dword [0x5ebfb0]
mov ecx, dword [esp + 0x20]
cmp dword [0x5d23b8], ecx
je 0x41aa1e
test eax, eax
je 0x41a9d0
push eax
call fcn.00453ad6
pop ecx
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc eax
push eax
mov eax, dword [esp + 0x34]
add eax, 0x76c
push eax
push ebx
lea eax, [esp + 0x64]
push edi
push eax
call fcn.00456fb3
add esp, 0x1c
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00453811
mov dword [0x5ebfb0], eax
mov eax, dword [esp + 0x28]
pop ecx
pop ecx
mov dword [0x5d23b8], eax
call fcn.0041a38e
mov eax, dword [0x5ebfb0]
test eax, eax
je 0x41aa3e
push eax
lea eax, [esp + 0x264]
push eax
call fcn.004a30fd
push dword [0x5ebfb0]
call fcn.0045e282
add esp, 0xc
push dword [0x5ec0c0]
call sym.TDPlayer.exe__sdk_mutex_unlock_4
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x10264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00452910
mov esp, ebp
pop ebp
ret