Function at 0x43504f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467367
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
and dword [esp], 0
push ebx
push esi
push edi
mov edi, ecx
call fcn.00435bf1
lea esi, [edi + 0x23c]
mov ecx, esi
call fcn.004015b0
test al, al
je 0x4350e7
push 0x47c76c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x47b6a4
call fcn.00405b00
lea eax, [esp + 0x168]
push eax
mov ecx, edi
call fcn.00436309
and dword [esp + 0x190], 0
push eax
xor ebx, ebx
lea eax, [esp + 0x134]
inc ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00409750
add esp, 0xc
mov dword [esp + 0x18c], ebx
mov dword [esp + 0xc], 3
jmp 0x4350ec
xor ebx, ebx
mov eax, esi
inc ebx
push eax
lea ecx, [esp + 0xa4]
call fcn.00406180
push 2
pop eax
mov dword [esp + 0x18c], eax
test byte [esp + 0xc], al
je 0x43511a
and dword [esp + 0xc], 0xfffffffd
lea ecx, [esp + 0x12c]
call fcn.00407d30
mov byte [esp + 0x18c], 4
test byte [esp + 0xc], bl
je 0x435134
lea ecx, [esp + 0x148]
call fcn.00407d30
mov eax, edi
call fcn.00434f10
test al, al
jne 0x435148
call fcn.00434f29
test eax, eax
jne 0x435151
cmp byte [edi + 0xef], 0
je 0x43517b
mov edi, 0x1a4
lea ecx, [esp + 0xa0]
call fcn.00407d30
mov ecx, dword [esp + 0x184]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [edi + 0xe8]
lea ecx, [esp + 0xa0]
call fcn.00402d60
push eax
lea ecx, [esp + 0xa4]
call fcn.00405c20
push eax
call fcn.0043b7ba
lea eax, [esp + 0x4c]
push eax
mov eax, edi
call fcn.004365ce
lea esi, [edi + 0x25c]
push eax
mov ecx, esi
mov byte [esp + 0x190], 5
call fcn.00409280
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18c], 4
call fcn.00407d30
push esi
push edi
call fcn.004365ed
mov eax, dword [edi + 0x230]
cmp eax, 0xc8
je 0x4352db
cmp eax, 0xce
je 0x4352db
cmp eax, 0x12b
jle 0x4355d2
cmp eax, 0x131
jle 0x435213
cmp eax, 0x133
jne 0x4355d2
push str.LOCATION
lea ecx, [esp + 0xc0]
call fcn.00405b00
lea eax, [esp + 0xbc]
push eax
lea ebx, [edi + 0x20c]
mov byte [esp + 0x190], 0x10
call fcn.0041bf07
push eax
lea ecx, [esp + 0x18]
call fcn.00406180
lea ecx, [esp + 0xbc]
mov byte [esp + 0x18c], 0x12
call fcn.00407d30
lea ecx, [esp + 0x14]
call fcn.00402d60
test eax, eax
jbe 0x4355c9
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov ebx, esp
sub esp, 0x1c
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00406180
sub esp, 0x1c
lea esi, [edi + 4]
mov ecx, esp
mov dword [esp + 0x64], esp
push esi
mov byte [esp + 0x1e4], 0x13
call fcn.00406180
push ebx
mov byte [esp + 0x1e4], 0x12
call fcn.00437115
lea eax, [esp + 0x180]
push eax
call fcn.00437089
push eax
mov ecx, esi
mov byte [esp + 0x190], 0x14
call fcn.00409280
lea ecx, [esp + 0x164]
jmp 0x4355c4
push str.CONTENT_LENGTH
lea ecx, [esp + 0xdc]
call fcn.00405b00
lea eax, [esp + 0xd8]
lea ebx, [edi + 0x20c]
push eax
mov byte [esp + 0x190], 6
call fcn.0041bf07
push eax
lea ecx, [esp + 0x18]
call fcn.00406180
lea ecx, [esp + 0xd8]
mov byte [esp + 0x18c], 8
call fcn.00407d30
lea ecx, [esp + 0x14]
call fcn.00402d60
test eax, eax
jbe 0x435383
lea ecx, [esp + 0x14]
call fcn.00405c20
push eax
call fcn.004400a9
pop ecx
mov ecx, eax
add ecx, dword [edi + 0xf0]
mov eax, dword [ebp + 0xc]
adc edx, dword [edi + 0xf4]
mov dword [eax], ecx
lea ecx, [esp + 0x14]
mov dword [eax + 4], edx
lea esi, [edi + 0xf8]
call fcn.00405c20
push eax
call fcn.004400a9
add dword [esi], eax
pop ecx
mov byte [edi + 0xed], 0
adc dword [esi + 4], edx
mov byte [edi + 0x234], 0
jmp 0x435394
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [eax + 4], 0
mov byte [edi + 0xed], 1
push str.TRANSFER_ENCODING
lea ecx, [esp + 0x114]
call fcn.00405b00
lea eax, [esp + 0x110]
push eax
mov byte [esp + 0x190], 9
call fcn.0041bf07
push eax
lea ecx, [esp + 0x88]
call fcn.00406180
lea ecx, [esp + 0x110]
mov byte [esp + 0x18c], 0xb
call fcn.00407d30
lea ecx, [esp + 0x84]
call fcn.004015b0
test al, al
jne 0x435429
push 7
push str.chunked
lea ecx, [esp + 0x8c]
call fcn.00405c20
push eax
call fcn.0043f7e6
add esp, 0xc
test eax, eax
jne 0x435429
push 0x47db0c
push 8
push dword [0x48d1c4]
call fcn.00454eb0
add esp, 0xc
mov byte [edi + 0x234], 1
jmp 0x435430
mov byte [edi + 0x234], 0
lea ecx, [edi + 0xb0]
call fcn.004015b0
test al, al
jne 0x435452
cmp dword [edi + 0x22c], 0
jne 0x435452
mov dword [edi + 0x230], 0x1bc
push str.CONTENT_DISPOSITION
lea ecx, [esp + 0xf8]
call fcn.00405b00
lea eax, [esp + 0xf4]
push eax
mov byte [esp + 0x190], 0xc
call fcn.0041bf07
push eax
lea ecx, [esp + 0x6c]
call fcn.00406180
lea ecx, [esp + 0xf4]
mov byte [esp + 0x18c], 0xe
call fcn.00407d30
lea ecx, [esp + 0x68]
call fcn.00402d60
test eax, eax
jbe 0x435515
push str.filename
lea ecx, [esp + 0x6c]
call fcn.00405c20
push eax
call fcn.004026c0
pop ecx
pop ecx
test eax, eax
je 0x435515
add eax, 9
jmp 0x4354c3
inc eax
cmp byte [eax], 0x20
je 0x4354c2
cmp byte [eax], 0x22
jne 0x4354ce
inc eax
cmp byte [eax], 0x2f
jne 0x4354d4
inc eax
mov ecx, eax
xor esi, esi
lea edx, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4354db
sub ecx, edx
je 0x43550c
mov cl, byte [esi + eax]
cmp cl, 0x3b
je 0x435508
cmp cl, 0x22
je 0x435508
mov ecx, eax
inc esi
lea edx, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4354f9
sub ecx, edx
cmp esi, ecx
jb 0x4354e6
jmp 0x43550c
mov byte [esi + eax], 0
mov ecx, dword [ebp + 8]
push eax
call fcn.00405ad0
push str.CONNECTION
lea ecx, [esp + 0x50]
call fcn.00405b00
lea eax, [esp + 0x4c]
push eax
lea ebx, [edi + 0x20c]
mov byte [esp + 0x190], 0xf
call fcn.0041bf07
push eax
lea ecx, [esp + 0x34]
call fcn.00406180
lea ecx, [esp + 0x4c]
call fcn.00407d30
lea ecx, [esp + 0x30]
call fcn.00402d60
test eax, eax
jbe 0x4355a4
push 0xa
push str.keep_alive
lea ecx, [esp + 0x38]
call fcn.00405c20
push eax
call fcn.0043f7e6
add esp, 0xc
test eax, eax
jne 0x43557f
mov byte [edi + 0xee], 1
push 5
push str.close
lea ecx, [esp + 0x38]
call fcn.00405c20
push eax
call fcn.0043f7e6
add esp, 0xc
test eax, eax
jne 0x4355ab
mov byte [edi + 0xee], al
jmp 0x4355ab
mov byte [edi + 0xee], 1
lea ecx, [esp + 0x30]
call fcn.00407d30
lea ecx, [esp + 0x68]
call fcn.00407d30
lea ecx, [esp + 0x84]
call fcn.00407d30
lea ecx, [esp + 0x14]
call fcn.00407d30
mov byte [edi + 0xec], 1
mov edi, dword [edi + 0x230]
jmp 0x435156