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

Disassembly:
sub esp, 0x50
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ebx
cmp dword [esi + 8], ebx
jne 0x4d2a71
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push ebx
push eax
push ecx
call fcn.004d2560
add esp, 0xc
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x4d2a71
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x50
ret
cmp dword [esi + 0x30], ebx
jne 0x4d2ad5
mov eax, dword [0x54ee60]
mov ecx, dword [eax + 0x44]
lea edx, [esp + 0x78]
push edx
push str.Kerberos
call ecx
test eax, eax
je 0x4d2aab
mov edx, dword [esp + 0x5c]
push str.SSPI:_couldnt_get_auth_info
push edx
call fcn.00499790
add esp, 8
pop esi
mov eax, 0x5e
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 8]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x54ee60]
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esi + 0x2c]
push ecx
call dword [0x54ae68]
add esp, 4
mov dword [esi + 0x30], eax
cmp eax, ebx
je 0x4d2a66
push ebp
push edi
mov ebp, 1
cmp dword [esi], ebx
jne 0x4d2b73
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x4d2b13
cmp byte [eax], bl
je 0x4d2b13
mov edx, dword [esp + 0x6c]
lea edi, [esi + 0xc]
push edi
push edx
push eax
call fcn.004a4770
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x4d2d53
mov dword [esi + 0x28], edi
jmp 0x4d2b16
mov dword [esi + 0x28], ebx
push 8
push ebp
call dword [0x54ae78]
add esp, 8
mov dword [esi], eax
cmp eax, ebx
je 0x4d2c92
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x28]
push ecx
push eax
mov eax, dword [0x54ee60]
mov ecx, dword [eax + 0xc]
push ebx
push ebx
push edx
push ebx
push 2
push str.Kerberos
push ebx
call ecx
test eax, eax
je 0x4d2b5c
pop edi
pop ebp
pop esi
mov eax, 0x43
pop ebx
add esp, 0x50
ret
push 8
push ebp
call dword [0x54ae78]
add esp, 8
mov dword [esi + 4], eax
cmp eax, ebx
je 0x4d2c92
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
je 0x4d2bf8
mov al, byte [ecx]
cmp al, bl
je 0x4d2bf8
cmp al, 0x3d
je 0x4d2ba4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004a91b0
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x4d2d53
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4d2bcb
mov ecx, dword [esp + 0x64]
push str.GSSAPI_handshake_failure__empty_challenge_message__n
push ecx
call fcn.004996c0
add esp, 8
pop edi
pop ebp
pop esi
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.0049c8d0
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.0049c8d0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
je 0x4d2c34
mov ecx, dword [esi + 4]
jmp 0x4d2c36
xor ecx, ecx
mov ebp, dword [esp + 0x78]
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
push 0x10
mov eax, ebp
neg eax
push ebx
sbb eax, eax
and eax, 2
push eax
mov eax, dword [esi]
push edx
push ecx
mov ecx, dword [0x54ee60]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [0x54ae6c]
add esp, 4
cmp edi, 0x80090300
jne 0x4d2c9f
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x50
ret
cmp edi, ebx
je 0x4d2cb8
cmp edi, 0x90312
je 0x4d2cb8
pop edi
pop ebp
pop esi
mov eax, 0x5e
pop ebx
add esp, 0x50
ret
mov edx, dword [esi + 4]
lea edi, [esp + 0x20]
mov ecx, 8
mov eax, edx
sub edi, edx
mov ebx, dword [edi + eax]
cmp ebx, dword [eax]
jne 0x4d2cdc
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x4d2cc8
jmp 0x4d2cf8
mov ecx, dword [0x54ee60]
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]
test eax, eax
je 0x4d2d2b
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.004a9470
add esp, 0x14
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x50
ret
test ebp, ebp
je 0x4d2d4f
push 0x525963
call dword [0x54ae74]
mov ecx, dword [esp + 0x88]
add esp, 4
mov dword [ecx], eax
test eax, eax
mov eax, 0x1b
je 0x4d2d53
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x50
ret