Function at 0x420500
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x585440
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
xor ebx, ebx
push ebx
call dword [0x5a7c30]
lea ecx, [esi + 0xa8]
mov dword [esp + 0x80], ebx
mov dword [esi], vtable.RMPlayer.0
call dword [0x5a7d38]
fld1
push 0x80
fstp qword [esi + 0x78]
mov byte [esp + 0x84], 1
mov byte [esi + 0xc], bl
mov dword [esi + 8], ebx
mov word [esi + 0x15], bx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x90], bl
mov byte [esi + 0x30], bl
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0x2c], ebx
mov word [esi + 0x20], bx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xa0], 1
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x55], bl
call fcn.00580794
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 2
cmp eax, ebx
je 0x4205e7
push esi
mov ecx, eax
call fcn.004f53a0
jmp 0x4205e9
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x84], 1
mov dword [esi + 0x68], eax
call fcn.004f4ff0
push 0x10
call fcn.00580794
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 3
cmp eax, ebx
je 0x420621
push esi
mov ecx, eax
call fcn.00502db0
jmp 0x420623
xor eax, eax
push ebx
mov ecx, eax
mov byte [esp + 0x84], 1
mov dword [esi + 0x44], eax
call fcn.00501260
mov ecx, dword [esi + 0x44]
push ebx
call fcn.00500c60
mov ecx, eax
call fcn.004f50a0
mov ecx, dword [esi + 0x44]
push 1
call fcn.00500c60
mov ecx, eax
call fcn.004f4ff0
mov edi, dword [0x5a7d34]
push 1
push 0x5abcd0
call edi
mov ebp, dword [0x5a7cc4]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax + 8]
call ebp
lea ecx, [esp + 0x28]
call dword [0x5a7d90]
push ecx
mov eax, esp
mov dword [eax], 1
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], esp
call fcn.00500ee0
mov ecx, dword [esi + 0x44]
push 0x800
call fcn.00500d00
mov ecx, eax
call fcn.004e7510
push 0x14
call fcn.00580794
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 4
cmp eax, ebx
je 0x4206d7
push esi
mov ecx, eax
call fcn.00519570
jmp 0x4206d9
xor eax, eax
push 0x1e
push str.highpassf200__lowpassf3000
mov byte [esp + 0x88], 1
mov dword [esi + 0x10], eax
call edi
add esp, 8
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x28]
push edx
add ecx, 0xc
mov byte [esp + 0x84], 5
call fcn.00518330
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call dword [0x5a7d90]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x44]
push 0x7fffffff
push eax
call fcn.00500dc0
push 0x10
mov byte [esi + 0xd], 1
mov word [esi + 0x17], bx
call fcn.00580794
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 6
cmp eax, ebx
je 0x42075b
push esi
mov ecx, eax
call fcn.00502db0
jmp 0x42075d
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x84], 1
mov dword [esi + 0x4c], eax
call fcn.00500d00
mov ecx, eax
call fcn.004e7460
mov ecx, dword [esi + 0x4c]
push ebx
call fcn.00501260
mov ecx, dword [esi + 0x4c]
push ebx
call fcn.00500c60
mov ecx, eax
call fcn.004f50a0
mov ecx, dword [esi + 0x4c]
push 1
call fcn.00500c60
mov ecx, eax
call fcn.004f4ff0
push 1
push 0x5a99f8
call edi
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x4c]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax + 8]
call ebp
lea ecx, [esp + 0x28]
call dword [0x5a7d90]
push ecx
mov eax, esp
mov dword [eax], 1
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x30], esp
call fcn.00500ee0
mov edx, dword [0x5a7c68]
mov dword [esp + 0x28], edx
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x84], 7
call fcn.00500d00
mov ecx, eax
call fcn.004e8640
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.00401250
mov ecx, dword [esi + 0x44]
push 1
call fcn.00501b40
mov ecx, dword [esi + 0x4c]
push 1
call fcn.00501b40
mov ecx, dword [0x5a7a7c]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x80], 8
cmp byte [0x6a4ba0], bl
jne 0x4208a3
push 8
call fcn.00580794
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
mov byte [esp + 0x80], 9
cmp edi, ebx
je 0x420870
push ebx
mov ecx, edi
call dword [0x5a7e30]
mov dword [edi], vtable.QOpenGLContext.0
jmp 0x420872
xor edi, edi
mov ecx, edi
mov byte [esp + 0x80], 8
call dword [0x5a7e2c]
cmp al, 1
jne 0x420894
push 0x6a1530
lea ecx, [esp + 0x2c]
call fcn.00420460
cmp edi, ebx
je 0x4208a3
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, edi
call eax
push str.Ufu
lea ecx, [esp + 0x2c]
call fcn.00420460
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x38]
call fcn.00420050
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
lea edx, [eax + ecx]
lea eax, [eax + edi*4]
add eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 1
mov byte [esp + 0x80], 0xa
jmp 0x4208f4
mov eax, dword [esp + 0x3c]
cmp edx, eax
je 0x4209ce
mov ebp, dword [edx]
cmp dword [esp + 0x40], ebx
je 0x4209b4
push ebp
call fcn.005364c0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42092f
mov ecx, edi
call fcn.004ff7d0
test al, al
je 0x42092f
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
test eax, eax
jne 0x420935
mov dword [esp + 0x40], ebx
jmp 0x4209b4
push 2
mov ecx, edi
mov dword [esi + 0x48], edi
call fcn.00534c50
fld qword [0x5abc78]
mov ecx, dword [esi + 0x48]
sub esp, 8
fstp qword [esp]
call fcn.00533c70
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
call fcn.00505a90
push ebp
call fcn.005364c0
mov ecx, dword [esi + 0x4c]
add esp, 4
push eax
mov dword [esi + 0x50], eax
call fcn.00505a90
mov ecx, dword [esi + 0x50]
push 2
call fcn.00534c50
fld qword [0x5abc78]
mov ecx, dword [esi + 0x50]
sub esp, 8
fstp qword [esp]
call fcn.00533c70
cmp ebp, dword [0x6a1530]
jne 0x4209a5
mov dword [esi + 0x2c], 1
jmp 0x4209b4
cmp ebp, dword [str.Ufu]
jne 0x4209b4
mov dword [esi + 0x2c], 2
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add edx, 4
xor dword [esp + 0x40], 1
mov dword [esp + 0x38], edx
jne 0x4208f0
mov eax, dword [ecx]
mov ebp, dword [0x5a7a74]
mov byte [esp + 0x80], 8
cmp eax, ebx
je 0x4209f7
cmp eax, 0xffffffff
je 0x420a01
mov edx, ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
setne al
cmp al, bl
jne 0x420a01
push 4
push 4
push ecx
call ebp
add esp, 0xc
mov ecx, dword [esi + 0x44]
push ebx
push str.1changeClockType__
push str.2started__
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [0x5a7bac]
mov edi, dword [0x5a7d80]
lea ecx, [esp + 0x2c]
call edi
mov eax, dword [esi + 0x4c]
push ebx
push str.1changeClockType__
push str.2started__
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov edx, dword [esi + 0x44]
push ebx
push str.1onPositionChanged_qint64_
push str.2positionChanged_qint64_
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], ebx
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov ecx, dword [esi + 0x44]
push ebx
push str.1mediaChangedF_FAV::MediaStatus_
push str.2mediaStatusChanged_FAV::MediaStatus_
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov eax, dword [esi + 0x4c]
push ebx
push str.1mediaChangedR_FAV::MediaStatus_
push str.2mediaStatusChanged_FAV::MediaStatus_
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov edx, dword [esi + 0x44]
push ebx
push str.1onStopped__
push str.2stopped__
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov ecx, dword [esi + 0x44]
push ebx
push str.1on_seek_finished_front_qint64_
push str.2seekFinished_qint64_
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
push ebx
mov eax, dword [esi + 0x4c]
push str.1onStoppedRear__
push str.2stopped__
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov edx, dword [esi + 0x4c]
push ebx
push str.1on_seek_finished_rear_qint64_
push str.2seekFinished_qint64_
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [0x5a7bac]
lea ecx, [esp + 0x2c]
call edi
mov ecx, dword [esp + 0x28]
mov byte [esi + 0x54], bl
mov eax, dword [ecx]
cmp eax, ebx
je 0x420b67
cmp eax, 0xffffffff
je 0x420b71
mov edx, ecx
or eax, 0xffffffff
lock xadd dword [edx], eax
setne al
cmp al, bl
jne 0x420b71
push 4
push 4
push ecx
call ebp
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4