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

Disassembly:
sub esp, 0x50
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [esp + 0x78]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
lea ebp, [ebx + 1]
cmp dword [esi], ebx
jne 0x1004d810
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x44]
lea eax, [esp + 0x7c]
push eax
push str.Kerberos
call edx
test eax, eax
je 0x1004d718
pop edi
pop esi
pop ebp
lea eax, [ebx + 4]
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x1008e724]
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esi + 0x2c]
push ecx
call dword [0x1008cb38]
add esp, 4
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x1004d74f
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x98]
mov edx, dword [esp + 0x70]
push ecx
push edx
call fcn.1004cdd0
add esp, 8
mov dword [esi + 8], eax
cmp eax, ebx
je 0x1004d742
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x1004d7a0
cmp byte [eax], bl
je 0x1004d7a0
mov ecx, dword [esp + 0x6c]
lea edi, [esi + 0xc]
push edi
push ecx
push eax
call fcn.1001b6d0
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x1004d9d3
mov dword [esi + 0x28], edi
jmp 0x1004d7a3
mov dword [esi + 0x28], ebx
push 8
call dword [0x1008cb38]
add esp, 4
mov dword [esi], eax
cmp eax, ebx
je 0x1004d742
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x28]
push edx
mov edx, dword [0x1008e724]
push eax
mov eax, dword [edx + 0xc]
push ebx
push ebx
push ecx
push ebx
push 2
push str.Kerberos
push ebx
call eax
test eax, eax
je 0x1004d7ee
pop edi
pop esi
pop ebp
mov eax, 0x43
pop ebx
add esp, 0x50
ret
push 8
call dword [0x1008cb38]
add esp, 4
mov dword [esi + 4], eax
cmp eax, ebx
je 0x1004d742
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1004d8a3
mov edx, dword [esp + 0x78]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1004d820
sub eax, edi
je 0x1004d857
cmp byte [edx], 0x3d
je 0x1004d857
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push eax
push edx
call fcn.1002ed70
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x1004d9d3
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x1004d876
mov ecx, dword [esp + 0x64]
push str.GSSAPI_handshake_failure__empty_challenge_message__n
push ecx
call fcn.10026470
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3d
pop ebx
add esp, 0x50
ret
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], 2
call fcn.100260f0
add esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], edx
call fcn.100260f0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
je 0x1004d8df
mov ecx, dword [esi + 4]
jmp 0x1004d8e1
xor ecx, ecx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x20]
push edx
neg eax
lea edx, [esp + 0x50]
push edx
sbb eax, eax
lea edx, [esp + 0x2c]
push edx
push ebx
lea edx, [esp + 0x68]
and eax, edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x8c]
push 0x10
neg eax
push ebx
sbb eax, eax
and eax, 2
push eax
mov eax, dword [esi]
push edx
push ecx
mov ecx, dword [0x1008e724]
mov edx, dword [ecx + 0x18]
push eax
call edx
cmp eax, ebx
je 0x1004d94c
cmp eax, 0x90312
je 0x1004d94c
mov eax, dword [esp + 0x10]
push eax
call dword [0x1008cb3c]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x50
ret
mov edx, dword [esi + 4]
lea edi, [esp + 0x20]
mov ecx, 8
mov eax, edx
sub edi, edx
lea esp, [esp]
mov ebp, dword [edi + eax]
cmp ebp, dword [eax]
jne 0x1004d974
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x1004d960
jmp 0x1004d990
mov ecx, dword [0x1008e724]
push edx
mov edx, dword [ecx + 0x24]
call edx
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1004d9bf
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.1002f040
add esp, 0x14
mov esi, eax
jmp 0x1004d9c3
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1008cb3c]
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret