Function at 0x5b8500
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov byte [ebp - 2], 0
mov ebx, dword [esi + 0x18]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push 0xa
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
call fcn.006f4cd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5b91f7
mov eax, dword [ebp - 0x10]
sub edi, eax
inc edi
push edi
push eax
lea eax, [esi + 0x858]
push eax
call fcn.0059e8d0
add esp, 0xc
test eax, eax
jne 0x5b9357
mov eax, dword [ebp + 0x14]
sub dword [ebp - 0x14], edi
add dword [ebp - 0x10], edi
add dword [eax], edi
cmp dword [esi + 0xcc], 0
jne 0x5b85a2
lea eax, [esi + 0x858]
push eax
call fcn.0059e940
mov edi, eax
lea eax, [esi + 0x858]
push eax
call fcn.00560ca0
push edi
push eax
push esi
call fcn.005b82b0
add esp, 0x14
cmp eax, 2
je 0x5b9285
lea eax, [esi + 0x858]
push eax
call fcn.00560ca0
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x5b8b23
cmp cl, 0xd
je 0x5b8b23
mov ecx, dword [esi + 0xcc]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xcc], eax
test ecx, ecx
jne 0x5b89dd
mov eax, dword [ebx + 0x1c4]
mov eax, dword [eax + 0x44]
test al, 3
je 0x5b87f8
mov al, byte [edx]
mov edi, edx
test al, al
je 0x5b8610
nop
cmp al, 0x20
je 0x5b8608
cmp al, 9
jne 0x5b8610
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5b8600
push 5
push str.HTTP_
push edi
call fcn.00709b00
add esp, 0xc
test eax, eax
jne 0x5b86bc
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x5b86fe
sub eax, 1
je 0x5b8645
sub eax, 1
jne 0x5b92ad
mov al, byte [edi + 6]
cmp al, 0x20
je 0x5b8650
cmp al, 9
jne 0x5b86bc
lea ebx, [ecx - 0x30]
mov cl, byte [edi + 7]
mov al, cl
lea ebx, [ebx + ebx*4]
sub al, 0x30
add ebx, ebx
cmp al, 9
ja 0x5b86b9
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5b86b9
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5b86b9
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xd8], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x5b8791
cmp al, 9
je 0x5b8791
cmp al, 0xa
jl 0x5b86b9
cmp al, 0xd
jle 0x5b8791
mov ebx, dword [ebp - 8]
lea edi, [esi + 0x858]
push edi
call fcn.0059e940
add esp, 4
push eax
push edi
call fcn.00560ca0
add esp, 4
push eax
push esi
call fcn.005b82b0
add esp, 0xc
cmp eax, 1
jne 0x5b932f
mov dword [esi + 0xd8], 0xc8
mov byte [ebx + 0x260], 0xa
jmp 0x5b88d7
cmp byte [edi + 6], 0x2e
jne 0x5b9315
mov al, byte [edi + 7]
cmp al, 0x30
je 0x5b8717
cmp al, 0x31
jne 0x5b9315
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x5b8728
cmp cl, 9
jne 0x5b9315
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x5b9315
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5b9315
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5b9315
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xd8], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x5b8791
cmp al, 9
je 0x5b8791
sub al, 0xa
cmp al, 3
ja 0x5b9315
cmp ecx, 0x64
jl 0x5b92fb
mov eax, ebx
sub eax, 0xa
je 0x5b87aa
sub eax, 1
jne 0x5b92c7
mov eax, dword [ebp - 8]
mov byte [eax + 0x260], bl
mov al, bl
cmp dword [esi + 0xf4], 3
jne 0x5b87dc
cmp bl, 0x14
je 0x5b87dc
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.005aa810
mov ebx, dword [ebp - 8]
add esp, 8
mov al, byte [ebx + 0x260]
jmp 0x5b87df
mov ebx, dword [ebp - 8]
cmp al, 0x14
jae 0x5b88d7
mov eax, dword [ebx + 0x234]
mov dword [eax], 0xffffffff
jmp 0x5b88d7
test eax, 0x40000
je 0x5b932f
mov al, byte [edx]
mov edi, edx
test al, al
je 0x5b8820
nop dword [eax + eax]
cmp al, 0x20
je 0x5b8818
cmp al, 9
jne 0x5b8820
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5b8810
push 5
push str.RTSP_
push edi
call fcn.00709b00
add esp, 0xc
test eax, eax
jne 0x5b932f
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x5b93a2
cmp byte [edi + 6], 0x2e
jne 0x5b93a2
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x5b93a2
mov al, byte [edi + 8]
cmp al, 0x20
je 0x5b886b
cmp al, 9
jne 0x5b93a2
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x5b93a2
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x5b93a2
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5b93a2
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, bl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0xd8], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x5b88cd
cmp al, 9
je 0x5b88cd
sub al, 0xa
cmp al, 3
ja 0x5b93a2
mov ebx, dword [ebp - 8]
mov byte [ebx + 0x260], 0xb
mov eax, dword [esi + 0xd8]
mov cl, byte [esi + 0xd09]
mov dword [esi + 0xd28], eax
movzx eax, byte [ebx + 0x260]
mov dword [esi + 0xd30], eax
mov al, byte [ebx + 0x260]
test cl, cl
je 0x5b8904
cmp cl, al
jbe 0x5b890a
mov byte [esi + 0xd09], al
mov eax, dword [esi + 0xc20]
or eax, dword [esi + 0xc24]
je 0x5b8934
cmp byte [esi + 0xd0a], 0
jne 0x5b8934
cmp dword [esi + 0xd8], 0x1a0
jne 0x5b8934
mov byte [esi + 0x140], 1
mov al, byte [ebx + 0x260]
cmp al, 0xa
jne 0x5b8956
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.005aa810
push 1
push ebx
call fcn.005abc20
add esp, 0x10
jmp 0x5b8978
cmp al, 0x14
je 0x5b896c
cmp dword [esi + 0xf4], 2
jne 0x5b8978
cmp dword [esi + 0xd8], 0x65
jne 0x5b8978
mov eax, dword [ebx + 0x234]
mov dword [eax], 2
mov ecx, dword [esi + 0xd8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x141], al
sub ecx, 0xcc
je 0x5b89a9
sub ecx, 0x64
jne 0x5b89d8
cmp byte [esi + 0x3a8], cl
je 0x5b89a9
mov byte [esi + 0xdec], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x141], 1
mov edi, 0xc
lea eax, [esi + 0x858]
push eax
call fcn.00560ca0
mov ebx, eax
lea eax, [esi + 0x858]
push eax
call fcn.0059e940
push eax
push 0
push ebx
mov dword [ebp - 0xc], eax
call fcn.006f4cd0
add esp, 0x14
test eax, eax
jne 0x5b9379
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x5b8a3e
mov al, byte [ebx]
cmp al, 0x20
je 0x5b8a23
cmp al, 9
jne 0x5b8a28
cmp ecx, 2
jg 0x5b8a3e
push dword [ebp - 0xc]
push 0x3a
push ebx
call fcn.006f4cd0
add esp, 0xc
test eax, eax
je 0x5b935e
push dword [ebp + 8]
mov ebx, dword [ebp - 8]
push ebx
push esi
call fcn.005b6e30
add esp, 0xc
test eax, eax
jne 0x5b9357
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
jae 0x5b8a67
or edi, 0x20
lea eax, [esi + 0x858]
push eax
call fcn.0059e940
push eax
push dword [ebp + 8]
push 1
push esi
call fcn.005aa6d0
lea eax, [esi + 0x858]
push eax
call fcn.0059e940
push eax
push dword [ebp + 8]
push edi
push esi
call fcn.005aac50
add esp, 0x28
test eax, eax
jne 0x5b9357
lea eax, [esi + 0x858]
push eax
call fcn.0059e940
mov ecx, dword [esi + 0xc4]
mov edi, eax
mov edx, 0x4b000
add esp, 4
add ecx, edi
cmp edi, edx
jae 0x5b8b0b
mov eax, dword [esi + 0xd68]
add dword [esi + 0xc0], edi
add eax, edi
mov dword [esi + 0xd68], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x5b8aef
cmp eax, 0x5dc000
jbe 0x5b8b0f
mov ecx, eax
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.005aa770
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x5b8aef
lea eax, [esi + 0x858]
push eax
call fcn.0059e950
add esp, 4
jmp 0x5b91d4
mov ecx, dword [esi + 0xd8]
xor dl, dl
mov byte [ebp - 1], dl
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x5b8bf2
sub ecx, 0x64
je 0x5b8bb0
sub ecx, 1
je 0x5b8b61
lea ecx, [esi + 0x13b]
mov dword [esi + 0xcc], 0
mov byte [ecx], 1
mov edi, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5b8c71
cmp byte [ebx + 0x260], 0xb
jne 0x5b9394
cmp dword [esi + 0xf4], 2
jne 0x5b8b9e
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.005aa810
mov dl, 1
mov dword [esi + 0xf4], 3
add esp, 8
mov dword [esi + 0xcc], 0
mov byte [ebp - 1], dl
lea ecx, [esi + 0x13b]
mov byte [ecx], dl
mov edi, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5b8c71
cmp dword [esi + 0xf0], 0
lea ecx, [esi + 0x13b]
mov dword [ebp - 0xc], ecx
mov byte [ecx], 1
mov dword [esi + 0xcc], 0
jle 0x5b8bee
or dword [esi + 0xdc], 2
push 0
push esi
mov dword [esi + 0xf0], 0
call fcn.00599640
mov ecx, dword [ebp - 0xc]
add esp, 8
mov edi, ecx
jmp 0x5b8c71
cmp dword [esi + 0xf4], 2
jne 0x5b8c06
push dword [esi + 0x7c]
call fcn.00599760
add esp, 4
mov eax, dword [esi + 0x88]
lea edx, [esi + 0x88]
and eax, dword [edx + 4]
lea ecx, [esi + 0x13b]
mov dword [ebp - 0xc], ecx
mov edi, ecx
mov byte [ecx], 0
cmp eax, 0xffffffff
jne 0x5b8c80
cmp byte [esi + 0x142], 0
jne 0x5b8c80
cmp byte [ebx + 0x1ae], 0
jne 0x5b8c80
cmp byte [ebx + 0x260], 0xb
jne 0x5b8c80
mov eax, dword [ebx + 0x1c4]
test dword [eax + 0x44], 0x40000
jne 0x5b8c80
cmp byte [esi + 0xd0a], 5
je 0x5b8c80
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.005aa810
push 2
push ebx
call fcn.005abc20
add esp, 0x10
cmp byte [edi], 0
jne 0x5b8d07
lea edx, [esi + 0x88]
cmp byte [esi + 0x143], 0
jne 0x5b8cec
cmp byte [edx + 0xba], 0
jne 0x5b8cec
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x5b8d07
mov ebx, dword [esi + 0x4a8]
mov eax, ebx
mov edi, dword [esi + 0x4ac]
or eax, edi
je 0x5b8cc4
cmp edx, edi
jg 0x5b93ae
jl 0x5b8cc4
cmp ecx, ebx
ja 0x5b93ae
push edx
push ecx
push esi
call fcn.005b9b40
mov eax, dword [esi + 0x88]
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov ebx, dword [ebp - 8]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
jmp 0x5b8d07
mov dword [edx + 8], 0xffffffff
mov dword [edx + 0xc], 0xffffffff
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
cmp byte [ebx + 0x1ae], 0
je 0x5b8d4d
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x5b8d28
cmp dword [ebx + 0x200], 2
je 0x5b8d38
jmp 0x5b8d4d
cmp eax, 0x197
jne 0x5b8d4d
cmp dword [ebx + 0x204], 2
jne 0x5b8d4d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.005aa810
add esp, 8
mov byte [esi + 0xd11], 1
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
lea eax, [esi + 0x858]
push eax
sbb edi, edi
and edi, 0x20
add edi, 4
call fcn.0059e940
add esp, 4
mov ebx, eax
lea eax, [esi + 0x858]
push ebx
push eax
call fcn.00560ca0
add esp, 4
push eax
push edi
push esi
call fcn.005aac50
add esp, 0x10
test eax, eax
jne 0x5b9357
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebx
cmp ebx, edx
jae 0x5b8dd5
mov eax, dword [esi + 0xd68]
add dword [esi + 0xc0], ebx
add eax, ebx
mov dword [esi + 0xd68], eax
mov dword [esi + 0xc4], ecx
cmp ecx, edx
ja 0x5b8aef
cmp eax, 0x5dc000
ja 0x5b8ae8
jmp 0x5b8ddd
test ecx, ecx
jne 0x5b8aef
mov edi, dword [esi + 0xd8]
push esi
call fcn.005b9460
add esp, 4
test al, al
jne 0x5b9429
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x5b8e0d
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x5b9017
mov ebx, dword [esi + 0x18]
mov ecx, 0xffffffbf
mov dword [esi + 0xc8], 0
mov edx, 0xffffffff
mov eax, dword [esi + 0x5b8]
test eax, eax
cmovne ecx, edx
cmp byte [esi + 0xd11], 0
je 0x5b8e4e
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x66a], 0
cmovne edi, eax
jmp 0x5b9009
cmp dword [esi + 0xcf8], 0
jne 0x5b8e5f
mov byte [ebp + 0xb], 0
test eax, eax
je 0x5b8ecf
cmp edi, 0x191
je 0x5b8e80
cmp byte [ebx + 0x1b8], 0
mov byte [ebp + 0xb], 0
je 0x5b8ecf
mov byte [ebp + 0xb], 0
cmp edi, 0x12c
jge 0x5b8ecf
push ecx
lea eax, [esi + 0x938]
push eax
call fcn.005b97f0
mov cl, al
add esp, 8
mov byte [ebp + 0xb], cl
test cl, cl
jne 0x5b8ea0
mov byte [esi + 0xd11], 1
cmp dword [esi + 0x93c], 8
jne 0x5b8ecf
cmp byte [ebx + 0x260], 0xb
jbe 0x5b8ecf
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.005aa810
push 1
push ebx
call fcn.005abc20
add esp, 0x10
mov byte [esi + 0xd08], 2
xor al, al
cmp byte [ebx + 0x1aa], al
je 0x5b8f13
mov ecx, dword [esi + 0xd8]
cmp ecx, 0x197
je 0x5b8ef7
cmp byte [ebx + 0x1b8], al
je 0x5b8f13
cmp ecx, 0x12c
jge 0x5b8f13
lea eax, [esi + 0x948]
push 0xffffffffffffffbf
push eax
call fcn.005b97f0
add esp, 8
test al, al
jne 0x5b8f13
mov byte [esi + 0xd11], 1
cmp byte [ebp + 0xb], 0
jne 0x5b8f83
test al, al
jne 0x5b8f83
xor edi, edi
cmp dword [esi + 0xd8], 0x12c
jge 0x5b8fe3
cmp byte [esi + 0x944], al
jne 0x5b8fe3
cmp byte [ebx + 0x1b8], al
je 0x5b8fe3
mov al, byte [esi + 0xd0a]
test al, al
je 0x5b8fe3
cmp al, 5
je 0x5b8fe3
push dword [esi + 0xc5c]
call dword [0x8e2614]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x5b941b
mov byte [esi + 0x944], 1
jmp 0x5b8fe3
mov al, byte [esi + 0xd0a]
xor edi, edi
test al, al
je 0x5b8fb0
cmp al, 5
je 0x5b8fb0
cmp byte [esi + 0xd1e], 0
jne 0x5b8fb0
push ebx
push esi
call fcn.005b8360
mov edi, eax
add esp, 8
test edi, edi
jne 0x5b9420
push dword [esi + 0x110]
call dword [0x8e260c]
push dword [esi + 0xc5c]
mov dword [esi + 0x110], 0
call dword [0x8e2614]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x5b941b
push esi
call fcn.005b9460
add esp, 4
test al, al
je 0x5b9009
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.005aa770
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x5b9420
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
cmp dword [esi + 0xd8], 0x12c
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
jl 0x5b91b2
cmp byte [ebx + 0x1b8], 0
jne case.default.0x5b9065
cmp byte [ebx + 0x1ae], 0
jne case.default.0x5b9065
cmp byte [esi + 0xd1e], 0
jne 0x5b9194
movzx eax, byte [esi + 0xd0a]
dec eax
cmp eax, 3
ja case.default.0x5b9065
jmp dword [eax*4 + 0x5b9444]
push 0
push esi
call fcn.00599640
add esp, 8
cmp byte [esi + 0x13f], 0
jne case.default.0x5b9065
cmp dword [esi + 0xd8], 0x1a1
jne 0x5b9114
cmp byte [esi + 0xd13], 0
je 0x5b9114
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x5b90c4
cmp dword [esi + 0xf0], 1
jne 0x5b90c4
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.005aa810
add esp, 8
jmp 0x5b90e9
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.005aa810
push 2
push ebx
call fcn.005abc20
push ebx
push esi
call fcn.005b8360
add esp, 0x18
test eax, eax
jne 0x5b9357
push dword [esi + 0xc5c]
mov byte [esi + 0xd14], 1
call dword [0x8e2614]
mov dword [esi + 0x110], eax
lea eax, [esi + 0x88]
push eax
push esi
call fcn.005b2770
add esp, 0xc
jmp case.default.0x5b9065
cmp byte [esi + 0x66b], 0
je 0x5b9147
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.005aa810
add esp, 8
cmp dword [esi + 0xf0], 0
jle case.default.0x5b9065
or dword [esi + 0xdc], 2
mov dword [esi + 0xf0], 0
jmp case.default.0x5b9065
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.005aa810
push 2
push ebx
call fcn.005abc20
lea eax, [esi + 0x88]
push eax
push esi
call fcn.005b2770
add esp, 0x18
test eax, eax
jne 0x5b9357
mov byte [esi + 0x13f], 1
cmp byte [esi + 0xd13], al
je case.default.0x5b9065
mov dword [esi + 0xf0], 3
cmp byte [esi + 0xd1e], 0
je 0x5b91b2
cmp dword [ebx + 0x1e4], 0xffffffff
je 0x5b91b2
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.005aa810
add esp, 8
or dword [esi + 0xdc], 2
cmp byte [edi], 0
je 0x5b93c8
lea eax, [esi + 0x858]
push eax
call fcn.0059e950
add esp, 4
cmp byte [ebp - 1], 0
jne 0x5b9279
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5b9336
push eax
push 0xa
push dword [ebp - 0x10]
call fcn.006f4cd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5b8541
push dword [ebp - 0x14]
lea edi, [esi + 0x858]
push dword [ebp - 0x10]
push edi
call fcn.0059e8d0
add esp, 0xc
test eax, eax
jne 0x5b9357
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
add dword [ecx], eax
cmp dword [esi + 0xcc], 0
jne 0x5b933c
push edi
call fcn.0059e940
mov edi, eax
lea eax, [esi + 0x858]
push eax
call fcn.00560ca0
push edi
push eax
push esi
call fcn.005b82b0
add esp, 0x14
cmp eax, 2
jne 0x5b9336
push eax
push ebx
mov byte [esi + 0x13b], 0
call fcn.005abc20
add esp, 8
cmp byte [esi + 0x68c], 0
jne 0x5b92a0
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.005aa770
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push ebx
call fcn.005abc20
add esp, 8
cmp byte [esi + 0x68c], 0
je 0x5b926b
mov byte [esi + 0x13b], 0
mov al, 1
lea edi, [esi + 0x858]
jmp 0x5b933f
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.005aa770
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub ebx, eax
push ebx
push ecx
push str.Unsupported_HTTP_version___u._d__in_response
push esi
call fcn.005aa770
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_response_code_in_HTTP_response
push esi
call fcn.005aa770
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_1_subversion_in_response
push esi
call fcn.005aa770
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x13b], 0
lea edi, [esi + 0x858]
mov al, byte [ebp - 2]
cmp byte [esi + 0x13b], 0
jne 0x5b9355
test al, al
jne 0x5b9355
push edi
call fcn.0059e8e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Header_without_colon
push eax
push esi
call fcn.005aa770
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Nul_byte_in_header
push eax
push esi
call fcn.005aa770
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.unexpected_101_response_code
push esi
call fcn.005aa770
add esp, 8
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.005aa770
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x147], 0
je 0x5b93d8
mov byte [esi + 0x13d], 1
cmp dword [esi + 0x90], 0
jne 0x5b93f1
cmp dword [esi + 0x94], 0
jne 0x5b93f1
mov byte [esi + 0x13d], 1
lea edi, [esi + 0x858]
push edi
call fcn.0059e940
add esp, 4
push eax
push edi
call fcn.00560ca0
add esp, 4
push eax
push 1
push esi
call fcn.005aa6d0
add esp, 0x10
jmp 0x5b933c
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push str.The_requested_URL_returned_error:__d
push esi
call fcn.005aa770
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret