Function at 0x4dfc60
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 0x4dfc95
push edi
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.004d8530
add esp, 0xc
mov dword [esi + 8], eax
test eax, eax
je 0x4dfeb4
cmp dword [esi + 0x30], edi
jne 0x4dfcea
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x51c9e4]
push str.Kerberos
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4dfcbe
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 [0x51c9e4]
mov eax, dword [eax + 0x40]
call eax
push dword [esi + 0x2c]
call dword [0x518cc0]
add esp, 4
mov dword [esi + 0x30], eax
test eax, eax
je 0x4dfeb4
cmp dword [esi], edi
jne 0x4dfd83
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4dfd1d
cmp byte [eax], 0
je 0x4dfd1d
lea ebx, [esi + 0xc]
push ebx
push dword [esp + 0x68]
push eax
call fcn.004b9700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4dfd1f
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
xor ebx, ebx
push 8
push 1
mov dword [esi + 0x28], ebx
call dword [0x518cd0]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x4dfeb4
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [0x51c9e4]
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 0x4dfd6b
pop edi
pop esi
mov eax, 0x43
pop ebx
add esp, 0x4c
ret
push 8
push 1
call dword [0x518cd0]
add esp, 8
mov dword [esi + 4], eax
test eax, eax
je 0x4dfeb4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4dfe13
mov cl, byte [eax]
test cl, cl
je 0x4dfe13
cmp cl, 0x3d
je 0x4dfdb7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
call fcn.004acde0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4dff5f
cmp dword [esp + 0x78], 0
jne 0x4dfddb
push str.GSSAPI_handshake_failure__empty_challenge_message__n
push dword [esp + 0x60]
call fcn.00459910
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.0045be90
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.0045be90
mov dword [esp + 0x2c], eax
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4dfe56
mov ecx, dword [esi + 4]
jmp 0x4dfe58
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 [0x51c9e4]
push ecx
push dword [esi]
mov eax, dword [eax + 0x18]
call eax
push dword [esp + 0x78]
mov ebx, eax
call dword [0x518cc4]
add esp, 4
cmp ebx, 0x80090300
jne 0x4dfec0
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x4c
ret
test ebx, ebx
je 0x4dfed8
cmp ebx, 0x90312
je 0x4dfed8
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 0x4dfeed
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
je 0x4dff08
mov eax, dword [0x51c9e4]
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 0x4dff38
push dword [esp + 0x80]
push dword [esp + 0x80]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x6c]
call fcn.004acd80
add esp, 0x14
mov edi, eax
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
cmp byte [esp + 0x70], 0
je 0x4dff5f
push 0x4fe68c
call dword [0x518ccc]
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4dff5f
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x4c
ret