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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x64]
push ebp
push esi
mov esi, dword [esp + 0x74]
mov ebp, dword [ebx]
push edi
mov edi, dword [esp + 0x74]
push 0xd
push esi
push str.GSS_Negotiate
mov dword [esp + 0x80], 0
mov dword [esp + 0x1c], 0
call fcn.0045f320
add esp, 0xc
test eax, eax
je 0x47da6b
mov dword [esp + 0x20], str.GSS_Negotiate
mov ecx, 1
jmp 0x47da8d
push 9
push esi
push str.Negotiate
call fcn.0045f320
add esp, 0xc
test eax, eax
je 0x47db08
mov dword [esp + 0x20], str.Negotiate
xor ecx, ecx
test edi, edi
mov dword [esp + 0x28], 0x8650
mov edx, 0x865c
mov dword [esp + 0x24], 0x8654
mov eax, 0x8a80
mov dword [esp + 0x14], 0x8a7c
cmove eax, edx
mov dword [esp + 0x18], 0x8658
add eax, ebp
mov edx, 0x8a74
test edi, edi
mov dword [esp + 0x1c], eax
cmove edx, dword [esp + 0x28]
cmp dword [eax], 0
je 0x47db13
mov edx, dword [edx + ebp]
cmp edx, ecx
jne 0x47db08
mov eax, dword [esp + 0x14]
test edi, edi
cmove eax, dword [esp + 0x18]
cmp dword [eax + ebp], 0
jne 0x47db2f
mov esi, dword [ebx]
lea eax, [esi + 0x864c]
push eax
call fcn.0047dfd0
lea eax, [esi + 0x8a70]
push eax
call fcn.0047dfd0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
mov esi, dword [esp + 0x20]
test edi, edi
mov eax, 0x8a78
mov dword [edx + ebp], ecx
cmove eax, dword [esp + 0x24]
mov edx, ecx
mov dword [eax + ebp], esi
mov esi, dword [esp + 0x78]
test edi, edi
mov ecx, 0x8664
mov eax, 0x8a88
cmove eax, ecx
add eax, ebp
mov ecx, eax
mov dword [esp + 0x28], eax
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47db50
sub ecx, dword [esp + 0x20]
jne 0x47dbf8
test edi, edi
je 0x47db6d
cmp dword [ebx + 0xa8], ecx
je 0x47db08
test edx, edx
mov ecx, str.KHTTP
mov eax, str.HTTP
cmovne eax, ecx
mov edx, eax
mov dword [esp + 0x2c], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x47db85
sub edx, ecx
test edi, edi
je 0x47db9a
mov ecx, dword [ebx + 0xa8]
jmp 0x47dba0
mov ecx, dword [ebx + 0x98]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47dba7
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 3]
add eax, edx
cmp eax, 0x400
jbe 0x47dbcb
pop edi
pop esi
pop ebp
mov eax, 0x2738
pop ebx
add esp, 0x5c
ret
test edi, edi
je 0x47dbd7
mov eax, dword [ebx + 0xa8]
jmp 0x47dbdd
mov eax, dword [ebx + 0x98]
push eax
push dword [esp + 0x30]
push str._s__s
push 0x400
push dword [esp + 0x38]
call fcn.004513b0
add esp, 0x14
test edi, edi
mov ebx, 0x8e8c
mov eax, 0x8a68
cmove ebx, eax
cmp dword [ebx + ebp], 0
jne 0x47dc5d
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4dc5f8]
push str.Negotiate
mov eax, dword [eax + 0x44]
call eax
test eax, eax
jne 0x47db08
mov eax, dword [esp + 0x20]
test edi, edi
mov edx, 0x8a64
mov ecx, dword [eax + 8]
mov eax, 0x8e88
cmove eax, edx
push ecx
mov dword [eax + ebp], ecx
call dword [0x4d9078]
mov dword [ebx + ebp], eax
add esp, 4
mov eax, dword [0x4dc5f8]
push dword [esp + 0x20]
mov eax, dword [eax + 0x40]
call eax
test edi, edi
mov eax, 0x8a78
cmove eax, dword [esp + 0x24]
mov ecx, dword [eax + ebp]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47dc70
sub ecx, edx
add esi, ecx
mov al, byte [esi]
test al, al
je 0x47dc99
movzx eax, al
push eax
call fcn.0048eda0
add esp, 4
test eax, eax
je 0x47dc99
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x47dc81
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47dca0
mov eax, 0x8660
sub ecx, edx
jne 0x47dd27
test edi, edi
mov esi, 0x8a84
push 8
cmove esi, eax
call dword [0x4d9078]
push 8
mov dword [esi + ebp], eax
call dword [0x4d9078]
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esi + ebp]
test ecx, ecx
je 0x47db08
test eax, eax
je 0x47db08
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x4dc5f8]
push ecx
push 0
push 0
mov eax, dword [eax + 0xc]
push 0
push 0
push 2
push str.Negotiate
push 0
call eax
mov ecx, dword [esp + 0x14]
test edi, edi
cmove ecx, dword [esp + 0x18]
mov dword [ecx + ebp], eax
test eax, eax
je 0x47dd73
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
test edi, edi
mov ecx, 0x8a64
mov eax, 0x8e88
cmove eax, ecx
push dword [eax + ebp]
call dword [0x4d9078]
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
je 0x47db08
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x78]
push eax
push esi
call fcn.0047d6b0
add esp, 0xc
test eax, eax
jne 0x47db08
cmp dword [esp + 0x10], eax
je 0x47db08
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], eax
test edi, edi
mov ecx, 0x8a64
mov dword [esp + 0x40], 1
mov eax, 0x8e88
cmove eax, ecx
push dword [eax + ebp]
call fcn.00451200
mov ecx, dword [esp + 0x78]
add esp, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 2
mov eax, dword [ebx + ebp]
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x47ddf8
push dword [esp + 0x10]
lea eax, [esp + 0x58]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], eax
call fcn.00451200
mov ecx, dword [esp + 0x78]
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x47de0b
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
add esp, 0x5c
ret
test ecx, ecx
je 0x47de19
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, edx
jmp 0x47de2d
xor edx, edx
mov eax, 0x8a80
test edi, edi
mov esi, 0x865c
cmove eax, esi
mov eax, dword [eax + ebp]
lea esi, [esp + 0x34]
push esi
lea esi, [esp + 0x34]
push esi
lea esi, [esp + 0x44]
push esi
push eax
push 0
xor esi, esi
lea eax, [esp + 0x74]
test ecx, ecx
mov ecx, 0x8660
cmove eax, esi
test edi, edi
push eax
push 0x10
push esi
push 0x10
mov eax, 0x8a84
cmove eax, ecx
push ebx
push edx
push dword [eax + ebp]
mov eax, dword [0x4dc5f8]
mov eax, dword [eax + 0x18]
call eax
mov ebx, dword [esp + 0x14]
test edi, edi
mov esi, dword [esp + 0x1c]
cmove ebx, dword [esp + 0x18]
mov dword [ebx + ebp], eax
test eax, eax
js 0x47db08
cmp eax, 0x90313
je 0x47de96
cmp eax, 0x90314
jne 0x47deb2
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0x4dc5f8]
push dword [esi]
mov eax, dword [eax + 0x20]
call eax
mov dword [ebx + ebp], eax
test eax, eax
js 0x47db08
test edi, edi
mov eax, 0x8a6c
mov ecx, 0x8e90
cmove ecx, eax
mov eax, dword [esp + 0x48]
pop edi
pop esi
mov dword [ecx + ebp], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x5c
ret