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

Disassembly:
push 0xffffffffffffffff
push 0x5c87c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62f570]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [esp + 0x18]
call fcn.00461d90
mov eax, str.FRPreviewCtrl
mov dword [esp + 0x64], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461b02
sub eax, edx
sar eax, 1
push eax
push str.FRPreviewCtrl
lea ecx, [esp + 0x20]
call fcn.00406410
mov eax, 0x5f3454
lea edx, [eax + 2]
jmp 0x461b30
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461b30
sub eax, edx
sar eax, 1
push eax
push 0x5f3454
lea ecx, [esp + 0x28]
call fcn.00406410
test edi, edi
jne 0x461b56
xor eax, eax
jmp 0x461b6f
mov eax, edi
lea edx, [eax + 2]
jmp 0x461b60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461b60
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00406410
mov eax, str._wmpplay_
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x461b82
sub eax, ecx
sar eax, 1
push eax
push str._wmpplay_
lea ecx, [esp + 0x24]
call fcn.00406410
mov edi, dword [esp + 0x6c]
add edi, 0x54
lea ebx, [esp + 0x18]
call fcn.004624d0
lea eax, [esp + 0x28]
push eax
call fcn.00462ce0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x68], 1
call fcn.00462ce0
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
lea esi, [esp + 0x30]
mov edi, 0x5f353c
call fcn.00405ce0
add eax, 0x10
add esp, 4
mov ecx, esi
mov edx, edi
mov dword [ebx], eax
call fcn.004621c0
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
lea esi, [esp + 0x48]
call fcn.00405ce0
add eax, 0x10
add esp, 4
mov ecx, esi
mov edx, edi
mov dword [ebx], eax
call fcn.004621c0
mov eax, dword [esp + 0x38]
mov edx, eax
sub edx, dword [esp + 0x34]
xor ebx, ebx
sar edx, 2
xor esi, esi
test edx, edx
jbe 0x461c9f
lea ebx, [ebx]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x4c]
sar ecx, 2
cmp esi, ecx
jb 0x461c58
call fcn.005807d8
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
mov ebp, dword [edx + esi*4]
sar eax, 2
cmp esi, eax
jb 0x461c6f
call fcn.005807d8
mov eax, dword [esp + 0x34]
mov edi, dword [eax + esi*4]
push 0xa
push ebx
push ebp
call fcn.00584b2c
mov ecx, dword [esp + 0x78]
add esp, 0xc
push eax
push edi
call fcn.00461ea0
mov eax, dword [esp + 0x38]
mov ecx, eax
sub ecx, dword [esp + 0x34]
inc esi
sar ecx, 2
cmp esi, ecx
jb 0x461c40
mov byte [esp + 0x64], 1
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x461ce8
mov eax, dword [esp + 0x50]
mov edi, eax
cmp esi, eax
je 0x461cdf
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461cd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x461cb6
mov esi, dword [esp + 0x4c]
push esi
call fcn.0053a859
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0053a859
mov byte [esp + 0x68], bl
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, ebx
je 0x461d49
mov eax, dword [esp + 0x38]
mov edi, eax
cmp esi, eax
je 0x461d40
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461d35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x461d17
mov esi, dword [esp + 0x34]
push esi
call fcn.0053a859
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0053a859
add esp, 4
lea esi, [esp + 0x18]
call fcn.00461e20
mov eax, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4