Function at 0x6b45d770
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test byte [esi + 0x11c], 0x10
jne 0x6b45d7f6
test byte [esi + 0x6d8], 0x10
jne 0x6b45d7f6
push 0xf
push ebx
push 0x6b72d082
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45d7f6
add ebx, 0xf
lea eax, [esp + 8]
push eax
push 0xa
push 0
push ebx
call fcn.6b482020
add esp, 0x10
cmp eax, 1
je 0x6b45d88d
test eax, eax
jne 0x6b45d8a7
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
jmp 0x6b45d969
push 0xd
push ebx
push str.Content_Type:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45d83f
push ebx
call fcn.6b45a960
add esp, 4
test eax, eax
je 0x6b45dc3a
mov edi, eax
cmp byte [eax], 0
mov eax, dword [0x6b83acf4]
mov eax, dword [eax]
je 0x6b45d882
push dword [esi + 0xb9c]
call eax
add esp, 4
mov dword [esi + 0xb9c], edi
jmp 0x6b45d969
mov al, byte [edi + 0x114]
cmp al, 0xa
jne 0x6b45d8c6
test byte [edi + 0x24c], 1
je 0x6b45d918
push 0x6b72d6cd
push 0x6b72d6bb
push ebx
call fcn.6b45bb50
add esp, 0xc
test eax, eax
je 0x6b45d8c0
push 0
push edi
call fcn.6b445a40
add esp, 8
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
jmp 0x6b45d93f
push edi
call eax
add esp, 4
jmp 0x6b45d969
mov eax, dword [esi + 0x4d8]
or eax, dword [esi + 0x4dc]
je 0x6b45d8fc
mov ebx, 0x3f
mov eax, 0x6b72d464
jmp 0x6b45d8b1
mov ebx, 8
mov eax, str.Invalid_Content_Length:_value
push eax
push esi
call fcn.6b476950
add esp, 8
jmp 0x6b45dc3f
mov al, byte [edi + 0x114]
cmp al, 0xb
jne 0x6b45d914
test byte [edi + 0x24c], 1
je 0x6b45d947
push 0x6b72d705
push 0x6b72d6bb
push ebx
call fcn.6b45bb50
add esp, 0xc
test eax, eax
je 0x6b45d90e
push 1
push edi
call fcn.6b445a40
add esp, 8
push str.HTTP_1.1_proxy_connection_set_close_
jmp 0x6b45d93f
push 2
push edi
call fcn.6b445a40
add esp, 8
push str.Overflow_Content_Length:_value_
jmp 0x6b45d93f
mov al, byte [edi + 0x114]
cmp al, 0xa
jne 0x6b45d947
push 0x6b72d6cd
push 0x6b72d092
push ebx
call fcn.6b45bb50
add esp, 0xc
test eax, eax
je 0x6b45d947
push 0
push edi
call fcn.6b445a40
add esp, 8
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.6b4767f0
jmp 0x6b45d966
push 0x6b72d705
push 0x6b72d092
push ebx
call fcn.6b45bb50
add esp, 0xc
test eax, eax
je 0x6b45d970
push 2
push edi
call fcn.6b445a40
add esp, 8
xor ebx, ebx
jmp 0x6b45dc3f
mov eax, dword [esi + 0x11c]
test al, 0x10
jne 0x6b45d9ca
push 0x12
push ebx
push 0x6b72d09e
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45d9c4
add ebx, 0x12
push 1
push ebx
push esi
call fcn.6b445d30
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6b45dc3f
test byte [esi + 0x11c], 0x20
jne 0x6b45d969
push 1
push edi
call fcn.6b445a40
add esp, 8
or byte [esi + 0x11c], 0x40
jmp 0x6b45d969
mov eax, dword [esi + 0x11c]
test al, 0x10
jne 0x6b45da09
push 0x11
push ebx
push str.Content_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45da09
cmp dword [esi + 0x530], 0
je 0x6b45da09
add ebx, 0x11
push 0
push ebx
push esi
call fcn.6b445d30
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6b45dc3f
jmp 0x6b45d969
push 0xc
push ebx
push str.Retry_After:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45da63
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
add ebx, 0xc
push ebx
call fcn.6b4720a0
add esp, 4
cmp eax, 0xffffffff
je 0x6b45db91
mov edi, eax
push 0
call dword [sym.imp.msvcrt.dll_time]
add esp, 4
sub edi, eax
mov eax, edi
sar eax, 0x1f
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
jmp 0x6b45dbab
test byte [esi + 0x11c], 0x10
jne 0x6b45dabd
push 0xe
push ebx
push str.Content_Range:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dabd
mov al, byte [ebx + 0xe]
add ebx, 0xe
xor edi, edi
test al, al
je 0x6b45ddb1
movzx eax, al
push eax
call fcn.6b449970
add esp, 4
test eax, eax
movzx eax, byte [ebx]
jne 0x6b45dda8
cmp al, 0x2a
je 0x6b45ddac
movzx eax, byte [ebx + 1]
inc ebx
test al, al
jne 0x6b45da90
jmp 0x6b45ddb1
cmp dword [esi + 0x6e0], 0
je 0x6b45dad4
cmp word [esi + 0xb44], 0
js 0x6b45dc49
test byte [esi + 0x11c], 0x10
jne 0x6b45db0b
push 0xe
push ebx
push str.Last_Modified:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45db0b
cmp dword [esi + 0x3bc], 0
jne 0x6b45dcd4
test byte [esi + 0x6d5], 2
jne 0x6b45dcd4
push 0x11
push ebx
push 0x6b72d7a0
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45db2d
xor eax, eax
cmp dword [esi + 0xe0], 0x191
je 0x6b45db52
push 0x13
push ebx
push 0x6b72d7b2
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dbbc
mov eax, 1
cmp dword [esi + 0xe0], 0x197
jne 0x6b45dbbc
mov dword [esp + 4], eax
push ebx
call fcn.6b45a960
add esp, 4
test eax, eax
je 0x6b45dc3a
mov edi, eax
push eax
push dword [esp + 8]
push esi
call fcn.6b45b490
add esp, 0xc
mov ebx, eax
mov eax, dword [0x6b83acf4]
push edi
call dword [eax]
add esp, 4
test ebx, ebx
jne 0x6b45dc3f
jmp 0x6b45d969
lea eax, [esp + 8]
push eax
push 0xa
push 0
push ebx
call fcn.6b482020
add esp, 0x10
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esi + 0xba8], edi
mov dword [esi + 0xbac], eax
jmp 0x6b45d969
push 0x10
push ebx
push str.Persistent_Auth:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dcfe
cmp dword [esi + 0x8d4], 4
jne 0x6b45d969
push ebx
call fcn.6b45a960
add esp, 4
test eax, eax
je 0x6b45dc3a
mov ebx, eax
push 5
push eax
push 0x6b72d7d7
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
mov eax, dword [edi + 0x3a0]
and eax, 0xfffffffc
lea eax, [eax + ecx + 2]
mov dword [edi + 0x3a0], eax
push ebx
push ecx
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.6b4767f0
add esp, 0x10
mov eax, dword [0x6b83acf4]
push ebx
call dword [eax]
add esp, 4
jmp 0x6b45d969
mov ebx, 0x1b
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xb
push ebx
push 0x6b72d785
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dad4
mov eax, dword [esi + 0xb28]
mov ecx, eax
test eax, eax
jne 0x6b45dc70
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x270]
mov dword [esp + 4], 1
test byte [eax + 0x44], 2
jne 0x6b45de1f
mov edi, ecx
push ecx
push 0x6b72d33f
call fcn.6b481200
add esp, 8
test eax, eax
jne 0x6b45de21
push str.127.0.0.1
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x6b45de21
push str._::1_
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 4], ecx
jmp 0x6b45de21
add ebx, 0xe
push ebx
call fcn.6b4720a0
add esp, 4
mov dword [esi + 0xfc], eax
test byte [esi + 0x6d5], 2
je 0x6b45d969
mov dword [esi + 0xb7c], eax
jmp 0x6b45d969
mov eax, 0xfffffed4
add eax, dword [esi + 0xe0]
cmp eax, 0x63
ja 0x6b45dd2f
push 9
push ebx
push str.Location:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dd2f
cmp dword [esi + 0x104], 0
je 0x6b45dedf
cmp dword [esi + 0x6e4], 0
je 0x6b45dd5c
push 0x1a
push ebx
push str.Strict_Transport_Security:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dd5c
mov eax, dword [edi + 0x270]
test byte [eax + 0x4c], 1
jne 0x6b45de5d
cmp dword [esi + 0x6e8], 0
je 0x6b45dd89
push 8
push ebx
push str.Alt_Svc:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x6b45dd89
mov eax, dword [edi + 0x270]
test byte [eax + 0x4c], 1
jne 0x6b45de87
mov eax, dword [edi + 0x270]
test byte [eax + 0x46], 4
je 0x6b45d969
push ebx
push esi
call fcn.6b475fe0
add esp, 8
jmp 0x6b45d9fa
mov edi, eax
jmp 0x6b45ddb1
mov edi, 0x2a
push edi
call fcn.6b449970
add esp, 4
test eax, eax
je 0x6b45de06
lea eax, [esi + 0xd8]
push eax
push 0xa
push 0
push ebx
call fcn.6b482020
add esp, 0x10
test eax, eax
jne 0x6b45d969
mov eax, dword [esi + 0xa88]
mov ecx, dword [esi + 0xa8c]
xor ecx, dword [esi + 0xdc]
xor eax, dword [esi + 0xd8]
or eax, ecx
jne 0x6b45d969
or byte [esi + 0x11c], 2
jmp 0x6b45d969
mov dword [esi + 0xa8c], 0
mov dword [esi + 0xa88], 0
jmp 0x6b45d969
mov edi, ecx
push 2
push 2
push esi
call fcn.6b47b6c0
add esp, 0xc
add ebx, 0xb
push dword [esp + 4]
push dword [esi + 0xad8]
push edi
push ebx
push 0
push 1
push dword [esi + 0x6e0]
push esi
call fcn.6b447100
add esp, 0x20
push 2
push esi
call fcn.6b47b700
jmp 0x6b45d966
add ebx, 0x1a
push ebx
push dword [esi + 0xac4]
push dword [esi + 0x6e4]
call fcn.6b4593d0
add esp, 0xc
test eax, eax
je 0x6b45d969
push str.Illegal_STS_header_skipped
jmp 0x6b45d93f
xor eax, eax
cmp byte [edi + 0x114], 0x14
sete al
lea eax, [eax*8 + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x6e8]
mov dword [esp + 4], eax
add ebx, 8
mov eax, dword [edi + 0x64]
mov dword [esp + 0x14], eax
push dword [edi + 0xc8]
call fcn.6b48f2b0
add esp, 4
movzx eax, ax
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
push ebx
push dword [esp + 0x14]
push esi
call fcn.6b441a50
add esp, 0x18
jmp 0x6b45d9fa
push ebx
call fcn.6b45a960
add esp, 4
mov ebx, 0x1b
test eax, eax
je 0x6b45dc3f
cmp byte [eax], 0
je 0x6b45df35
mov dword [esi + 0x104], eax
test byte [esi + 0x6d6], 0x40
je 0x6b45d969
mov ecx, dword [0x6b83ad00]
push eax
call dword [ecx]
add esp, 4
mov dword [esi + 0x108], eax
test eax, eax
je 0x6b45dc3f
mov ecx, esi
mov edx, edi
call fcn.6b45ae10
jmp 0x6b45d9fa
mov ecx, dword [0x6b83acf4]
push eax
call dword [ecx]
add esp, 4
jmp 0x6b45d969