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

Disassembly:
push 0xffffffffffffffff
push 0x544762
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
cmp dword [eax + 0x60], ebx
je 0x416272
cmp dword [0x5b95f0], ebx
jne 0x415fca
cmp dword [0x5b95f4], ebx
jne 0x415fca
cmp dword [0x5b95f8], ebx
jne 0x415fca
cmp dword [0x5b95fc], ebx
je 0x416272
push 0x30
call fcn.004fae94
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebx
mov dword [esp + 0x2c], ebx
je 0x415ff7
push esi
call fcn.004b4960
mov dword [esi], vtable.CDolbySetting.0
mov dword [esi + 0x14], 3
jmp 0x415ff9
xor esi, esi
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [0x5b95f0]
cmp eax, ebx
mov edi, 1
jne 0x41601b
cmp dword [0x5b95f8], ebx
mov dword [esp + 0x18], ebx
je 0x41601f
mov dword [esp + 0x18], edi
mov ebp, dword [0x5b95f4]
cmp ebp, ebx
jne 0x416035
cmp dword [0x5b95fc], ebx
mov dword [esp + 0x1c], ebx
je 0x416039
mov dword [esp + 0x1c], edi
test esi, esi
mov ebx, eax
je 0x416272
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 0x19bc]
test eax, eax
jne 0x416094
push 0x564f30
lea ecx, [esp + 0x38]
call fcn.00404670
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 1
je 0x4161f9
cmp dword [esp + 0x18], 0
lea ecx, [esp + 0x34]
je 0x4161f2
push str.DefaultDAEDSS
jmp 0x416209
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4161ed
mov ecx, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x20], ecx
je 0x4161dd
cmp dword [eax + 0x24], 0
je 0x4161dd
mov ecx, dword [eax + 0x100]
test ecx, 0xe00000
mov dword [esp + 0x34], 0
je 0x4160d5
mov dword [esp + 0x34], 1
test ecx, 0x2000
jne 0x4160e8
cmp dword [esp + 0x34], 0
je 0x4161dd
mov ecx, dword [eax + 0x78]
sub ecx, 1
jne 0x4161dd
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x416109
xor edi, edi
jmp 0x4161dd
cmp dword [esp + 0x1c], 0
je 0x416164
cmp dword [esp + 0x34], 0
push ebp
mov edx, esi
je 0x41613f
call fcn.0044bd90
push ebp
mov edx, esi
and edi, eax
call fcn.0044bb10
push ebp
mov edx, esi
and edi, eax
call fcn.0044bbb0
push ebp
mov edx, esi
and edi, eax
call fcn.0044bc50
jmp 0x416162
call fcn.0044b5d0
push ebp
mov edx, esi
and edi, eax
call fcn.0044b4f0
push ebp
mov edx, esi
and edi, eax
call fcn.0044b530
push ebp
mov edx, esi
and edi, eax
call fcn.0044b570
and edi, eax
cmp dword [esp + 0x18], 0
je 0x4161dd
cmp dword [esp + 0x34], 0
push ebx
mov edx, esi
je 0x4161ae
call fcn.0044bde0
push ebx
mov edx, esi
and edi, eax
call fcn.0044bb60
push ebx
mov edx, esi
and edi, eax
call fcn.0044bc00
push ebx
mov edx, esi
and edi, eax
call fcn.0044bca0
push ebx
mov edx, esi
and edi, eax
call fcn.0044bcf0
push ebx
mov edx, esi
and edi, eax
call fcn.0044bd40
jmp 0x4161db
call fcn.0044b5f0
push ebx
mov edx, esi
and edi, eax
call fcn.0044b510
push ebx
mov edx, esi
and edi, eax
call fcn.0044b550
push ebx
mov edx, esi
and edi, eax
call fcn.0044b590
push ebx
mov edx, esi
and edi, eax
call fcn.0044b5b0
and edi, eax
cmp dword [esp + 0x20], 0
jne 0x416090
jmp 0x416054
call fcn.00504221
push str.DefaultDAE
jmp 0x416209
cmp dword [esp + 0x18], 0
je 0x41620e
push str.DefaultDSS
lea ecx, [esp + 0x38]
call fcn.004049b0
mov eax, dword [esp + 0x34]
xor ecx, ecx
test edi, edi
setne cl
add eax, 0xfffffff0
push ecx
push ecx
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00404600
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov eax, str.SOFTWARERealtekAudio
call fcn.004265c0
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416267
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4