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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x19c
mov ebx, dword [esp + 0x1c8]
mov esi, dword [esp + 0x1c4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x4826b9
mov eax, dword [ebx]
test eax, eax
je 0x482830
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4829f0
mov ebp, dword [ebx + 0x34]
test ebp, ebp
je 0x482a22
mov edi, dword [ebx + 4]
test edi, edi
je 0x482850
test esi, esi
je 0x48274c
movzx eax, byte [esi]
test al, al
je 0x48274c
cmp al, 0x3d
je 0x482709
lea eax, [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call sym._Curl_base64_decode
test eax, eax
jne 0x48283d
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x482980
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 sym._curlx_uztoul
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 sym._curlx_uztoul
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [0x743284]
test edx, edx
mov ebp, dword [eax + 0x18]
mov eax, dword [ebx + 8]
je 0x482920
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 [0x5bcc2c]
mov eax, dword [ebx]
test eax, eax
js 0x482930
sub eax, 0x90313
cmp eax, 1
jbe 0x4829a1
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x38], eax
add esp, 0x19c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sym._Curl_auth_cleanup_spnego
mov eax, 0x43
add esp, 0x19c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
je 0x48286b
mov eax, dword [esp + 0x1b4]
cmp byte [eax], 0
jne 0x482a81
mov dword [ebx + 0x28], 0
mov dword [esp + 4], 8
mov dword [esp], 1
call dword [0x5bcc20]
test eax, eax
mov dword [ebx + 4], eax
je 0x482910
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 [0x743284]
call dword [eax + 0xc]
mov edx, eax
sub esp, 0x24
mov dword [ebx], eax
test edx, edx
mov eax, 0x5e
jne 0x48283d
mov dword [esp + 4], 8
mov dword [esp], 1
call dword [0x5bcc20]
test eax, eax
mov dword [ebx + 8], eax
jne 0x4826da
mov eax, 0x1b
jmp 0x48283d
mov edi, dword [ebx + 0x2c]
xor ecx, ecx
xor edx, edx
jmp 0x4827a2
lea edx, [esp + 0x90]
mov dword [esp + 8], 0x100
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._Curl_sspi_strerror
mov dword [esp + 4], str.InitializeSecurityContext_failed:__s
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
call sym._Curl_failf
cmp dword [ebx], 0x80090300
mov edx, 0x5e
mov eax, 0x1b
cmovne eax, edx
jmp 0x48283d
mov eax, dword [esp + 0x1b0]
mov dword [esp + 4], str.SPNEGO_handshake_failure__empty_challenge_message__n
mov dword [esp], eax
call sym._Curl_infof
mov eax, 0x3d
jmp 0x48283d
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x20]
sub esp, 8
test eax, eax
mov dword [ebx], eax
jns 0x48281c
lea edx, [esp + 0x90]
mov dword [esp + 8], 0x100
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._Curl_sspi_strerror
mov dword [esp + 4], str.CompleteAuthToken_failed:__s
mov dword [esp + 8], eax
jmp 0x482957
mov eax, dword [esp + 0x1c0]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp], eax
call sym._Curl_auth_build_spn
test eax, eax
mov dword [ebx + 0x2c], eax
jne 0x4826c4
jmp 0x482910
lea eax, [esp + 0x40]
mov dword [esp], str.Negotiate
mov dword [esp + 4], eax
mov eax, dword [0x743284]
call dword [eax + 0x44]
mov edx, eax
sub esp, 8
mov dword [ebx], eax
test edx, edx
mov eax, 4
jne 0x48283d
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 8]
mov dword [ebx + 0x30], edx
mov dword [esp], eax
mov eax, dword [0x743284]
call dword [eax + 0x40]
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], eax
call dword [0x5bcc30]
test eax, eax
mov dword [ebx + 0x34], eax
jne 0x4826cf
jmp 0x482910
mov eax, dword [esp + 0x1b8]
lea edi, [ebx + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp], eax
call sym._Curl_create_sspi_identity
test eax, eax
jne 0x48283d
mov dword [ebx + 0x28], edi
jmp 0x482872