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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov ebx, dword [esp + 0x148]
mov esi, dword [esp + 0x144]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x478c19
mov eax, dword [ebx]
test eax, eax
je 0x478f10
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x478ee0
mov ebp, dword [ebx + 0x34]
test ebp, ebp
jne 0x478c7e
lea eax, [esp + 0x40]
mov dword [esp], str.Negotiate
mov dword [esp + 4], eax
mov eax, dword [0x62f460]
call dword [eax + 0x44]
sub esp, 8
test eax, eax
mov dword [ebx], eax
jne 0x478fd2
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 8]
mov dword [ebx + 0x30], edx
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x40]
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], eax
call dword [0x536390]
test eax, eax
mov dword [ebx + 0x34], eax
je 0x478e95
mov edi, dword [ebx + 4]
test edi, edi
je 0x478de0
test esi, esi
je 0x478cdf
movzx eax, byte [esi]
test al, al
je 0x478cdf
cmp al, 0x3d
jne 0x478eb1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x478f80
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x78]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x7c], 2
mov dword [esp], eax
call fcn.00442130
mov dword [esp + 0x78], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x58], 2
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.00442130
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [0x62f460]
test edx, edx
mov ebp, dword [eax + 0x18]
mov eax, dword [ebx + 8]
je 0x478ea5
mov edi, dword [ebx + 0x2c]
lea ecx, [esp + 0x60]
mov edx, eax
lea esi, [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x44]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x28], esi
lea esi, [esp + 0x6c]
mov dword [esp + 8], edi
mov dword [esp + 0x24], esi
mov eax, dword [ebx + 4]
mov dword [esp], eax
call ebp
sub esp, 0x30
mov dword [ebx], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx]
test eax, eax
js 0x478f40
sub eax, 0x90313
cmp eax, 1
ja 0x478dca
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
mov eax, dword [0x62f460]
call dword [eax + 0x20]
sub esp, 8
test eax, eax
mov dword [ebx], eax
js 0x478f30
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x38], eax
xor eax, eax
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x478dfb
mov eax, dword [esp + 0x134]
cmp byte [eax], 0
jne 0x478fa1
mov dword [ebx + 0x28], 0
mov dword [esp + 4], 8
mov dword [esp], 1
call dword [0x536380]
test eax, eax
mov dword [ebx + 4], eax
je 0x478e95
lea edx, [esp + 0x48]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], str.Negotiate
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [0x62f460]
call dword [eax + 0xc]
sub esp, 0x24
test eax, eax
mov dword [ebx], eax
jne 0x478fe0
mov dword [esp + 4], 8
mov dword [esp], 1
call dword [0x536380]
test eax, eax
mov dword [ebx + 8], eax
jne 0x478c89
add esp, 0x11c
mov eax, 0x1b
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 0x2c]
xor ecx, ecx
xor edx, edx
jmp 0x478d35
lea eax, [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00453be0
test eax, eax
je 0x478c9c
jmp 0x478dd3
mov eax, dword [esp + 0x140]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
call fcn.00478390
test eax, eax
mov dword [ebx + 0x2c], eax
jne 0x478c24
jmp 0x478e95
mov dword [esp], ebx
call fcn.00478b30
add esp, 0x11c
mov eax, 0x43
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x38
jmp 0x478dd3
lea edx, [esp + 0x90]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0043ec30
mov dword [esp + 8], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 4], str.InitializeSecurityContext_failed:__s
mov dword [esp], eax
call fcn.00460000
jmp 0x478e95
mov eax, dword [esp + 0x130]
mov dword [esp + 4], str.SPNEGO_handshake_failure__empty_challenge_message__n
mov dword [esp], eax
call fcn.0045fe80
mov eax, 0x3d
jmp 0x478dd3
mov eax, dword [esp + 0x138]
lea edi, [ebx + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x134]
mov dword [esp], eax
call fcn.00471290
test eax, eax
jne 0x478dd3
mov dword [ebx + 0x28], edi
jmp 0x478e02
mov eax, 4
jmp 0x478dd3
mov eax, 0x43
jmp 0x478dd3