Function at 0x5c4cc0
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.00701460
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5c59b7
mov eax, dword [ebp - 0x10]
sub edi, eax
inc edi
push edi
push eax
lea eax, [esi + 0x858]
push eax
call fcn.005ab0b0
add esp, 0xc
test eax, eax
jne 0x5c5b17
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 0x5c4d62
lea eax, [esi + 0x858]
push eax
call fcn.005ab120
mov edi, eax
lea eax, [esi + 0x858]
push eax
call fcn.0056d520
push edi
push eax
push esi
call fcn.005c4a70
add esp, 0x14
cmp eax, 2
je 0x5c5a45
lea eax, [esi + 0x858]
push eax
call fcn.0056d520
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x5c52e3
cmp cl, 0xd
je 0x5c52e3
mov ecx, dword [esi + 0xcc]
mov edi, 4
lea eax, [ecx + 1]
mov dword [esi + 0xcc], eax
test ecx, ecx
jne 0x5c519d
mov eax, dword [ebx + 0x1c4]
mov eax, dword [eax + 0x44]
test al, 3
je 0x5c4fb8
mov al, byte [edx]
mov edi, edx
test al, al
je 0x5c4dd0
nop
cmp al, 0x20
je 0x5c4dc8
cmp al, 9
jne 0x5c4dd0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5c4dc0
push 5
push str.HTTP_
push edi
call fcn.00716350
add esp, 0xc
test eax, eax
jne 0x5c4e7c
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x5c4ebe
sub eax, 1
je 0x5c4e05
sub eax, 1
jne 0x5c5a6d
mov al, byte [edi + 6]
cmp al, 0x20
je 0x5c4e10
cmp al, 9
jne 0x5c4e7c
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 0x5c4e79
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5c4e79
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5c4e79
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 0x5c4f51
cmp al, 9
je 0x5c4f51
cmp al, 0xa
jl 0x5c4e79
cmp al, 0xd
jle 0x5c4f51
mov ebx, dword [ebp - 8]
lea edi, [esi + 0x858]
push edi
call fcn.005ab120
add esp, 4
push eax
push edi
call fcn.0056d520
add esp, 4
push eax
push esi
call fcn.005c4a70
add esp, 0xc
cmp eax, 1
jne 0x5c5aef
mov dword [esi + 0xd8], 0xc8
mov byte [ebx + 0x260], 0xa
jmp 0x5c5097
cmp byte [edi + 6], 0x2e
jne 0x5c5ad5
mov al, byte [edi + 7]
cmp al, 0x30
je 0x5c4ed7
cmp al, 0x31
jne 0x5c5ad5
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x5c4ee8
cmp cl, 9
jne 0x5c5ad5
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x5c5ad5
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x5c5ad5
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5c5ad5
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 0x5c4f51
cmp al, 9
je 0x5c4f51
sub al, 0xa
cmp al, 3
ja 0x5c5ad5
cmp ecx, 0x64
jl 0x5c5abb
mov eax, ebx
sub eax, 0xa
je 0x5c4f6a
sub eax, 1
jne 0x5c5a87
mov eax, dword [ebp - 8]
mov byte [eax + 0x260], bl
mov al, bl
cmp dword [esi + 0xf4], 3
jne 0x5c4f9c
cmp bl, 0x14
je 0x5c4f9c
push str.Lying_server__not_serving_HTTP_2
push esi
call fcn.005b6fd0
mov ebx, dword [ebp - 8]
add esp, 8
mov al, byte [ebx + 0x260]
jmp 0x5c4f9f
mov ebx, dword [ebp - 8]
cmp al, 0x14
jae 0x5c5097
mov eax, dword [ebx + 0x234]
mov dword [eax], 0xffffffff
jmp 0x5c5097
test eax, 0x40000
je 0x5c5aef
mov al, byte [edx]
mov edi, edx
test al, al
je 0x5c4fe0
nop dword [eax + eax]
cmp al, 0x20
je 0x5c4fd8
cmp al, 9
jne 0x5c4fe0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5c4fd0
push 5
push str.RTSP_
push edi
call fcn.00716350
add esp, 0xc
test eax, eax
jne 0x5c5aef
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x5c5b62
cmp byte [edi + 6], 0x2e
jne 0x5c5b62
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x5c5b62
mov al, byte [edi + 8]
cmp al, 0x20
je 0x5c502b
cmp al, 9
jne 0x5c5b62
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x5c5b62
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x5c5b62
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x5c5b62
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 0x5c508d
cmp al, 9
je 0x5c508d
sub al, 0xa
cmp al, 3
ja 0x5c5b62
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 0x5c50c4
cmp cl, al
jbe 0x5c50ca
mov byte [esi + 0xd09], al
mov eax, dword [esi + 0xc20]
or eax, dword [esi + 0xc24]
je 0x5c50f4
cmp byte [esi + 0xd0a], 0
jne 0x5c50f4
cmp dword [esi + 0xd8], 0x1a0
jne 0x5c50f4
mov byte [esi + 0x140], 1
mov al, byte [ebx + 0x260]
cmp al, 0xa
jne 0x5c5116
push str.HTTP_1.0__assume_close_after_body
push esi
call fcn.005b6fd0
push 1
push ebx
call fcn.005b83e0
add esp, 0x10
jmp 0x5c5138
cmp al, 0x14
je 0x5c512c
cmp dword [esi + 0xf4], 2
jne 0x5c5138
cmp dword [esi + 0xd8], 0x65
jne 0x5c5138
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 0x5c5169
sub ecx, 0x64
jne 0x5c5198
cmp byte [esi + 0x3a8], cl
je 0x5c5169
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.0056d520
mov ebx, eax
lea eax, [esi + 0x858]
push eax
call fcn.005ab120
push eax
push 0
push ebx
mov dword [ebp - 0xc], eax
call fcn.00701460
add esp, 0x14
test eax, eax
jne 0x5c5b39
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x5c51fe
mov al, byte [ebx]
cmp al, 0x20
je 0x5c51e3
cmp al, 9
jne 0x5c51e8
cmp ecx, 2
jg 0x5c51fe
push dword [ebp - 0xc]
push 0x3a
push ebx
call fcn.00701460
add esp, 0xc
test eax, eax
je 0x5c5b1e
push dword [ebp + 8]
mov ebx, dword [ebp - 8]
push ebx
push esi
call fcn.005c35f0
add esp, 0xc
test eax, eax
jne 0x5c5b17
mov eax, dword [esi + 0xd8]
sub eax, 0x64
cmp eax, 0x64
jae 0x5c5227
or edi, 0x20
lea eax, [esi + 0x858]
push eax
call fcn.005ab120
push eax
push dword [ebp + 8]
push 1
push esi
call fcn.005b6e90
lea eax, [esi + 0x858]
push eax
call fcn.005ab120
push eax
push dword [ebp + 8]
push edi
push esi
call fcn.005b7410
add esp, 0x28
test eax, eax
jne 0x5c5b17
lea eax, [esi + 0x858]
push eax
call fcn.005ab120
mov ecx, dword [esi + 0xc4]
mov edi, eax
mov edx, 0x4b000
add esp, 4
add ecx, edi
cmp edi, edx
jae 0x5c52cb
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 0x5c52af
cmp eax, 0x5dc000
jbe 0x5c52cf
mov ecx, eax
mov edx, 0x5dc000
push edx
push ecx
push str.Too_large_response_headers:__zu____u
push esi
call fcn.005b6f30
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x5c52af
lea eax, [esi + 0x858]
push eax
call fcn.005ab130
add esp, 4
jmp 0x5c5994
mov ecx, dword [esi + 0xd8]
xor dl, dl
mov byte [ebp - 1], dl
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x5c53b2
sub ecx, 0x64
je 0x5c5370
sub ecx, 1
je 0x5c5321
lea ecx, [esi + 0x13b]
mov dword [esi + 0xcc], 0
mov byte [ecx], 1
mov edi, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5c5431
cmp byte [ebx + 0x260], 0xb
jne 0x5c5b54
cmp dword [esi + 0xf4], 2
jne 0x5c535e
push str.Received_101__Switching_to_HTTP_2
push esi
call fcn.005b6fd0
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 0x5c5431
cmp dword [esi + 0xf0], 0
lea ecx, [esi + 0x13b]
mov dword [ebp - 0xc], ecx
mov byte [ecx], 1
mov dword [esi + 0xcc], 0
jle 0x5c53ae
or dword [esi + 0xdc], 2
push 0
push esi
mov dword [esi + 0xf0], 0
call fcn.005a5e20
mov ecx, dword [ebp - 0xc]
add esp, 8
mov edi, ecx
jmp 0x5c5431
cmp dword [esi + 0xf4], 2
jne 0x5c53c6
push dword [esi + 0x7c]
call fcn.005a5f40
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 0x5c5440
cmp byte [esi + 0x142], 0
jne 0x5c5440
cmp byte [ebx + 0x1ae], 0
jne 0x5c5440
cmp byte [ebx + 0x260], 0xb
jne 0x5c5440
mov eax, dword [ebx + 0x1c4]
test dword [eax + 0x44], 0x40000
jne 0x5c5440
cmp byte [esi + 0xd0a], 5
je 0x5c5440
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end
push esi
call fcn.005b6fd0
push 2
push ebx
call fcn.005b83e0
add esp, 0x10
cmp byte [edi], 0
jne 0x5c54c7
lea edx, [esi + 0x88]
cmp byte [esi + 0x143], 0
jne 0x5c54ac
cmp byte [edx + 0xba], 0
jne 0x5c54ac
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x5c54c7
mov ebx, dword [esi + 0x4a8]
mov eax, ebx
mov edi, dword [esi + 0x4ac]
or eax, edi
je 0x5c5484
cmp edx, edi
jg 0x5c5b6e
jl 0x5c5484
cmp ecx, ebx
ja 0x5c5b6e
push edx
push ecx
push esi
call fcn.005c6300
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 0x5c54c7
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 0x5c550d
mov eax, dword [esi + 0xd8]
cmp eax, 0x191
jne 0x5c54e8
cmp dword [ebx + 0x200], 2
je 0x5c54f8
jmp 0x5c550d
cmp eax, 0x197
jne 0x5c550d
cmp dword [ebx + 0x204], 2
jne 0x5c550d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0__
push esi
call fcn.005b6fd0
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.005ab120
add esp, 4
mov ebx, eax
lea eax, [esi + 0x858]
push ebx
push eax
call fcn.0056d520
add esp, 4
push eax
push edi
push esi
call fcn.005b7410
add esp, 0x10
test eax, eax
jne 0x5c5b17
mov ecx, dword [esi + 0xc4]
mov edx, 0x4b000
add ecx, ebx
cmp ebx, edx
jae 0x5c5595
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 0x5c52af
cmp eax, 0x5dc000
ja 0x5c52a8
jmp 0x5c559d
test ecx, ecx
jne 0x5c52af
mov edi, dword [esi + 0xd8]
push esi
call fcn.005c5c20
add esp, 4
test al, al
jne 0x5c5be9
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x5c55cd
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc8], eax
jmp 0x5c57d7
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 0x5c560e
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x66a], 0
cmovne edi, eax
jmp 0x5c57c9
cmp dword [esi + 0xcf8], 0
jne 0x5c561f
mov byte [ebp + 0xb], 0
test eax, eax
je 0x5c568f
cmp edi, 0x191
je 0x5c5640
cmp byte [ebx + 0x1b8], 0
mov byte [ebp + 0xb], 0
je 0x5c568f
mov byte [ebp + 0xb], 0
cmp edi, 0x12c
jge 0x5c568f
push ecx
lea eax, [esi + 0x938]
push eax
call fcn.005c5fb0
mov cl, al
add esp, 8
mov byte [ebp + 0xb], cl
test cl, cl
jne 0x5c5660
mov byte [esi + 0xd11], 1
cmp dword [esi + 0x93c], 8
jne 0x5c568f
cmp byte [ebx + 0x260], 0xb
jbe 0x5c568f
push str.Forcing_HTTP_1.1_for_NTLM
push esi
call fcn.005b6fd0
push 1
push ebx
call fcn.005b83e0
add esp, 0x10
mov byte [esi + 0xd08], 2
xor al, al
cmp byte [ebx + 0x1aa], al
je 0x5c56d3
mov ecx, dword [esi + 0xd8]
cmp ecx, 0x197
je 0x5c56b7
cmp byte [ebx + 0x1b8], al
je 0x5c56d3
cmp ecx, 0x12c
jge 0x5c56d3
lea eax, [esi + 0x948]
push 0xffffffffffffffbf
push eax
call fcn.005c5fb0
add esp, 8
test al, al
jne 0x5c56d3
mov byte [esi + 0xd11], 1
cmp byte [ebp + 0xb], 0
jne 0x5c5743
test al, al
jne 0x5c5743
xor edi, edi
cmp dword [esi + 0xd8], 0x12c
jge 0x5c57a3
cmp byte [esi + 0x944], al
jne 0x5c57a3
cmp byte [ebx + 0x1b8], al
je 0x5c57a3
mov al, byte [esi + 0xd0a]
test al, al
je 0x5c57a3
cmp al, 5
je 0x5c57a3
push dword [esi + 0xc5c]
call dword [0x8f1cb8]
add esp, 4
mov dword [esi + 0x110], eax
test eax, eax
je 0x5c5bdb
mov byte [esi + 0x944], 1
jmp 0x5c57a3
mov al, byte [esi + 0xd0a]
xor edi, edi
test al, al
je 0x5c5770
cmp al, 5
je 0x5c5770
cmp byte [esi + 0xd1e], 0
jne 0x5c5770
push ebx
push esi
call fcn.005c4b20
mov edi, eax
add esp, 8
test edi, edi
jne 0x5c5be0
push dword [esi + 0x110]
call dword [0x8f1cb0]
push dword [esi + 0xc5c]
mov dword [esi + 0x110], 0
call dword [0x8f1cb8]
add esp, 8
mov dword [esi + 0x110], eax
test eax, eax
je 0x5c5bdb
push esi
call fcn.005c5c20
add esp, 4
test al, al
je 0x5c57c9
push dword [esi + 0xd8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.005b6f30
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x5c5be0
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 0x5c5972
cmp byte [ebx + 0x1b8], 0
jne case.default.0x5c5825
cmp byte [ebx + 0x1ae], 0
jne case.default.0x5c5825
cmp byte [esi + 0xd1e], 0
jne 0x5c5954
movzx eax, byte [esi + 0xd0a]
dec eax
cmp eax, 3
ja case.default.0x5c5825
jmp dword [eax*4 + 0x5c5c04]
push 0
push esi
call fcn.005a5e20
add esp, 8
cmp byte [esi + 0x13f], 0
jne case.default.0x5c5825
cmp dword [esi + 0xd8], 0x1a1
jne 0x5c58d4
cmp byte [esi + 0xd13], 0
je 0x5c58d4
mov eax, dword [esi + 0xa0]
or eax, dword [esi + 0xa4]
jne 0x5c5884
cmp dword [esi + 0xf0], 1
jne 0x5c5884
push str.Got_HTTP_failure_417_while_waiting_for_a_100
push esi
call fcn.005b6fd0
add esp, 8
jmp 0x5c58a9
push str.Got_HTTP_failure_417_while_sending_data
push esi
call fcn.005b6fd0
push 2
push ebx
call fcn.005b83e0
push ebx
push esi
call fcn.005c4b20
add esp, 0x18
test eax, eax
jne 0x5c5b17
push dword [esi + 0xc5c]
mov byte [esi + 0xd14], 1
call dword [0x8f1cb8]
mov dword [esi + 0x110], eax
lea eax, [esi + 0x88]
push eax
push esi
call fcn.005bef30
add esp, 0xc
jmp case.default.0x5c5825
cmp byte [esi + 0x66b], 0
je 0x5c5907
push str.HTTP_error_before_end_of_send__keep_sending
push esi
call fcn.005b6fd0
add esp, 8
cmp dword [esi + 0xf0], 0
jle case.default.0x5c5825
or dword [esi + 0xdc], 2
mov dword [esi + 0xf0], 0
jmp case.default.0x5c5825
push str.HTTP_error_before_end_of_send__stop_sending
push esi
call fcn.005b6fd0
push 2
push ebx
call fcn.005b83e0
lea eax, [esi + 0x88]
push eax
push esi
call fcn.005bef30
add esp, 0x18
test eax, eax
jne 0x5c5b17
mov byte [esi + 0x13f], 1
cmp byte [esi + 0xd13], al
je case.default.0x5c5825
mov dword [esi + 0xf0], 3
cmp byte [esi + 0xd1e], 0
je 0x5c5972
cmp dword [ebx + 0x1e4], 0xffffffff
je 0x5c5972
push str.Keep_sending_data_to_get_tossed_away
push esi
call fcn.005b6fd0
add esp, 8
or dword [esi + 0xdc], 2
cmp byte [edi], 0
je 0x5c5b88
lea eax, [esi + 0x858]
push eax
call fcn.005ab130
add esp, 4
cmp byte [ebp - 1], 0
jne 0x5c5a39
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5c5af6
push eax
push 0xa
push dword [ebp - 0x10]
call fcn.00701460
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5c4d01
push dword [ebp - 0x14]
lea edi, [esi + 0x858]
push dword [ebp - 0x10]
push edi
call fcn.005ab0b0
add esp, 0xc
test eax, eax
jne 0x5c5b17
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
add dword [ecx], eax
cmp dword [esi + 0xcc], 0
jne 0x5c5afc
push edi
call fcn.005ab120
mov edi, eax
lea eax, [esi + 0x858]
push eax
call fcn.0056d520
push edi
push eax
push esi
call fcn.005c4a70
add esp, 0x14
cmp eax, 2
jne 0x5c5af6
push eax
push ebx
mov byte [esi + 0x13b], 0
call fcn.005b83e0
add esp, 8
cmp byte [esi + 0x68c], 0
jne 0x5c5a60
push str.Received_HTTP_0.9_when_not_allowed
push esi
call fcn.005b6f30
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push ebx
call fcn.005b83e0
add esp, 8
cmp byte [esi + 0x68c], 0
je 0x5c5a2b
mov byte [esi + 0x13b], 0
mov al, 1
lea edi, [esi + 0x858]
jmp 0x5c5aff
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.005b6f30
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.005b6f30
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.005b6f30
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.005b6f30
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 0x5c5b15
test al, al
jne 0x5c5b15
push edi
call fcn.005ab0c0
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.005b6f30
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.005b6f30
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.005b6f30
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.005b6f30
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x147], 0
je 0x5c5b98
mov byte [esi + 0x13d], 1
cmp dword [esi + 0x90], 0
jne 0x5c5bb1
cmp dword [esi + 0x94], 0
jne 0x5c5bb1
mov byte [esi + 0x13d], 1
lea edi, [esi + 0x858]
push edi
call fcn.005ab120
add esp, 4
push eax
push edi
call fcn.0056d520
add esp, 4
push eax
push 1
push esi
call fcn.005b6e90
add esp, 0x10
jmp 0x5c5afc
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.005b6f30
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret