Function at 0x4b3550
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + eax*4 + 0x420]
mov ebp, dword [edi]
mov esi, dword [edi + 0x744]
xor ecx, ecx
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
call fcn.004b3460
add esp, 4
test eax, eax
jne 0x4b401f
mov dword [edi + 0x588], ecx
cmp dword [esi + 0x4018], 0
jne 0x4b3806
mov edi, dword [esp + 0x44]
push ebx
push edi
push 0x5b6b7c
push ebp
call fcn.0048a2e0
mov eax, dword [ebp + 0x140]
push eax
call dword [0x61991c]
add esp, 0x14
mov dword [ebp + 0x140], 0
call fcn.004a9e50
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b3e51
push ebx
push edi
push 0x5b6b74
call fcn.00492bc0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b3e44
mov ecx, dword [esp + 0x3c]
push 1
push ebx
push 0x5b6b6c
push ecx
call fcn.004a9a50
push ebx
mov edi, eax
call dword [0x61991c]
add esp, 0x14
test edi, edi
jne 0x4b37dd
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x3c]
cmp dword [edi + 0x358], 1
mov eax, 0x5a0a81
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x5b5584
je 0x4b3649
mov dword [esp + 0x20], 0x5b5588
mov ebx, dword [esp + 0x44]
mov eax, dword [edi + 0x554]
cmp ebx, dword [edi + 0x304]
je 0x4b366d
push 0x3a
push ebx
call dword [0x5a03dc]
add esp, 8
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4b367d
mov ecx, 0x5afb08
mov eax, 0x5afafc
jmp 0x4b3684
mov ecx, 0x5a0a81
mov eax, ecx
mov edx, dword [esp + 0x48]
push edx
push ecx
push ebx
push eax
push 0x5b6b60
call fcn.00492bc0
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4b3e5e
push 0x5b5a84
push edi
call fcn.004a9430
add esp, 8
test eax, eax
jne 0x4b36cf
push ebx
push 0x5b6b54
call fcn.00492bc0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b3e78
push 0x5b5928
push edi
call fcn.004a9430
add esp, 8
test eax, eax
jne 0x4b36e9
mov dword [esp + 0x18], 0x5b5908
push 0x5b2860
push edi
call fcn.004a9430
add esp, 8
test eax, eax
jne 0x4b370d
cmp dword [ebp + 0xa3c], eax
je 0x4b370d
mov eax, dword [edi + 0x5f8]
mov dword [esp + 0x1c], eax
mov edi, dword [edi + 0x5f4]
mov ecx, edi
test edi, edi
jne 0x4b371e
mov ecx, 0x5a0a81
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4b372b
mov eax, 0x5a0a81
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x30]
push eax
push ebx
lea ecx, [esp + 0x28]
push 0x5b6b34
push ecx
call fcn.004aaa10
add esp, 0x20
cmp dword [esp + 0x14], 0
mov edi, eax
je 0x4b3766
mov edx, dword [esp + 0x14]
push edx
call dword [0x61991c]
add esp, 4
push ebx
call dword [0x61991c]
add esp, 4
test edi, edi
jne 0x4b37c3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
push eax
push 1
push ebx
call fcn.004aac80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4b37c3
lea ecx, [esp + 0x10]
push 0x5b0460
push ecx
call fcn.004aaa10
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b37c3
mov edx, dword [esp + 0x40]
push edx
push eax
lea eax, [ebp + 0x1208]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.004a9e90
add esp, 0x14
mov edi, eax
mov dword [esp + 0x10], 0
test edi, edi
je 0x4b37dd
push 0x5b6b14
push ebp
call fcn.0048a3c0
add esp, 8
lea edx, [esp + 0x10]
push edx
call fcn.004a9e60
add esp, 4
test edi, edi
jne 0x4b3e99
mov dword [esi + 0x4000], edi
mov edi, dword [esp + 0x3c]
mov dword [esi + 0x4018], 1
push 1
push 0
push ebp
call fcn.0048e830
add esp, 0xc
test edx, edx
jl 0x4b3ea3
jg 0x4b3825
test eax, eax
jbe 0x4b3ea3
mov eax, dword [esp + 0x40]
push eax
push edi
call fcn.0048f6d0
add esp, 8
test eax, eax
je 0x4b401f
cmp dword [esi + 0x4004], 0
mov dword [esp + 0x20], 0
je 0x4b391a
lea ebx, [esi + 0x4000]
jmp 0x4b3860
mov eax, dword [esi + 0x400c]
cmp eax, ebx
jae 0x4b3ebe
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.0048a1e0
mov edi, eax
add esp, 0x14
cmp edi, 0x51
je 0x4b401f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004989c0
add esp, 4
test eax, eax
jne 0x4b3ed9
test edi, edi
jne 0x4b390c
cmp dword [esp + 0x24], edi
jle 0x4b3df6
cmp dword [esi + 0x4004], 1
jle 0x4b3a16
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x400c], esi
je 0x4b39c4
sub eax, 1
sbb ecx, edi
mov dword [esi + 0x4010], eax
mov dword [esi + 0x4014], ecx
test ecx, ecx
jl 0x4b3902
jg 0x4b3de4
test eax, eax
ja 0x4b3de4
mov dword [esi + 0x4018], 2
mov dword [esi + 0x4004], 0
mov edi, dword [esp + 0x3c]
push edi
call fcn.004989c0
add esp, 4
test eax, eax
jne 0x4b3ed9
cmp dword [esp + 0x20], eax
jne 0x4b3ecc
mov ecx, dword [ebp + 0x11ec]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x4b3974
push edi
call fcn.004aa7e0
add esp, 4
test eax, eax
jne 0x4b4021
cmp dword [edi + 0x52c], eax
je 0x4b3974
mov dword [esi + 0x4020], 1
cmp dword [esi + 0x4020], 0
je 0x4b398a
cmp dword [ebp + 0x140], 0
jne 0x4b3ee6
cmp dword [ebp + 0x140], 0
je 0x4b3f08
cmp dword [esi + 0x4018], 2
jne 0x4b39ae
mov edi, dword [esp + 0x3c]
push 1
call fcn.004b34a0
add esp, 4
cmp dword [ebp + 0x140], 0
je 0x4b3f08
mov ebx, dword [esp + 0x48]
jmp 0x4b3593
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push 1
push esi
push edx
mov dword [esp + 0x30], 0
call fcn.004b8f40
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4b3de4
push 0x5b6b00
push ebp
call fcn.0048a2e0
add esp, 8
mov dword [esi + 0x4004], 0
mov dword [esi + 0x4018], 2
jmp 0x4b3de4
inc dword [ebx]
mov eax, dword [esi + 0x400c]
cmp byte [eax], 0xa
mov ecx, dword [ebx]
je 0x4b3a31
inc eax
mov dword [esi + 0x400c], eax
jmp 0x4b3de4
cmp dword [ebp + 0xbbc], 0
je 0x4b3a4d
mov eax, dword [esi + 0x4008]
push ecx
push eax
push 1
push ebp
call fcn.0048a250
add esp, 0x10
cmp dword [ebp + 0xc08], 0
jne 0x4b3a89
cmp dword [ebp + 0xba8], 0
mov eax, 2
je 0x4b3a69
mov eax, 3
mov ecx, dword [ebx]
mov edx, dword [esi + 0x4008]
push ecx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0048a820
add esp, 0x10
test eax, eax
jne 0x4b4021
mov eax, dword [ebx]
cdq
add dword [ebp + 0x1200], eax
adc dword [ebp + 0x1204], edx
mov eax, dword [ebx]
cdq
add dword [ebp + 0xa8], eax
adc dword [ebp + 0xac], edx
mov eax, dword [esi + 0x4008]
mov cl, byte [eax]
cmp cl, 0xd
je 0x4b3cfd
cmp cl, 0xa
je 0x4b3cfd
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
mov edx, dword [esi + 0x4008]
push 0x11
push edx
push 0x5b5cc8
call fcn.00490cb0
add esp, 0xc
test eax, eax
je 0x4b3aee
mov eax, dword [ebp + 0x100]
cmp eax, 0x191
je 0x4b3b15
mov eax, dword [esi + 0x4008]
push 0x13
push eax
push 0x5b5cb4
call fcn.00490cb0
add esp, 0xc
test eax, eax
je 0x4b3b62
mov eax, dword [ebp + 0x100]
cmp eax, 0x197
jne 0x4b3b62
mov ecx, dword [esi + 0x4008]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.004a94b0
mov edi, eax
add esp, 4
test edi, edi
je 0x4b3e51
mov edx, dword [esp + 0x3c]
push edi
push ebx
push edx
call fcn.004a9b60
push edi
mov ebx, eax
call dword [0x61991c]
add esp, 0x10
test ebx, ebx
je 0x4b3ce0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x4008]
push 0xf
push eax
push 0x5b5798
call fcn.00490cb0
add esp, 0xc
test eax, eax
je 0x4b3bce
mov ecx, dword [ebp + 0x100]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4b3bac
push ecx
push 0x5b6acc
push ebp
call fcn.0048a2e0
add esp, 0xc
jmp 0x4b3ce0
mov edx, dword [esi + 0x4008]
lea ecx, [esi + 0x4010]
push ecx
push 0xa
add edx, 0xf
push 0
push edx
call fcn.004b7490
add esp, 0x10
jmp 0x4b3ce0
mov eax, dword [esi + 0x4008]
push str.close
push 0x5b578c
push eax
call fcn.004aa170
add esp, 0xc
test eax, eax
je 0x4b3bfa
mov dword [esi + 0x4020], 1
jmp 0x4b3ce0
mov ecx, dword [esi + 0x4008]
push 0x12
push ecx
push 0x5b5778
call fcn.00490cb0
add esp, 0xc
test eax, eax
je 0x4b3c89
mov ecx, dword [ebp + 0x100]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4b3c44
push ecx
push 0x5b6a94
push ebp
call fcn.0048a2e0
add esp, 0xc
jmp 0x4b3ce0
mov ecx, dword [esi + 0x4008]
push str.chunked
push 0x5b5778
push ecx
call fcn.004aa170
add esp, 0xc
test eax, eax
je 0x4b3ce0
push 0x5b6a78
push ebp
call fcn.0048a2e0
mov edx, dword [esp + 0x44]
push edx
mov dword [esi + 0x401c], 1
call fcn.004b8f20
add esp, 0xc
jmp 0x4b3ce0
mov eax, dword [esi + 0x4008]
push str.close
push 0x5b5da0
push eax
call fcn.004aa170
add esp, 0xc
test eax, eax
je 0x4b3cb2
mov dword [esi + 0x4020], 1
jmp 0x4b3ce0
mov edx, dword [esi + 0x4008]
lea edi, [ebp + 0x100]
push edi
lea ecx, [esp + 0x30]
push ecx
push 0x5b6a68
push edx
call dword [0x5a0428]
add esp, 0x10
cmp eax, 2
jne 0x4b3ce0
mov eax, dword [edi]
mov dword [ebp + 0x11ec], eax
lea ebx, [esi + 0x4000]
mov dword [ebx], 0
mov dword [esi + 0x400c], esi
mov dword [esi + 0x4008], esi
jmp 0x4b3de4
mov dword [esi + 0x400c], esi
cmp dword [ebp + 0x100], 0x197
jne 0x4b3dc1
cmp dword [ebp + 0x1190], 0
jne 0x4b3dc1
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov edi, 2
mov dword [esi + 0x4004], edi
je 0x4b3d52
push ecx
push eax
push 0x5b6a40
push ebp
call fcn.0048a2e0
add esp, 0x10
jmp 0x4b3dd0
cmp dword [esi + 0x401c], 0
je 0x4b3dc6
push 0x5b6a20
push ebp
call fcn.0048a2e0
mov dword [ebp + 0x594], 1
mov eax, dword [esi + 0x4008]
inc eax
add esp, 8
cmp byte [eax], 0xa
jne 0x4b3d85
mov dword [esi + 0x4008], eax
mov edx, dword [esi + 0x4008]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
push 1
inc edx
push edx
push eax
call fcn.004b8f40
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4b3dd0
push 0x5b6b00
push ebp
call fcn.0048a2e0
add esp, 8
mov dword [esi + 0x4018], edi
jmp 0x4b3dc6
mov edi, 2
mov dword [esi + 0x4004], 0
mov ecx, dword [esi + 0x4010]
or ecx, dword [esi + 0x4014]
jne 0x4b3de4
mov dword [esi + 0x4018], edi
cmp dword [esi + 0x4004], 0
jne 0x4b3860
jmp 0x4b3916
cmp dword [ebp + 0x5d8], 0
je 0x4b3e29
cmp dword [ebp + 0xec8], 0
je 0x4b3e29
mov edx, dword [esp + 0x3c]
push 0x5b69fc
push ebp
mov dword [edx + 0x588], 1
call fcn.0048a2e0
add esp, 8
jmp 0x4b390c
push 0x5b69e4
push ebp
mov dword [esp + 0x28], 1
call fcn.0048a3c0
add esp, 8
jmp 0x4b390c
lea ecx, [esp + 0x10]
push ecx
call fcn.004a9e60
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
lea edx, [esp + 0x10]
push edx
call fcn.004a9e60
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
push ebx
call dword [0x61991c]
lea eax, [esp + 0x14]
push eax
call fcn.004a9e60
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x5b69bc
push ebp
call fcn.0048a3c0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 0x28
ret
push 0x5b69a0
push ebp
call fcn.0048a3c0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x28
ret
mov ebx, dword [esp + 0x40]
mov ecx, dword [edi + ebx*4 + 0x420]
push ecx
push edi
call fcn.0048f4c0
add esp, 8
mov dword [edi + ebx*4 + 0x420], 0xffffffff
jmp 0x4b3f0c
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebp + 0x11ec]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x4b3fcf
cmp dword [esi + 0x4020], 0
je 0x4b3f5f
cmp dword [ebp + 0x140], 0
je 0x4b3f5f
push 0x5b6984
push ebp
mov dword [edi + 0x588], 1
call fcn.0048a2e0
add esp, 8
mov eax, edi
call fcn.004b3520
jmp 0x4b3f9a
mov ecx, dword [ebp + 0x140]
push ecx
call dword [0x61991c]
push 2
push edi
mov dword [ebp + 0x140], 0
call fcn.0048f680
mov edx, dword [edi + ebx*4 + 0x420]
push edx
push edi
call fcn.0048f4c0
add esp, 0x14
mov dword [edi + ebx*4 + 0x420], 0xffffffff
mov dword [esi + 0x4018], 0
cmp dword [edi + 0x588], 0
jne 0x4b401f
mov eax, dword [ebp + 0x100]
push eax
push 0x5b6954
push ebp
call fcn.0048a3c0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x28
ret
mov dword [esi + 0x4018], 2
mov ecx, dword [edi + 0x5f4]
push ecx
call dword [0x61991c]
xor esi, esi
mov dword [edi + 0x5f4], esi
mov edx, dword [ebp + 0x11ec]
push edx
push 0x5b692c
push ebp
mov dword [ebp + 0xecc], 1
mov dword [ebp + 0xed0], esi
call fcn.0048a2e0
mov dword [ebp + 0x594], esi
add esp, 0x10
mov dword [edi + 0x570], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret