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

Disassembly:
mov eax, 0x70
call fcn.00655180
mov eax, dword [0x716f80]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 0
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], edi
cmp esi, ebx
je 0x5be716
push edi
call fcn.00512ea0
add esp, 4
cmp eax, 0x2c
jne 0x5be739
cmp esi, 0x18
jne 0x5be739
cmp ebx, 0x15
jne 0x5be739
mov dword [esp + 0x30], 1
push ebp
call fcn.00509570
mov ebp, eax
mov dword [esp + 0x38], ebp
test ebp, ebp
jne 0x5be777
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0065469c
add esp, 0x70
ret
call fcn.00514490
push str.KRB5KDF
push 0x191
push str.providersimplementationskdfskrb5kdf.c
call fcn.00514590
push 0
push 0x8b
push 0x39
call fcn.005146a0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0065469c
add esp, 0x70
ret
push esi
push dword [esp + 0x2c]
push dword [esp + 0x34]
push edi
push ebp
call fcn.005bebb0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5beb78
push ebp
call fcn.00512eb0
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x5be7d7
call fcn.00514490
push str.KRB5KDF
push 0x1a4
push str.providersimplementationskdfskrb5kdf.c
call fcn.00514590
push esi
push 0x9b
push 0x39
call fcn.005146a0
add esp, 0x18
xor esi, esi
jmp 0x5beb78
mov ebx, dword [esp + 0x98]
cmp ebx, esi
jbe 0x5be813
call fcn.00514490
push str.KRB5KDF
push 0x1aa
push str.providersimplementationskdfskrb5kdf.c
call fcn.00514590
push 0
push 0x9d
push 0x39
call fcn.005146a0
add esp, 0x18
xor esi, esi
jmp 0x5beb78
jne 0x5be82d
mov eax, dword [esp + 0x10]
push ebx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.006568a0
add esp, 0xc
jmp 0x5be927
mov edi, esi
mov ecx, ebx
test ebx, ebx
je 0x5be843
mov eax, edi
xor edx, edx
div ecx
mov edi, ecx
mov ecx, edx
test edx, edx
jne 0x5be835
push esi
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00656e20
mov eax, esi
xor edx, edx
imul eax, ebx
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], ecx
div edi
mov edi, eax
sub edi, 1
mov dword [esp + 0x14], edi
js 0x5be906
mov ebp, dword [esp + 0x1c]
xor edx, edx
mov eax, edi
div ebp
mov eax, edi
mov esi, edi
mov ecx, edx
lea edi, [esp + 0x3c]
xor edx, edx
add edi, ecx
div ebx
mov ecx, 8
imul edx, eax, 0xd
mov eax, edx
and edx, 7
shr eax, 3
sub esi, eax
mov dword [esp + 0x24], edx
xor edx, edx
sub ecx, dword [esp + 0x24]
lea eax, [esi - 1]
div ebx
mov eax, dword [esp + 0x10]
movzx ebx, byte [edx + eax]
xor edx, edx
mov eax, esi
shl ebx, cl
div dword [esp + 0x98]
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x24]
movzx eax, byte [edx + eax]
shr eax, cl
movzx ecx, byte [edi]
or ebx, eax
movzx eax, bl
add eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x98]
add ecx, eax
mov byte [edi], cl
mov edi, dword [esp + 0x14]
shr ecx, 8
sub edi, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
jns 0x5be875
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
lea edx, [esi - 1]
test edx, edx
js 0x5be927
nop dword [eax]
test ecx, ecx
je 0x5be927
movzx eax, byte [esp + edx + 0x3c]
add ecx, eax
mov byte [esp + edx + 0x3c], cl
shr ecx, 8
sub edx, 1
jns 0x5be910
xor ebx, ebx
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x5c]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0xa0], ebx
jbe 0x5bea8b
push esi
push ecx
lea eax, [esp + 0x18]
push eax
push edi
push ebp
call fcn.0050a5d0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5beb78
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push edi
push ebp
call fcn.0050a350
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5beb78
cmp dword [esp + 0x10], 0
jne 0x5bea5d
mov esi, dword [esp + 0xa0]
mov eax, dword [esp + 0x20]
sub esi, ebx
cmp dword [esp + 0x18], esi
cmovbe esi, dword [esp + 0x18]
add eax, ebx
push esi
push edi
push eax
call fcn.006568a0
mov eax, dword [esp + 0xac]
add ebx, esi
add esp, 0xc
cmp eax, ebx
jbe 0x5bea4c
push ebp
call fcn.00509610
mov esi, eax
add esp, 4
test esi, esi
je 0x5beb78
push 0
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push ebp
call fcn.0050a570
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5beb78
push ebp
call fcn.00513010
mov ecx, dword [esp + 0x94]
add esp, 4
cmp ecx, eax
je 0x5bea17
push ecx
push ebp
call fcn.005096f0
add esp, 8
test eax, eax
jle 0x5be7d0
push 0
push ebp
call fcn.005098a0
add esp, 8
mov esi, eax
test esi, esi
je 0x5beb78
lea eax, [esp + 0x3c]
mov ecx, edi
cmp edi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xa0]
jne 0x5bea46
add edi, 0x20
jmp 0x5bea50
lea edi, [esp + 0x3c]
jmp 0x5bea50
mov ecx, dword [esp + 0x14]
cmp ebx, eax
jae 0x5bea8b
mov esi, dword [esp + 0x1c]
jmp 0x5be942
call fcn.00514490
push str.KRB5KDF
push 0x1bf
push str.providersimplementationskdfskrb5kdf.c
call fcn.00514590
push 0
push 0x6b
push 0x39
call fcn.005146a0
add esp, 0x18
xor esi, esi
jmp 0x5beb78
push dword [esp + 0x30]
call fcn.00512ea0
add esp, 4
cmp eax, 0x2c
jne 0x5beb73
cmp dword [esp + 0x34], 0
jne 0x5beb73
lea ebx, [eax - 0x2a]
mov eax, dword [esp + 0x20]
lea ebp, [eax + 0xe]
lea edi, [eax + 0x17]
push 7
lea esi, [edi - 7]
push ebp
push esi
call fcn.006568a0
movzx eax, byte [edi - 1]
mov cl, byte [edi - 2]
add al, al
and cl, 1
or cl, al
movzx eax, byte [edi - 3]
add cl, cl
and al, 1
or cl, al
movzx eax, byte [edi - 4]
add cl, cl
and al, 1
or cl, al
movzx eax, byte [edi - 5]
add cl, cl
and al, 1
or cl, al
movzx eax, byte [edi - 6]
add cl, cl
and al, 1
or cl, al
movzx eax, byte [esi]
add cl, cl
and al, 1
or cl, al
add cl, cl
push esi
mov byte [edi], cl
call fcn.005dce50
add esp, 0x10
lea edi, [edi - 8]
sub ebp, 7
sub ebx, 1
jns 0x5beab8
mov ebx, dword [esp + 0x20]
push 8
lea esi, [ebx + 8]
push esi
push ebx
call fcn.00401390
mov ebp, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x5beb49
push 8
lea eax, [ebx + 0x10]
push eax
push esi
call fcn.00401390
add esp, 0xc
test eax, eax
jne 0x5beb73
xor esi, esi
call fcn.00514490
push str.KRB5KDF
push 0x1e1
push str.providersimplementationskdfskrb5kdf.c
call fcn.00514590
push esi
push 0x79
push 0x39
call fcn.005146a0
add esp, 0x18
jmp 0x5beb78
mov esi, 1
push ebp
call fcn.00509510
lea eax, [esp + 0x40]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [esp + 0x88]
add esp, 0xc
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065469c
add esp, 0x70
ret