Function at 0x594710
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 0x594751
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push ebx
push eax
push ecx
call fcn.00595150
add esp, 0xc
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x594751
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x50
ret
cmp dword [esi + 0x30], ebx
jne 0x5947a2
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x44]
lea edx, [esp + 0x78]
push edx
push str.Kerberos
call ecx
test eax, eax
je 0x594779
pop esi
mov eax, 4
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 8]
mov dword [esi + 0x2c], edx
push eax
mov eax, dword [0x614fa8]
mov ecx, dword [eax + 0x40]
call ecx
mov edx, dword [esi + 0x2c]
push edx
call dword [0x60e604]
add esp, 4
mov dword [esi + 0x30], eax
cmp eax, ebx
je 0x594746
push edi
cmp dword [esi], ebx
jne 0x59484c
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x5947da
cmp byte [eax], bl
je 0x5947da
mov ecx, dword [esp + 0x68]
lea edi, [esi + 0xc]
push edi
push ecx
push eax
call fcn.0055db50
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x594a1d
mov dword [esi + 0x28], edi
jmp 0x5947dd
mov dword [esi + 0x28], ebx
push 8
call dword [0x60e604]
add esp, 4
mov dword [esi], eax
cmp eax, ebx
je 0x594839
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x24]
push edx
mov edx, dword [0x614fa8]
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 0x594827
pop edi
pop esi
mov eax, 0x43
pop ebx
add esp, 0x50
ret
push 8
call dword [0x60e604]
add esp, 4
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x594845
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x50
ret
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov edi, 1
cmp ecx, ebx
je 0x5948d5
mov al, byte [ecx]
cmp al, bl
je 0x5948d5
cmp al, 0x3d
je 0x594882
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00573ef0
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x594a1d
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x5948a8
mov ecx, dword [esp + 0x60]
push str.GSSAPI_handshake_failure__empty_challenge_message__n
push ecx
call fcn.0056a8b0
add esp, 8
pop edi
pop esi
mov eax, 0x3d
pop ebx
add esp, 0x50
ret
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], 2
call fcn.0056e510
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], edx
call fcn.0056e510
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
je 0x594911
mov ecx, dword [esi + 4]
jmp 0x594913
xor ecx, ecx
push ebp
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 [0x614fa8]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [0x60e608]
add esp, 4
cmp edi, ebx
je 0x594981
cmp edi, 0x90312
je 0x594981
pop ebp
pop edi
pop esi
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
mov ebx, dword [edi + eax]
cmp ebx, dword [eax]
jne 0x5949a5
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x594991
jmp 0x5949c1
mov ecx, dword [0x614fa8]
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 0x5949f4
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.005741b0
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret
test ebp, ebp
je 0x594a18
push 0x5ca379
call dword [0x60e610]
mov ecx, dword [esp + 0x88]
add esp, 4
mov dword [ecx], eax
test eax, eax
mov eax, 0x1b
je 0x594a1c
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret