Function at 0x4f36b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa9fc
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov esi, dword [ebp + 0x2c]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0x20]
push str.computeAuthorization
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp + 0x28]
push esi
mov dword [ebp - 0x49c], eax
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
call fcn.00430cc0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00422240
mov eax, dword [ebp - 0x4b0]
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x37c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x37c]
call fcn.00407810
push 1
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 1
call fcn.0040adf0
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x37c]
push esi
push eax
call fcn.004ef910
mov eax, dword [ebp - 0x4a0]
cmp dword [eax + 0x2d4], 0x191
je 0x4f37b7
push str.Expected_a_response_status_of_401...
jmp 0x4f4089
lea ecx, [ebp - 0x37c]
call fcn.0040a680
test al, al
je 0x4f37d0
push str.Password_is_empty.
jmp 0x4f4089
mov ecx, dword [ebp - 0x4a0]
push 0x654f40
add ecx, 0x190
push str.WWW_Authenticate
call fcn.004e8e10
test al, al
je 0x4f38a3
mov eax, dword [ebp - 0x49c]
test eax, eax
je 0x4f380e
push str.Starting_Digest_Authentication
push str.HttpAuth
mov ecx, eax
call fcn.004810e0
push 0x74
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00420e20
mov ecx, dword [ebp - 0x4a0]
lea eax, [ebp - 0xd8]
push eax
push str.WWW_Authenticate
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x190]
call fcn.004e8b70
push esi
push edi
lea ecx, [ebp - 0xd8]
call fcn.00414900
push eax
push dword [ebp - 0x4b4]
lea ecx, [ebp - 0x37c]
push dword [ebp - 0x4ac]
call fcn.0040a120
mov ecx, dword [ebp - 0x4a4]
push eax
lea ecx, [ecx + 0x240]
call fcn.00408d50
push eax
call fcn.00523010
add esp, 0x1c
mov byte [ebp - 0x495], al
lea ecx, [ebp - 0xd8]
call fcn.00420e70
jmp 0x4f4097
mov ecx, dword [ebp - 0x4a0]
push str.NTLM
push str.WWW_Authenticate
lea ecx, [ecx + 0x190]
call fcn.004e8e10
test al, al
je 0x4f3bea
mov eax, dword [ebp - 0x4a4]
add eax, 0x240
mov ecx, eax
mov dword [ebp - 0x4ac], eax
call fcn.0040a680
test al, al
jne 0x4f3bea
call fcn.00524de0
mov dword [ebp - 0x49c], eax
test eax, eax
je 0x4f4090
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.0040b6d0
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040eb10
push dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x49c]
call fcn.005265a0
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x37c]
push eax
call fcn.005264d0
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x49c]
add eax, 0x358
push eax
call fcn.00526430
push dword [0x6a5080]
mov ecx, dword [ebp - 0x49c]
call fcn.005264b0
push 0x74
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00420e20
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 4
push eax
call fcn.00430750
add esp, 4
lea ecx, [ebp - 0xd8]
call fcn.004239b0
test eax, eax
je 0x4f3a0a
push 0x118
lea eax, [ebp - 0x264]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.00407810
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00414900
push eax
lea ecx, [ebp - 0x264]
call fcn.00407a80
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x264]
push eax
call fcn.00526620
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
call fcn.004078a0
cmp byte [ebp + 0x18], 0
push 0x118
push 0
jne 0x4f3a8e
lea eax, [ebp - 0x264]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.00407810
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x264]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.00525350
test al, al
jne 0x4f3a5d
mov byte [ebp - 0x495], al
lea ecx, [ebp - 0x264]
jmp 0x4f3bcd
push 0x653c10
mov ecx, edi
call fcn.00421120
lea ecx, [ebp - 0x264]
call fcn.0040a120
push eax
mov ecx, edi
call fcn.00421120
mov byte [ebp - 0x495], 1
lea ecx, [ebp - 0x264]
jmp 0x4f3bcd
lea eax, [ebp - 0x494]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x494]
call fcn.00407810
push 0x118
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 7
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.00407810
push 0x74
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14c]
call fcn.00420e20
mov ecx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x14c]
push eax
push str.WWW_Authenticate
mov byte [ebp - 4], 9
lea ecx, [ecx + 0x190]
call fcn.004e8b70
test al, al
je 0x4f3baa
lea ecx, [ebp - 0x14c]
call fcn.00426220
lea ecx, [ebp - 0x14c]
call fcn.004239b0
test eax, eax
je 0x4f3baa
push 0x600cc0
push 0x653bf4
lea ecx, [ebp - 0x14c]
call fcn.00425100
lea ecx, [ebp - 0x14c]
call fcn.00426220
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x494]
call fcn.00407c50
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x264]
push esi
push eax
lea eax, [ebp - 0x494]
push eax
call fcn.00525710
test al, al
je 0x4f3baa
push 0x653c10
mov ecx, edi
call fcn.00421120
lea ecx, [ebp - 0x264]
call fcn.0040a120
push eax
mov ecx, edi
call fcn.00421120
mov byte [ebp - 0x495], 1
jmp 0x4f3bb1
mov byte [ebp - 0x495], 0
lea ecx, [ebp - 0x14c]
call fcn.00420e70
lea ecx, [ebp - 0x264]
call fcn.004078a0
lea ecx, [ebp - 0x494]
call fcn.004078a0
lea ecx, [ebp - 0xd8]
call fcn.00420e70
lea ecx, [ebp - 0x3c]
call fcn.0040b780
jmp 0x4f4097
mov ecx, dword [ebp - 0x4a0]
push str.NTLM
push str.WWW_Authenticate
lea ecx, [ecx + 0x190]
call fcn.004e8e10
test al, al
je 0x4f3c10
mov ecx, 0x653bf4
jmp 0x4f3c5e
mov ecx, dword [ebp - 0x4a0]
push str.Negotiate
push str.WWW_Authenticate
lea ecx, [ecx + 0x190]
call fcn.004e8e10
test al, al
je 0x4f3c36
mov ecx, 0x653c18
jmp 0x4f3c5e
mov ecx, dword [ebp - 0x4a0]
push str.Kerberos
push str.WWW_Authenticate
lea ecx, [ecx + 0x190]
call fcn.004e8e10
test al, al
je 0x4f3f5e
mov ecx, 0x653c38
cmp dword [ebp - 0x4a8], 0
mov dword [ebp - 0x49c], ecx
jne 0x4f3c7f
mov eax, dword [esi]
push ecx
push str.notSupported
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x4f4090
cmp byte [ebp + 0x18], 0
jne 0x4f3d8b
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.004118f0
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x30]
push esi
mov esi, dword [ebp - 0x49c]
push eax
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ecx + 0x240]
push eax
lea eax, [ecx + 0x358]
mov ecx, dword [ebp - 0x4a8]
push eax
push esi
call fcn.0050df90
test al, al
jne 0x4f3cf1
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x495], al
call fcn.00411b10
jmp 0x4f4097
lea ecx, [ebp - 0x3c]
call fcn.0042b570
push 0x74
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00420e20
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x30]
call fcn.00414910
push eax
call fcn.0042e6f0
add esp, 0xc
mov ecx, edi
push esi
call fcn.00421120
push 0x20
mov ecx, edi
call fcn.00421320
lea ecx, [ebp - 0xd8]
call fcn.00414900
push eax
mov ecx, edi
call fcn.00421120
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x495], 1
call fcn.00420e70
lea ecx, [ebp - 0x3c]
call fcn.0042b590
lea ecx, [ebp - 0x30]
call fcn.00411b10
jmp 0x4f4097
push 0x74
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14c]
call fcn.00420e20
mov ecx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x14c]
push eax
push str.WWW_Authenticate
mov byte [ebp - 4], 0x10
lea ecx, [ecx + 0x190]
call fcn.004e8b70
test al, al
je 0x4f3f47
lea ecx, [ebp - 0x14c]
call fcn.00426220
lea ecx, [ebp - 0x14c]
call fcn.004239b0
test eax, eax
je 0x4f3f47
push 0x600cc0
push dword [ebp - 0x49c]
lea ecx, [ebp - 0x14c]
call fcn.00425100
lea ecx, [ebp - 0x14c]
call fcn.00426220
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x64]
movq qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x64], xmm0
call fcn.004118f0
push str.base64
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x11
call fcn.00414900
push eax
lea ecx, [ebp - 0x64]
call fcn.00412490
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.004118f0
mov ecx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x11]
push esi
push eax
push dword [ebp - 0x4b0]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0050dfe0
test al, al
jne 0x4f3e95
mov byte [ebp - 0x495], al
jmp 0x4f3f27
lea ecx, [ebp - 0x3c]
call fcn.0042b570
push 0x74
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x13
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00420e20
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c90
push eax
lea ecx, [ebp - 0x30]
call fcn.00414910
push eax
call fcn.0042e6f0
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x49c]
call fcn.00421120
push 0x20
mov ecx, edi
call fcn.00421320
lea ecx, [ebp - 0xd8]
call fcn.00414900
push eax
mov ecx, edi
call fcn.00421120
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x495], 1
call fcn.00420e70
lea ecx, [ebp - 0x3c]
call fcn.0042b590
lea ecx, [ebp - 0x30]
call fcn.00411b10
lea ecx, [ebp - 0x64]
call fcn.00411b10
lea ecx, [ebp - 0x14c]
call fcn.00420e70
jmp 0x4f4097
lea ecx, [ebp - 0x14c]
mov byte [ebp - 0x495], 0
call fcn.00420e70
jmp 0x4f4097
mov ecx, dword [ebp - 0x4a0]
push 0x654f94
push str.WWW_Authenticate
lea ecx, [ecx + 0x190]
call fcn.004e8e10
test al, al
je 0x4f4084
mov eax, dword [ebp - 0x49c]
test eax, eax
je 0x4f3f9c
push str.Server_requests_Basic_Authentication
push str.HttpAuth
mov ecx, eax
call fcn.004810e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.004118f0
mov esi, dword [ebp - 0x4a4]
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x240]
call fcn.00409ad0
push eax
lea ecx, [esi + 0x240]
call fcn.0040a120
push eax
lea ecx, [ebp - 0x30]
call fcn.00412010
push 0x3a
lea ecx, [ebp - 0x30]
call fcn.00412270
lea ecx, [ebp - 0x37c]
call fcn.00409ad0
push eax
lea ecx, [ebp - 0x37c]
call fcn.0040a120
push eax
lea ecx, [ebp - 0x30]
call fcn.00412010
lea ecx, [ebp - 0x3c]
call fcn.0042b570
push 0x74
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00420e20
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00401c90
push eax
lea ecx, [ebp - 0x30]
call fcn.00414910
push eax
call fcn.0042e6f0
add esp, 0xc
mov ecx, edi
push str.Basic
call fcn.00424a90
lea ecx, [ebp - 0xd8]
call fcn.00420e70
lea ecx, [ebp - 0x3c]
call fcn.0042b590
lea ecx, [ebp - 0x30]
call fcn.00411b10
mov byte [ebp - 0x495], 1
jmp 0x4f4097
push str.No_useful_WWW_Authenticate_response_header_was_found.
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 0x495], 0
lea ecx, [ebp - 0x37c]
call fcn.004078a0
lea ecx, [ebp - 0x48]
call fcn.00430db0
mov al, byte [ebp - 0x495]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret