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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x86f8c8
push eax
mov eax, dword [0x9dce80]
mov dword fs:[0], esp
sub esp, 0x68
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x80]
push edi
cmp eax, ebp
mov edi, ecx
je 0x523c49
cmp esi, ebp
jne 0x523c27
xor eax, eax
jmp 0x523c2e
mov ecx, esi
call fcn.00636d30
push eax
push esi
push str.CSDFunctionHelper::AdmitExtractRights_lpArrSDProp_0x_x__size__d_
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
cmp esi, ebp
jne 0x523c66
pop edi
pop esi
mov eax, 4
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
mov ecx, esi
call fcn.00636d30
test eax, eax
jne 0x523c85
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
mov eax, dword [0x9dce80]
cmp eax, ebp
je 0x523ca9
push 3
push str.CSDFunctionHelper::AdmitExtractRights_nResult__d__1
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
push ebx
mov ecx, edi
call fcn.00523be0
test eax, eax
je 0x523ce2
mov eax, dword [0x9dce80]
xor ebx, ebx
cmp eax, ebp
je 0x524210
push str.CSDFunctionHelper::AdmitExtractRights_WithoutRights__ok_2
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
jmp 0x5241ee
mov ecx, edi
call fcn.00523bd0
test eax, eax
mov eax, dword [0x9dce80]
je 0x5241cc
cmp eax, ebp
je 0x523d13
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights__3
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
cmp dword [0x9dce80], ebp
je 0x523d34
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_3.1
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
mov ebx, 3
mov dword [esp + 0x50], 0x893fcc
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], ebp
call fcn.0082b045
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
mov ecx, 0x9d0688
mov byte [esp + 0x90], 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.0059b120
cmp dword [0x9dce80], ebp
je 0x523dba
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_dwRegionType_0x_x___dwCertainLevel_0x_x_
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
mov ecx, esi
call fcn.00637470
mov edi, eax
mov ecx, esi
mov dword [esp + 0x88], edi
call fcn.00636d30
cmp eax, ebp
mov dword [esp + 0x24], eax
jbe 0x52418a
jmp 0x523de6
mov edi, dword [esp + 0x88]
cmp dword [0x9dce80], ebp
je 0x523e0c
mov eax, dword [esp + 0x24]
push eax
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_Remain_0x_x_
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov eax, dword [edi + 0x6c]
xor ecx, ecx
mov dword [esp + 0x34], ecx
cmp eax, ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], ebp
jbe 0x523e52
lea edx, [edi + 0x78]
mov eax, dword [edi + 0x78]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 0xc]
mov edx, dword [edi + 0x88]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], edx
cmp dword [0x9dce80], ebp
je 0x523e78
mov eax, dword [esp + 0x18]
push eax
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_dwSettingLevel_0x_x_
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov eax, dword [esp + 0x58]
mov ebx, 3
cmp eax, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebp
jle 0x524050
mov dword [esp + 0x14], ebp
mov ebp, dword [edi + 0x70]
xor edx, edx
test ebp, ebp
jbe 0x523f19
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*4 + 0x88]
mov esi, dword [esp + 0x2c]
mov ecx, 4
lea edi, [eax - 0x10]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x523edc
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
mov esi, dword [eax]
cmp ecx, esi
jae 0x523eea
inc edx
add eax, 0x14
cmp edx, ebp
jb 0x523eb9
mov ebx, dword [esp + 0x28]
jmp 0x523f12
mov eax, dword [0x9dce80]
test eax, eax
je 0x523f0c
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_3.2
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x88]
mov eax, dword [0x9dce80]
test eax, eax
je 0x523f3b
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_3.3
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
test ebx, ebx
je 0x52404e
mov eax, dword [0x9dce80]
test eax, eax
je 0x523f65
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_3.4
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
add eax, edx
mov ecx, 4
lea edi, [esp + 0x30]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x523f91
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmp dword [edx + esi*4], ecx
jae 0x523ff0
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x70]
test edx, edx
jne 0x523fc6
xor edx, edx
mov esi, eax
mov dword [esp + 0x44], edx
mov ecx, 4
mov dword [esp + 0x48], edx
lea edi, [esp + 0x40]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], edx
repe cmpsd dword [esi], dword es:[edi]
je 0x52401f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jge 0x524043
mov edi, dword [esp + 0x88]
xor ebp, ebp
jmp 0x523e95
mov eax, dword [0x9dce80]
test eax, eax
je 0x524041
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_ok_3.5
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
mov edi, dword [esp + 0x98]
add esp, 0x10
xor ebx, ebx
xor ebp, ebp
jmp 0x524050
mov eax, dword [0x9dce80]
test eax, eax
je 0x524041
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_ok_3.6
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x88]
xor ebp, ebp
jmp 0x524050
xor ebp, ebp
cmp dword [0x9dce80], ebp
je 0x524071
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_3.7
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
cmp ebx, ebp
jne 0x524100
cmp dword [0x9dce80], ebp
je 0x52409a
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_3.8
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
mov eax, dword [esp + 0x1c]
cmp eax, 2
je 0x5240b6
cmp eax, 1
jne 0x524105
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jae 0x5240db
jmp 0x524105
cmp dword [0x9dce80], ebp
je 0x5240fc
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_ok_3.9
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
xor ebx, ebx
jmp 0x524105
cmp dword [0x9dce80], ebp
je 0x5240fc
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_ok_3.10
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
xor ebx, ebx
jmp 0x524105
cmp ebx, 3
je 0x524169
cmp dword [0x9dce80], ebp
je 0x524126
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_pass_3.12
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x74]
add eax, edx
mov esi, eax
neg esi
shl esi, 2
sub esi, eax
lea edx, [ecx + ecx]
shl esi, 2
lea eax, [eax + eax*4]
sub esi, edx
mov edx, dword [esp + 0x24]
lea ecx, [ecx + eax*2]
lea edx, [edx + esi - 0x7a]
lea eax, [edi + ecx*2 + 0x7a]
cmp edx, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x88], eax
ja 0x523ddf
jmp 0x52418a
cmp dword [0x9dce80], ebp
je 0x52418a
push str.CSDFunctionHelper::AdmitExtractRights_WithinRights_deny_3.11
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.0082b078
mov dword [esp + 0x50], 0x893fcc
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], 2
cmp eax, ebp
je 0x5241bf
push eax
call fcn.008325dd
add esp, 4
mov dword [esp + 0x80], 0xffffffff
jmp 0x5241ee
cmp eax, ebp
je 0x5241e9
push str.CSDFunctionHelper::AdmitExtractRights_No_Rights__4
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
mov ebx, 3
cmp dword [0x9dce80], ebp
je 0x524210
push ebx
push str.CSDFunctionHelper::AdmitExtractRights_ret__d_
push str.Outgo
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov ecx, dword [esp + 0x78]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x74
ret 4