Function at 0x5c8b30
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.00705330
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5c9827
mov eax, dword [ebp - 0x10]
sub edi, eax
inc edi
push edi
push eax
lea eax, [esi + 0x858]
push eax
call fcn.005aef20
add esp, 0xc
test eax, eax
jne 0x5c9987
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 0x5c8bd2
lea eax, [esi + 0x858]
push eax
call fcn.005aef90
mov edi, eax
lea eax, [esi + 0x858]
push eax
call fcn.005720e0
push edi
push eax
push esi
call fcn.005c88e0
add esp, 0x14
cmp eax, 2
je 0x5c98b5
lea eax, [esi + 0x858]
push eax
call fcn.005720e0
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x5c9153
cmp cl, 0xd
je 0x5c9153
mov ecx, dword [esi + 0xcc]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xcc], eax
test ecx, ecx
jne 0x5c900d
mov eax, dword [ebx + 0x1c4]
mov eax, dword [eax + 0x44]
test al, 3
je 0x5c8e28
mov al, byte [edx]
mov edi, edx
test al, al
je 0x5c8c40
nop
cmp al, 0x20
je 0x5c8c38
cmp al, 9
jne 0x5c8c40
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5c8c30
push 5
push str.HTTP_
push edi
call fcn.0071a8f0
add esp, 0xc
test eax, eax
jne 0x5c8cec
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x5c8d2e
sub eax, 1
je 0x5c8c75
sub eax, 1
jne 0x5c98dd
mov al, byte [edi + 6]
cmp al, 0x20
je 0x5c8c80
cmp al, 9
jne 0x5c8cec
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 0x5c8ce9
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5c8ce9
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5c8ce9
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 0x5c8dc1
cmp al, 9
je 0x5c8dc1
cmp al, 0xa
jl 0x5c8ce9
cmp al, 0xd
jle 0x5c8dc1
mov ebx, dword [ebp - 8]
lea edi, [esi + 0x858]
push edi
call fcn.005aef90
add esp, 4
push eax
push edi
call fcn.005720e0
add esp, 4
push eax
push esi
call fcn.005c88e0
add esp, 0xc
cmp eax, 1
jne 0x5c995f
mov dword [esi + 0xd8], 0xc8
mov byte [ebx + 0x260], 0xa
jmp 0x5c8f07
cmp byte [edi + 6], 0x2e
jne 0x5c9945
mov al, byte [edi + 7]
cmp al, 0x30
je 0x5c8d47
cmp al, 0x31
jne 0x5c9945
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x5c8d58
cmp cl, 9
jne 0x5c9945
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x5c9945
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5c9945
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5c9945
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 0x5c8dc1
cmp al, 9
je 0x5c8dc1
sub al, 0xa
cmp al, 3
ja 0x5c9945
cmp ecx, 0x64
jl 0x5c992b
mov eax, ebx
sub eax, 0xa
je 0x5c8dda
sub eax, 1
jne 0x5c98f7
mov eax, dword [ebp - 8]
mov byte [eax + 0x260], bl
mov al, bl
cmp dword [esi + 0xf4], 3
jne 0x5c8e0c
cmp bl, 0x14
je 0x5c8e0c
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.005bae40
mov ebx, dword [ebp - 8]
add esp, 8
mov al, byte [ebx + 0x260]
jmp 0x5c8e0f
mov ebx, dword [ebp - 8]
cmp al, 0x14
jae 0x5c8f07
mov eax, dword [ebx + 0x234]
mov dword [eax], 0xffffffff
jmp 0x5c8f07
test eax, 0x40000
je 0x5c995f
mov al, byte [edx]
mov edi, edx
test al, al
je 0x5c8e50
nop dword [eax + eax]
cmp al, 0x20
je 0x5c8e48
cmp al, 9
jne 0x5c8e50
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5c8e40
push 5
push str.RTSP_
push edi
call fcn.0071a8f0
add esp, 0xc
test eax, eax
jne 0x5c995f
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x5c99d2
cmp byte [edi + 6], 0x2e
jne 0x5c99d2
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x5c99d2
mov al, byte [edi + 8]
cmp al, 0x20
je 0x5c8e9b
cmp al, 9
jne 0x5c99d2
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x5c99d2
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x5c99d2
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5c99d2
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 0x5c8efd
cmp al, 9
je 0x5c8efd
sub al, 0xa
cmp al, 3
ja 0x5c99d2
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 0x5c8f34
cmp cl, al
jbe 0x5c8f3a
mov byte [esi + 0xd09], al
mov eax, dword [esi + 0xc20]
or eax, dword [esi + 0xc24]
je 0x5c8f64
cmp byte [esi + 0xd0a], 0
jne 0x5c8f64
cmp dword [esi + 0xd8], 0x1a0
jne 0x5c8f64
mov byte [esi + 0x140], 1
mov al, byte [ebx + 0x260]
cmp al, 0xa
jne 0x5c8f86
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.005bae40
push 1
push ebx
call fcn.005bc250
add esp, 0x10
jmp 0x5c8fa8
cmp al, 0x14
je 0x5c8f9c
cmp dword [esi + 0xf4], 2
jne 0x5c8fa8
cmp dword [esi + 0xd8], 0x65
jne 0x5c8fa8
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 0x5c8fd9
sub ecx, 0x64
jne 0x5c9008
cmp byte [esi + 0x3a8], cl
je 0x5c8fd9
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.005720e0
mov ebx, eax
lea eax, [esi + 0x858]
push eax
call fcn.005aef90
push eax
push 0
push ebx
mov dword [ebp - 0xc], eax
call fcn.00705330
add esp, 0x14
test eax, eax
jne 0x5c99a9
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x5c906e
mov al, byte [ebx]
cmp al, 0x20
je 0x5c9053
cmp al, 9
jne 0x5c9058
cmp ecx, 2
jg 0x5c906e
push dword [ebp - 0xc]
push 0x3a
push ebx
call fcn.00705330
add esp, 0xc
test eax, eax
je 0x5c998e
push dword [ebp + 8]
mov ebx, dword [ebp - 8]
push ebx
push esi
call fcn.005c7460
add esp, 0xc
test eax, eax
jne 0x5c9987
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
jae 0x5c9097
or edi, 0x20
lea eax, [esi + 0x858]
push eax
call fcn.005aef90
push eax
push dword [ebp + 8]
push 1
push esi
call fcn.005bad00
lea eax, [esi + 0x858]
push eax
call fcn.005aef90
push eax
push dword [ebp + 8]
push edi
push esi
call fcn.005bb280
add esp, 0x28
test eax, eax
jne 0x5c9987
lea eax, [esi + 0x858]
push eax
call fcn.005aef90
mov ecx, dword [esi + 0xc4]
mov edi, eax
mov edx, 0x4b000
add esp, 4
add ecx, edi
cmp edi, edx
jae 0x5c913b
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 0x5c911f
cmp eax, 0x5dc000
jbe 0x5c913f
mov ecx, eax
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.005bada0
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x5c911f
lea eax, [esi + 0x858]
push eax
call fcn.005aefa0
add esp, 4
jmp 0x5c9804
mov ecx, dword [esi + 0xd8]
xor dl, dl
mov byte [ebp - 1], dl
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x5c9222
sub ecx, 0x64
je 0x5c91e0
sub ecx, 1
je 0x5c9191
lea ecx, [esi + 0x13b]
mov dword [esi + 0xcc], 0
mov byte [ecx], 1
mov edi, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5c92a1
cmp byte [ebx + 0x260], 0xb
jne 0x5c99c4
cmp dword [esi + 0xf4], 2
jne 0x5c91ce
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.005bae40
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 0x5c92a1
cmp dword [esi + 0xf0], 0
lea ecx, [esi + 0x13b]
mov dword [ebp - 0xc], ecx
mov byte [ecx], 1
mov dword [esi + 0xcc], 0
jle 0x5c921e
or dword [esi + 0xdc], 2
push 0
push esi
mov dword [esi + 0xf0], 0
call fcn.005a9c60
mov ecx, dword [ebp - 0xc]
add esp, 8
mov edi, ecx
jmp 0x5c92a1
cmp dword [esi + 0xf4], 2
jne 0x5c9236
push dword [esi + 0x7c]
call fcn.005a9d80
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 0x5c92b0
cmp byte [esi + 0x142], 0
jne 0x5c92b0
cmp byte [ebx + 0x1ae], 0
jne 0x5c92b0
cmp byte [ebx + 0x260], 0xb
jne 0x5c92b0
mov eax, dword [ebx + 0x1c4]
test dword [eax + 0x44], 0x40000
jne 0x5c92b0
cmp byte [esi + 0xd0a], 5
je 0x5c92b0
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.005bae40
push 2
push ebx
call fcn.005bc250
add esp, 0x10
cmp byte [edi], 0
jne 0x5c9337
lea edx, [esi + 0x88]
cmp byte [esi + 0x143], 0
jne 0x5c931c
cmp byte [edx + 0xba], 0
jne 0x5c931c
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x5c9337
mov ebx, dword [esi + 0x4a8]
mov eax, ebx
mov edi, dword [esi + 0x4ac]
or eax, edi
je 0x5c92f4
cmp edx, edi
jg 0x5c99de
jl 0x5c92f4
cmp ecx, ebx
ja 0x5c99de
push edx
push ecx
push esi
call fcn.005ca170
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 0x5c9337
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 0x5c937d
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x5c9358
cmp dword [ebx + 0x200], 2
je 0x5c9368
jmp 0x5c937d
cmp eax, 0x197
jne 0x5c937d
cmp dword [ebx + 0x204], 2
jne 0x5c937d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.005bae40
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.005aef90
add esp, 4
mov ebx, eax
lea eax, [esi + 0x858]
push ebx
push eax
call fcn.005720e0
add esp, 4
push eax
push edi
push esi
call fcn.005bb280
add esp, 0x10
test eax, eax
jne 0x5c9987
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebx
cmp ebx, edx
jae 0x5c9405
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 0x5c911f
cmp eax, 0x5dc000
ja 0x5c9118
jmp 0x5c940d
test ecx, ecx
jne 0x5c911f
mov edi, dword [esi + 0xd8]
push esi
call fcn.005c9a90
add esp, 4
test al, al
jne 0x5c9a59
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x5c943d
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x5c9647
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 0x5c947e
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x66a], 0
cmovne edi, eax
jmp 0x5c9639
cmp dword [esi + 0xcf8], 0
jne 0x5c948f
mov byte [ebp + 0xb], 0
test eax, eax
je 0x5c94ff
cmp edi, 0x191
je 0x5c94b0
cmp byte [ebx + 0x1b8], 0
mov byte [ebp + 0xb], 0
je 0x5c94ff
mov byte [ebp + 0xb], 0
cmp edi, 0x12c
jge 0x5c94ff
push ecx
lea eax, [esi + 0x938]
push eax
call fcn.005c9e20
mov cl, al
add esp, 8
mov byte [ebp + 0xb], cl
test cl, cl
jne 0x5c94d0
mov byte [esi + 0xd11], 1
cmp dword [esi + 0x93c], 8
jne 0x5c94ff
cmp byte [ebx + 0x260], 0xb
jbe 0x5c94ff
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.005bae40
push 1
push ebx
call fcn.005bc250
add esp, 0x10
mov byte [esi + 0xd08], 2
xor al, al
cmp byte [ebx + 0x1aa], al
je 0x5c9543
mov ecx, dword [esi + 0xd8]
cmp ecx, 0x197
je 0x5c9527
cmp byte [ebx + 0x1b8], al
je 0x5c9543
cmp ecx, 0x12c
jge 0x5c9543
lea eax, [esi + 0x948]
push 0xffffffffffffffbf
push eax
call fcn.005c9e20
add esp, 8
test al, al
jne 0x5c9543
mov byte [esi + 0xd11], 1
cmp byte [ebp + 0xb], 0
jne 0x5c95b3
test al, al
jne 0x5c95b3
xor edi, edi
cmp dword [esi + 0xd8], 0x12c
jge 0x5c9613
cmp byte [esi + 0x944], al
jne 0x5c9613
cmp byte [ebx + 0x1b8], al
je 0x5c9613
mov al, byte [esi + 0xd0a]
test al, al
je 0x5c9613
cmp al, 5
je 0x5c9613
push dword [esi + 0xc5c]
call dword [0x8f7f58]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x5c9a4b
mov byte [esi + 0x944], 1
jmp 0x5c9613
mov al, byte [esi + 0xd0a]
xor edi, edi
test al, al
je 0x5c95e0
cmp al, 5
je 0x5c95e0
cmp byte [esi + 0xd1e], 0
jne 0x5c95e0
push ebx
push esi
call fcn.005c8990
mov edi, eax
add esp, 8
test edi, edi
jne 0x5c9a50
push dword [esi + 0x110]
call dword [0x8f7f50]
push dword [esi + 0xc5c]
mov dword [esi + 0x110], 0
call dword [0x8f7f58]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x5c9a4b
push esi
call fcn.005c9a90
add esp, 4
test al, al
je 0x5c9639
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.005bada0
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x5c9a50
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 0x5c97e2
cmp byte [ebx + 0x1b8], 0
jne case.default.0x5c9695
cmp byte [ebx + 0x1ae], 0
jne case.default.0x5c9695
cmp byte [esi + 0xd1e], 0
jne 0x5c97c4
movzx eax, byte [esi + 0xd0a]
dec eax
cmp eax, 3
ja case.default.0x5c9695
jmp dword [eax*4 + 0x5c9a74]
push 0
push esi
call fcn.005a9c60
add esp, 8
cmp byte [esi + 0x13f], 0
jne case.default.0x5c9695
cmp dword [esi + 0xd8], 0x1a1
jne 0x5c9744
cmp byte [esi + 0xd13], 0
je 0x5c9744
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x5c96f4
cmp dword [esi + 0xf0], 1
jne 0x5c96f4
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.005bae40
add esp, 8
jmp 0x5c9719
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.005bae40
push 2
push ebx
call fcn.005bc250
push ebx
push esi
call fcn.005c8990
add esp, 0x18
test eax, eax
jne 0x5c9987
push dword [esi + 0xc5c]
mov byte [esi + 0xd14], 1
call dword [0x8f7f58]
mov dword [esi + 0x110], eax
lea eax, [esi + 0x88]
push eax
push esi
call fcn.005c2da0
add esp, 0xc
jmp case.default.0x5c9695
cmp byte [esi + 0x66b], 0
je 0x5c9777
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.005bae40
add esp, 8
cmp dword [esi + 0xf0], 0
jle case.default.0x5c9695
or dword [esi + 0xdc], 2
mov dword [esi + 0xf0], 0
jmp case.default.0x5c9695
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.005bae40
push 2
push ebx
call fcn.005bc250
lea eax, [esi + 0x88]
push eax
push esi
call fcn.005c2da0
add esp, 0x18
test eax, eax
jne 0x5c9987
mov byte [esi + 0x13f], 1
cmp byte [esi + 0xd13], al
je case.default.0x5c9695
mov dword [esi + 0xf0], 3
cmp byte [esi + 0xd1e], 0
je 0x5c97e2
cmp dword [ebx + 0x1e4], 0xffffffff
je 0x5c97e2
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.005bae40
add esp, 8
or dword [esi + 0xdc], 2
cmp byte [edi], 0
je 0x5c99f8
lea eax, [esi + 0x858]
push eax
call fcn.005aefa0
add esp, 4
cmp byte [ebp - 1], 0
jne 0x5c98a9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5c9966
push eax
push 0xa
push dword [ebp - 0x10]
call fcn.00705330
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5c8b71
push dword [ebp - 0x14]
lea edi, [esi + 0x858]
push dword [ebp - 0x10]
push edi
call fcn.005aef20
add esp, 0xc
test eax, eax
jne 0x5c9987
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
add dword [ecx], eax
cmp dword [esi + 0xcc], 0
jne 0x5c996c
push edi
call fcn.005aef90
mov edi, eax
lea eax, [esi + 0x858]
push eax
call fcn.005720e0
push edi
push eax
push esi
call fcn.005c88e0
add esp, 0x14
cmp eax, 2
jne 0x5c9966
push eax
push ebx
mov byte [esi + 0x13b], 0
call fcn.005bc250
add esp, 8
cmp byte [esi + 0x68c], 0
jne 0x5c98d0
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.005bada0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push ebx
call fcn.005bc250
add esp, 8
cmp byte [esi + 0x68c], 0
je 0x5c989b
mov byte [esi + 0x13b], 0
mov al, 1
lea edi, [esi + 0x858]
jmp 0x5c996f
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.005bada0
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.005bada0
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.005bada0
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.005bada0
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 0x5c9985
test al, al
jne 0x5c9985
push edi
call fcn.005aef30
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.005bada0
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.005bada0
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.005bada0
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.005bada0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x147], 0
je 0x5c9a08
mov byte [esi + 0x13d], 1
cmp dword [esi + 0x90], 0
jne 0x5c9a21
cmp dword [esi + 0x94], 0
jne 0x5c9a21
mov byte [esi + 0x13d], 1
lea edi, [esi + 0x858]
push edi
call fcn.005aef90
add esp, 4
push eax
push edi
call fcn.005720e0
add esp, 4
push eax
push 1
push esi
call fcn.005bad00
add esp, 0x10
jmp 0x5c996c
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.005bada0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret