Function at 0x4a5bd0
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 0x4a5c05
push edi
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.004a4f50
add esp, 0xc
mov dword [esi + 8], eax
test eax, eax
je 0x4a5e24
cmp dword [esi + 0x30], edi
jne 0x4a5c5a
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x5a3b70]
push str.Kerberos
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4a5c2e
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 [0x5a3b70]
mov eax, dword [eax + 0x40]
call eax
push dword [esi + 0x2c]
call dword [0x59ed44]
add esp, 4
mov dword [esi + 0x30], eax
test eax, eax
je 0x4a5e24
cmp dword [esi], edi
jne 0x4a5cf3
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a5c8d
cmp byte [eax], 0
je 0x4a5c8d
lea ebx, [esi + 0xc]
push ebx
push dword [esp + 0x68]
push eax
call fcn.0049b7c0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4a5c8f
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
xor ebx, ebx
push 8
push 1
mov dword [esi + 0x28], ebx
call dword [0x59ed54]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x4a5e24
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [0x5a3b70]
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 0x4a5cdb
pop edi
pop esi
mov eax, 0x43
pop ebx
add esp, 0x4c
ret
push 8
push 1
call dword [0x59ed54]
add esp, 8
mov dword [esi + 4], eax
test eax, eax
je 0x4a5e24
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4a5d83
mov cl, byte [eax]
test cl, cl
je 0x4a5d83
cmp cl, 0x3d
je 0x4a5d27
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
call fcn.0048fb80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4a5ecf
cmp dword [esp + 0x78], 0
jne 0x4a5d4b
push str.GSSAPI_handshake_failure__empty_challenge_message__n
push dword [esp + 0x60]
call fcn.0047b620
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.0047da10
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.0047da10
mov dword [esp + 0x2c], eax
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a5dc6
mov ecx, dword [esi + 4]
jmp 0x4a5dc8
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 [0x5a3b70]
push ecx
push dword [esi]
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x78]
mov ebx, eax
call dword [0x59ed48]
add esp, 4
cmp ebx, 0x80090300
jne 0x4a5e30
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x4c
ret
test ebx, ebx
je 0x4a5e48
cmp ebx, 0x90312
je 0x4a5e48
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 0x4a5e5d
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
je 0x4a5e78
mov eax, dword [0x5a3b70]
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 0x4a5ea8
push dword [esp + 0x80]
push dword [esp + 0x80]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x6c]
call fcn.0048fd50
add esp, 0x14
mov edi, eax
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
cmp byte [esp + 0x70], 0
je 0x4a5ecf
push 0x4e56c0
call dword [0x59ed50]
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4a5ecf
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x4c
ret