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

Disassembly:
sub esp, 0x4c
push ebx
push esi
mov esi, dword [esp + 0x74]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x78], edi
cmp dword [esi + 8], edi
jne 0x4ad8d5
push edi
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.004a8c30
add esp, 0xc
mov dword [esi + 8], eax
test eax, eax
je 0x4adaf4
cmp dword [esi + 0x30], edi
jne 0x4ad92a
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x521b7c]
push str.Kerberos
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4ad8fe
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [ecx + 8]
mov dword [esi + 0x2c], eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x40]
call eax
push dword [esi + 0x2c]
call dword [0x4e81d0]
add esp, 4
mov dword [esi + 0x30], eax
test eax, eax
je 0x4adaf4
cmp dword [esi], edi
jne 0x4ad9c3
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ad95d
cmp byte [eax], 0
je 0x4ad95d
lea ebx, [esi + 0xc]
push ebx
push dword [esp + 0x68]
push eax
call fcn.00492fd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4ad95f
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
xor ebx, ebx
push 8
push 1
mov dword [esi + 0x28], ebx
call dword [0x4e81e0]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x4adaf4
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [0x521b7c]
push 0
push 0
push dword [esi + 0x28]
mov eax, dword [eax + 0xc]
push 0
push 2
push str.Kerberos
push 0
call eax
test eax, eax
je 0x4ad9ab
pop edi
pop esi
mov eax, 0x43
pop ebx
add esp, 0x4c
ret
push 8
push 1
call dword [0x4e81e0]
add esp, 8
mov dword [esi + 4], eax
test eax, eax
je 0x4adaf4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4ada53
mov cl, byte [eax]
test cl, cl
je 0x4ada53
cmp cl, 0x3d
je 0x4ad9f7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
call fcn.00487230
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4adb9f
cmp dword [esp + 0x78], 0
jne 0x4ada1b
push str.GSSAPI_handshake_failure__empty_challenge_message__n
push dword [esp + 0x60]
call fcn.0045e540
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
push dword [esp + 0xc]
lea eax, [esp + 0x38]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], 1
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], eax
call fcn.00460b60
add esp, 4
mov dword [esp + 0x34], eax
push dword [esi + 0x2c]
lea eax, [esp + 0x2c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x48], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
call fcn.00460b60
mov dword [esp + 0x2c], eax
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4ada96
mov ecx, dword [esi + 4]
jmp 0x4ada98
xor ecx, ecx
lea edx, [esp + 0x20]
neg eax
push edx
lea edx, [esp + 0x18]
sbb eax, eax
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x24]
push edx
push 0
lea edx, [esp + 0x60]
and eax, edx
push eax
movzx eax, byte [esp + 0x88]
neg eax
push 0x10
sbb eax, eax
push 0
and eax, 2
push eax
push dword [esi + 8]
mov eax, dword [0x521b7c]
push ecx
push dword [esi]
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x78]
mov ebx, eax
call dword [0x4e81d4]
add esp, 4
cmp ebx, 0x80090300
jne 0x4adb00
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x4c
ret
test ebx, ebx
je 0x4adb18
cmp ebx, 0x90312
je 0x4adb18
pop edi
pop esi
mov eax, 0x5e
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4adb2d
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
je 0x4adb48
mov eax, dword [0x521b7c]
push ecx
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4adb78
push dword [esp + 0x80]
push dword [esp + 0x80]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x6c]
call fcn.004871d0
add esp, 0x14
mov edi, eax
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
cmp byte [esp + 0x70], 0
je 0x4adb9f
push 0x4bd2ec
call dword [0x4e81dc]
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4adb9f
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x4c
ret