Function at 0x4df870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x548a7a
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.004b9160
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CSrsPremiumSetting.0
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4df8c4
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x1c], 1
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4df8f2
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x1c], 2
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4df920
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x1c], 3
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4df94e
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x3c], eax
mov byte [esp + 0x1c], 4
mov dword [esi + 0x40], vtable.CSRSFindMutex.0
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4df983
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
add eax, 0x10
mov dword [esi + 0x48], eax
mov ebp, 0x12c
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x44], edi
mov byte [esp + 0x1c], 5
lea ebx, [esi + 0x80]
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4df9d1
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 4], ebp
mov byte [esp + 0x1c], 6
lea ebp, [esi + 0xa4]
call fcn.005081a0
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4dfa0d
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
push edi
mov byte [esp + 0x20], 7
push 0x566c94
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0x13
call fcn.004062a0
push 0x15
push str.SOFTWARESRS_LabsAPO
lea ecx, [esi + 0x2c]
call fcn.004062a0
push edi
push 0x566c94
lea ecx, [esi + 0x3c]
call fcn.004062a0
push edi
push 0x566c94
lea ecx, [esi + 0x30]
call fcn.004062a0
push 0x22
push str.Globalcom.srslabs.captureapomutex
mov ecx, ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.004062a0
push edi
push 0x566c94
mov ecx, ebp
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
call fcn.004062a0
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xbc], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4